FreeRDP
mf_info.h
1 
20 #ifndef FREERDP_SERVER_MAC_INFO_H
21 #define FREERDP_SERVER_MAC_INFO_H
22 
23 #define FREERDP_SERVER_MAC_INFO_DEFAULT_FPS 1
24 #define FREERDP_SERVER_MAC_INFO_MAXPEERS 1
25 
26 #include <winpr/wtypes.h>
27 #include <freerdp/codec/rfx.h>
28 
29 #include "mf_interface.h"
30 
31 int mf_info_lock(mfInfo* mfi);
32 int mf_info_try_lock(mfInfo* mfi, UINT32 ms);
33 int mf_info_unlock(mfInfo* mfi);
34 
35 mfInfo* mf_info_get_instance(void);
36 void mf_info_peer_register(mfInfo* mfi, mfPeerContext* context);
37 void mf_info_peer_unregister(mfInfo* mfi, mfPeerContext* context);
38 
39 BOOL mf_info_have_updates(mfInfo* mfi);
40 void mf_info_update_changes(mfInfo* mfi);
41 void mf_info_find_invalid_region(mfInfo* mfi);
42 void mf_info_clear_invalid_region(mfInfo* mfi);
43 void mf_info_invalidate_full_screen(mfInfo* mfi);
44 BOOL mf_info_have_invalid_region(mfInfo* mfi);
45 void mf_info_getScreenData(mfInfo* mfi, long* width, long* height, BYTE** pBits, int* pitch);
46 // BOOL CALLBACK mf_info_monEnumCB(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM
47 // dwData);
48 
49 #endif /* FREERDP_SERVER_MAC_INFO_H */