Nvidia 5500 Computer Hardware User Manual


 
NVIDIA Corporation
Quadro FX 4500/5500 SDI User’s Guide – Version 2.0 79
C
HAPTER 5
API Control
BadValue - The screen doesnʹt exist.
BadMatch - The NVIDIA driver is not present on that screen.
BadAlloc - Insufficient resources to fulfill the request.
XNVCTRLSetStringAttribute()
Bool XNVCTRLSetStringAttribute (
Display *dpy,
int screen,
unsigned int display_mask,
unsigned int attribute,
char *ptr
);
Returns True if the operation succeeded, otherwise False.
Possible X errors:
BadValue - The screen doesnʹt exist.
BadMatch - The NVIDIA driver is not present on that screen.
BadAlloc - Insufficient resources to fulfill the request.
XNVCTRLQueryValidAttributeValues()
Bool XNVCTRLQueryValidAttributeValues (
Display *dpy,
int screen,
unsigned int display_mask,
unsigned int attribute,
NVCTRLAttributeValidValuesRec *values
);
This function returns True if the attribute exists. otherwise False. If
XNVCTRLQueryValidAttributeValues returns True, values will indicate the valid values
for the specified attribute.
See the description of NVCTRLAttributeValidValues in NVCtrl.h.