HRESULT SHGetFolderPathW ( HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath )
|nFolder||[In]||CSIDL identifying the folder.|
|dwFlags||[In]||which path to return.|
Convert nFolder to path.
Failure: standard HRESULT error codes.
Most values can be overridden in either HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders or in the same location in HKLM. The "Shell Folders" registry key was used in NT4 and earlier systems. Beginning with Windows® 2000, the "User Shell Folders" key is used, so changes made to it are made to the former key too. This synchronization is done on-demand: not until someone requests the value of one of these paths (by calling one of the SHGet functions) is the value synchronized. Furthermore, the HKCU paths take precedence over the HKLM paths.
Declared in "shlobj.h". https://source.winehq.org/source/include/shlobj.h
Implemented in "dlls/shell32/shellpath.c". https://source.winehq.org/source/dlls/shell32/shellpath.c
Debug channel "shell".
Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2021.