Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.01 KB

SHSimpleIDListFromPath.md

File metadata and controls

47 lines (31 loc) · 1.01 KB

Home

Function name : SHSimpleIDListFromPath

Group: Shell Functions - Library: shell32


Returns a pointer to an ITEMIDLIST structure when passed a path.


Code examples:

Accessing the list of Windows Recent Documents

Declaration:

PIDLIST_ABSOLUTE SHSimpleIDListFromPath(
  __in  PCWSTR pszPath
);  

FoxPro declaration:

DECLARE INTEGER SHSimpleIDListFromPath IN shell32;
	STRING pszPath  

Parameters:

pszPath [in] A pointer to a null-terminated string that contains the path to be converted to a PIDL.


Return value:

Returns a pointer to an ITEMIDLIST structure if successful, or NULL otherwise.


Comments:

See also: SHGetPathFromIDList, SHParseDisplayName.