Microsoft Windows CE 3.0  

CBaseMediaFilter::Stop

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

HRESULT Stop(void);

Return Values

Returns an HRESULTvalue.

Remarks

This member function implements the IMediaFilter::Stopmethod. It sets the m_Statemember variable to State_Stopped.

Note that filters should derive their filters from CBaseFilterand not from CBaseMediaFilter, so this member function will not likely be used by filters. Use CBaseFilter::Stopinstead.