#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#ifndef PAGE_ALIGN
#define PAGE_ALIGN(Address) ((PVOID)((ULONG_PTR)(Address) & ~PAGE_MASK))
View code on GitHub// wdm.h
void PAGE_ALIGN(
[in] Va
);
View the official Windows Driver Kit DDI referenceNo description available.
The PAGE_ALIGN macro returns a page-aligned virtual address for a given virtual address.
Va [in]Pointer to the virtual address.
PAGE_ALIGN returns a pointer to the page-aligned virtual address.
Available starting with Windows 2000.