Planar DX/PCI User Manual page 58

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

48 | DSetGCT
Structure This code fragment defines the only valid structure for the
GAMMA_CORRECTION_TABLE
typedef struct
DSetGCT
the
be 256.
Example This example sets the GCT for screen zero (0).
#include <mdpcint.h> /* includes
{
HDC
GAMMA_CORRECTION_TABLEgct;
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
ArraySize
GAMMA_ CORRECTION_TABLE
definition */
fields in
Reserved2
field must

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents