Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlSrv_SetGlobalDateTime Function
PHT_SERVER

Sets the current trusted time, that will be used for SSL certificate check.

Syntax
PRL_RESULT PrlSrv_SetGlobalDateTime(
    PRL_HANDLE hServer, 
    PRL_UINT64 nTimeStampUTC
);
File

PrlApiManager.h

Parameters

hServer
A handle of type PHT_SERVER identifying the Parallels Service.
nTimeStampUTC
Global date and time, represented by the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC).

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_SUCCESS - operation completed successfully 

PRL_ERR_INVALID_ARG - invalid handle. 

Links
© 2021 Parallels International GmbH. All rights reserved.