_GetSysPageCount

include vmm.inc

VMMcall _GetSysPageCount, <flags>

mov [SysPages], eax ; count of system pages


The _GetSysPageCount service returns the current count of system pages. System pages are pages that have been allocated using the PG_SYS value.

Parameters

flags

Specifies the operation flags. This parameter must be set to 0.

Return Value

The EAX register contains the number of pages allocated as PG_SYS pages.

Comments

Although the return value often is equal to the size of the Windows virtual machine manager, virtual devices must not rely on this fact.

Uses

EAX

See Also

_GetFreePageCount, _GetVMPgCount