CreateIcon function user32

int CreateIcon(
  1. int hInstance,
  2. int nWidth,
  3. int nHeight,
  4. int cPlanes,
  5. int cBitsPixel,
  6. Pointer<Uint8> lpbANDbits,
  7. Pointer<Uint8> lpbXORbits
)

Creates an icon that has the specified size, colors, and bit patterns.

HICON CreateIcon(
  HINSTANCE  hInstance,
  int        nWidth,
  int        nHeight,
  BYTE       cPlanes,
  BYTE       cBitsPixel,
  const BYTE *lpbANDbits,
  const BYTE *lpbXORbits
);

Implementation

int CreateIcon(int hInstance, int nWidth, int nHeight, int cPlanes,
        int cBitsPixel, Pointer<Uint8> lpbANDbits, Pointer<Uint8> lpbXORbits) =>
    _CreateIcon(hInstance, nWidth, nHeight, cPlanes, cBitsPixel, lpbANDbits,
        lpbXORbits);