Interface IMFCaptureEngine
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("a6bba433-176b-48b2-b375-53aa03473207")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFCaptureEngine
Methods
GetSink(MF_CAPTURE_ENGINE_SINK_TYPE, out IMFCaptureSink)
Declaration
HResult GetSink(MF_CAPTURE_ENGINE_SINK_TYPE mfCaptureEngineSinkType, out IMFCaptureSink ppSink)
Parameters
MF_CAPTURE_ENGINE_SINK_TYPE
mfCaptureEngineSinkType
|
IMFCaptureSink
ppSink
|
Returns
HResult
|
GetSource(out IMFCaptureSource)
Declaration
HResult GetSource(out IMFCaptureSource ppSource)
Parameters
IMFCaptureSource
ppSource
|
Returns
HResult
|
Initialize(IMFCaptureEngineOnEventCallback, IMFAttributes, Object, Object)
Declaration
HResult Initialize(IMFCaptureEngineOnEventCallback pEventCallback, IMFAttributes pAttributes, object pAudioSource, object pVideoSource)
Parameters
IMFCaptureEngineOnEventCallback
pEventCallback
|
IMFAttributes
pAttributes
|
System.Object
pAudioSource
|
System.Object
pVideoSource
|
Returns
HResult
|
StartPreview()
StartRecord()
StopPreview()
StopRecord(Boolean, Boolean)
Declaration
HResult StopRecord(bool bFinalize, bool bFlushUnprocessedSamples)
Parameters
System.Boolean
bFinalize
|
System.Boolean
bFlushUnprocessedSamples
|
Returns
HResult
|