In | hConnection | Connection handle to be disconnected.Connection handles are obtained with the PvConnectServer() function. |
P_OK | The operation was successful. |
P_E_INVALID_HANDLE | Invalid connection handle. |
P_E_FAIL | Failed to disconnect to the named server. |