InterfaceIMFCaptureSource
Interface
Definition
Namespace:MediaFoundation
Assembly:MediaFoundation.dll
Syntax:
cs-api-definition
[Guid("439a42a8-0d2c-4505-be83-f79b2a05d5c4")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFCaptureSource
Methods
GetAvailableDeviceMediaType(int, int, out IMFMediaType)
Declaration
cs-api-definition
HResult GetAvailableDeviceMediaType(int dwSourceStreamIndex, int dwMediaTypeIndex, out IMFMediaType ppMediaType)
Parameters
dwSourceStreamIndex
dwMediaTypeIndex
ppMediaType
Returns
GetCaptureDeviceActivate(MF_CAPTURE_ENGINE_DEVICE_TYPE, out IMFActivate)
Declaration
cs-api-definition
HResult GetCaptureDeviceActivate(MF_CAPTURE_ENGINE_DEVICE_TYPE mfCaptureEngineDeviceType, out IMFActivate ppActivate)
Parameters
mfCaptureEngineDeviceType
ppActivate
Returns
GetCaptureDeviceSource(MF_CAPTURE_ENGINE_DEVICE_TYPE, out IMFMediaSource)
Declaration
cs-api-definition
HResult GetCaptureDeviceSource(MF_CAPTURE_ENGINE_DEVICE_TYPE mfCaptureEngineDeviceType, out IMFMediaSource ppMediaSource)
Parameters
mfCaptureEngineDeviceType
ppMediaSource
Returns
GetCurrentDeviceMediaType(int, out IMFMediaType)
Declaration
cs-api-definition
HResult GetCurrentDeviceMediaType(int dwSourceStreamIndex, out IMFMediaType ppMediaType)
Parameters
dwSourceStreamIndex
ppMediaType
Returns
GetDeviceStreamCategory(int, out MF_CAPTURE_ENGINE_STREAM_CATEGORY)
Declaration
cs-api-definition
HResult GetDeviceStreamCategory(int dwSourceStreamIndex, out MF_CAPTURE_ENGINE_STREAM_CATEGORY pStreamCategory)
Parameters
dwSourceStreamIndex
pStreamCategory
Returns
SetCurrentDeviceMediaType(int, IMFMediaType)
Declaration
cs-api-definition
HResult SetCurrentDeviceMediaType(int dwSourceStreamIndex, IMFMediaType pMediaType)
Parameters
dwSourceStreamIndex
pMediaType
Returns