PrivateExtractIcons function user32
Creates an array of handles to icons that are extracted from a specified file.
UINT PrivateExtractIconsW(
[in] LPCWSTR szFileName,
[in] int nIconIndex,
[in] int cxIcon,
[in] int cyIcon,
[out, optional] HICON *phicon,
[out, optional] UINT *piconid,
[in] UINT nIcons,
[in] UINT flags
);
Implementation
int PrivateExtractIcons(
Pointer<Utf16> szFileName,
int nIconIndex,
int cxIcon,
int cyIcon,
Pointer<IntPtr> phicon,
Pointer<Uint32> piconid,
int nIcons,
int flags) =>
_PrivateExtractIcons(
szFileName, nIconIndex, cxIcon, cyIcon, phicon, piconid, nIcons, flags);