Tag Archives: Win32 API

C# Screen Capture App using Win32 API

As part of a mini project that I’m working on, I needed a way to allow the user to select a portion of the screen.  Hit the link for the bit of code that does that.

http://cid-32fd2eb6551ddb56.office.live.com/embedicon.aspx/.Public/CaptureWindow.rar

I’m looking to improve the code in the following aspects, so let me know if you have any ideas on how to get it done:

#1 Speed up the screen capture in any way.

#2 Some how get the thumbnail from Desktop Window Manager (DWM-Windows 7) to be drawn on a surface or memory for further image processing.