[SHCloneSpecialIDList is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use SHGetSpecialFolderLocation.]
Retrieves a pointer to the ITEMIDLIST structure that specifies a special folder.
PIDLIST_ABSOLUTE SHCloneSpecialIDList( HWND hwnd, int csidl, BOOL fCreate );
A CSIDL value that identifies the folder of interest.
A value of type BOOL that indicates if the folder should be created if it does not already exist. If fCreate is TRUE, the folder is created. If it is FALSE, the folder is not created.
Returns a pointer to the ITEMIDLIST structure of a special folder specified by csidl. The function creates the folder if fCreate is TRUE.
When finished, you should free the pointer to the cloned folder with ILFree.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||shlobj_core.h (include Shlobj.h)|
|DLL||Shell32.dll (version 5.0 or later)|