Microsoft Windows CE 3.0  

PAINTSTRUCT

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure contains information that an application uses to paint the client area of a window owned by that application.

typedef
struct
tagPAINTSTRUCT
{
HDC
hdc
;
BOOL
fErase
;
RECT
rcPaint
;
BOOL
fRestore
;
BOOL
fIncUpdate
;
BYTE
rgbReserved
[32]
;
}
PAINTSTRUCT;

Members

hdc
Handle to the display DC to be used for painting.
fErase
Boolean that specifies whether the background must be erased. This value is nonzero if the application should erase the background. The application is responsible for erasing the background if a window class is created without a background brush. For more information about backgrounds, see the description of the hbrBackgroundmember of the WNDCLASSstructure.
rcPaint
Specifies a RECT structure that specifies the upper left and lower right corners of the rectangle in which the painting is requested.
fRestore
Reserved; used internally by the system.
fIncUpdate
Reserved; used internally by the system.
rgbReserved
Reserved; used internally by the system.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Winuser.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

BeginPaint, RECT, WNDCLASS