A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Shell32

Parameter Information
- 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.

Return Values
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.

Last update: 07 April 2006