DGetGCT
Purpose Use
Syntax
DWORD DGetGCT (hdc, wScreenNumber, lpgct)
Return value
DWORD –
otherwise, operating system error code.
Structure The code fragment on page 48 defines the
CORRECTION_TABLE
DGetGCT
in the
must be 256.
to return the GCT for a particular screen.
DGetGCT
Parameter Type
HDC
UWORD
GAMMA_
CORRECTION_
TABLE FAR *
zero (0) if function completed successfully;
overwrites the
GAMMA_CORRECTION_ TABLE
Name
hdc
wScreenNumber
gct
structure.
Reserved1
. The
DGetGCT | 49
Description
Handle to the display-
device context.
Target screen number
(zero-based).
Pointer to GCT. Color
values in the table are
full 16-bit values.
GAMMA_
and
fields
Reserved2
field
ArraySize