56 #include <freerdp/types.h>
57 #include <freerdp/addin.h>
58 #include <freerdp/settings.h>
76 UINT (*GetConfiguration)(IWTSListener* pListener,
void** ppPropertyBag);
85 (IWTSVirtualChannel* pChannel, ULONG cbSize,
const BYTE* pBuffer,
void* pReserved);
87 UINT (*Close)(IWTSVirtualChannel* pChannel);
95 (IWTSVirtualChannelManager* pChannelMgr,
const char* pszChannelName, ULONG ulFlags,
96 IWTSListenerCallback* pListenerCallback, IWTSListener** ppListener);
98 UINT32 (*GetChannelId)(IWTSVirtualChannel* channel);
99 IWTSVirtualChannel* (*FindChannelById)(IWTSVirtualChannelManager* pChannelMgr,
101 const char* (*GetChannelName)(IWTSVirtualChannel* channel);
102 UINT (*DestroyListener)(IWTSVirtualChannelManager* pChannelMgr, IWTSListener* ppListener);
108 UINT (*Initialize)(IWTSPlugin* pPlugin, IWTSVirtualChannelManager* pChannelMgr);
112 UINT (*Connected)(IWTSPlugin* pPlugin);
115 UINT (*Disconnected)(IWTSPlugin* pPlugin, DWORD dwDisconnectCode);
118 UINT (*Terminated)(IWTSPlugin* pPlugin);
120 UINT (*Attached)(IWTSPlugin* pPlugin);
122 UINT (*Detached)(IWTSPlugin* pPlugin);
133 UINT(*OnNewChannelConnection)
134 (IWTSListenerCallback* pListenerCallback, IWTSVirtualChannel* pChannel, BYTE* Data,
135 BOOL* pbAccept, IWTSVirtualChannelCallback** ppCallback);
142 UINT(*OnDataReceived)
146 (IWTSVirtualChannelCallback*
149 (IWTSVirtualChannelCallback*
162 UINT(*RegisterPlugin)
163 (IDRDYNVC_ENTRY_POINTS* pEntryPoints,
const char* name, IWTSPlugin* pPlugin);
164 IWTSPlugin* (*GetPlugin)(IDRDYNVC_ENTRY_POINTS* pEntryPoints,
const char* name);
165 const ADDIN_ARGV* (*GetPluginData)(IDRDYNVC_ENTRY_POINTS* pEntryPoints);
166 rdpSettings* (*GetRdpSettings)(IDRDYNVC_ENTRY_POINTS* pEntryPoints);
167 rdpContext* (*GetRdpContext)(IDRDYNVC_ENTRY_POINTS* pEntryPoints);
170 typedef UINT(VCAPITYPE* PDVC_PLUGIN_ENTRY)(IDRDYNVC_ENTRY_POINTS*);
172 void* get_callback_by_name(
const char* name,
void** context);
173 void add_callback_by_name(
const char* name,
void* fkt,
void* context);
174 void remove_callback_by_name(
const char* name,
void* context);
IWTSVirtualChannelCallback wStream * data
IWTSVirtualChannelCallback * pChannelCallback