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.
The EAX register contains the page number of the last page in V86 memory.
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.
EAX