CreateIconFromResource function user32

int CreateIconFromResource(
  1. Pointer<Uint8> presbits,
  2. int dwResSize,
  3. int fIcon,
  4. int dwVer,
)

Creates an icon or cursor from resource bits describing the icon.

HICON CreateIconFromResource(
  [in] PBYTE presbits,
  [in] DWORD dwResSize,
  [in] BOOL  fIcon,
  [in] DWORD dwVer
);

Implementation

int CreateIconFromResource(
        Pointer<Uint8> presbits, int dwResSize, int fIcon, int dwVer) =>
    _CreateIconFromResource(presbits, dwResSize, fIcon, dwVer);