FreeRDP
client/ainput_main.c File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/stream.h>
#include <winpr/sysinfo.h>
#include "ainput_main.h"
#include <freerdp/channels/log.h>
#include <freerdp/client/channels.h>
#include <freerdp/client/ainput.h>
#include <freerdp/channels/ainput.h>
#include "../common/ainput_common.h"

Macros

#define TAG   CHANNELS_TAG("ainput.client")
 

Functions

static UINT ainput_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
 
static UINT ainput_send_input_event (AInputClientContext *context, UINT64 flags, INT32 x, INT32 y)
 
static UINT ainput_on_close (IWTSVirtualChannelCallback *pChannelCallback)
 
static UINT ainput_on_new_channel_connection (IWTSListenerCallback *pListenerCallback, IWTSVirtualChannel *pChannel, BYTE *Data, BOOL *pbAccept, IWTSVirtualChannelCallback **ppCallback)
 
static UINT ainput_plugin_initialize (IWTSPlugin *pPlugin, IWTSVirtualChannelManager *pChannelMgr)
 
static UINT ainput_plugin_terminated (IWTSPlugin *pPlugin)
 
UINT ainput_DVCPluginEntry (IDRDYNVC_ENTRY_POINTS *pEntryPoints)
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("ainput.client")

FreeRDP: A Remote Desktop Protocol Implementation Advanced Input Virtual Channel Extension

Copyright 2022 Armin Novak anova.nosp@m.k@th.nosp@m.incas.nosp@m.t.co.nosp@m.m Copyright 2022 Thincast Technologies GmbH

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

◆ ainput_DVCPluginEntry()

UINT ainput_DVCPluginEntry ( IDRDYNVC_ENTRY_POINTS *  pEntryPoints)

Function description

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

◆ ainput_on_close()

static UINT ainput_on_close ( IWTSVirtualChannelCallback *  pChannelCallback)
static

Function description

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

◆ ainput_on_data_received()

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

Function description

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

◆ ainput_on_new_channel_connection()

static UINT ainput_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:

◆ ainput_plugin_initialize()

static UINT ainput_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:

◆ ainput_plugin_terminated()

static UINT ainput_plugin_terminated ( IWTSPlugin *  pPlugin)
static

Function description

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

◆ ainput_send_input_event()

static UINT ainput_send_input_event ( AInputClientContext *  context,
UINT64  flags,
INT32  x,
INT32  y 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: