IShellLink::GetIconLocationIShellLink::GetIconLocation*
*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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.