ExcludeUpdateRgn function Null safety user32

int ExcludeUpdateRgn(
  1. int hDC,
  2. int hWnd
)

The ExcludeUpdateRgn function prevents drawing within invalid areas of a window by excluding an updated region in the window from a clipping region.

int ExcludeUpdateRgn(
  HDC  hDC,
  HWND hWnd
);

Implementation

int ExcludeUpdateRgn(int hDC, int hWnd) {
  final _ExcludeUpdateRgn = _user32.lookupFunction<
      Int32 Function(IntPtr hDC, IntPtr hWnd),
      int Function(int hDC, int hWnd)>('ExcludeUpdateRgn');
  return _ExcludeUpdateRgn(hDC, hWnd);
}