PAGE_ALIGN

PVOID
PAGE_ALIGN(

IN PVOID Va
);

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

Parameters

Va

Points to the virtual address.

Return Value

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

Comments

Callers of PAGE_ALIGN can be running at any IRQL.