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.
When to Implement
Implement this interface when you write a video renderer filter that needs to keep track of reference time and stream time.
When to Use
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.
HRESULT Init(
BOOL bSupportRendering,
IPin *pPin
);
Returns an HRESULT value that depends on the implementation of the interface. Current DirectShow implementation return values include:
| Value | Meaning |
| 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. |
This method instantiates and initializes a CRendererPosPassThru object.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.