National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 9 X Property Library
© National Instruments Corporation 9-5 LabWindows/CVI Standard Libraries
Table 9-3. X Property Library Error Types and Descriptions
Constant Name Value Description
NoXErr
0 The function was successful.
InvalidParamXErr
-1 The value passed to one or more of the parameters
was invalid. Refer to each function description for
specific information.
InvalidDisplayXErr
-2
The display argument is not a valid display. The
value for this argument must either be the value
returned by ConnectToXDisplay or be the
predefined value CVIXDisplay.
InvalidWindowXErr
-3
The window argument is not a valid window.
InstallXPropertyCallback—One or more
of the windows in the windowList argument are not
valid.
InvalidPropertyXErr
-4
The property argument is not a valid property
handle. This argument must be the value returned
by CreateXProperty.
InstallXPropertyCallback—One or more
of the property handles in the propertyList
argument are not valid.
InvalidPropTypeXErr
-5
The propertyType argument is not a valid property
type. This value must either be one of the
predefined property types or be a value returned by
CreateXPropType.
TooManyConnectionsXErr
-6 The program has already made the maximum
number of connections as defined by the constant
MAX_X_DISPLAYS. Use
DisconnectFromXDisplay to allow more
connections.
CannotConnectXErr
-7 The connection could not be made to the X server.
This happens for a number of reasons including an
invalid display name, a network problem, or a
security problem.
DupPropertyXErr
-8
A property with the same propertyName, but with
different propertyType already exists.
(continues)