shlwapi/tests: Use wine_dbgstr_guid() to trace REFIIDs.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-20 10:30:56 +02:00 committed by Alexandre Julliard
parent fdb1f48a22
commit b713c438c1
2 changed files with 3 additions and 2 deletions

View File

@ -1004,7 +1004,8 @@ static HRESULT WINAPI Disp_Invoke(
EXCEPINFO *pExcepInfo, EXCEPINFO *pExcepInfo,
UINT *puArgErr) UINT *puArgErr)
{ {
trace("%p %x %p %x %x %p %p %p %p\n",This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); trace("%p %x %s %x %x %p %p %p %p\n", This, dispIdMember, wine_dbgstr_guid(riid), lcid, wFlags,
pDispParams, pVarResult, pExcepInfo, puArgErr);
ok(dispIdMember == 0xa0 || dispIdMember == 0xa1, "Unknown dispIdMember\n"); ok(dispIdMember == 0xa0 || dispIdMember == 0xa1, "Unknown dispIdMember\n");
ok(pDispParams != NULL, "Invoked with NULL pDispParams\n"); ok(pDispParams != NULL, "Invoked with NULL pDispParams\n");

View File

@ -52,7 +52,7 @@ static HRESULT WINAPI threadref_QueryInterface(IUnknown *iface, REFIID riid, LPV
{ {
threadref * This = impl_from_IUnknown(iface); threadref * This = impl_from_IUnknown(iface);
trace("unexpected QueryInterface(%p, %p, %p) called\n", This, riid, ppvObj); trace("unexpected QueryInterface(%p, %s, %p) called\n", This, wine_dbgstr_guid(riid), ppvObj);
*ppvObj = NULL; *ppvObj = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }