CreateDIBPatternBrushPt function Null safety gdi32

int CreateDIBPatternBrushPt (
  1. Pointer<NativeType> lpPackedDIB,
  2. int iUsage
)

The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB).

HBRUSH CreateDIBPatternBrushPt(
  const VOID *lpPackedDIB,
  UINT       iUsage
);

Implementation

int CreateDIBPatternBrushPt(Pointer lpPackedDIB, int iUsage) {
  final _CreateDIBPatternBrushPt = _gdi32.lookupFunction<
      IntPtr Function(Pointer lpPackedDIB, Uint32 iUsage),
      int Function(Pointer lpPackedDIB, int iUsage)>('CreateDIBPatternBrushPt');
  return _CreateDIBPatternBrushPt(lpPackedDIB, iUsage);
}