DSetGCT | 47
DSetGCT
Purpose Use
DSetGCT
to set the GCT for a particular screen.
Syntax
DWORD DSetGCT (hdc, wScreenNumber, lpgct)
Return value
DWORD –
zero (0) if function completed successfully;
otherwise, operating system error code.
Parameter Type
Name
Description
HDC
hdc
Handle to the display-
device context.
UWORD
wScreenNumber
Target screen number
(zero-based).
GAMMA_
CORRECTION_
TABLE FAR *
gct
Pointer to GCT.
ArraySize
specifies
the number of entries in
each color array. For
current versions of the
DLL,
ArraySize
must
be 256. The table’s color
values are 16-bit values.
The DLL shifts these
values down if the DAC
doesn’t support the full
16 bits.
Grayscale boards use green values only.
Summary of Contents for Dome DX/PCI
Page 6: ......