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.
_GetLastV86Page
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall _GetLastV86Page
 
mov     [LastPage], eax     ; last page in V86 memory
 
The _GetLastV86Page service returns the page number of the last page of V86
memory for the specified virtual machine.
 
This service is only available for Windows version 3.1 or later.
 
This service has no parameters.
 
Return Value
 
The EAX register contains the page number of the last page in V86 memory.
 
Comments
 
The last page in V86 memory moves during initialization. Virtual devices
that retrieve the last page when processing initialization messages must
retrieve the page number again to use it later.
 
Uses
 
EAX
 
See Also
 
_GetFirstV86Page