Interface IMFSinkWriter
Namespace: MediaFoundation.ReadWrite
Assembly: MediaFoundation.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3137f1cd-fe5e-4805-a5d8-fb477448cb3d")]
public interface IMFSinkWriter
Methods
AddStream(IMFMediaType, out Int32)
Declaration
HResult AddStream(IMFMediaType pTargetMediaType, out int pdwStreamIndex)
Parameters
IMFMediaType
pTargetMediaType
|
System.Int32
pdwStreamIndex
|
Returns
HResult
|
BeginWriting()
Finalize_()
Flush(Int32)
GetServiceForStream(Int32, Guid, Guid, out Object)
Declaration
HResult GetServiceForStream(int dwStreamIndex, Guid guidService, Guid riid, out object ppvObject)
Parameters
System.Int32
dwStreamIndex
|
System.Guid
guidService
|
System.Guid
riid
|
System.Object
ppvObject
|
Returns
HResult
|
GetStatistics(Int32, out MF_SINK_WRITER_STATISTICS)
Declaration
HResult GetStatistics(int dwStreamIndex, out MF_SINK_WRITER_STATISTICS pStats)
Parameters
System.Int32
dwStreamIndex
|
MF_SINK_WRITER_STATISTICS
pStats
|
Returns
HResult
|
NotifyEndOfSegment(Int32)
Declaration
HResult NotifyEndOfSegment(int dwStreamIndex)
Parameters
System.Int32
dwStreamIndex
|
Returns
HResult
|
PlaceMarker(Int32, IntPtr)
Declaration
HResult PlaceMarker(int dwStreamIndex, IntPtr pvContext)
Parameters
System.Int32
dwStreamIndex
|
System.IntPtr
pvContext
|
Returns
HResult
|
SendStreamTick(Int32, Int64)
Declaration
HResult SendStreamTick(int dwStreamIndex, long llTimestamp)
Parameters
System.Int32
dwStreamIndex
|
System.Int64
llTimestamp
|
Returns
HResult
|
SetInputMediaType(Int32, IMFMediaType, IMFAttributes)
Declaration
HResult SetInputMediaType(int dwStreamIndex, IMFMediaType pInputMediaType, IMFAttributes pEncodingParameters)
Parameters
System.Int32
dwStreamIndex
|
IMFMediaType
pInputMediaType
|
IMFAttributes
pEncodingParameters
|
Returns
HResult
|
WriteSample(Int32, IMFSample)
Declaration
HResult WriteSample(int dwStreamIndex, IMFSample pSample)
Parameters
System.Int32
dwStreamIndex
|
IMFSample
pSample
|
Returns
HResult
|