FreeRDP
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 
28 BOOL wf_info_lock(wfInfo* wfi);
29 BOOL wf_info_try_lock(wfInfo* wfi, DWORD dwMilliseconds);
30 BOOL wf_info_unlock(wfInfo* wfi);
31 
32 wfInfo* wf_info_get_instance(void);
33 BOOL wf_info_peer_register(wfInfo* wfi, wfPeerContext* context);
34 void wf_info_peer_unregister(wfInfo* wfi, wfPeerContext* context);
35 
36 BOOL wf_info_have_updates(wfInfo* wfi);
37 void wf_info_update_changes(wfInfo* wfi);
38 void wf_info_find_invalid_region(wfInfo* wfi);
39 void wf_info_clear_invalid_region(wfInfo* wfi);
40 void wf_info_invalidate_full_screen(wfInfo* wfi);
41 BOOL wf_info_have_invalid_region(wfInfo* wfi);
42 void wf_info_getScreenData(wfInfo* wfi, long* width, long* height, BYTE** pBits, int* pitch);
43 BOOL CALLBACK wf_info_monEnumCB(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor,
44  LPARAM dwData);
45 
46 #endif /* FREERDP_SERVER_WIN_INFO_H */