Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetTimeSyncInterval Function
PHT_VM_CONFIGURATION See Also

Allows to set the time interval at which the time in the virtual machine will be synchronized with the time in the host OS.

Syntax
PRL_RESULT PrlVmCfg_SetTimeSyncInterval(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32 nTimeSyncInterval
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nTimeSyncInterval
Setting interval in seconds.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Before this function can be used, the time synchronization feature must be enabled in the virtual machine using the PrlVmCfg_SetTimeSynchronizationEnabled function.

See Also
Links
What do you think about this topic? Send feedback!