Share via


IDirectDrawGammaControl (Compact 2013)

3/26/2014

This interface allows you to get and set gamma controls.

Methods

In addition to the methods inherited from IUnknown this interface exposes the following methods.

Method

Description

GetGammaRamp

Returns the current gamma ramp settings associated with the specified overlay or primary surface.

SetGammaRamp

Sets the gamma ramp settings associated with the specified overlay or primary surface.

Remarks

You can use the LPDIRECTDRAWGAMMACONTROL data type to declare a variable that contains a pointer to an IDirectDrawGammaControl interface.

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

typedef struct IDirectDrawGammaControl    FAR *LPDIRECTDRAWGAMMACONTROL;

Requirements

Header

ddraw.h

Library

ddraw.lib

See Also

Reference

DirectDraw Interfaces