Reads a specified field from the current virtual machine control structure (VMCS) and places it in the specified location.
unsigned char __vmx_vmread( size_t Field, size_t *FieldValue );
[in] The VMCS field to read.
[in] A pointer to the location to store the value read from the VMCS field specified by the
|0||The operation succeeded.|
|1||The operation failed with extended status available in the
|2||The operation failed without status available.|
__vmx_vmread function is equivalent to the
VMREAD machine instruction. The value of the
Field parameter is an encoded field index that is described in Intel documentation. For more information, search for Appendix C of "Intel Virtualization Technical Specification for the IA-32 Intel Architecture," at the Intel Corporation site.
Header file <intrin.h>
END Microsoft Specific
Submit and view feedback for