Trace the OLE error info strings.

This commit is contained in:
Mike Hearn 2004-11-29 17:00:39 +00:00 committed by Alexandre Julliard
parent a153efc5bb
commit b547af156b
1 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ static HRESULT WINAPI ICreateErrorInfoImpl_SetSource(
LPOLESTR szSource) LPOLESTR szSource)
{ {
_ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface); _ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface);
TRACE("(%p)\n",This); TRACE("(%p): %s\n",This, debugstr_w(szSource));
if (This->bstrSource != NULL) if (This->bstrSource != NULL)
ERRORINFO_SysFreeString(This->bstrSource); ERRORINFO_SysFreeString(This->bstrSource);
This->bstrSource = ERRORINFO_SysAllocString(szSource); This->bstrSource = ERRORINFO_SysAllocString(szSource);
@ -371,7 +371,7 @@ static HRESULT WINAPI ICreateErrorInfoImpl_SetDescription(
LPOLESTR szDescription) LPOLESTR szDescription)
{ {
_ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface); _ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface);
TRACE("(%p)\n",This); TRACE("(%p): %s\n",This, debugstr_w(szDescription));
if (This->bstrDescription != NULL) if (This->bstrDescription != NULL)
ERRORINFO_SysFreeString(This->bstrDescription); ERRORINFO_SysFreeString(This->bstrDescription);
This->bstrDescription = ERRORINFO_SysAllocString(szDescription); This->bstrDescription = ERRORINFO_SysAllocString(szDescription);