BOOL EndPaint(hwnd, lpPaint) | |||||
HWND hwnd; | /* handle of window | */ | |||
LPPAINTSTRUCT lpPaint; | /* address of structure for paint data | */ |
This function marks the end of painting in the given window. The EndPaint function is required for each call to the BeginPaint function, but only after painting is complete.
hwnd
Identifies the window that is repainted.
lpPaint
Points to a PAINTSTRUCT structure that contains the painting information retrieved by the BeginPaint function.
Returns TRUE for success, FALSE for failure.
If the caret was hidden by the BeginPaint function, EndPaint restores the caret to the screen.
BeginPaint