FreeRDP
sf_ainput.c File Reference
#include <freerdp/config.h>
#include <winpr/assert.h>
#include "sfreerdp.h"
#include "sf_ainput.h"
#include <freerdp/server/server-common.h>
#include <freerdp/server/ainput.h>
#include <freerdp/log.h>

Macros

#define TAG   SERVER_TAG("sample.ainput")
 

Functions

static UINT sf_peer_ainput_mouse_event (ainput_server_context *context, UINT64 timestamp, UINT64 flags, INT32 x, INT32 y)
 
void sf_peer_ainput_init (testPeerContext *context)
 
BOOL sf_peer_ainput_start (testPeerContext *context)
 
BOOL sf_peer_ainput_stop (testPeerContext *context)
 
BOOL sf_peer_ainput_running (testPeerContext *context)
 
void sf_peer_ainput_uninit (testPeerContext *context)
 

Macro Definition Documentation

◆ TAG

#define TAG   SERVER_TAG("sample.ainput")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Sample Server (Advanced Input)

Copyright 2022 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.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

◆ sf_peer_ainput_init()

void sf_peer_ainput_init ( testPeerContext *  context)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Sample Server (Advanced Input)

Copyright 2022 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sf_peer_ainput_mouse_event()

static UINT sf_peer_ainput_mouse_event ( ainput_server_context *  context,
UINT64  timestamp,
UINT64  flags,
INT32  x,
INT32  y 
)
static

Function description

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

◆ sf_peer_ainput_running()

BOOL sf_peer_ainput_running ( testPeerContext *  context)
Here is the caller graph for this function:

◆ sf_peer_ainput_start()

BOOL sf_peer_ainput_start ( testPeerContext *  context)
Here is the caller graph for this function:

◆ sf_peer_ainput_stop()

BOOL sf_peer_ainput_stop ( testPeerContext *  context)
Here is the caller graph for this function:

◆ sf_peer_ainput_uninit()

void sf_peer_ainput_uninit ( testPeerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function: