Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetTimeSyncSmartModeEnabled Function
PrlApi.h PHT_VM_CONFIGURATION See Also

Enables or disables the smart time-synchronization mode in a virtual machine.

Syntax
PRL_RESULT PrlVmCfg_SetTimeSyncSmartModeEnabled(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL bEnabled
);
File
Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
bEnabled
Setting boolean value.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

You can automatically synchronize the time in a virtual machine with the time in the OS by using the PrlVmCfg_SetTimeSynchronizationEnabled function. That functionality will keep the time in the virtual machine in a perfect synch with the time in the host OS. You can also set different time zones in the host and the guest OS and still synchronize the time. To do so, use the PrlVmCfg_SetTimeSyncSmartModeEnabled function. This feature requires Parallels Tools installed in a virtual machine.

See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!