CreateSolidBrush function Null safety gdi32

int CreateSolidBrush (
  1. int color
)

The CreateSolidBrush function creates a logical brush that has the specified solid color.

HBRUSH CreateSolidBrush(
  COLORREF color
);

Implementation

int CreateSolidBrush(int color) {
  final _CreateSolidBrush = _gdi32.lookupFunction<IntPtr Function(Int32 color),
      int Function(int color)>('CreateSolidBrush');
  return _CreateSolidBrush(color);
}