Trace the OLE error info strings

Mike Hearn mh at codeweavers.com
Sat Nov 27 14:15:36 CST 2004


- Trace the OLE error info strings

Index: dlls/ole32/errorinfo.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/errorinfo.c,v
retrieving revision 1.22
diff -u -p -r1.22 errorinfo.c
--- dlls/ole32/errorinfo.c	23 Aug 2004 19:39:50 -0000	1.22
+++ dlls/ole32/errorinfo.c	27 Nov 2004 20:05:18 -0000
@@ -358,7 +358,7 @@ static HRESULT WINAPI ICreateErrorInfoIm
 	LPOLESTR szSource)
 {
 	_ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface);
-	TRACE("(%p)\n",This);
+	TRACE("(%p): %s\n",This, debugstr_w(szSource));
 	if (This->bstrSource != NULL)
 	    ERRORINFO_SysFreeString(This->bstrSource);
 	This->bstrSource = ERRORINFO_SysAllocString(szSource);
@@ -371,7 +371,7 @@ static HRESULT WINAPI ICreateErrorInfoIm
 	LPOLESTR szDescription)
 {
 	_ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface);
-	TRACE("(%p)\n",This);
+	TRACE("(%p): %s\n",This, debugstr_w(szDescription));
 	if (This->bstrDescription != NULL)
 	    ERRORINFO_SysFreeString(This->bstrDescription);
 	This->bstrDescription = ERRORINFO_SysAllocString(szDescription);





More information about the wine-patches mailing list