Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 747 Bytes

File metadata and controls

29 lines (24 loc) · 747 Bytes
title description author ms.author ms.date
Execution canceled from the host
Learn about context data for an exit caused by a cancellation from the host.
sethmanheim
sethm
04/20/2022

Execution Canceled

Syntax

//
// Context data for an exit caused by a cancellation from the host (WHvRunVpExitReasonCanceled)
//
typedef enum WHV_RUN_VP_CANCEL_REASON
{
    WHvRunVpCancelReasonUser = 0 // Execution canceled by WHvCancelRunVirtualProcessor
} WHV_RUN_VP_CANCEL_REASON;

typedef struct WHV_RUN_VP_CANCELED_CONTEXT
{
    WHV_RUN_VP_CANCEL_REASON CancelReason;
} WHV_RUN_VP_CANCELED_CONTEXT;

Return Value

Information about an exit caused by host system is provided in the WHV_RUN_VP_CANCELLED_CONTEXT structure.