IMFCapturePhotoSink interface (mfcaptureengine.h)
Controls the photo sink. The photo sink captures still images from the video stream.
Inheritance
The IMFCapturePhotoSink interface inherits from IMFCaptureSink. IMFCapturePhotoSink also has these types of members:
Methods
The IMFCapturePhotoSink interface has these methods.
IMFCapturePhotoSink::SetOutputByteStream Specifies a byte stream that will receive the still image data. |
IMFCapturePhotoSink::SetOutputFileName Specifies the name of the output file for the still image. |
IMFCapturePhotoSink::SetSampleCallback Sets a callback to receive the still-image data. |
Remarks
The photo sink can deliver samples to one of the following destinations:
- Byte stream.
- Output file.
- Application-provided callback interface.
To capture an image, call IMFCaptureEngine::TakePhoto.
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 |