Interface IMFCaptureSink
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("72d6135b-35e9-412c-b926-fd5265f2a885")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface 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
|