The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __vmx_vmptrst.

Microsoft Specific**

Stores the pointer to the current virtual-machine control structure (VMCS) at the specified address.


void __vmx_vmptrst(   
   unsigned __int64 *VmcsPhysicalAddress   


[in] *VmcsPhysicalAddress
The address where the current VMCS pointer is stored.


The VMCS pointer is a 64-bit physical address.

The __vmx_vmptrst function is equivalent to the VMPTRST machine instruction. This function supports the interaction of a host's virtual machine monitor with a guest operating system and its applications. For more information, search for the document, "Intel Virtualization Technical Specification for the IA-32 Intel Architecture," document number C97063-002, at the Intel Corporation site.


Intrinsic Architecture
__vmx_vmptrst x86, x64

Header file <intrin.h>

END Microsoft Specific

See Also

Compiler Intrinsics