kernel32: [4/4] Display correct Parameter in a TRACE: Get/SetCommConfig

Detlef Riekenberg wine.dev at web.de
Tue Feb 20 09:38:29 CST 2007


kernel32: Display correct Parameter in a TRACE: Get/SetCommConfig

The third parameter was absent

-- 
 
By by ... Detlef

-------------- next part --------------
>From 9c9daf9a67ea4f6ee4e3eb1c450ebfa7ba451a8d Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Tue, 20 Feb 2007 16:29:54 +0100
Subject: [PATCH] kernel32: Display correct Parameter in a TRACE
---
 dlls/kernel32/comm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/comm.c b/dlls/kernel32/comm.c
index 191f54b..07caa83 100644
--- a/dlls/kernel32/comm.c
+++ b/dlls/kernel32/comm.c
@@ -1266,7 +1266,7 @@ BOOL WINAPI GetCommConfig(
 {
     BOOL r;
 
-    TRACE("(%p %p)\n",hFile,lpCommConfig);
+    TRACE("(%p, %p, %p) *lpdwSize: %u\n", hFile, lpCommConfig, lpdwSize, lpdwSize ? *lpdwSize : 0 );
 
     if(lpCommConfig == NULL)
         return FALSE;
@@ -1300,7 +1300,7 @@ BOOL WINAPI SetCommConfig(
     LPCOMMCONFIG lpCommConfig,	/* [in] The desired configuration. */
     DWORD dwSize) 		/* [in] size of the lpCommConfig struct */
 {
-    TRACE("(%p %p)\n",hFile,lpCommConfig);
+    TRACE("(%p, %p, %u)\n", hFile, lpCommConfig, dwSize);
     return SetCommState(hFile,&lpCommConfig->dcb);
 }
 
-- 
1.4.1



More information about the wine-patches mailing list