DbgAssertAligned

 
Microsoft DirectShow 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.

Requirements

**  Header:** Declared in Wxdebug.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also