Move typelib into separate debug channel
Mike Hearn
mh at codeweavers.com
Fri Jul 23 11:01:41 CDT 2004
Part of my continuing quest to reduce the overload on +ole ...
Mike Hearn <mh at codeweavers.com>
Move typelib into separate debug channel
Index: dlls/oleaut32/typelib.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/typelib.c,v
retrieving revision 1.116
diff -u -p -r1.116 typelib.c
--- dlls/oleaut32/typelib.c 6 Jul 2004 21:28:13 -0000 1.116
+++ dlls/oleaut32/typelib.c 23 Jul 2004 14:09:38 -0000
@@ -78,8 +78,8 @@
#include "wine/debug.h"
#include "variant.h"
-WINE_DEFAULT_DEBUG_CHANNEL(ole);
-WINE_DECLARE_DEBUG_CHANNEL(typelib);
+WINE_DEFAULT_DEBUG_CHANNEL(typelib);
+WINE_DECLARE_DEBUG_CHANNEL(ole);
/* The OLE Automation ProxyStub Interface Class (aka Typelib Marshaler) */
const GUID CLSID_PSOAInterface = { 0x00020424, 0, 0, { 0xC0, 0, 0, 0, 0, 0, 0, 0x46 } };
@@ -288,8 +288,9 @@ HRESULT WINAPI LoadTypeLibEx(
HRESULT res;
INT index = 1;
+ TRACE_(ole)("(%s,%d,%p)\n",debugstr_w(szFile), regkind, pptLib);
TRACE("(%s,%d,%p)\n",debugstr_w(szFile), regkind, pptLib);
-
+
*pptLib = NULL;
if(!SearchPathW(NULL,szFile,NULL,sizeof(szPath)/sizeof(WCHAR),szPath,
NULL)) {
@@ -356,7 +357,7 @@ HRESULT WINAPI LoadTypeLibEx(
break;
}
- TRACE(" returns %08lx\n",res);
+ TRACE_(ole)(" returns %08lx\n",res);
return res;
}
More information about the wine-patches
mailing list