CreateDIBitmap method

Pointer<HBITMAP__> CreateDIBitmap(
  1. Pointer<HDC__> hdc,
  2. Pointer<PBITMAPINFOHEADER> pbmih,
  3. int flInit,
  4. Pointer<Void> pjBits,
  5. Pointer<PBITMAPINFO> pbmi,
  6. int iUsage,
)

Implementation

ffi.Pointer<HBITMAP__> CreateDIBitmap(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<PBITMAPINFOHEADER> pbmih,
  int flInit,
  ffi.Pointer<ffi.Void> pjBits,
  ffi.Pointer<PBITMAPINFO> pbmi,
  int iUsage,
) {
  return (_CreateDIBitmap ??=
      _dylib.lookupFunction<_c_CreateDIBitmap, _dart_CreateDIBitmap>(
          'CreateDIBitmap'))(
    hdc,
    pbmih,
    flInit,
    pjBits,
    pbmi,
    iUsage,
  );
}