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.
Begin_PM_App
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, VM              ; current VM handle
mov     edx, Flags           ; flags
mov     edi, OFFSET32 acb    ; points to Application Control Block
mov     eax, Begin_PM_App
VMMcall System_Control
 
The Begin_PM_App message notifies the virtual device that the system is
starting a protected-mode application.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the current virtual machine.
 
Flags      Specifies the operation flags. It can be the following value:
 
           Value       Meaning
           ─────────────────────────────────────────────────────────────────
           BPA_32_Bit  Application has 32-bit segments. If this value is not
                       given, the application has 16-bit segments.
 
           All other values are reserved.
 
abc        Points to an application control block.
 
Return Value
 
The carry flag is clear if the virtual device can support the protected-mode
application. Otherwise, the carry flag is set to indicate an error.
 
Uses
 
Flags
 
See Also
 
End_PM_App