I am new to C programming. But I would like to create a small application (for Windows) that runs in the background and takes a screenshot every 1 second and saves it as "screenshot.jpg" and also include a mouse cursor where the current mouse location is. For example I have a "cursor.png" and it could be drawn at the current mouse position on top of the screenshot.
How could I go about creating and application like this?
I think I need the following things.
- Every second take a screenshot
- Get current mouse X, Y coordinates
- Draw the "cursor.png" on top of my screenshot at the X, Y coordinates
- Save the screenshot to "screenshot.jpg"
Repeat again at step 1.
I would appreciate some ideas how I could do this...