FreeRDP
win_shadow.c File Reference
#include <windows.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
#include <winpr/sysinfo.h>
#include <freerdp/log.h>
#include <freerdp/codec/color.h>
#include <freerdp/codec/region.h>
#include <freerdp/server/server-common.h>
#include "win_shadow.h"

Macros

#define TAG   SERVER_TAG("shadow.win")
 
#define MOUSEEVENTF_HWHEEL   0x1000
 

Functions

static BOOL win_shadow_input_synchronize_event (rdpShadowSubsystem *subsystem, rdpShadowClient *client, UINT32 flags)
 
static BOOL win_shadow_input_keyboard_event (rdpShadowSubsystem *subsystem, rdpShadowClient *client, UINT16 flags, UINT8 code)
 
static BOOL win_shadow_input_unicode_keyboard_event (rdpShadowSubsystem *subsystem, rdpShadowClient *client, UINT16 flags, UINT16 code)
 
static BOOL win_shadow_input_mouse_event (rdpShadowSubsystem *subsystem, rdpShadowClient *client, UINT16 flags, UINT16 x, UINT16 y)
 
static BOOL win_shadow_input_extended_mouse_event (rdpShadowSubsystem *subsystem, rdpShadowClient *client, UINT16 flags, UINT16 x, UINT16 y)
 
static int win_shadow_invalidate_region (winShadowSubsystem *subsystem, int x, int y, int width, int height)
 
static int win_shadow_surface_copy (winShadowSubsystem *subsystem)
 
static DWORD WINAPI win_shadow_subsystem_thread (LPVOID arg)
 
static UINT32 win_shadow_enum_monitors (MONITOR_DEF *monitors, UINT32 maxMonitors)
 
static int win_shadow_subsystem_init (rdpShadowSubsystem *arg)
 
static int win_shadow_subsystem_uninit (rdpShadowSubsystem *arg)
 
static int win_shadow_subsystem_start (rdpShadowSubsystem *arg)
 
static int win_shadow_subsystem_stop (rdpShadowSubsystem *arg)
 
static void win_shadow_subsystem_free (rdpShadowSubsystem *arg)
 
static rdpShadowSubsystem * win_shadow_subsystem_new (void)
 
FREERDP_API const char * ShadowSubsystemName (void)
 
FREERDP_API int ShadowSubsystemEntry (RDP_SHADOW_ENTRY_POINTS *pEntryPoints)
 

Macro Definition Documentation

◆ MOUSEEVENTF_HWHEEL

#define MOUSEEVENTF_HWHEEL   0x1000

◆ TAG

#define TAG   SERVER_TAG("shadow.win")

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2011-2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.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

◆ ShadowSubsystemEntry()

FREERDP_API int ShadowSubsystemEntry ( RDP_SHADOW_ENTRY_POINTS *  pEntryPoints)
Here is the call graph for this function:

◆ ShadowSubsystemName()

FREERDP_API const char* ShadowSubsystemName ( void  )

◆ win_shadow_enum_monitors()

static UINT32 win_shadow_enum_monitors ( MONITOR_DEF monitors,
UINT32  maxMonitors 
)
static
Here is the caller graph for this function:

◆ win_shadow_input_extended_mouse_event()

static BOOL win_shadow_input_extended_mouse_event ( rdpShadowSubsystem *  subsystem,
rdpShadowClient *  client,
UINT16  flags,
UINT16  x,
UINT16  y 
)
static
Here is the caller graph for this function:

◆ win_shadow_input_keyboard_event()

static BOOL win_shadow_input_keyboard_event ( rdpShadowSubsystem *  subsystem,
rdpShadowClient *  client,
UINT16  flags,
UINT8  code 
)
static
Here is the caller graph for this function:

◆ win_shadow_input_mouse_event()

static BOOL win_shadow_input_mouse_event ( rdpShadowSubsystem *  subsystem,
rdpShadowClient *  client,
UINT16  flags,
UINT16  x,
UINT16  y 
)
static
Here is the caller graph for this function:

◆ win_shadow_input_synchronize_event()

static BOOL win_shadow_input_synchronize_event ( rdpShadowSubsystem *  subsystem,
rdpShadowClient *  client,
UINT32  flags 
)
static
Here is the caller graph for this function:

◆ win_shadow_input_unicode_keyboard_event()

static BOOL win_shadow_input_unicode_keyboard_event ( rdpShadowSubsystem *  subsystem,
rdpShadowClient *  client,
UINT16  flags,
UINT16  code 
)
static
Here is the caller graph for this function:

◆ win_shadow_invalidate_region()

static int win_shadow_invalidate_region ( winShadowSubsystem *  subsystem,
int  x,
int  y,
int  width,
int  height 
)
static
Here is the call graph for this function:

◆ win_shadow_subsystem_free()

static void win_shadow_subsystem_free ( rdpShadowSubsystem *  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ win_shadow_subsystem_init()

static int win_shadow_subsystem_init ( rdpShadowSubsystem *  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ win_shadow_subsystem_new()

static rdpShadowSubsystem* win_shadow_subsystem_new ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ win_shadow_subsystem_start()

static int win_shadow_subsystem_start ( rdpShadowSubsystem *  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ win_shadow_subsystem_stop()

static int win_shadow_subsystem_stop ( rdpShadowSubsystem *  arg)
static
Here is the caller graph for this function:

◆ win_shadow_subsystem_thread()

static DWORD WINAPI win_shadow_subsystem_thread ( LPVOID  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ win_shadow_subsystem_uninit()

static int win_shadow_subsystem_uninit ( rdpShadowSubsystem *  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ win_shadow_surface_copy()

static int win_shadow_surface_copy ( winShadowSubsystem *  subsystem)
static
Here is the call graph for this function:
Here is the caller graph for this function: