Click to See Complete Forum and Search --> : Driver for screen capture


Tomzie
March 16th, 2005, 10:52 AM
Hi there,

I'm having some problems. Right now I'm doing a practice period at Barcelona. My assignment is to write a driver wich can be installed. The driver must be capable to catch the screen. It is supposed to be used by other applications so they can use the screen provided by the driver.
I saw in the windows ddk the testcap sample. Is there a way to recode the testcap sample to the thing I need? Is there an other way of doing this?

Bni
March 16th, 2005, 04:32 PM
// Simulate print screen keystroke

keybd_event( VK_SNAPSHOT, 0, 0 , 0xC1370001 ); // keydown
keybd_event( VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0xC1370001 ); // keyup

Here the clipboard holds the information your others application need.

Now go have some fun and envoy life.

Tomzie
March 17th, 2005, 02:49 AM
that would be an option but I what I acutally need is that the desktop is seen as a camera source. It is something like what camtasia does but without the application, just the driver.

Bni
March 17th, 2005, 11:49 AM
I have a better idea of what you mean now and i won't be a big help for that.

I also saw a sample (captest) like the one you're saying. It deals with instructions like capCreateCaptureWindow.

And yes, i would look to that direction too in your situation.

Good luck.

Tomzie
March 18th, 2005, 08:39 AM
anyone else with some sollution?