SetBkColor function Null safety gdi32

int SetBkColor(
  1. int hdc,
  2. int color

The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.

  HDC      hdc,
  COLORREF color


int SetBkColor(int hdc, int color) {
  final _SetBkColor = _gdi32.lookupFunction<
      Uint32 Function(IntPtr hdc, Uint32 color),
      int Function(int hdc, int color)>('SetBkColor');
  return _SetBkColor(hdc, color);