Compartilhar via


CBaseMediaFilter::Pause (Compact 2013)

3/26/2014

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

Syntax

HRESULT Pause (void);

Parameters

None.

Return Value

Returns an HRESULT value (S_OK by default).

Remarks

This member function implements the IMediaFilter::Pause method. It sets the value of m_State to State_Paused.

Filters should derive their filters from CBaseFilter and not from CBaseMediaFilter, so this member function will not likely be used by filters. Use CBaseFilter::Pause instead.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseMediaFilter Class