PrivateExtractIcons function user32
Creates an array of handles to icons that are extracted from a specified file.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-privateextracticonsw.
Implementation
@pragma('vm:prefer-inline')
int PrivateExtractIcons(
PCWSTR szFileName,
int nIconIndex,
int cxIcon,
int cyIcon,
Pointer<Pointer>? phicon,
Pointer<Uint32>? piconid,
int nIcons,
int flags,
) => _PrivateExtractIcons(
szFileName,
nIconIndex,
cxIcon,
cyIcon,
phicon ?? nullptr,
piconid ?? nullptr,
nIcons,
flags,
);