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 init_plugin_cb (GENERIC_DYNVC_PLUGIN *base, rdpContext *rcontext, rdpSettings *settings)
 
static void terminate_plugin_cb (GENERIC_DYNVC_PLUGIN *base)
 

Variables

static const IWTSVirtualChannelCallback ainput_functions
 

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_on_close()

static UINT ainput_on_close ( IWTSVirtualChannelCallback *  pChannelCallback)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call 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

◆ 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:

◆ init_plugin_cb()

static UINT init_plugin_cb ( GENERIC_DYNVC_PLUGIN base,
rdpContext *  rcontext,
rdpSettings *  settings 
)
static
Here is the call graph for this function:

◆ terminate_plugin_cb()

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

Variable Documentation

◆ ainput_functions

const IWTSVirtualChannelCallback ainput_functions
static
Initial value:
NULL,
if availableBytes return NULL
Definition: TPCircularBuffer.h:109
static UINT ainput_on_close(IWTSVirtualChannelCallback *pChannelCallback)
Definition: client/ainput_main.c:139
static UINT ainput_on_data_received(IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
Definition: client/ainput_main.c:55