CBaseRenderer::CompleteStateChange (Windows CE 5.0)

Send Feedback

Ensures that a sample is waiting before allowing a pause.

virtual HRESULT CompleteStateChange(FILTER_STATEOldState);

Parameters

  • OldState
    State prior to the transition.

Return Values

Returns S_OK if the filter can be paused; otherwise, returns S_FALSE.

Remarks

This member function is called from the CBaseRenderer::Pause member function.

If the filter is being paused and there is no sample waiting, the transition is not completed and the function returns S_FALSE until the first sample arrives.

However, if the m_bAbort flag is set, all samples are rejected so there is no point waiting for one.

If a sample is available, this member function returns NOERROR.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.