GetDIBits method

int GetDIBits(
  1. Pointer<HDC__> hdc,
  2. Pointer<HBITMAP__> hbm,
  3. int start,
  4. int cLines,
  5. Pointer<Void> lpvBits,
  6. Pointer<PBITMAPINFO> lpbmi,
  7. int usage,
)

Implementation

int GetDIBits(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<HBITMAP__> hbm,
  int start,
  int cLines,
  ffi.Pointer<ffi.Void> lpvBits,
  ffi.Pointer<PBITMAPINFO> lpbmi,
  int usage,
) {
  return (_GetDIBits ??=
      _dylib.lookupFunction<_c_GetDIBits, _dart_GetDIBits>('GetDIBits'))(
    hdc,
    hbm,
    start,
    cLines,
    lpvBits,
    lpbmi,
    usage,
  );
}