FreeRDP
geometry_main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
#include <winpr/interlocked.h>
#include <winpr/print.h>
#include <winpr/stream.h>
#include <winpr/cmdline.h>
#include <winpr/collections.h>
#include <freerdp/addin.h>
#include <freerdp/client/geometry.h>
#include <freerdp/channels/log.h>
#include "geometry_main.h"

Macros

#define TAG   CHANNELS_TAG("geometry.client")
 
#define DVCPluginEntry   FREERDP_API DVCPluginEntry
 

Functions

static UINT32 mappedGeometryHash (UINT64 *g)
 
static BOOL mappedGeometryKeyCompare (UINT64 *g1, UINT64 *g2)
 
void mappedGeometryRef (MAPPED_GEOMETRY *g)
 
void mappedGeometryUnref (MAPPED_GEOMETRY *g)
 
void freerdp_rgndata_reset (FREERDP_RGNDATA *data)
 
static UINT32 geometry_read_RGNDATA (wStream *s, UINT32 len, FREERDP_RGNDATA *rgndata)
 
static UINT geometry_recv_pdu (GEOMETRY_CHANNEL_CALLBACK *callback, wStream *s)
 
static UINT geometry_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
 
static UINT geometry_on_close (IWTSVirtualChannelCallback *pChannelCallback)
 
static UINT geometry_on_new_channel_connection (IWTSListenerCallback *pListenerCallback, IWTSVirtualChannel *pChannel, BYTE *Data, BOOL *pbAccept, IWTSVirtualChannelCallback **ppCallback)
 
static UINT geometry_plugin_initialize (IWTSPlugin *pPlugin, IWTSVirtualChannelManager *pChannelMgr)
 
static UINT geometry_plugin_terminated (IWTSPlugin *pPlugin)
 
UINT DVCPluginEntry (IDRDYNVC_ENTRY_POINTS *pEntryPoints)
 

Macro Definition Documentation

#define DVCPluginEntry   FREERDP_API DVCPluginEntry

Channel Client Interface

#define TAG   CHANNELS_TAG("geometry.client")

FreeRDP: A Remote Desktop Protocol Implementation Geometry tracking Virtual Channel Extension

Copyright 2017 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

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:

void freerdp_rgndata_reset ( FREERDP_RGNDATA *  data)

Here is the caller graph for this function:

static UINT geometry_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 geometry_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 geometry_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 geometry_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 geometry_plugin_terminated ( IWTSPlugin *  pPlugin)
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 UINT32 geometry_read_RGNDATA ( wStream *  s,
UINT32  len,
FREERDP_RGNDATA *  rgndata 
)
static

Here is the caller graph for this function:

static UINT geometry_recv_pdu ( GEOMETRY_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:

static UINT32 mappedGeometryHash ( UINT64 *  g)
static

Here is the caller graph for this function:

static BOOL mappedGeometryKeyCompare ( UINT64 *  g1,
UINT64 *  g2 
)
static

Here is the caller graph for this function:

void mappedGeometryRef ( MAPPED_GEOMETRY *  g)

Here is the call graph for this function:

Here is the caller graph for this function:

void mappedGeometryUnref ( MAPPED_GEOMETRY *  g)

Here is the call graph for this function:

Here is the caller graph for this function: