IMFCapturePreviewSink interface (mfcaptureengine.h)

Controls the preview sink. The preview sink enables the application to preview audio and video from the camera.

Inheritance

The IMFCapturePreviewSink interface inherits from IMFCaptureSink. IMFCapturePreviewSink also has these types of members:

Methods

The IMFCapturePreviewSink interface has these methods.

 
IMFCapturePreviewSink::GetMirrorState

Gets the current mirroring state of the video preview stream. (IMFCapturePreviewSink.GetMirrorState)
IMFCapturePreviewSink::GetRotation

Gets the rotation of the video preview stream.
IMFCapturePreviewSink::SetCustomSink

Sets a custom media sink for preview.
IMFCapturePreviewSink::SetMirrorState

Enables or disables mirroring of the video preview stream. (IMFCapturePreviewSink.SetMirrorState)
IMFCapturePreviewSink::SetRenderHandle

Specifies a window for preview.
IMFCapturePreviewSink::SetRenderSurface

Specifies a Microsoft DirectComposition visual for preview.
IMFCapturePreviewSink::SetRotation

Rotates the video preview stream.
IMFCapturePreviewSink::SetSampleCallback

Sets a callback to receive the preview data for one stream.
IMFCapturePreviewSink::UpdateVideo

Updates the video frame. (IMFCapturePreviewSink.UpdateVideo)

Remarks

To start preview, call IMFCaptureEngine::StartPreview.

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

IMFCaptureSink

Media Foundation Interfaces