NVIDIA Corporation
Quadro FX 4800/5800 and Quadro CX SDI User’s Guide
– Version 1.0
71
C
HAPTER
5
API Control
);
This
function
returns
True
if
the
extension
exists,
False
otherwise.
major
and
minor
are
the
extension
ʹ
s
major
and
minor
version
numbers.
XNVCTRLIsNvScreen()
Bool XNVCTRLIsNvScreen (
Display *dpy,
int screen
);
This
function
returns
True
is
the
specified
screen
is
controlled
by
the
NVIDIA
driver,
otherwise
False
.
XNVCTRLSetAttribute()
void XNVCTRLSetAttribute (
Display *dpy,
int screen,
unsigned int display_mask,
unsigned int attribute,
int value
);
This
function
sets
the
attribute
to
the
given
value.
Not
all
attributes
require
the
display_mask
parameter.
See
for
details.
Possible
errors:
• BadValue
‐
The
screen
or
attribute
doesn
ʹ
t
exist.
• BadMatch
‐
The
NVIDIA
driver
is
not
present
on
that
screen.
XNVCTRLSetAttributeAndGetStatus()
Bool XNVCTRLSetAttributeAndGetStatus (
Display *dpy,
int screen,
unsigned int display_mask,
unsigned int attribute,
int value