PAGE_ALIGN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#ifndef PAGE_ALIGN

#define PAGE_ALIGN(Address) ((PVOID)((ULONG_PTR)(Address) & ~PAGE_MASK))

#endif
#endif
#endif

View code on GitHub
// wdm.h

void PAGE_ALIGN(
  [in] Va
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-page_align)

Description

The PAGE_ALIGN macro returns a page-aligned virtual address for a given virtual address.

Parameters

Va [in]

Pointer to the virtual address.

Remarks

PAGE_ALIGN returns a pointer to the page-aligned virtual address.

Available starting with Windows 2000.