Expand Minimize

HV_X64_HYPERCALL_OUTPUT union

The HV_X64_HYPERCALL_OUTPUT union defines the format of the hypercall output value.

Syntax


typedef union _HV_X64_HYPERCALL_OUTPUT {
  struct {
    UINT16 CallStatus;
    UINT16 Reserved1;
    UINT32 ElementsProcessed  :12;
    UINT32 Reserved2  :20;
  };
  UINT64 AsUINT64;
} HV_X64_HYPERCALL_OUTPUT, *PHV_X64_HYPERCALL_OUTPUT;

Members

CallStatus

A 16-bit value that specifies the returned status of the hypercall. CallStatus is set in bits 0 through 15 of the 64-bit AsUINT64 member (0x000000000000FFFF). For a list of the hypercall return codes, see Hypercall Return Code Reference.

Reserved1

This member is reserved. Callers should ignore this member. This member is equivalent to bits 16 through 31 of the 64-bit AsUINT64 member (0x00000000FFFF0000).

ElementsProcessed

The number of repetitions that the hypercall completed successfully. This member is equivalent to bits 32 through 43 (0x00000FFF00000000) of the 64-bit AsUINT64 member.

Reserved2

This member is reserved. Callers should ignore this member. This member is equivalent to bits 44 through 63 of the 64-bit AsUINT64 member (0xFFFFF00000000000).

AsUINT64

A member in the union that can hold one 64-bit value that defines the format of the hypercall output value.

Remarks

For more information about the hypercall output value, see Hypercall Output Values.

Requirements

Header

Hvgdk.h (include Hvgdk.h)

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.