This function converts an item identifier list to a file system path.
Syntax
WINSHELLAPI BOOL WINAPI SHGetPathFromIDList( LPCITEMIDLIST pidl, LPSTR pszPath);
Parameters
- pidl
[in] Pointer to an item identifier list that specifies a file or directory ___location relative to the root of the namespace (the desktop). - pszPath
[out] Pointer to a buffer to receive the file system path. This buffer must be at least MAX_PATH characters in size.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
If the ___location specified by the pidl parameter is not part of the file system, this function will fail.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Shellapi.h.
Link Library: Ceshell.lib
See Also
Send Feedback on this topic to the authors