X Property Library Chapter 9
LabWindows/CVI Standard Libraries 9-14 © National Instruments Corporation
Return Values
The return value indicates the success or failure status of the function call. A negative value
indicates an error. The following table shows status values.
NoXErr 0 The function was successful.
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.
PropTypeInUseXErr -11 There is a property created by CreateXProperty that
has this property type.
DisconnectFromXDisplayPropLibXErrType status = DisconnectFromXDisplay (DisplayPtrX display);
Purpose
Disconnects from a remote X server. You can use this function to end access to a remote
X server you connected using ConnectToXDisplay. After this function is called, you can no
longer access the remote X server.
Parameter
Input display DisplayPtrX A pointer to the display of the remote
X server to be disconnected. This value
must have been obtained from
ConnectToXDisplay.
Return Values
The return value indicates the success or failure status of the function call. A negative value
indicates an error. The following table shows status values.
NoXErr 0 The function was successful.
InvalidParamXErr -1 NULL was passed to the parameter.
InvalidDisplayXErr -2 The display argument is not a valid display. This value
must be the value returned by ConnectToXDisplay.