IMFCapturePhotoSink interface
Controls the photo sink. The photo sink captures still images from the video stream.
Members
The IMFCapturePhotoSink interface inherits from IMFCaptureSink. IMFCapturePhotoSink also has these types of members:
Methods
The IMFCapturePhotoSink interface has these methods.
| Method | Description |
|---|---|
| SetOutputByteStream |
Specifies a byte stream that will receive the still image data. |
| SetOutputFileName |
Specifies the name of the output file for the still image. |
| 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.
The application must specify a single destination. Multiple destinations are not supported.
To capture an image, call IMFCaptureEngine::TakePhoto.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
See also