Performs a remote proxy login operation using the specified parameters.
PRL_HANDLE PrlSrv_ProxyLogin( PRL_HANDLE hServer, PRL_CONST_STR user, PRL_CONST_STR passwd, PRL_CONST_STR sPrevSessionUuid, PRL_UINT32 timeout, PRL_SECURITY_LEVEL security_level, PRL_PROXY_HOST_INFO_PTR hostInfo );
PrlApiDisp.h
0 - no flags. It's behaviour by default ( as PrlSrv_ProxyLogin() )
A handle of type PHT_JOB containing the results of this asynchronous operation, including the return code and a handle of type PHT_LOGIN_RESPONSE, containing an additional Parallels Service information.
PRL_INVALID_HANDLE if there's not enough memory to instantiate the job object.
A remote proxy login operation logs the user to a Parallels Service running on a remote host through proxy server. You can also use this function to log to a local host or you can use the PrlSrv_LoginLocal function, which is a simplified version created specifically to perform local host logins.
To get the return code from the PHT_JOB object, use the PrlJob_GetRetCode function. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.
To get the results from the PHT_JOB object: