Share via


Gdi::GetBkColor_I (Windows Embedded CE 6.0)

1/6/2010

This method returns the current background color for the specified device context.

Syntax

static WINGDIAPI COLORREF WINAPI GetBkColor_I(
  HDC hdc
);

Parameters

  • hdc
    [in] Handle to the device context for which a background color is to be returned.

Return Value

A COLORREF value for the current background color indicates success.

CLR_INVALID indicates failure.

Remarks

This method is an internal version of the GetBkColor function.

Requirements

Header gdi.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Gdi
GetBkColor
Gdi::GetBkMode_I
Gdi::SetBkColor_I
COLORREF