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_off.

Microsoft Specific**

Deactivates virtual machine extensions (VMX) operation in the processor.

void __vmx_off();  

The __vmx_off function is equivalent to the VMXOFF 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.

__vmx_offx86, x64

Header file <intrin.h>

Compiler Intrinsics