Group: Shell Functions - Library: shell32
Accessing the list of Windows Recent Documents
PIDLIST_ABSOLUTE SHSimpleIDListFromPath(
__in PCWSTR pszPath
);
DECLARE INTEGER SHSimpleIDListFromPath IN shell32;
STRING pszPath
pszPath [in] A pointer to a null-terminated string that contains the path to be converted to a PIDL.
Returns a pointer to an ITEMIDLIST structure if successful, or NULL otherwise.
See also: SHGetPathFromIDList, SHParseDisplayName.