CreateDIBSection method

Pointer<HBITMAP__> CreateDIBSection(
  1. Pointer<HDC__> hdc,
  2. Pointer<PBITMAPINFO> pbmi,
  3. int usage,
  4. Pointer<Pointer<Void>> ppvBits,
  5. Pointer<Void> hSection,
  6. int offset,
)

Implementation

ffi.Pointer<HBITMAP__> CreateDIBSection(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<PBITMAPINFO> pbmi,
  int usage,
  ffi.Pointer<ffi.Pointer<ffi.Void>> ppvBits,
  ffi.Pointer<ffi.Void> hSection,
  int offset,
) {
  return (_CreateDIBSection ??=
      _dylib.lookupFunction<_c_CreateDIBSection, _dart_CreateDIBSection>(
          'CreateDIBSection'))(
    hdc,
    pbmi,
    usage,
    ppvBits,
    hSection,
    offset,
  );
}