FreeRDP
client/disp_main.c File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/assert.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 <freerdp/client/channels.h>
#include "disp_main.h"
#include "../disp_common.h"

Functions

static UINT disp_send_display_control_monitor_layout_pdu (GENERIC_CHANNEL_CALLBACK *callback, UINT32 NumMonitors, const DISPLAY_CONTROL_MONITOR_LAYOUT *Monitors)
 
static UINT disp_recv_display_control_caps_pdu (GENERIC_CHANNEL_CALLBACK *callback, wStream *s)
 
static UINT disp_recv_pdu (GENERIC_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_send_monitor_layout (DispClientContext *context, UINT32 NumMonitors, DISPLAY_CONTROL_MONITOR_LAYOUT *Monitors)
 
static UINT disp_plugin_initialize (GENERIC_DYNVC_PLUGIN *base, rdpContext *rcontext, rdpSettings *settings)
 
static void disp_plugin_terminated (GENERIC_DYNVC_PLUGIN *base)
 

Variables

static const IWTSVirtualChannelCallback disp_callbacks
 

Function Documentation

◆ disp_on_close()

static UINT disp_on_close ( IWTSVirtualChannelCallback *  pChannelCallback)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:

◆ disp_on_data_received()

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:

◆ disp_plugin_initialize()

static UINT disp_plugin_initialize ( GENERIC_DYNVC_PLUGIN base,
rdpContext *  rcontext,
rdpSettings *  settings 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:

◆ disp_plugin_terminated()

static void disp_plugin_terminated ( GENERIC_DYNVC_PLUGIN base)
static
Here is the call graph for this function:

◆ disp_recv_display_control_caps_pdu()

static UINT disp_recv_display_control_caps_pdu ( GENERIC_CHANNEL_CALLBACK callback,
wStream s 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the caller graph for this function:

◆ disp_recv_pdu()

static UINT disp_recv_pdu ( GENERIC_CHANNEL_CALLBACK callback,
wStream s 
)
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:

◆ disp_send_display_control_monitor_layout_pdu()

static UINT disp_send_display_control_monitor_layout_pdu ( GENERIC_CHANNEL_CALLBACK callback,
UINT32  NumMonitors,
const DISPLAY_CONTROL_MONITOR_LAYOUT Monitors 
)
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:

◆ disp_send_monitor_layout()

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

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:

Variable Documentation

◆ disp_callbacks

const IWTSVirtualChannelCallback disp_callbacks
static
Initial value:
if availableBytes return NULL
Definition: TPCircularBuffer.h:109
static UINT disp_on_close(IWTSVirtualChannelCallback *pChannelCallback)
Definition: client/disp_main.c:238
static UINT disp_on_data_received(IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
Definition: client/disp_main.c:227