Windows Desktop Sharing Dominykas Osipovič, Programų Sistemos 3 kursas, 6 grupė
Prezentacijos Eiga : Tikslas ir kas naudoja Windows Desktop Sharing Windows Desktop Sharing Enumerations Windows Desktop Sharing Interfaces
Tikslas ir kas naudoja Windows Desktop Sharing is used by software developers to create applications that use multiple-party screen-sharing technology. Key scenarios include remote assistance, real-time collaboration and conferencing, and video communication. With Remote Desktop Services, a session is always created when a user connects remotely through Remote Desktop Protocol (RDP). With Windows Desktop Sharing, a local desktop can be transmitted over an RDP connection without creating an additional session. Windows Desktop Sharing is designed for use by developers of applications that incorporate screen sharing functionality.
Windows Desktop Sharing apibrėžia šiuos enumeratorius RDPENCOMAPI_CONSTANTS RDPSRAPI_APP_FLAGS RDPSRAPI_KBD_CODE_TYPE RDPSRAPI_KBD_SYNC_FLAG RDPSRAPI_MOUSE_BUTTON_TYPE RDPSRAPI_WND_FLAGS ATTENDEE_DISCONNECT_REASON CHANNEL_ACCESS_ENUM CHANNEL_FLAGS CHANNEL_PRIORITY CTRL_LEVEL RDPENCOMAPI_ATTENDEE_FLAGS
RDPSRAPI_WND_FLAGS enumeration Defines values for the type of window. These flags can be retrieved from the IRDPSRAPIWindow interface that represents each Win32 window. The list of windows on the sharing user session can be retrieved on both the sharer and the viewer through the IRDPSRAPIApplicationFilter interface by calling the get_Windows method. typedef enum { WND_FLAG_PRIVILEGED = 1 } RDPSRAPI_WND_FLAGS; Header Rdpencomapi.h IDL Rdpencomapi.idl
RDPSRAPI_MOUSE_BUTTON_TYPE enumeration Defines values for the type of mouse buttons. typedef enum _RDPSRAPI_MOUSE_BUTTON_TYPE { RDPSRAPI_MOUSE_BUTTON_BUTTON1 = 0, RDPSRAPI_MOUSE_BUTTON_BUTTON2 = 1, RDPSRAPI_MOUSE_BUTTON_BUTTON3 = 2, RDPSRAPI_MOUSE_BUTTON_XBUTTON1 = 3, RDPSRAPI_MOUSE_BUTTON_XBUTTON2 = 4, RDPSRAPI_MOUSE_BUTTON_XBUTTON3 = 5 } RDPSRAPI_MOUSE_BUTTON_TYPE; Header RdpEncomAPI.h IDL RdpEncomAPI.idl Type library RdpEncomAPI.tlb
RDPSRAPI_KBD_SYNC_FLAG enumeration Defines values for the type of keys that control the state of a keyboard, such as the Caps Lock key. typedef enum _RDPSRAPI_KBD_SYNC_FLAG { RDPSRAPI_KBD_SYNC_FLAG_SCROLL_LOCK = 1, RDPSRAPI_KBD_SYNC_FLAG_NUM_LOCK = 2, RDPSRAPI_KBD_SYNC_FLAG_CAPS_LOCK = 4, RDPSRAPI_KBD_SYNC_FLAG_KANA_LOCK = 8 } RDPSRAPI_KBD_SYNC_FLAG; Header RdpEncomAPI.h IDL RdpEncomAPI.idl Type library RdpEncomAPI.tlb
CHANNEL_FLAGS enumeration Defines values for how data is sent on the channel. typedef enum { CHANNEL_FLAGS_LEGACY = 0x01, CHANNEL_FLAGS_UNCOMPRESSED = 0x02 } CHANNEL_FLAGS; CHANNEL_FLAGS_LEGACY Reserved. CHANNEL_FLAGS_UNCOMPRESSED Data sent on the channel is not compressed. Use this option if the data is already compressed. Header Rdpencomapi.h IDL Rdpencomapi.idl
Plačiau apie Windows Desktop Sharing Enumerations https://msdn.microsoft.com/en- us/library/windows/desktop/aa373867(v=vs.85).aspx
Windows Desktop Sharing interface‘ai _IRDPSessionEvents IRDPSRAPIApplication IRDPSRAPIApplicationFilter IRDPSRAPIApplicationList IRDPSRAPIAttendee IRDPSRAPIAttendeeDisconnectInfo IRDPSRAPIAttendeeManager IRDPSRAPIAudioStream IRDPSRAPIClipboardUseEvents IRDPSRAPIFrameBuffer IRDPSRAPIInvitation IRDPSRAPIInvitationManager IRDPSRAPIPerfCounterLogger IRDPSRAPIPerfCounterLoggingMan ager IRDPSRAPISessionProperties IRDPSRAPISharingSession
IRDPViewerInputSink class Sends mouse and keyboard events, and supports touch input. Members The IRDPViewerInputSink class inherits from the IUnknown interface.
Header RdpEncomAPI.h IDL RdpEncomAPI.idl DLL RdpEncom.dll Method Description AddTouchInput Accepts a description of a touch input. BeginTouchFrame Begins to accept a series of touch inputs. EndTouchFrame Stops to accept a series of touch inputs. SendKeyboardEvent Sends a keyboard event message. SendMouseButtonEvent Sends a mouse button event message. SendMouseMoveEvent Sends a mouse move event message. SendMouseWheelEvent Sends a mouse wheel event message. SendSyncEvent Sends an event message to indicate a change in the state of the keyboard, such as when the Caps Lock key is pressed. Header RdpEncomAPI.h IDL RdpEncomAPI.idl DLL RdpEncom.dll
IRDPSRAPIAudioStream class Enables sending an audio stream from the collaboration sharer Microsoft ActiveX control to collaboration viewer controls. This interface only supports a pulse code modulation (PCM) audio stream with the following specifications; 44.1 kHz, 2 channels, 16 bits/sample. Members The IRDPSRAPIAudioStream class inherits from the IUnknown interface.
Method Description FreeBuffer Releases the hold on the buffer after the GetBuffer method is called. GetBuffer Gets audio data from the buffer. Initialize Initializes the audio stream. Start Starts the audio stream. Stop Stops the audio stream. Header RdpEncomAPI.h IDL RdpEncomAPI.idl Type library RdpEncomAPI.tlb DLL RdpEncom.dll
_IRDPSessionEvents interface Implement this interface to receive notifications when events occur. Members The _IRDPSessionEvents interface inherits from the IDispatch interface.
Event Description OnApplicationClose Called when an application closes. OnApplicationOpen Called when a new application is created. OnApplicationUpdate Called when the shared property on the application object is changed. OnAttendeeConnected Called when an attendee connects to the session. Header RdpEncomAPI.h IDL RdpEncomAPI.idl DLL RdpEncom.dll
Plačiau apie Windows Desktop Sharing interface‘us https://msdn.microsoft.com/en- us/library/windows/desktop/aa373871(v=vs.85).aspx
Šaltiniai https://msdn.microsoft.com/en- us/library/windows/desktop/ff818516(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/bb968809(v=vs.85).aspx