//-- /// <summary> /// Retrieves information about a specified input stream. /// </summary> /// <param name="inputStreamIndex">Zero-based index of an input stream on the DMO.</param> /// <param name="flags">Bitwise combination of zero or more <see cref="DmoInputStreamInfoFlags" /> flags.</param> /// <returns>HRESULT</returns> public unsafe int GetInputStreamInfoNative(int inputStreamIndex, out DmoInputStreamInfoFlags flags) { flags = DmoInputStreamInfoFlags.None; fixed(void *p = &flags) { return(LocalInterop.CalliMethodPtr(UnsafeBasePtr, inputStreamIndex, p, ((void **)(*(void **)UnsafeBasePtr))[4])); } }
//-- /// <summary> /// Retrieves information about a specified input stream. /// </summary> /// <param name="inputStreamIndex">Zero-based index of an input stream on the DMO.</param> /// <returns>HRESULT</returns> public unsafe int GetInputStreamInfoNative(int inputStreamIndex, out DmoInputStreamInfoFlags flags) { flags = DmoInputStreamInfoFlags.None; fixed(void* p = &flags) { return InteropCalls.CalliMethodPtr(_basePtr, inputStreamIndex, p, ((void**)(*(void**)_basePtr))[4]); } }