Query_Destroy


include vmm.inc

mov     ebx, VMHandle
mov     eax, Query_Destroy
VMMcall System_Control

Directs the virtual device to display a warning message if the destruction of the specified virtual machine will disrupt the operation of the virtual device. The virtual shell device sends this message before attempting to destroy a virtual machine that has not terminated normally. The virtual device may modify all general registers and flags.

VMHandle

Handle of the virtual machine to destroy.

Virtual devices that set the carry flag must also display a message box, using the SHELL_Message service to inform the user of the potential problem. The user can then decide whether to continue destroying the virtual machine.

See also Destroy_VM