Partager via


Gdi::GetBkColor_I

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

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

GetBkColor | Gdi::GetBkMode_I | Gdi::SetBkColor_I | COLORREF

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.