Collapse All
Parallels C API Reference
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
Copyright © 1999-2015 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!