kernel32: Add a trace to ClearCommError.

This commit is contained in:
Dmitry Timoshkov 2013-08-26 16:36:46 +09:00 committed by Alexandre Julliard
parent 34c7024790
commit 31727e8128
1 changed files with 3 additions and 0 deletions

View File

@ -664,6 +664,9 @@ BOOL WINAPI ClearCommError(HANDLE handle, LPDWORD errors, LPCOMSTAT lpStat)
&ss, sizeof(ss), &dwBytesReturned, NULL))
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)
{
*errors = 0;