IShellLinkWGetIconLocation Method
Retrieves the location (path and index) of the icon for a Shell link object.
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.
void GetIconLocation(
StringBuilder iconPath,
int iconPathSize,
ref int refIconIndex
)
Sub GetIconLocation (
<OutAttribute> iconPath As StringBuilder,
iconPathSize As Integer,
ByRef refIconIndex As Integer
)
Dim instance As IShellLinkW
Dim iconPath As StringBuilder
Dim iconPathSize As Integer
Dim refIconIndex As Integer
instance.GetIconLocation(iconPath, iconPathSize,
refIconIndex)
void GetIconLocation(
[OutAttribute] StringBuilder^ iconPath,
int iconPathSize,
int% refIconIndex
)
abstract GetIconLocation :
iconPath : StringBuilder byref *
iconPathSize : int *
refIconIndex : int byref -> unit
No code example is currently available or this language may not be supported.
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.