POOL_TYPE
MmDeterminePoolType(
  IN  PVOID VirtualAddress
  );

Routine Description:

    This function determines which pool a virtual address resides within.

Arguments:

    VirtualAddress - Supplies the virtual address to determine which pool
                     it resides within.

Return Value:

    Returns the POOL_TYPE (PagedPool, NonPagedPool, PagedPoolSession or
            NonPagedPoolSession), it never returns any information about
            MustSucceed pool types.

Environment:

    Kernel Mode Only.