FreeRDP
wf_interface.c File Reference
#include <freerdp/config.h>
#include <winpr/tchar.h>
#include <winpr/windows.h>
#include <winpr/winsock.h>
#include <winpr/assert.h>
#include <freerdp/freerdp.h>
#include <freerdp/listener.h>
#include <freerdp/constants.h>
#include <freerdp/channels/wtsvc.h>
#include <freerdp/channels/channels.h>
#include <freerdp/build-config.h>
#include "wf_peer.h"
#include "wf_settings.h"
#include "wf_info.h"
#include "wf_interface.h"
#include <freerdp/log.h>

Macros

#define TAG   SERVER_TAG("windows")
 
#define SERVER_KEY   "Software\\" FREERDP_VENDOR_STRING "\\" FREERDP_PRODUCT_STRING "\\Server"
 

Functions

int get_screen_info (int id, _TCHAR *name, size_t length, int *width, int *height, int *bpp)
 
void set_screen_id (int id)
 
static DWORD WINAPI wf_server_main_loop (LPVOID lpParam)
 
BOOL wfreerdp_server_start (wfServer *server)
 
BOOL wfreerdp_server_stop (wfServer *server)
 
wfServer * wfreerdp_server_new ()
 
void wfreerdp_server_free (wfServer *server)
 
BOOL wfreerdp_server_is_running (wfServer *server)
 
UINT32 wfreerdp_server_num_peers ()
 
UINT32 wfreerdp_server_get_peer_hostname (int pId, wchar_t *dstStr)
 
BOOL wfreerdp_server_peer_is_local (int pId)
 
BOOL wfreerdp_server_peer_is_connected (int pId)
 
BOOL wfreerdp_server_peer_is_activated (int pId)
 
BOOL wfreerdp_server_peer_is_authenticated (int pId)
 
void wfreerdp_server_register_callback_event (cbCallback cb)
 
void wfreerdp_server_peer_callback_event (int pId, UINT32 eType)
 

Variables

static cbCallback cbEvent = NULL
 

Macro Definition Documentation

◆ SERVER_KEY

#define SERVER_KEY   "Software\\" FREERDP_VENDOR_STRING "\\" FREERDP_PRODUCT_STRING "\\Server"

◆ TAG

#define TAG   SERVER_TAG("windows")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Windows Server

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2012 Corey Clayton can.o.nosp@m.f.tu.nosp@m.na@gm.nosp@m.ail..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

◆ get_screen_info()

int get_screen_info ( int  id,
_TCHAR *  name,
size_t  length,
int *  width,
int *  height,
int *  bpp 
)
Here is the caller graph for this function:

◆ set_screen_id()

void set_screen_id ( int  id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_server_main_loop()

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

◆ wfreerdp_server_free()

void wfreerdp_server_free ( wfServer *  server)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wfreerdp_server_get_peer_hostname()

UINT32 wfreerdp_server_get_peer_hostname ( int  pId,
wchar_t *  dstStr 
)
Here is the call graph for this function:

◆ wfreerdp_server_is_running()

BOOL wfreerdp_server_is_running ( wfServer *  server)
Here is the call graph for this function:

◆ wfreerdp_server_new()

wfServer* wfreerdp_server_new ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wfreerdp_server_num_peers()

UINT32 wfreerdp_server_num_peers ( void  )
Here is the call graph for this function:

◆ wfreerdp_server_peer_callback_event()

void wfreerdp_server_peer_callback_event ( int  pId,
UINT32  eType 
)
Here is the caller graph for this function:

◆ wfreerdp_server_peer_is_activated()

BOOL wfreerdp_server_peer_is_activated ( int  pId)
Here is the call graph for this function:

◆ wfreerdp_server_peer_is_authenticated()

BOOL wfreerdp_server_peer_is_authenticated ( int  pId)
Here is the call graph for this function:

◆ wfreerdp_server_peer_is_connected()

BOOL wfreerdp_server_peer_is_connected ( int  pId)
Here is the call graph for this function:

◆ wfreerdp_server_peer_is_local()

BOOL wfreerdp_server_peer_is_local ( int  pId)
Here is the call graph for this function:

◆ wfreerdp_server_register_callback_event()

void wfreerdp_server_register_callback_event ( cbCallback  cb)

◆ wfreerdp_server_start()

BOOL wfreerdp_server_start ( wfServer *  server)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wfreerdp_server_stop()

BOOL wfreerdp_server_stop ( wfServer *  server)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cbEvent

cbCallback cbEvent = NULL
static