IMFCaptureEngine interface (mfcaptureengine.h)

Controls one or more capture devices. The capture engine implements this interface. To get a pointer to this interface, call either MFCreateCaptureEngine or IMFCaptureEngineClassFactory::CreateInstance.

Inheritance

The IMFCaptureEngine interface inherits from the IUnknown interface. IMFCaptureEngine also has these types of members:

Methods

The IMFCaptureEngine interface has these methods.

 
IMFCaptureEngine::GetSink

Gets a pointer to one of the capture sink objects.
IMFCaptureEngine::GetSource

Gets a pointer to the capture source object.
IMFCaptureEngine::Initialize

Initializes the capture engine.
IMFCaptureEngine::StartPreview

Starts preview.
IMFCaptureEngine::StartRecord

Starts recording audio and/or video to a file.
IMFCaptureEngine::StopPreview

Stops preview.
IMFCaptureEngine::StopRecord

Stops recording.
IMFCaptureEngine::TakePhoto

Captures a still image from the video stream.

Remarks

IMFCaptureEngine only supports one pass CBR encoding.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header mfcaptureengine.h

See also

Media Foundation Interfaces