FreeRDP
Loading...
Searching...
No Matches
tables.h
1
20#pragma once
21
22#include <winpr/platform.h>
23#include <winpr/wtsapi.h>
24#include <freerdp/svc.h>
25#include <freerdp/dvc.h>
26#include <freerdp/channels/rdpdr.h>
27
28/* The 'entry' function pointers have variable arguments. */
29WINPR_PRAGMA_DIAG_PUSH
30WINPR_PRAGMA_DIAG_IGNORED_STRICT_PROTOTYPES
31
32typedef UINT(VCAPITYPE* static_entry_fn_t)();
33typedef struct
34{
35 const char* name;
36 static_entry_fn_t entry;
38
39typedef BOOL(VCAPITYPE* static_entry_vc_fn_t)(PCHANNEL_ENTRY_POINTS);
40typedef struct
41{
42 const char* name;
43 static_entry_vc_fn_t entry;
45
46typedef BOOL(VCAPITYPE* static_entry_vcex_fn_t)(PCHANNEL_ENTRY_POINTS, PVOID);
47typedef struct
48{
49 const char* name;
50 static_entry_vcex_fn_t entry;
52
53typedef UINT(VCAPITYPE* static_entry_dvc_fn_t)(IDRDYNVC_ENTRY_POINTS*);
54typedef struct
55{
56 const char* name;
57 static_entry_dvc_fn_t entry;
59
60typedef UINT(VCAPITYPE* static_entry_dse_fn_t)(PDEVICE_SERVICE_ENTRY_POINTS);
61typedef struct
62{
63 const char* name;
64 static_entry_dse_fn_t entry;
66
67typedef union
68{
69 const STATIC_ENTRY* cse;
70 const STATIC_ENTRY_VC* csevc;
71 const STATIC_ENTRY_VCEX* csevcex;
72 const STATIC_ENTRY_DVC* csedvc;
73 const STATIC_ENTRY_DSE* csedse;
75
76typedef union
77{
78 static_entry_fn_t cse;
79 static_entry_vc_fn_t csevc;
80 static_entry_vcex_fn_t csevcex;
81 static_entry_dvc_fn_t csedvc;
82 static_entry_dse_fn_t csedse;
84
85typedef struct
86{
87 const char* name;
88 static_entry_u table;
90
91typedef UINT(VCAPITYPE* static_subsystem_entry_fn_t)(void*);
92typedef struct
93{
94 const char* name;
95 const char* type;
96 static_subsystem_entry_fn_t entry;
98
99typedef struct
100{
101 const char* name;
102 const char* type;
103 static_entry_fn_u entry;
104 const STATIC_SUBSYSTEM_ENTRY* table;
106
107WINPR_PRAGMA_DIAG_POP
Definition tables.h:62
Definition tables.h:55
Definition tables.h:86
Definition tables.h:48
Definition tables.h:41
Definition tables.h:34
Definition tables.h:93
Definition tables.h:77
Definition tables.h:68