Writes the specified value to the specified field in the current virtual machine control structure (VMCS).
unsigned char __vmx_vmwrite( size_t Field, size_t FieldValue );
[in] The VMCS field to write.
[in] The value to write to the VMCS field.
The operation succeeded.
The operation failed with extended status available in the
VM-instruction error field of the current VMCS.
The operation failed without status available.
__vmx_vmwrite function is equivalent to the
VMWRITE 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