FreeRDP
shadow_capture.h
1 
19 #ifndef FREERDP_SERVER_SHADOW_CAPTURE_H
20 #define FREERDP_SERVER_SHADOW_CAPTURE_H
21 
22 #include <freerdp/server/shadow.h>
23 
24 #include <winpr/crt.h>
25 #include <winpr/winpr.h>
26 #include <winpr/synch.h>
27 
29 {
30  rdpShadowServer* server;
31 
32  int width;
33  int height;
34 
35  CRITICAL_SECTION lock;
36 };
37 
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif
42 
43  void shadow_capture_free(rdpShadowCapture* capture);
44 
45  WINPR_ATTR_MALLOC(shadow_capture_free, 1)
46  rdpShadowCapture* shadow_capture_new(rdpShadowServer* server);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* FREERDP_SERVER_SHADOW_CAPTURE_H */