|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellLink::GetPath
[Now Supported on Windows NT]
Retrieves the path and filename of a shell link object.
HRESULT STDMETHODCALLTYPE GetPath(
IShellLink FAR *pShlLnk,
|
| LPSTR pszFile,
|
| int cchMaxPath,
|
| WIN32_FIND_DATA *pfd,
|
| DWORD fFlags
|
| );
|
|
Parameters
pShlLnk
Pointer to the IShellLink interface. In C++, this parameter is implicit.
pszFile
Pointer to a buffer that receives the path and filename of the shell link
object.
cchMaxPath
Maximum number of bytes to copy to the buffer pointed to by pszFile.
pfd
Pointer to a WIN32_FIND_DATA structure that contains information about the shell link object.
fFlags
Flags that specify the type of path information to retrieve. This parameter
can be a combination of the following values:
SLGP_SHORTPATH
| Retrieves the standard short (8.3) filename.
| SLGP_UNCPRIORITY
| Retrieves the Universal Naming Convention (UNC) path name of the file.
|
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
See Also
IShellLink, WIN32_FIND_DATA
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
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
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
|