include vmm.inc VMMcall _GetVMPgCount, <VM, flags> |
The _GetVMPgCount service returns the current count of pages allocated to a particular virtual machine.
VM
Specifies a handle identifying the virtual machine to examine.
flags
Specifies the operation flags. This parameter must be set to 0.
The EAX register contains the total number of pages allocated for the specified virtual machine, and the EDX register contains the count of pages which are allocated to this virtual machine but which are not mapped into the virtual machine's 1 megabyte address space.
Both EAX and EDX contain zero to indicate an error, such as an invalid virtual machine handle.
Virtual devices must not rely on the sum of the return values being the size (in pages) of the virtual machine.
EAX, EDX