52 | DSetStartupGCT
Structure This code fragment defines the
GCT_FILE_FORMAT
structure.
typedef struct
{
UDWORD IdGCT;
UWORD
Version;
UWORD
ArraySize;
UWORD
Red[256];
UWORD
Green[256];
UWORD
Blue[256];
} GCT_FILE_FORMAT;
The
ArraySize
field must be 256.
Example This example sets the initial GCT for screen zero (0).
#include <mdpcint.h>
{
DWORD
dwRetCode;
dwRetCode = DSetStartupGCT (0, "screen0.gct");
return dwRetCode;
}
See also
DCancelStartupGCT, DGetGCT, DSetGCT
Содержание Dome DX/PCI
Страница 6: ......