SHGetPathFromIDList Converts an item identifier list to a file system path.
VB4-32,5,6
Declare Function SHGetPathFromIDList Lib "shell32" (ByVal pidList As Long, ByVal lpBuffer As String) As Long |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 95 or later |
- pidl
Pointer to an item identifier list that specifies a file or directory location relative to the root of the name space (the desktop).
- pszPath
Pointer to a buffer that receives the file system path. The size of this buffer is assumed to be MAX_PATH bytes. |
Returns TRUE if successful or FALSE if an error occurs ¾ for example, if the location specified by the pidl parameter is not part of the file system. |
|