Microsoft Windows CE 3.0  

ColorControl

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

DWORD __stdcall ColorControl(
LPDDHAL_COLORCONTROLDATA
pccd
);

Parameters

pccd
Pointer to a DDHAL_COLORCONTROLDATAstructure that contains the color control information for a specified surface.

Return Values

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
  • DDHAL_DRIVER_NOTHANDLED

    Remarks

    When asked to get the color control values (when the DDRAWI_GETCOLOR flag is set in the DDHAL_COLORCONTROLDATAstructure), fill in all of the fields of the DDCOLORCONTROLstructure that the device supports, then indicate which fields you support by setting the appropriate flags.



     Last updated on Tuesday, July 13, 2004

    © 2004 Microsoft Corporation. All rights reserved.