Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Verifies conditions for continuing with a streaming operation.
HRESULT CheckStreaming( );
Parameters
None.
Return Values
Returns one of the following HRESULT values, depending on the state.
Value | Description |
---|---|
S_FALSE | Currently in flushing state. |
S_OK | Receive or EndOfStream operations can safely proceed. |
VFW_E_NOT_CONNECTED | The output pin either does not exist or is not 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_Stopped state. |
Remarks
This member function overrides the CBaseInputPin::CheckStreaming member 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.
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