hDC

Handle to a device context, such as a screen, to use as the display surface. The mapping mode of the device context must be MM_TEXT.

Values

Meaning

NULL

Nothing will be displayed.

<> NULL

Handle to the device context on which the rectangle will be drawn.