Edit

WHvSuspendPartitionTime

Suspends the passage of time for a partition.

Syntax

HRESULT
WINAPI
WHvSuspendPartitionTime(
    _In_ WHV_PARTITION_HANDLE Partition
    );

Parameters

Partition

Handle to the partition object.

Return Value

If the function succeeds, the return value is S_OK.

Remarks

The WHvSuspendPartitionTime function suspends time for the partition.

No virtual processor may be running when this is called. Time will resume when WHvResumePartitionTime or WHvRunVirtualProcessor is called.

Requirements

Requirement Value
Minimum supported Windows Windows 10, version 1903 (x64); Windows 11, version 24H2, build 26100.3915 (Arm64)
Header WinHvPlatform.h
Library WinHvPlatform.lib
DLL WinHvPlatform.dll
Architecture x64, Arm64

See also