EndPaint function Null safety user32
- int hWnd,
- 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
);
Implementation
int EndPaint(int hWnd, Pointer<PAINTSTRUCT> lpPaint) {
final _EndPaint = _user32.lookupFunction<
Int32 Function(IntPtr hWnd, Pointer<PAINTSTRUCT> lpPaint),
int Function(int hWnd, Pointer<PAINTSTRUCT> lpPaint)>('EndPaint');
return _EndPaint(hWnd, lpPaint);
}