21 #ifndef FREERDP_CHANNEL_RDPEI_COMMON_H
22 #define FREERDP_CHANNEL_RDPEI_COMMON_H
24 #include <winpr/crt.h>
25 #include <winpr/stream.h>
26 #include <freerdp/channels/rdpei.h>
31 EVENTID_SC_READY = 0x0001,
32 EVENTID_CS_READY = 0x0002,
33 EVENTID_TOUCH = 0x0003,
34 EVENTID_SUSPEND_TOUCH = 0x0004,
35 EVENTID_RESUME_TOUCH = 0x0005,
36 EVENTID_DISMISS_HOVERING_CONTACT = 0x0006,
40 BOOL rdpei_read_2byte_unsigned(
wStream* s, UINT16* value);
41 BOOL rdpei_write_2byte_unsigned(
wStream* s, UINT16 value);
42 BOOL rdpei_read_2byte_signed(
wStream* s, INT16* value);
43 BOOL rdpei_write_2byte_signed(
wStream* s, INT16 value);
44 BOOL rdpei_read_4byte_unsigned(
wStream* s, UINT32* value);
45 BOOL rdpei_write_4byte_unsigned(
wStream* s, UINT32 value);
46 BOOL rdpei_read_4byte_signed(
wStream* s, INT32* value);
47 BOOL rdpei_write_4byte_signed(
wStream* s, INT32 value);
48 BOOL rdpei_read_8byte_unsigned(
wStream* s, UINT64* value);
49 BOOL rdpei_write_8byte_unsigned(
wStream* s, UINT64 value);