Closed GoogleCodeExporter closed 9 years ago
Laxmilal,
This is a bit outside the scope of Cassia, but I'll take a guess as to how you
could do this. I doubt that you'd be able to access one session's desktop
directly from a process running in another session. You would probably need to
run a service as LocalSystem, and when needed, launch a process in a given
session to create a screenshot for that session.
To run a process in a given session, you'll need to use WTSQueryUserToken
(which Cassia does not yet wrap -- see issue 38):
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/6bc5b973-c5e1
-4331-ab9c-632d63065dc5/
For more on creating the screenshot, see:
http://stackoverflow.com/questions/1163761/c-capture-screenshot-of-active-window
Original comment by danports
on 20 Dec 2010 at 2:23
Original issue reported on code.google.com by
menarial...@gmail.com
on 20 Dec 2010 at 1:28