NVIDIA Corporation
Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0  71
C
HAPTER 5
API Control
);
ThisfunctionreturnsTrueiftheextensionexists,Falseotherwise.
major
and
minor
are
theextensionʹsmajorandminorversionnumbers.
XNVCTRLIsNvScreen()
Bool XNVCTRLIsNvScreen (
    Display *dpy,
    int screen
);
ThisfunctionreturnsTrueisthespecifiedscreeniscontrolledbytheNVIDIAdriver,
otherwiseFalse.
XNVCTRLSetAttribute() 
void XNVCTRLSetAttribute (
    Display *dpy,
    int screen,
    unsigned int display_mask,
    unsigned int attribute,
    int value
);
Thisfunctionsetstheattributetothegivenvalue.Notallattributesrequirethe
display_maskparameter.See“NV_CTRL_ GVOAttributes”onpage 75fordetails.
Possibleerrors:
•BadValue‐Thescreenorattributedoesnʹtexist.
• BadMatch‐TheNVIDIAdriverisnotpresentonthatscreen.
XNVCTRLSetAttributeAndGetStatus() 
Bool XNVCTRLSetAttributeAndGetStatus (
    Display *dpy,
    int screen,
    unsigned int display_mask,
    unsigned int attribute,
    int value