Share via


CSourceSeeking::ChangeStop

 
Microsoft DirectShow 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;
}

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also