Microsoft DirectX 8.1 (C++)

DbgAssertAligned

Tests whether a pointer is aligned to a specified boundary. If not, this macro invokes the ASSERT macro. Ignored in retail builds.

Syntax

DbgAssertAligned(
    ptr,
    alignment
);

Parameters

ptr

Pointer variable.

alignment

Required alignment.

See Also