FreeRDP
shadow_surface.h
1 
19 #ifndef FREERDP_SERVER_SHADOW_SURFACE_H
20 #define FREERDP_SERVER_SHADOW_SURFACE_H
21 
22 #include <freerdp/server/shadow.h>
23 
24 #include <winpr/crt.h>
25 #include <winpr/synch.h>
26 
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31 
32  void shadow_surface_free(rdpShadowSurface* surface);
33 
34  WINPR_ATTR_MALLOC(shadow_surface_free, 1)
35  rdpShadowSurface* shadow_surface_new(rdpShadowServer* server, UINT16 x, UINT16 y, UINT32 width,
36  UINT32 height);
37 
38  BOOL shadow_surface_resize(rdpShadowSurface* surface, UINT16 x, UINT16 y, UINT32 width,
39  UINT32 height);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* FREERDP_SERVER_SHADOW_SURFACE_H */