SetBkColor function Null safety gdi32
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.
COLORREF SetBkColor(
HDC hdc,
COLORREF color
);
Implementation
int SetBkColor(int hdc, int color) {
final _SetBkColor = _gdi32.lookupFunction<
Int32 Function(IntPtr hdc, Int32 color),
int Function(int hdc, int color)>('SetBkColor');
return _SetBkColor(hdc, color);
}