Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlSrv_IsConnected Function
PHT_SERVER

Determines if the connection to the specified Virtuozzo 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 Virtuozzo 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 ©2016-2017 Parallels International GmbH. All rights reserved.