Microsoft DirectX 9.0

CSourceSeeking::ChangeStop

The ChangeStop method is called when the stop position changes.

Syntax

virtual HRESULT ChangeStop(void) PURE;

Return Value

Returns an HRESULT value.

Remarks

The CSourceSeeking::SetPositions method calls this method if the stop position changes. This method is pure virtual; the derived class must implement it. The following example shows a possible implementation:

HRESULT CMyStream::ChangeStop( )
{
    UpdateFromSeek();
    return S_OK;
}

See Also