_PageCheckLinRange

include vmm.inc

VMMCall _PageCheckLinRange, <page, nPages, flags>

mov     [Pages], eax    ; number of committed pages at start of range


#include <vmm.h>

ULONG EXTERNAL _PageCheckLinRange (ULONG page, ULONG npages, 
    ULONG flags);
 

Determines whether all pages in the specified range of linear addresses are committed. Uses EAX, ECX, EDX, and Flags.

page
Page number of the first page to check. A page number is a ring-0 linear address shifted right by 12 bits.
nPages
Number of pages to check.
flags
Operation flags. Must be zero.

Virtual devices typically use this service to validate an address range before specifying the range in a call to the _LinPageLock or _LinMapIntoV86 service.

See Also

_LinMapIntoV86, _LinPageLock