IMFCapturePhotoSink interface (mfcaptureengine.h)
Controls the photo sink. The photo sink captures still images from the video stream.
The IMFCapturePhotoSink interface inherits from IMFCaptureSink. IMFCapturePhotoSink also has these types of members:
The IMFCapturePhotoSink interface has these methods.
Specifies a byte stream that will receive the still image data.
Specifies the name of the output file for the still image.
Sets a callback to receive the still-image data.
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.
|Minimum supported client||Windows 8 [desktop apps only]|
|Minimum supported server||Windows Server 2012 [desktop apps only]|