FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
svc.h
1
22#ifndef FREERDP_SVC_H
23#define FREERDP_SVC_H
24
25#include <freerdp/api.h>
26#include <freerdp/types.h>
27
28#include <winpr/wtsapi.h>
29
30#define CHANNEL_EVENT_USER 1000
31
32#define CHANNEL_EXPORT_FUNC_NAME "VirtualChannelEntry"
33#define CHANNEL_EXPORT_FUNC_NAME_EX "VirtualChannelEntryEx"
34
35#define FREERDP_CHANNEL_MAGIC_NUMBER 0x46524450
36
37#ifdef __cplusplus
38extern "C"
39{
40#endif
41
42 typedef struct
43 {
44 UINT32 cbSize;
45 UINT32 protocolVersion;
46 PVIRTUALCHANNELINIT pVirtualChannelInit;
47 PVIRTUALCHANNELOPEN pVirtualChannelOpen;
48 PVIRTUALCHANNELCLOSE pVirtualChannelClose;
49 PVIRTUALCHANNELWRITE pVirtualChannelWrite;
50
51 /* Extended Fields */
52 UINT32 MagicNumber; /* identifies FreeRDP */
53 void* pExtendedData; /* extended initial data */
54 void* pInterface; /* channel callback interface, use after initialization */
55 rdpContext* context;
58
59 typedef struct
60 {
61 UINT32 cbSize;
62 UINT32 protocolVersion;
63 PVIRTUALCHANNELINITEX pVirtualChannelInitEx;
64 PVIRTUALCHANNELOPENEX pVirtualChannelOpenEx;
65 PVIRTUALCHANNELCLOSEEX pVirtualChannelCloseEx;
66 PVIRTUALCHANNELWRITEEX pVirtualChannelWriteEx;
67
68 /* Extended Fields */
69 UINT32 MagicNumber; /* identifies FreeRDP */
70 void* pExtendedData; /* extended initial data */
71 void* pInterface; /* channel callback interface, use after initialization */
72 rdpContext* context;
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* FREERDP_SVC_H */
Definition svc.h:60
Definition svc.h:43