ColorControl

The ColorControl callback 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_COLORCONTROLDATA structure 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_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.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.