[PATCH] oleaut32: Dump Parameter and SYSKIND for LHashValOfNameSysA

Detlef Riekenberg wine.dev at web.de
Tue Sep 9 15:16:13 CDT 2008


---
 dlls/oleaut32/hash.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/hash.c b/dlls/oleaut32/hash.c
index 32c1086..12c9389 100644
--- a/dlls/oleaut32/hash.c
+++ b/dlls/oleaut32/hash.c
@@ -510,6 +510,9 @@ ULONG WINAPI LHashValOfNameSysA( SYSKIND skind, LCID lcid, LPCSTR lpStr)
   ULONG nHiWord, nLoWord = 0x0deadbee;
   const unsigned char *str = (const unsigned char *)lpStr, *pnLookup = NULL;
 
+  TRACE("(%d, %d, %s) %s\n", skind, lcid, debugstr_a(lpStr),
+    (skind == SYS_WIN16) ? "SYS_WIN16" : (skind == SYS_WIN32) ? "SYS_WIN32" : "");
+
   if (!str)
     return 0;
 
-- 
1.5.4.3


--=-c0qv/mBP3KPfPG8h0OFp--




More information about the wine-patches mailing list