Compartilhar via


CBaseMediaFilter::Stop (Compact 2013)

3/26/2014

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

Syntax

HRESULT Stop(void);

Parameters

None.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IMediaFilter::Stop method.

It sets the m_State member variable to State_Stopped.

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

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseMediaFilter Class