Interface IMFCaptureRecordSink
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("3323b55a-f92a-4fe2-8edc-e9bfc0634d77")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFCaptureRecordSink : IMFCaptureSink
Methods
AddStream(Int32, IMFMediaType, IMFAttributes, out Int32)
Declaration
HResult AddStream(int dwSourceStreamIndex, IMFMediaType pMediaType, IMFAttributes pAttributes, out int pdwSinkStreamIndex)
Parameters
System.Int32
dwSourceStreamIndex
|
IMFMediaType
pMediaType
|
IMFAttributes
pAttributes
|
System.Int32
pdwSinkStreamIndex
|
Returns
HResult
|
GetOutputMediaType(Int32, out IMFMediaType)
Declaration
HResult GetOutputMediaType(int dwSinkStreamIndex, out IMFMediaType ppMediaType)
Parameters
System.Int32
dwSinkStreamIndex
|
IMFMediaType
ppMediaType
|
Returns
HResult
|
GetRotation(Int32, out Int32)
Declaration
HResult GetRotation(int dwStreamIndex, out int pdwRotationValue)
Parameters
System.Int32
dwStreamIndex
|
System.Int32
pdwRotationValue
|
Returns
HResult
|
GetService(Int32, Guid, Guid, out Object)
Declaration
HResult GetService(int dwSinkStreamIndex, Guid rguidService, Guid riid, out object ppUnknown)
Parameters
System.Int32
dwSinkStreamIndex
|
System.Guid
rguidService
|
System.Guid
riid
|
System.Object
ppUnknown
|
Returns
HResult
|
Prepare()
RemoveAllStreams()
SetCustomSink(IMFMediaSink)
Declaration
HResult SetCustomSink(IMFMediaSink pMediaSink)
Parameters
IMFMediaSink
pMediaSink
|
Returns
HResult
|
SetOutputByteStream(IMFByteStream, Guid)
Declaration
HResult SetOutputByteStream(IMFByteStream pByteStream, Guid guidContainerType)
Parameters
IMFByteStream
pByteStream
|
System.Guid
guidContainerType
|
Returns
HResult
|
SetOutputFileName(String)
Declaration
HResult SetOutputFileName(string fileName)
Parameters
System.String
fileName
|
Returns
HResult
|
SetRotation(Int32, Int32)
Declaration
HResult SetRotation(int dwStreamIndex, int dwRotationValue)
Parameters
System.Int32
dwStreamIndex
|
System.Int32
dwRotationValue
|
Returns
HResult
|
SetSampleCallback(Int32, IMFCaptureEngineOnSampleCallback)
Declaration
HResult SetSampleCallback(int dwStreamSinkIndex, IMFCaptureEngineOnSampleCallback pCallback)
Parameters
System.Int32
dwStreamSinkIndex
|
IMFCaptureEngineOnSampleCallback
pCallback
|
Returns
HResult
|