Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.31 KB

File metadata and controls

55 lines (37 loc) · 1.31 KB

Home

Function name : SHGetPathFromIDList

Group: Shell Functions - Library: shell32


Converts an item identifier list to a file system path.


Code examples:

Accessing the list of Windows Recent Documents
Displaying system dialog that selects a folder
Browsing Windows Known Folders (Special Folders)

Declaration:

BOOL SHGetPathFromIDList(
	LPCITEMIDLIST pidl,
    LPTSTR pszPath
);  

FoxPro declaration:

DECLARE INTEGER SHGetPathFromIDList IN shell32;
	INTEGER   pidl,;
	STRING  @ pszPath  

Parameters:

pidl Address of an item identifier list that specifies a file or directory location relative to the root of the namespace (the desktop).

pszPath Address of a buffer to receive the file system path. This buffer must be at least MAX_PATH characters in size.


Return value:

Returns TRUE if successful, or FALSE otherwise.


Comments:

See also: SHSimpleIDListFromPath, SHParseDisplayName.