CBaseFilter::Stop
A version of this page is also available for
4/8/2010
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
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |