Partager via


PHGetColor (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the specified color from the resources. The standard color values are defined in phcommon.rc and correspond to one of the values in the PH_COLOR enumeration.

Syntax

COLORREF PHGetColor(
PH_COLOR  Id
);

Parameters

  • Id
    [in] A PH_COLOR enumeration that identifies the color desired.

Return Value

If successful, the return value is a COLORREF of the specified color requested. The following table shows additional possible return values.

Value Description

CLR_INVALID

Failure.

Remarks

Note

This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.

Requirements

Header controldefinitions.h
Library PhCommon.dll
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

PhCommon Controls APIs
PhCommon Reference