IExtractIconAGetIconLocation Method
Gets the location and index of an icon.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- flags GetIconLocationFlags
- GetIconLocationFlags flags.
This value can be Null.
- iconFile StringBuilder
-
A pointer to a buffer that receives the icon location.
The icon location is a null-terminated string that identifies the file that contains the icon.
- iconFileBuffer Int32
-
The size of the buffer, in characters, pointed to by iconFile param.
- refIndex Int32
-
Receives the index of the icon in the file pointed to by iconFile param.
- refFlags GetIconLocationResultFlags
-
Receives Null
or a combination of GetIconLocationResultFlags flags.
HResult
Returns
S_OK if the function returned a valid location,
or
S_FALSE if the Shell should use a default icon.
If the
Async flag is set in
flags param,
the method can return
E_PENDING to indicate that icon extraction will be time-consuming.