BeginPaint function Null safety user32

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

The BeginPaint function prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting.

HDC BeginPaint(
  HWND          hWnd,
  LPPAINTSTRUCT lpPaint
);

Implementation

int BeginPaint(int hWnd, Pointer<PAINTSTRUCT> lpPaint) =>
    _BeginPaint(hWnd, lpPaint);