DSetGCT
Structure This code fragment defines the only valid structure for the
GAMMA_CORRECTION_TABLE
typedef struct
DSetGCT
fields in the
field must be 256.
Example This example sets the GCT for screen zero (0).
#include <mdpcint.h> /* includes GAMMA_
{
HDC
GAMMA_CORRECTION_TABLE
DWORD
gct.ArraySize = 256;
/* Set Red, Green, and Blue values of gct. */
dwRetCode = DSetGCT (hdc, 0, &gct);
return dwRetCode;
}
See also
DGetGCT, DSetStartupGCT, DCancelStartupGCT
{
UWORD Reserved1;
UWORD Reserved2;
UWORD ArraySize;
UWORD Red[256];
UWORD Green[256];
UWORD Blue[256];
} GAMMA_CORRECTION_TABLE;
overwrites the
GAMMA_CORRECTION_ TABLE
hdc;
dwRetCode;
.
.
.
in this version of the library.
and
Reserved1
. The
CORRECTION_TABLE
definition */
gct;
49
Reserved2
ArraySize