Exemplo n.º 1
0
 public int SetState(STREAM_STATE NewState)
 {
     int hr = MSStatus.MS_E_HANDLE;
     if (IsValid)
     {
         hr = _pMMS.SetState(NewState);
     }
     return hr;
 }
Exemplo n.º 2
0
 public int GetState(out STREAM_STATE pCurrentState)
 {
     pCurrentState = STREAM_STATE.STREAMSTATE_STOP;
     int hr = MSStatus.MS_E_HANDLE;
     if (IsValid)
     {
         hr = _pMMS.GetState(out pCurrentState );
     }
     return hr;
 }