Query_Destroy

include vmm.inc

mov ebx, VM ; VM handle

mov eax, Query_Destroy

VMMcall System_Control


The Query_Destroy message 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.

Parameters

VM

Specifies a handle identifying the virtual machine to destroy.

Return Value

The carry flag is set if the destruction of the virtual machine will disrupt the virtual device. Otherwise, the carry flag is clear.

Comments

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.

Uses

Flags

See Also

Destroy_VM, SHELL_Message