Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get_Cur_PM_App_CB
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, VM                 ; handle of VM running protected-mode app
VMMcall Get_Cur_PM_App_CB
 
mov     [ControlBlock], edi     ; address of application control block
 
The Get_Cur_PM_App_CB services returns a pointer to the application control
block for a protected-mode application.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the virtual machine in which the
           protected-mode application is running.
 
Return Value
 
The EDI register contains the address of the application control block.
 
Uses
 
EDI
 
See Also
 
Application_Control_Block