This function returns the current background color for the specified device context.
At a Glance
Header file: | Wingdi.h |
Windows CE versions: | 1.0 and later |
Syntax
COLORREF GetBkColor(HDC hdc);
Parameters
hdc
[in] Handle to the device context whose background color is to be returned.
Return Values
A COLORREF value for the current background color indicates success. CLR_INVALID indicates failure.
See Also