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 (S_OK by default).
Remarks
This member function implements the IMediaFilter::Pausemethod. It sets the value of m_Stateto State_Paused.
Filters should derive their filters from CBaseFilterand not from CBaseMediaFilter, so this member function will not likely be used by filters. Use CBaseFilter::Pauseinstead.