Commit 31727e81 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

kernel32: Add a trace to ClearCommError.

parent 34c70247
...@@ -664,6 +664,9 @@ BOOL WINAPI ClearCommError(HANDLE handle, LPDWORD errors, LPCOMSTAT lpStat) ...@@ -664,6 +664,9 @@ BOOL WINAPI ClearCommError(HANDLE handle, LPDWORD errors, LPCOMSTAT lpStat)
&ss, sizeof(ss), &dwBytesReturned, NULL)) &ss, sizeof(ss), &dwBytesReturned, NULL))
return FALSE; return FALSE;
TRACE("=> status %#x,%#x, in %u, out %u, eof %d, wait %d\n", ss.Errors, ss.HoldReasons,
ss.AmountInInQueue, ss.AmountInOutQueue, ss.EofReceived, ss.WaitForImmediate);
if (errors) if (errors)
{ {
*errors = 0; *errors = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment