FreeRDP
wf_info.c File Reference
#include <freerdp/config.h>
#include <stdlib.h>
#include <freerdp/build-config.h>
#include <winpr/tchar.h>
#include <winpr/windows.h>
#include "wf_info.h"
#include "wf_update.h"
#include "wf_mirage.h"
#include "wf_dxgi.h"
#include <freerdp/log.h>

Macros

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

Functions

BOOL wf_info_lock (wfInfo *wfi)
 
BOOL wf_info_try_lock (wfInfo *wfi, DWORD dwMilliseconds)
 
BOOL wf_info_unlock (wfInfo *wfi)
 
wfInfo * wf_info_init ()
 
wfInfo * wf_info_get_instance ()
 
BOOL wf_info_peer_register (wfInfo *wfi, wfPeerContext *context)
 
void wf_info_peer_unregister (wfInfo *wfi, wfPeerContext *context)
 
BOOL wf_info_have_updates (wfInfo *wfi)
 
void wf_info_update_changes (wfInfo *wfi)
 
void wf_info_find_invalid_region (wfInfo *wfi)
 
void wf_info_clear_invalid_region (wfInfo *wfi)
 
void wf_info_invalidate_full_screen (wfInfo *wfi)
 
BOOL wf_info_have_invalid_region (wfInfo *wfi)
 
void wf_info_getScreenData (wfInfo *wfi, long *width, long *height, BYTE **pBits, int *pitch)
 
BOOL CALLBACK wf_info_monEnumCB (HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData)
 

Variables

static wfInfo * wfInfoInstance = NULL
 
static int _IDcount = 0
 

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 Client FreeRDP Windows Server

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

◆ wf_info_clear_invalid_region()

void wf_info_clear_invalid_region ( wfInfo *  wfi)
Here is the caller graph for this function:

◆ wf_info_find_invalid_region()

void wf_info_find_invalid_region ( wfInfo *  wfi)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_get_instance()

wfInfo* wf_info_get_instance ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_getScreenData()

void wf_info_getScreenData ( wfInfo *  wfi,
long *  width,
long *  height,
BYTE **  pBits,
int *  pitch 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_have_invalid_region()

BOOL wf_info_have_invalid_region ( wfInfo *  wfi)

◆ wf_info_have_updates()

BOOL wf_info_have_updates ( wfInfo *  wfi)
Here is the caller graph for this function:

◆ wf_info_init()

wfInfo* wf_info_init ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_invalidate_full_screen()

void wf_info_invalidate_full_screen ( wfInfo *  wfi)
Here is the caller graph for this function:

◆ wf_info_lock()

BOOL wf_info_lock ( wfInfo *  wfi)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_monEnumCB()

BOOL CALLBACK wf_info_monEnumCB ( HMONITOR  hMonitor,
HDC  hdcMonitor,
LPRECT  lprcMonitor,
LPARAM  dwData 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_peer_register()

BOOL wf_info_peer_register ( wfInfo *  wfi,
wfPeerContext *  context 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_peer_unregister()

void wf_info_peer_unregister ( wfInfo *  wfi,
wfPeerContext *  context 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_try_lock()

BOOL wf_info_try_lock ( wfInfo *  wfi,
DWORD  dwMilliseconds 
)
Here is the call graph for this function:

◆ wf_info_unlock()

BOOL wf_info_unlock ( wfInfo *  wfi)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_info_update_changes()

void wf_info_update_changes ( wfInfo *  wfi)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ _IDcount

int _IDcount = 0
static

◆ wfInfoInstance

wfInfo* wfInfoInstance = NULL
static