Microsoft DirectX 9.0

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