25 #include <freerdp/api.h>
26 #include <freerdp/types.h>
28 #include <winpr/wtsapi.h>
29 #include <freerdp/types.h>
31 #define CHANNEL_EVENT_USER 1000
33 #define CHANNEL_EXPORT_FUNC_NAME "VirtualChannelEntry"
34 #define CHANNEL_EXPORT_FUNC_NAME_EX "VirtualChannelEntryEx"
36 #define FREERDP_CHANNEL_MAGIC_NUMBER 0x46524450
46 UINT32 protocolVersion;
47 PVIRTUALCHANNELINIT pVirtualChannelInit;
48 PVIRTUALCHANNELOPEN pVirtualChannelOpen;
49 PVIRTUALCHANNELCLOSE pVirtualChannelClose;
50 PVIRTUALCHANNELWRITE pVirtualChannelWrite;
63 UINT32 protocolVersion;
64 PVIRTUALCHANNELINITEX pVirtualChannelInitEx;
65 PVIRTUALCHANNELOPENEX pVirtualChannelOpenEx;
66 PVIRTUALCHANNELCLOSEEX pVirtualChannelCloseEx;
67 PVIRTUALCHANNELWRITEEX pVirtualChannelWriteEx;