FreeRDP
Loading...
Searching...
No Matches
wf_info.h
1
20#ifndef FREERDP_SERVER_WIN_INFO_H
21#define FREERDP_SERVER_WIN_INFO_H
22
23#include "wf_interface.h"
24
25#define FREERDP_SERVER_WIN_INFO_DEFAULT_FPS 24
26#define FREERDP_SERVER_WIN_INFO_MAXPEERS 32
27
28BOOL wf_info_lock(wfInfo* wfi);
29BOOL wf_info_try_lock(wfInfo* wfi, DWORD dwMilliseconds);
30BOOL wf_info_unlock(wfInfo* wfi);
31
32wfInfo* wf_info_get_instance(void);
33BOOL wf_info_peer_register(wfInfo* wfi, wfPeerContext* context);
34void wf_info_peer_unregister(wfInfo* wfi, wfPeerContext* context);
35
36BOOL wf_info_have_updates(wfInfo* wfi);
37void wf_info_update_changes(wfInfo* wfi);
38void wf_info_find_invalid_region(wfInfo* wfi);
39void wf_info_clear_invalid_region(wfInfo* wfi);
40void wf_info_invalidate_full_screen(wfInfo* wfi);
41BOOL wf_info_have_invalid_region(wfInfo* wfi);
42void wf_info_getScreenData(wfInfo* wfi, long* width, long* height, BYTE** pBits, int* pitch);
43BOOL CALLBACK wf_info_monEnumCB(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor,
44 LPARAM dwData);
45
46#endif /* FREERDP_SERVER_WIN_INFO_H */