GetUpdateRect function Null safety user32

int GetUpdateRect(
  1. int hWnd,
  2. Pointer<RECT> lpRect,
  3. int bErase
)

The GetUpdateRect function retrieves the coordinates of the smallest rectangle that completely encloses the update region of the specified window. GetUpdateRect retrieves the rectangle in logical coordinates. If there is no update region, GetUpdateRect retrieves an empty rectangle (sets all coordinates to zero).

BOOL GetUpdateRect(
  HWND   hWnd,
  LPRECT lpRect,
  BOOL   bErase
);

Implementation

int GetUpdateRect(int hWnd, Pointer<RECT> lpRect, int bErase) =>
    _GetUpdateRect(hWnd, lpRect, bErase);