Microsoft Windows CE 3.0  

CBaseRenderer::GetState

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.

Determines the state of the renderer.

HRESULT GetState(
DWORD
dwMilliSecsTimeout
,
FILTER_STATE *
State
);

Parameters

dwMilliSecsTimeout
Duration of the time-out, in milliseconds.
State
Returned state of the renderer.

Return Values

Returns an HRESULTvalue. Returns VFW_S_STATE_INTERMEDIATEif paused and waiting for a sample; otherwise, returns NOERROR.

Remarks

This member function overrides the CBaseFilter::GetStatemember function. It returns the value of m_State. Because the renderer does not complete the full transition to the paused state until it has a sample to render, if the state is requested while it is waiting for a sample, it will return VFW_S_STATE_INTERMEDIATEalong with the state.