Compartir a través de


CBaseFilter::Stop (Compact 2013)

3/26/2014

Transitions the filter to State_Stopped state if it is not in this state already.

Syntax

HRESULT Stop(void);

Parameters

None.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IMediaFilter::Stop method.

It first calls the CBasePin::Inactive member function on all its pins that have a connection, and then sets the filter's m_State member variable to State_Stopped.

This member function holds the filter's lock.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseFilter Class