_GetPhysPageInfo

#include <vmm.h>

ULONG EXTERNAL GetPhysPageInfo(ULONG iPage, ULONG nPages, ULONG flags);
 

Indicates whether any, all, or none of the specified physical pages exist. This service is available even after initialization, but is pageable, meaning that if it is called after initialization, it may block and/or cause a task-switch before returning. Uses EAX, ECX, EDX, and flags.

iPage and nPages
Page number of the first physical page in the range, and the number of physical pages in the range.
flags
Must be zero.