I am trying to enhance this Desktop Sharing application:http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx
First, lets briefly discuss about how this desktop sharing application works:
Microsoft has introduced desktop sharing APIs in Windows Vista, as a new feature of Remote Desktop Services (or Terminal Services).
API currently is published as an in-proc COM DLL (%windows%system32
dpencom.dll) and is available in Vista. There are 2 primary objects that can be created:
1. IRDPSRAPISharingSession - COM object that enables sharing of desktop
2. IRDPSRAPIViewer - ActiveX control that can be embedded into a host window for viewing the sharing session.