Collapse All
Parallels Virtualization SDK
PrlUsrCfg_AddProxy Function
PHT_USER_PROFILE

Add information about proxy and credentials to access to the specifid proxy server.

Syntax
PRL_RESULT PrlUsrCfg_AddProxy(
    PRL_HANDLE hUserProfile, 
    PRL_CONST_STR sProxyHost, 
    PRL_UINT32 nProxyPort, 
    PRL_CONST_STR sProxyUserLogin, 
    PRL_CONST_STR sProxyUserPasswd, 
    PRL_INT32 nReserved
);
File

PrlApiDeprecated.h

Parameters

hUserProfile
A handle of type PHT_USER_PROFILE identifying the user.
sProxyHost
proxy IP or host name (a UTF-8 encoded, null-terminated string).
nProxyPort
proxy port
sProxyUserLogin
username to authenticate on proxy server (a UTF-8 encoded, null-terminated string).
sProxyUserPasswd
password to authenticate on proxy server (a UTF-8 encoded, null-terminated string).
nReserved
Reserved for future use. Should be 0.
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-2017 Parallels International GmbH. All rights reserved.