Contents Index Topic Contents | ||
Previous Topic: IShellLink::GetHotkey Next Topic: IShellLink::GetIDList |
IShellLink::GetIconLocation
HRESULT STDMETHODCALLTYPE GetIconLocation( LPSTR pszIconPath, int cchIconPath, int *piIcon );Retrieves the location (path and index) of the icon for a shell link object.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
- pszIconPath
- Address of a buffer that receives the path of the file containing the icon.
- cchIconPath
- Maximum number of characters to copy to the buffer pointed to by the pszIconPath parameter.
- piIcon
- Address of a value that receives the index of the icon.
See also IShellLink
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.