Collapse All
Parallels Virtualization SDK
PrlVm_SSOSendEventCredentials Function
PHT_VIRTUAL_MACHINE

Send credentials to guest

Syntax
PRL_RESULT PrlVm_SSOSendEventCredentials(
    PRL_HANDLE hVm, 
    PRL_HANDLE hEvent, 
    PRL_BOOL bEnabled, 
    PRL_CONST_STR sDomain, 
    PRL_CONST_STR sUsername, 
    PRL_CONST_STR sPassword
);
File

PrlApiDeprecated.h

Parameters

hVm
A handle of type PHT_VM_CONFIGURATION identifying the VM.
hEvent
Handle of PET_IO_SSO_GET_CREDENTIALS event, in response to which this function is invoked.
bEnabled
Is Single Sign On functionality enabled
sDomain
Domain name (The value must be a a UTF-8 encoded, null-terminated string, can't be null)
sUsername
User name (The value must be a a UTF-8 encoded, null-terminated string, can't be null)
sPassword
Password (The value must be a a UTF-8 encoded, null-terminated string, can't be null)
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle of VM

PRL_ERR_UNINITIALIZED - when Desktop object is not accessible

PRL_ERR_OUT_OF_MEMORY - when failed to allocate memory

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.