Microsoft DirectX 8.0

ISeekingPassThru Interface

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 methodsDescription
QueryInterface Retrieves pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.
ISeekingPassThru methodsDescription
Init Initializes the seeking helper object.

ISeekingPassThru::Init

ISeekingPassThru Interface

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_OKSuccess.
E_FAILObject was already initialized.
E_OUTOFMEMORY Not enough memory to create the object.