SHGetPathFromIDList

[Now Supported on Windows NT]

Converts an item identifier list to a file system path.

WINSHELLAPI BOOL WINAPI SHGetPathFromIDList(

LPCITEMIDLIST pidl,  
LPSTR pszPath  
);  

Parameters

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.