include vmm.inc
mov ebx, VMHandle
VMMCall Get_Cur_PM_App_CB
mov [ControlBlock], edi
Retrieves a pointer to the application control block for a protected-mode application. Uses EDI.
It is an error to call this service if the virtual machine is not running a protected-mode application.