Execução Cancelada Saída

Dados de contexto para uma saída causada por um cancelamento do host.

Sintaxe

//
// 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;

//
// Alias for non-standard capitalization found in earlier versions of the header
//
#define WhvRunVpCancelReasonUser WHvRunVpCancelReasonUser

typedef struct WHV_RUN_VP_CANCELED_CONTEXT
{
    WHV_RUN_VP_CANCEL_REASON CancelReason;
} WHV_RUN_VP_CANCELED_CONTEXT;

Remarks

A informação sobre uma saída causada pelo sistema hospedeiro é fornecida na WHV_RUN_VP_CANCELED_CONTEXT estrutura.

Note que o valor numérico de WHvRunVpExitReasonCanceled é diferente entre x64 e Arm64.

Ver também