IShellLinkWGetIconLocation Method

Retrieves the location (path and index) of the icon for a Shell link object.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
void GetIconLocation(
	StringBuilder iconPath,
	int iconPathSize,
	ref int refIconIndex
)

Parameters

iconPath  StringBuilder
The address of a buffer that receives the path of the file containing the icon.
iconPathSize  Int32
The maximum number of characters to copy to the buffer pointed to by the iconPath parameter.
refIconIndex  Int32
The address of a value that receives the index of the icon.

See Also