20 #ifndef FREERDP_CHANNEL_RDPEMSC_H
21 #define FREERDP_CHANNEL_RDPEMSC_H
32 #include <freerdp/api.h>
33 #include <freerdp/dvc.h>
34 #include <freerdp/types.h>
40 #define RDPEMSC_CHANNEL_NAME "mousecursor"
41 #define RDPEMSC_DVC_CHANNEL_NAME "Microsoft::Windows::RDS::MouseCursor"
50 PDUTYPE_EMSC_RESERVED = 0x00,
51 PDUTYPE_CS_CAPS_ADVERTISE = 0x01,
52 PDUTYPE_SC_CAPS_CONFIRM = 0x02,
53 PDUTYPE_SC_MOUSEPTR_UPDATE = 0x03,
54 } RDP_MOUSE_CURSOR_PDUTYPE;
58 TS_UPDATETYPE_MOUSEPTR_SYSTEM_NULL = 0x05,
59 TS_UPDATETYPE_MOUSEPTR_SYSTEM_DEFAULT = 0x06,
60 TS_UPDATETYPE_MOUSEPTR_POSITION = 0x08,
61 TS_UPDATETYPE_MOUSEPTR_CACHED = 0x0A,
62 TS_UPDATETYPE_MOUSEPTR_POINTER = 0x0B,
63 TS_UPDATETYPE_MOUSEPTR_LARGE_POINTER = 0x0C,
64 } TS_UPDATETYPE_MOUSEPTR;
66 #define RDPEMSC_HEADER_SIZE 4
70 RDP_MOUSE_CURSOR_PDUTYPE pduType;
71 TS_UPDATETYPE_MOUSEPTR updateType;
77 RDP_MOUSE_CURSOR_CAPVERSION_INVALID = 0x00000000,
118 UINT16 lengthAndMask;
119 UINT16 lengthXorMask;
132 UINT32 lengthAndMask;
133 UINT32 lengthXorMask;
143 UINT16* cachedPointerIndex;
RDP_MOUSE_CURSOR_CAPVERSION
@ RDP_MOUSE_CURSOR_CAPVERSION_1