SHGetFolderLocation (SHELL32.@)
HRESULT SHGetFolderLocation ( HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwReserved, LPITEMIDLIST* ppidl )
Gets the folder locations from the registry and creates a pidl.
hwndOwner | [In] | . |
nFolder | [In] | CSIDL_xxxxx. |
hToken | [In] | token representing user, or NULL for current user, or -1 for default user. |
dwReserved | [In] | must be zero. |
ppidl | [Out] | PIDL of a special folder. |
Success: S_OK
Failure: Standard OLE-defined error result, S_FALSE or E_INVALIDARG.
Creates missing reg keys and directories. Mostly forwards to SHGetFolderPathW, but a few values of nFolder return virtual folders that are handled here.
Declared in "include/shlobj.h". gitlab.winehq.org/wine/wine/blob/master/include/shlobj.h
Implemented in "dlls/shell32/shellpath.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shell32/shellpath.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.