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.
A version of this page is also available for

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


HRESULT Pause (void);



Return Value

Returns an HRESULTvalue.


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.


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