National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 9 X Property Library
© National Instruments Corporation 9-15 LabWindows/CVI Standard Libraries
See Also
Refer to the Xlib Programming Manual or to Xlib—C Language X Interface, MIT X Consortium
Standard for more information about the XCloseDisplay function.
GetXPropErrorString
char *message = GetXPropErrorString (PropLibXErrType errorNum)
Purpose
Converts the error number returned by an X Property Library function into a meaningful error
message.
Parameters
Input
errorNum
PropLibXErrType
Status returned by an X Property
function.
Return Value
message
string Explanation of error.
____________________________________________________________________________________________
GetXPropertyName
PropLibXErrType status = GetXPropertyName (PropertyHandleX property,
char **propertyName);
Purpose
Gets a property name. This function returns a pointer to the name associated with the property
handle.
Parameters
Input
property
PropertyHandleX
Property handle for which the name is to
be obtained. This value must have been
obtained from CreateXProperty.
Output
propertyName
character pointer
(passed by reference)
Pointer to the property name.