FreeRDP
surface.h
1 
20 #ifndef FREERDP_LIB_CORE_SURFACE_H
21 #define FREERDP_LIB_CORE_SURFACE_H
22 
23 #include "rdp.h"
24 
25 #include <winpr/stream.h>
26 #include <freerdp/api.h>
27 
28 #define SURFCMD_SURFACE_BITS_HEADER_LENGTH 22
29 #define SURFCMD_FRAME_MARKER_LENGTH 8
30 
31 FREERDP_LOCAL int update_recv_surfcmds(rdpUpdate* update, wStream* s);
32 
33 FREERDP_LOCAL BOOL update_write_surfcmd_surface_bits(wStream* s, const SURFACE_BITS_COMMAND* cmd);
34 FREERDP_LOCAL BOOL update_write_surfcmd_frame_marker(wStream* s, UINT16 frameAction,
35  UINT32 frameId);
36 
37 #endif /* FREERDP_LIB_CORE_SURFACE_H */