CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Posts
    7

    Driver for screen capture

    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?

  2. #2
    Join Date
    Nov 2004
    Posts
    67

    Re: Driver for screen capture

    // 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.

  3. #3
    Join Date
    Mar 2005
    Posts
    7

    Re: Driver for screen capture

    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.

  4. #4
    Join Date
    Nov 2004
    Posts
    67

    Re: Driver for screen capture

    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.

  5. #5
    Join Date
    Mar 2005
    Posts
    7

    Re: Driver for screen capture

    anyone else with some sollution?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured