[core,utils] add drdynvc stringification functions

This commit is contained in:
akallabeth
2023-01-12 13:58:47 +01:00
committed by David Fort
parent 0234204130
commit 275741cc75
6 changed files with 101 additions and 34 deletions

View File

@@ -26,6 +26,7 @@
#include <winpr/interlocked.h>
#include <freerdp/channels/drdynvc.h>
#include <freerdp/utils/drdynvc.h>
#include "drdynvc_main.h"
@@ -1398,8 +1399,8 @@ static UINT drdynvc_order_recv(drdynvcPlugin* drdynvc, wStream* s, UINT32 Thread
Cmd = (value & 0xf0) >> 4;
Sp = (value & 0x0c) >> 2;
cbChId = (value & 0x03) >> 0;
WLog_Print(drdynvc->log, WLOG_TRACE,
"order_recv: Cmd=0x02" PRIx8 ", Sp=%" PRIu8 " cbChId=%" PRIu8, Cmd, Sp, cbChId);
WLog_Print(drdynvc->log, WLOG_TRACE, "order_recv: Cmd=%s, Sp=%" PRIu8 " cbChId=%" PRIu8,
drdynvc_get_packet_type(Cmd), Sp, cbChId);
switch (Cmd)
{