The ISeekingPassThru interface is exposed on video renderer filters. It has only one method, Init, which you use to instantiate and initialize a CRendererPosPassThru object. Use this object to keep track of reference times and stream times. The IMediaSeeking and IMediaPosition interfaces can use these times to seek to various places in multimedia files.
Implement this interface when you write a video renderer filter that needs to keep track of reference time and stream time.
Use this interface in your application when you want to create a CRendererPosPassThru class object.
Methods in Vtable Order
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. ISeekingPassThru methods Description Init Initializes a CRendererPosPassThru renderer-seeking object.
Initializes a CRendererPosPassThru renderer-seeking object.
Syntax
HRESULT Init(
BOOL bSupportRendering,
IPin *pPin
);
Parameters
- bSupportRendering
- [in] Value indicating whether the pin specified in pPin is a renderer pin. TRUE indicates it is; FALSE indicates it is not.
- pPin
- [in] Pointer to the filter's input pin.
Return Value
Returns an HRESULT value that depends on the implementation of the interface. Current Microsoft® DirectShow® implementation return values include the following:
E_FAIL Failed to create and initialize a CRendererPosPassThru object. E_OUTOFMEMORY Not enough memory to create the object. NOERROR Successfully created and initialized a CRendererPosPassThru object.
Remarks
This method instantiates and initializes a CRendererPosPassThru object.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.