shell32: Improve a TRACE and issue a FIXME if the interface is not implemented.

This commit is contained in:
Huw Davies 2010-03-05 12:04:58 +00:00 committed by Alexandre Julliard
parent a456e641db
commit c6b6082d16
1 changed files with 3 additions and 1 deletions

View File

@ -163,6 +163,7 @@
#include "shfldr.h"
#include "shresdef.h"
#include "pidl.h"
#include "debughlp.h"
WINE_DEFAULT_DEBUG_CHANNEL(shell);
@ -795,7 +796,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_QueryInterface(IShellFolder2 *ifa
{
UnixFolder *This = ADJUST_THIS(UnixFolder, IShellFolder2, iface);
TRACE("(iface=%p, riid=%p, ppv=%p)\n", iface, riid, ppv);
TRACE("(iface=%p, riid=%s, ppv=%p)\n", iface, shdebugstr_guid(riid), ppv);
if (!ppv) return E_INVALIDARG;
@ -817,6 +818,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_QueryInterface(IShellFolder2 *ifa
cfShellIDList = RegisterClipboardFormatW(CFSTR_SHELLIDLISTW);
} else {
*ppv = NULL;
FIXME("Unimplemented interface %s\n", shdebugstr_guid(riid));
return E_NOINTERFACE;
}