DeleteDC function Null safety gdi32

int DeleteDC(
  1. int hdc
)

The DeleteDC function deletes the specified device context (DC).

BOOL DeleteDC(
  HDC hdc
);

Implementation

int DeleteDC(int hdc) {
  final _DeleteDC =
      _gdi32.lookupFunction<Int32 Function(IntPtr hdc), int Function(int hdc)>(
          'DeleteDC');
  return _DeleteDC(hdc);
}