Exemplo n.º 1
0
 /// <summary>
 /// The GetInputStatus method queries whether an input stream can accept more input data.
 /// See http://msdn.microsoft.com/en-us/library/windows/desktop/dd406950(v=vs.85).aspx
 /// </summary>
 /// <param name="inputStreamIndex">Zero-based index of an input stream on the DMO.</param>
 /// <param name="flags">InputStatusFlags of the inputstream specified by the inputStreamIndex parameter.</param>
 /// <returns>HRESULT</returns>
 public unsafe int GetInputStatusNative(int inputStreamIndex, out InputStatusFlags flags)
 {
     fixed(void *pflags = &flags)
     {
         return(InteropCalls.CalliMethodPtr(_basePtr, inputStreamIndex, pflags, ((void **)(*(void **)_basePtr))[20]));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// The GetInputStatus method queries whether an input stream can accept more input data.
 /// See http://msdn.microsoft.com/en-us/library/windows/desktop/dd406950(v=vs.85).aspx
 /// </summary>
 /// <param name="inputStreamIndex">Zero-based index of an input stream on the DMO.</param>
 /// <param name="flags">InputStatusFlags of the inputstream specified by the inputStreamIndex parameter.</param>
 /// <returns>HRESULT</returns>
 public unsafe int GetInputStatusNative(int inputStreamIndex, out InputStatusFlags flags)
 {
     fixed (void* pflags = &flags)
     {
         return InteropCalls.CalliMethodPtr(_basePtr, inputStreamIndex, pflags, ((void**)(*(void**)_basePtr))[20]);
     }
 }