Contents Index Topic Contents | ||
Previous Topic: IShellLink::SetHotkey Next Topic: IShellLink::SetIDList |
IShellLink::SetIconLocation
HRESULT STDMETHODCALLTYPE SetIconLocation( LPCSTR pszIconPath, int iIcon );Sets 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 to contain the path of the file containing the icon.
- iIcon
- Index of the icon.
See also IShellLink
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.