using System.Runtime.InteropServices; namespace NAudio.MediaFoundation { /// /// Contains information about an output buffer for a Media Foundation transform. /// [StructLayout(LayoutKind.Sequential)] public struct MFT_OUTPUT_DATA_BUFFER { /// /// Output stream identifier. /// public int dwStreamID; /// /// Pointer to the IMFSample interface. /// public IMFSample pSample; /// /// Before calling ProcessOutput, set this member to zero. /// public _MFT_OUTPUT_DATA_BUFFER_FLAGS dwStatus; /// /// Before calling ProcessOutput, set this member to NULL. /// public IMFCollection pEvents; } }