Microsoft DirectX 9.0 |
The CompleteStateChange method determines whether a transition to the paused state is complete.
Syntax
virtual HRESULT CompleteStateChange(
FILTER_STATE OldState
);
Parameters
OldState
State prior to the transition.
Return Value
Returns S_OK if the transition is complete. Otherwise, returns S_FALSE.
Remarks
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.
See Also