HalColorControl (color control callback)

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

DWORD HalColorControl(
  LPDDHAL_COLORCONTROLDATA pccd 
);

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

When asked to get the color control values (when the DDRAWI_GETCOLOR flag is set in the DDHAL_COLORCONTROLDATA structure), fill in all of the fields of the DDCOLORCONTROL structure that the device supports, then indicate which fields you support 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

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.