SetBkMode function Null safety gdi32

int SetBkMode(
  1. int hdc,
  2. int mode

The SetBkMode function sets the background mix mode of the specified device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.

int SetBkMode(
  HDC hdc,
  int mode


int SetBkMode(int hdc, int mode) {
  final _SetBkMode = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Uint32 mode),
      int Function(int hdc, int mode)>('SetBkMode');
  return _SetBkMode(hdc, mode);