Funktionreferenz


_WinAPI_ShellGetSpecialFolderLocation


Retrieves a pointer to the ITEMIDLIST structure (PIDL) of a special folder

#include <WinAPIShellEx.au3>
_WinAPI_ShellGetSpecialFolderLocation ( $iCSIDL )

Parameter

$iCSIDL The CSIDL ($CSIDL_*) that identifies the folder of interest.

Rückgabewert

Success: The PIDL specifying the folder's location relative to the root of the namespace (the desktop).
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

Bemerkungen

To free the returned PIDL, call the _WinAPI_CoTaskMemFree() function.

Siehe auch

Suche nach SHGetSpecialFolderLocation in der MSDN Bibliothek.