CancelDC function Null safety gdi32

int CancelDC(
  1. int hdc
)

The CancelDC function cancels any pending operation on the specified device context (DC).

BOOL CancelDC(
  HDC hdc
);

Implementation

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