Microsoft Windows CE 3.0  

CBaseFilter::Pause

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_Paused state if it is not in this state already.

HRESULT Pause (void);

Return Values

Returns an HRESULTvalue.

Remarks

This member function implements the IMediaFilter::Pausemethod. If the filter is in State_Stopped state, the CBasePin::Activemember function is called for each of the filter's pins to which it is connected. If this member function succeeds, the filter's m_Statemember variable is set to State_Paused. If any pin returns a failure return value from its Activemethod, the function fails and the state is not changed.

This member function holds the filter's lock.