|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 );
Returns one of the following values:
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