22 #ifndef FREERDP_CLIENT_WIN_INTERFACE_H
23 #define FREERDP_CLIENT_WIN_INTERFACE_H
25 #include <winpr/windows.h>
27 #include <winpr/collections.h>
29 #ifdef WITH_PROGRESS_BAR
33 #include <freerdp/api.h>
34 #include <freerdp/freerdp.h>
35 #include <freerdp/gdi/gdi.h>
36 #include <freerdp/gdi/dc.h>
37 #include <freerdp/gdi/region.h>
38 #include <freerdp/codec/color.h>
40 #include <freerdp/client/rail.h>
41 #include <freerdp/channels/channels.h>
42 #include <freerdp/codec/rfx.h>
43 #include <freerdp/codec/nsc.h>
44 #include <freerdp/client/file.h>
46 #include "wf_channels.h"
47 #include "wf_floatbar.h"
49 #include "wf_cliprdr.h"
57 #define SYSCOMMAND_ID_SMARTSIZING 1000
58 #define SYSCOMMAND_ID_REQUEST_CONTROL 1001
77 rdpClientContext common;
81 int fullscreen_toggle;
90 HANDLE keyboardThread;
97 HCURSOR hDefaultCursor;
99 UINT systemMenuInsertPosition;
103 ITaskbarList3* taskBarList;
112 RECT scale_update_rect;
115 DWORD keyboardThreadId;
117 rdpFile* connectionRdpFile;
119 BOOL disablewindowtracking;
121 BOOL updating_scrollbars;
133 CliprdrClientContext* cliprdr;
135 wfFloatBar* floatbar;
137 RailClientContext* rail;
138 wHashTable* railWindows;
141 DispClientContext* disp;
150 FREERDP_API
int RdpClientEntry(RDP_CLIENT_ENTRY_POINTS* pEntryPoints);
151 FREERDP_API
int freerdp_client_set_window_size(wfContext* wfc,
int width,
int height);
152 FREERDP_API
void wf_size_scrollbars(wfContext* wfc, UINT32 client_width, UINT32 client_height);