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.
A version of this page is also available for
4/8/2010

This interface allows you to get and set gamma controls:

Gamma controls

GetGammaRamp

 

SetGammaRamp

The IDirectDrawGammaControlinterface, like all COM interfaces, inherits the IUnknowninterface methods. The IUnknowninterface supports the following three methods:

IUnknown

AddRef

 

QueryInterface

 

Release

You can use the LPDIRECTDRAWGAMMACONTROLdata type to declare a variable that contains a pointer to an IDirectDrawGammaControlinterface.

The Ddraw.h header file declares these data types with the following code.

Copy Code
typedef struct IDirectDrawGammaControl	FAR
*LPDIRECTDRAWGAMMACONTROL;

Requirements

Header ddraw.h
Library ddraw.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later