SHGetPathFromIDList
Other versions of this page are also available for the following:
8/28/2008
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 Value
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
Header | shellapi.h |
Library | ceshell.lib |
Windows Embedded CE | Windows CE 2.0 and later |