CPullPin::AlignUp

 
Microsoft DirectShow 9.0

CPullPin::AlignUp

The AlignUp method rounds a value up to a specified alignment boundary.

Syntax

  LONGLONG AlignUp(
    LONGLONG ll,
    LONG lAlign
);

Parameters

ll

Specifies the number to align.

lAlign

Specifies the alignment boundary.

Return Values

Returns the aligned result.

Requirements

**  Header:** Include Pullpin.h and Streams.h.

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

See Also