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#include <freerdp/types.h>
30
31#define CHANNEL_EVENT_USER 1000
32
33#define CHANNEL_EXPORT_FUNC_NAME "VirtualChannelEntry"
34#define CHANNEL_EXPORT_FUNC_NAME_EX "VirtualChannelEntryEx"
35
36#define FREERDP_CHANNEL_MAGIC_NUMBER 0x46524450
37
38#ifdef __cplusplus
39extern "C"
40{
41#endif
42
43 typedef struct
44 {
45 UINT32 cbSize;
46 UINT32 protocolVersion;
47 PVIRTUALCHANNELINIT pVirtualChannelInit;
48 PVIRTUALCHANNELOPEN pVirtualChannelOpen;
49 PVIRTUALCHANNELCLOSE pVirtualChannelClose;
50 PVIRTUALCHANNELWRITE pVirtualChannelWrite;
51
52 /* Extended Fields */
53 UINT32 MagicNumber; /* identifies FreeRDP */
54 void* pExtendedData; /* extended initial data */
55 void* pInterface; /* channel callback interface, use after initialization */
56 rdpContext* context;
59
60 typedef struct
61 {
62 UINT32 cbSize;
63 UINT32 protocolVersion;
64 PVIRTUALCHANNELINITEX pVirtualChannelInitEx;
65 PVIRTUALCHANNELOPENEX pVirtualChannelOpenEx;
66 PVIRTUALCHANNELCLOSEEX pVirtualChannelCloseEx;
67 PVIRTUALCHANNELWRITEEX pVirtualChannelWriteEx;
68
69 /* Extended Fields */
70 UINT32 MagicNumber; /* identifies FreeRDP */
71 void* pExtendedData; /* extended initial data */
72 void* pInterface; /* channel callback interface, use after initialization */
73 rdpContext* context;
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif /* FREERDP_SVC_H */
Definition svc.h:61
Definition svc.h:44