Sortie annulée de l’exécution

Données de contexte pour une sortie provoquée par une annulation de l’hôte.

Syntaxe

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

Des informations sur une sortie provoquée par le système hôte sont fournies dans la WHV_RUN_VP_CANCELED_CONTEXT structure.

Notez que la valeur numérique de WHvRunVpExitReasonCanceled est différente entre x64 et Arm64.

Voir aussi