WHvCancelRunVirtualProcessor
Syntax
HRESULT
WINAPI
WHvCancelRunVirtualProcessor(
_In_ WHV_PARTITION_HANDLE Partition,
_In_ UINT32 VpIndex,
_In_ UINT32 Flags
);
Parameters
Partition
Handle to the partition object
VpIndex
Specifies the index of the virtual processor for which the execution should be stopped
Flags
Unused, must be zero
Remarks
Canceling the execution of a virtual processor allows an application to abort the call to run the virtual processor (WHvRunVirtualProcessor
) by another thread, and to return the control to that thread. The virtualization stack can use this function to return the control of a virtual processor back to the virtualization stack in case it needs to change the state of a VM or to inject an event into the processor.
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈