SHGetFolderPath function shell32
Gets the path of a folder identified by a CSIDL value.
SHFOLDERAPI SHGetFolderPathW(
HWND hwnd,
int csidl,
HANDLE hToken,
DWORD dwFlags,
LPWSTR pszPath
);
Implementation
int SHGetFolderPath(
int hwnd, int csidl, int hToken, int dwFlags, Pointer<Utf16> pszPath) =>
_SHGetFolderPath(hwnd, csidl, hToken, dwFlags, pszPath);