Microsoft DirectX 8.0 |
Initializes a helper object that implements seeking for one-input filters. The SeekingPassThru helper object exposes the interface. Filters with one input pin can use this interface to implement the IMediaSeeking and IMediaPosition interfaces. For more information, see CSeekingPassThru.
Applications do not use this interface.
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 the seeking helper object.
Initializes the seeking helper object.
Syntax
HRESULT Init( BOOL bSupportRendering, IPin *pPin );
Parameters
- bSupportRendering
- [in] Boolean value that specifies whether the filter is a renderer. Use the value TRUE if the filter is a renderer, or FALSE otherwise.
- pPin
- [in] Pointer to the IPin interface on the filter's input pin..
Return Value
Returns one of the following HRESULT values.
S_OK Success. E_FAIL Object was already initialized. E_OUTOFMEMORY Not enough memory to create the object.