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