You are correct when you say that SendKeys will not work, however, the keybd_event API call does.
If you want the code to implement a screen capture this way just post a reply. It's a bit long so I don't want to post it if you don't want it