include vmm.inc VMMcall _GetLastV86Page mov [LastPage], eax ; last page in V86 memory
Returns the page number of the last page of V86 memory for the current virtual machine. This service is only available for Windows version 3.1 or later. Uses EAX.
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.
See also _GetFirstV86Page