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. |
Verifies conditions for continuing with a streaming operation.
HRESULT CheckStreaming( );
Return Values
Returns one of the following HRESULTvalues, depending on the state.
S_FALSE | Currently in flushing state. |
S_OK | Receiveor EndOfStreamoperations can safely proceed. |
VFW_E_NOT_CONNECTED | The output pin either does not exist or isn't connected. |
VFW_E_RUNTIME_ERROR | A run-time error occurred when processing a previous sample. |
VFW_E_WRONG_STATE | The filter is in the State_Stoppedstate. |
Remarks
This member function overrides the CBaseInputPin::CheckStreamingmember function and calls that base class implementation for most of the condition checks. It determines if the pin is connected, if it is in a paused or running state, and if it is not currently flushing data or processing a run-time error.