|Microsoft DirectX 9.0|
The GetStreamActiveState method retrieves the state of the stream.
HRESULT GetStreamActiveState( BOOL* lpfActive );
[out] Receives the current state of the stream. TRUE means the stream is active; FALSE means that it is inactive.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.