Skip to main content

ApuIsVirtualAddressValid

Verifies a virtual address.

Syntax

Parameters

virtualAddress   _In_
Type: void*
Virtual address to verify. physicalAlignmentInBytes   
Type: UINT32
Expected alignment of the physical address.

Return value

Type: bool Returns true if the virtual address is valid, false otherwise.

Remarks

This function verifies that the specified virtual address is valid, that it was allocated with ApuAlloc, and that the associated APU physical address has the specified alignment. To determine the associated physical address, call ApuMapVirtualAddress. If the physical address is known, call ApuMapApuAddress to determine the associated virtual address.

Requirements

Header: apu.h Library: acphal.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

ApuMapVirtualAddress
ApuMapApuAddress
APU
Last modified on August 20, 2026