IAMPushSource::SetMaxStreamOffset

 
Microsoft DirectShow 9.0

IAMPushSource::SetMaxStreamOffset

The SetMaxStreamOffset method specifies the stream offset that will be allowed in the filter graph.

Syntax

  HRESULT SetMaxStreamOffset(
  REFERENCE_TIME rtMaxOffset
);

Parameters

rtMaxOffset

[in] Reference time specifying the maximum stream offset.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

If this method is called prior to connecting the filter, the filter can allocate an appropriately sized buffer.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also