FreeRDP
disp_main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
#include <winpr/print.h>
#include <winpr/thread.h>
#include <winpr/stream.h>
#include <winpr/sysinfo.h>
#include <winpr/cmdline.h>
#include <winpr/collections.h>
#include <freerdp/addin.h>
#include "disp_main.h"

Macros

#define DVCPluginEntry   FREERDP_API DVCPluginEntry
 

Functions

UINT disp_send_display_control_monitor_layout_pdu (DISP_CHANNEL_CALLBACK *callback, UINT32 NumMonitors, DISPLAY_CONTROL_MONITOR_LAYOUT *Monitors)
 
UINT disp_recv_display_control_caps_pdu (DISP_CHANNEL_CALLBACK *callback, wStream *s)
 
UINT disp_recv_pdu (DISP_CHANNEL_CALLBACK *callback, wStream *s)
 
static UINT disp_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
 
static UINT disp_on_close (IWTSVirtualChannelCallback *pChannelCallback)
 
static UINT disp_on_new_channel_connection (IWTSListenerCallback *pListenerCallback, IWTSVirtualChannel *pChannel, BYTE *Data, BOOL *pbAccept, IWTSVirtualChannelCallback **ppCallback)
 
static UINT disp_plugin_initialize (IWTSPlugin *pPlugin, IWTSVirtualChannelManager *pChannelMgr)
 
static UINT disp_plugin_terminated (IWTSPlugin *pPlugin)
 
UINT disp_send_monitor_layout (DispClientContext *context, UINT32 NumMonitors, DISPLAY_CONTROL_MONITOR_LAYOUT *Monitors)
 
UINT DVCPluginEntry (IDRDYNVC_ENTRY_POINTS *pEntryPoints)
 

Macro Definition Documentation

#define DVCPluginEntry   FREERDP_API DVCPluginEntry

Function Documentation

static UINT disp_on_close ( IWTSVirtualChannelCallback *  pChannelCallback)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

static UINT disp_on_data_received ( IWTSVirtualChannelCallback *  pChannelCallback,
wStream *  data 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT disp_on_new_channel_connection ( IWTSListenerCallback *  pListenerCallback,
IWTSVirtualChannel *  pChannel,
BYTE Data,
BOOL *  pbAccept,
IWTSVirtualChannelCallback **  ppCallback 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT disp_plugin_initialize ( IWTSPlugin *  pPlugin,
IWTSVirtualChannelManager *  pChannelMgr 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT disp_plugin_terminated ( IWTSPlugin *  pPlugin)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

UINT disp_recv_display_control_caps_pdu ( DISP_CHANNEL_CALLBACK *  callback,
wStream *  s 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

UINT disp_recv_pdu ( DISP_CHANNEL_CALLBACK *  callback,
wStream *  s 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

UINT disp_send_display_control_monitor_layout_pdu ( DISP_CHANNEL_CALLBACK *  callback,
UINT32  NumMonitors,
DISPLAY_CONTROL_MONITOR_LAYOUT *  Monitors 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

UINT disp_send_monitor_layout ( DispClientContext *  context,
UINT32  NumMonitors,
DISPLAY_CONTROL_MONITOR_LAYOUT *  Monitors 
)

Channel Client Interface Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

UINT DVCPluginEntry ( IDRDYNVC_ENTRY_POINTS *  pEntryPoints)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function: