EndPaint function Null safety user32

int EndPaint(
  1. int hWnd,
  2. Pointer<PAINTSTRUCT> lpPaint

The EndPaint function marks the end of painting in the specified window. This function is required for each call to the BeginPaint function, but only after painting is complete.

BOOL EndPaint(
  HWND              hWnd,
  const PAINTSTRUCT *lpPaint


int EndPaint(int hWnd, Pointer<PAINTSTRUCT> lpPaint) =>
    _EndPaint(hWnd, lpPaint);