I need a simple function written to capture the visual contents of any window on Microsoft Windows NT/2000/XP machine. The function should be delivered in a .dll (written preferably in C, C++, or VB) and all source code should be included. The function should have the ability to capture the entire client/non-client area of any window within the system that is visible, partially visible, or not visible. This includes a window that is partially/fully hidden by an overlapped window or a window that is partially/fully off the screen. The capture process should not capture the contents of any window that is partially/fully blocking the target window Ideally the function will work as follows: 1. I will pass in the handle to the target window I want to capture and a handle to a device context to paint its contents into. 2. The function will paint the contents of the target window into the supplied DC and return a pass/fail.
## Deliverables
The function should be delivered in a .dll (written preferably in C, C++, or VB) and all source code should be included. Ideally the function will work as follows: 1. I will pass in the handle to the target window I want to capture and a handle to a device context to paint its contents into. 2. The function will paint the contents of the target window into the supplied DC and return a pass/fail. Complete and fully-functional working program in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
Windows NT/2000/XP