This method retrieves the layer streaming status.
HRESULT GetStreamStatus(
[out, retval] StreamLayerStatus* pStreamStatus)
Parameters:
pStreamStatus – An enum which indicates the streaming status. The StreamLayerStatus enum can use any of the following values:
SLS_NOT_STREAMED_LAYER = 0
The layer is not created as a streaming layer.
SLS_STREAMING = 1
The layer streaming status is set to streaming.
SLS_STREAM_PAUSED = 2
The layer streaming status is set to paused streaming.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |