次の方法で共有


CBaseRenderer::Run (Compact 2013)

3/26/2014

Transitions the renderer to State_Running if it is not in this state already.

Syntax

HRESULT Run(void);

Parameters

None.

Return Value

Returns an HRESULT value.

Remarks

If the renderer is in the State_Stopped state, the CBaseRenderer::Pause member function is called first to transition the renderer to the State_Paused state, which has the effect of activating any of the filter's connected pins.

If this member function succeeds, the renderer's m_State member variable is set to State_Running.

This member function overrides CBaseFilter::Run.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseRenderer Class