CreateBitmap method

Pointer<HBITMAP__> CreateBitmap(
  1. int nWidth,
  2. int nHeight,
  3. int nPlanes,
  4. int nBitCount,
  5. Pointer<Void> lpBits,
)

Implementation

ffi.Pointer<HBITMAP__> CreateBitmap(
  int nWidth,
  int nHeight,
  int nPlanes,
  int nBitCount,
  ffi.Pointer<ffi.Void> lpBits,
) {
  return (_CreateBitmap ??= _dylib
      .lookupFunction<_c_CreateBitmap, _dart_CreateBitmap>('CreateBitmap'))(
    nWidth,
    nHeight,
    nPlanes,
    nBitCount,
    lpBits,
  );
}