|Microsoft DirectX 9.0|
The CompleteStateChange method determines whether a transition to the paused state is complete.
virtual HRESULT CompleteStateChange( FILTER_STATE OldState );
State prior to the transition.
Returns S_OK if the transition is complete. Otherwise, returns S_FALSE.
The CBaseRenderer::Pause method calls this method to update the state-transition status. In general, the transition to paused does not finish until the filter receives a sample. However, in some situations the transition completes immediately: for example, if the filter is unconnected, or if the end of the stream was reached. This method checks the various criteria and then calls the CBaseRenderer::Ready method or the CBaseRenderer::NotReady method to update the transition status.