Interface IMFCapturePhotoSink
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("d2d43cc8-48bb-4aa7-95db-10c06977e777")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFCapturePhotoSink : 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
|
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()
SetOutputByteStream(IMFByteStream)
Declaration
HResult SetOutputByteStream(IMFByteStream pByteStream)
Parameters
IMFByteStream
pByteStream
|
Returns
HResult
|
SetOutputFileName(String)
Declaration
HResult SetOutputFileName(string fileName)
Parameters
System.String
fileName
|
Returns
HResult
|
SetSampleCallback(IMFCaptureEngineOnSampleCallback)
Declaration
HResult SetSampleCallback(IMFCaptureEngineOnSampleCallback pCallback)
Parameters
IMFCaptureEngineOnSampleCallback
pCallback
|
Returns
HResult
|