SHGetFileInfo function shell32
Retrieves information about an object in the file system, such as a file, folder, directory, or drive root.
DWORD_PTR SHGetFileInfoW(
LPCWSTR pszPath,
DWORD dwFileAttributes,
SHFILEINFOW *psfi,
UINT cbFileInfo,
UINT uFlags
);
Implementation
int SHGetFileInfo(Pointer<Utf16> pszPath, int dwFileAttributes,
Pointer<SHFILEINFO> psfi, int cbFileInfo, int uFlags) =>
_SHGetFileInfo(pszPath, dwFileAttributes, psfi, cbFileInfo, uFlags);