Fixed static / dynamic plugin entry point.

This commit is contained in:
Armin Novak 2014-10-27 16:33:51 +01:00
parent 6e1e1def76
commit 12e5c3a838
3 changed files with 15 additions and 3 deletions

View File

@ -292,7 +292,11 @@ int disp_send_monitor_layout(DispClientContext* context, UINT32 NumMonitors, DIS
return 1;
}
int disp_DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints)
#ifdef STATIC_CHANNELS
#define DVCPluginEntry disp_DVCPluginEntry
#endif
int DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints)
{
int error = 0;
DISP_PLUGIN* disp;

View File

@ -134,7 +134,11 @@ static int echo_plugin_terminated(IWTSPlugin* pPlugin)
return 0;
}
int echo_DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints)
#ifdef STATIC_CHANNELS
#define DVCPluginEntry echo_DVCPluginEntry
#endif
int DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints)
{
int status = 0;
ECHO_PLUGIN* echo;

View File

@ -1049,7 +1049,11 @@ void* rdpgfx_get_cache_slot_data(RdpgfxClientContext* context, UINT16 cacheSlot)
return pData;
}
int rdpgfx_DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints)
#ifdef STATIC_CHANNELS
#define DVCPluginEntry rdpgfx_DVCPluginEntry
#endif
int DVCPluginEntry(IDRDYNVC_ENTRY_POINTS* pEntryPoints)
{
int status = 0;
RDPGFX_PLUGIN* gfx;