|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellLink::GetIconLocation
[Now Supported on Windows NT]
Retrieves the location (path and index) of the icon for a shell link object.
HRESULT STDMETHODCALLTYPE GetIconLocation(
ISHELLLINK FAR *pShlLnk,
|
| LPSTR pszIconPath,
|
| int cchIconPath,
|
| int *piIcon
|
| );
|
|
Parameters
pShlLnk
Pointer to the IShellLink interface. In C++, this parameter is implicit.
pszIconPath
Pointer to 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 pszIconPath.
piIcon
Pointer to a value that receives the index of the icon.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
See Also
IShellLink
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|