Josh
Josh

Reputation: 6282

Icon resource path

Is there any API function to parse links like these: C:\Path\To\Exe.exe,1?

Where it will parse the path and icon index so I can use ExtractIcon to load it?

Since Exe.exe,1 is a valid file name, i'm having trouble distinguishing it from a regular path.

Upvotes: 1

Views: 369

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 598309

You are looking for PathParseIconLocation().

Upvotes: 2

Related Questions