다음을 통해 공유


HalColorControl (color control callback) (Windows CE 5.0)

Send Feedback

This callback function controls the luminance and brightness controls of an overlay or a primary surface. This callback is optional.

DWORD HalColorControl(LPDDHAL_COLORCONTROLDATApccd);

Parameters

  • pccd
    [in, out] Pointer to a DDHAL_COLORCONTROLDATA structure that contains the color control information for a specified surface.

Return Values

Returns one of the following values:

Remarks

If the DDRAWI_GETCOLOR flag in the DDHAL_COLORCONTROLDATA structure is set, the driver should retrieve the color control values. To do this, fill in all of the fields of the DDCOLORCONTROL structure that the device supports, and then indicate which fields are supported by setting the appropriate flags.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
Link Library: Developer implemented.

See Also

Color Control Callback Functions | DDHAL_COLORCONTROLDATA | DDCOLORCONTROL | DDHAL_DRIVER_HANDLED | DDHAL_DRIVER_NOTHANDLED

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.