Readgct - Planar DX/PCI User Manual

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

Advertisement

102 | ReadGCT

ReadGCT

Purpose Use
Syntax
DError (*ReadGCT) (dev, i, r, g, b)
Return value
D_OK
Description
ReadGCT()
values in (
Errors
DMD_ERROR_BAD_DEVICE -
DMD_ERROR_BAD_VALUE -
Example This example reads GCT entry 34.
#include "domeMd.h"
DMdDev
DLong
DError
error = (*dev->ReadGCT) (dev, 34, &r, &g, &b);
See also
InitGCT, WriteGCT, UpdateGCT, DMdDev Structure
to read an entry in the GCT.
ReadGCT
Parameter Type
DMdDev
DLong
DLong
DLong
DLong
if successful; otherwise, an error code.
reads the GCT entry
,
,
). Entry zero (0) is the first entry of the GCT.
r
g
b
dev;
r, g, b;
error;
.
.
.
Name
Description
Device handle of the DOME device
dev
Index to GCT entry
i
Pointer to receive the gamma value
*r
for red
Pointer to receive the gamma value
*g
for green
Pointer to receive the gamma value
*b
for blue
and returns the gamma
i
Device failed to access the GCT.
GCT index entry is too large.

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents