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

Do authentication on proxy server and returns list of registered hosts on this proxy.

Syntax
PRL_HANDLE PrlSrv_GetRegisteredHostsOnProxy(
    PRL_CONST_STR account, 
    PRL_CONST_STR accountPass, 
    const PRL_PROXY_CLIENT_INFO_PTR cliInfo, 
    PRL_UINT32 timeout, 
    PRL_EVENT_HANDLER_PTR handler, 
    PRL_VOID_PTR userData
);
File
Parameters

account
Parallels account.
accountPass
Parallels account password.
cliInfo
Additional client information.
timeout
Timeout in milliseconds. The authenticate operation will stop once this limit is reached.
handler
Optional. A pointer to a user callback function (event handler) that will be called when operation become complete.
userData
Optional. A pointer to a user data that will be passed to the optional callback function.
Returns

If authentication has been successfully passed, a handle of type PHT_JOB will contain a set of registered hosts on proxy or PRL_ERR_INVALID_HANDLE if there's not enough memory to instantiate the job object.

Remarks

PRL_ERR_INVALID_ARG - null pointer was passed.

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