Nvidia 5500 User Manual

Page of 88
NVIDIA Corporation
Quadro FX 4500/5500 SDI User’s Guide – Version 2.0 
77
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