FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
urbdrc_helpers.h
1
21#ifndef FREERDP_CHANNEL_URBDRC_HELPERS_H
22#define FREERDP_CHANNEL_URBDRC_HELPERS_H
23
24#include <winpr/wtypes.h>
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
31#include <winpr/wlog.h>
32#include <winpr/stream.h>
33
34 const char* urb_function_string(UINT16 urb);
35 const char* mask_to_string(UINT32 mask);
36 const char* interface_to_string(UINT32 id);
37 const char* call_to_string(BOOL client, UINT32 interfaceNr, UINT32 functionId);
38
39 void urbdrc_dump_message(wLog* log, BOOL client, BOOL write, wStream* s);
40
41 wStream* create_shared_message_header_with_functionid(UINT32 InterfaceId, UINT32 MessageId,
42 UINT32 FunctionId, size_t OutputSize);
43 BOOL write_shared_message_header_with_functionid(wStream* s, UINT32 InterfaceId,
44 UINT32 MessageId, UINT32 FunctionId);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* FREERDP_CHANNEL_URBDRC_HELPERS_H */