Collapse All
Parallels C API Reference Guide
PrlSrv_IsConnected Function
PrlApi.h PHT_SERVER

Determines if the connection to the specified Parallels Service is active.

Syntax
PRL_RESULT PrlSrv_IsConnected(
    PRL_HANDLE hServer, 
    PRL_BOOL_PTR pbConnected, 
    PRL_BOOL_PTR pbIsConnectionLocal
);
File
Parameters

hServer
A handle of type PHT_SERVER identifying the Parallels Service.
pbConnected
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the connection is active. PRL_FALSE indicates otherwise.
pbIsConnectionLocal
[out] Specifies whether this is a local or remote connection. PRL_TRUE indicates that this is a local connection. PRL_FALSE indicates that this is a remote connection.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!