This tutorial demonstrates how to utilize the FrameCapture module to capture images from a window rendered on screen.
The FrameCapture module is accessed through a handle:
The dwFrameCaptureHandle_t handle initializes the FrameCapture module with the following parameters, once they are declared and assigned.
For a complete description of all parameters, please refer to dwFrameCaptureParams.
For simplicity, steps to render this window are left out of this tutorial. Please refer to Rendering Engine Sample for more information.
To capture the content inside the window:
To release the handle:
To see a full demonstration of this workflow, please refer to Image Capture Sample.