IAMPushSource::GetMaxStreamOffset method

The GetMaxStreamOffset method retrieves the maximum stream offset the filter can support.

Syntax


HRESULT GetMaxStreamOffset(
  [out] REFERENCE_TIME *prtMaxOffset
);

Parameters

prtMaxOffset [out]

Pointer to a variable that receives a reference time indicating the maximum offset the filter can support.

Return value

Returns an HRESULT value that depends on the implementation of the interface. The DirectShow implementation returns E_POINTER or S_OK.

Remarks

If the stream offset is set to a value larger than the maximum supported offset, the filter is not guaranteed to have a buffer large enough to hold data for the entire amount of the offset. Unless there is another buffer downstream, data might be lost.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IAMPushSource Interface

 

 

Show: