GetBkColor

Syntax

DWORD GetBkColor(hDC)

This function returns the current background color of the specified device.

Parameter Type/Description  

hDC HDC Identifies the device context.  

Return Value

The return value specifies an RGB color value that names the current background color.