DGetGCT | 49
DGetGCT
Purpose Use
DGetGCT
to return the GCT for a particular screen.
Syntax
DWORD DGetGCT (hdc, wScreenNumber, lpgct)
Return value
DWORD –
zero (0) if function completed successfully;
otherwise, operating system error code.
Structure The code fragment on page 48 defines the
GAMMA_
CORRECTION_TABLE
structure.
DGetGCT
overwrites the
Reserved1
and
Reserved2
fields
in the
GAMMA_CORRECTION_ TABLE
. The
ArraySize
field
must be 256.
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. Color
values in the table are
full 16-bit values.
Summary of Contents for Dome DX/PCI
Page 6: ......