|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
This topic is new for Visual Studio 2005 SP1.
Places the calling application in VMX non-root operation state (VM enter) by using the current virtual-machine control structure (VMCS).
An application can perform a VM-enter operation by using either theor function. The function can be used only with a VMCS whose launch state is Clear, and the function can be used only with a VMCS whose launch state is Launched. Consequently, use the function to set the launch state of a VMCS to Clear, and then use the function for your first VM-enter operation and the function for subsequent VM-enter operations.
The __vmx_vmlaunch function is equivalent to the VMLAUNCH 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.