Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlSrv_IsConnected Function
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

PrlApiDisp.h

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
© 2021 Parallels International GmbH. All rights reserved.