Commit e18045a6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msdasql: Trace unsupported interfaces.

parent 1bc19b0c
......@@ -315,6 +315,31 @@ static HRESULT WINAPI command_QueryInterface(ICommandText *iface, REFIID riid, v
IUnknown_AddRef((IUnknown*)*ppv);
return S_OK;
}
else if (IsEqualGUID(&IID_IMultipleResults, riid))
{
TRACE("IID_IMultipleResults not supported\n");
return E_NOINTERFACE;
}
else if(IsEqualGUID(&IID_ICommandStream, riid))
{
TRACE("ICommandStream not support\n");
return E_NOINTERFACE;
}
else if (IsEqualGUID(&IID_IRowsetChange, riid))
{
TRACE("IID_IRowsetChange not supported\n");
return E_NOINTERFACE;
}
else if (IsEqualGUID(&IID_IRowsetUpdate, riid))
{
TRACE("IID_IRowsetUpdate not supported\n");
return E_NOINTERFACE;
}
else if (IsEqualGUID(&IID_IRowsetLocate, riid))
{
TRACE("IID_IRowsetLocate not supported\n");
return E_NOINTERFACE;
}
FIXME("(%p)->(%s %p)\n", iface, debugstr_guid(riid), ppv);
return E_NOINTERFACE;
......
......@@ -119,6 +119,7 @@ static void test_command_interfaces(IUnknown *cmd)
ICommandStream *commandstream;
IColumnsInfo *colinfo;
IMultipleResults *multiple;
IUnknown *unk;
hr = IUnknown_QueryInterface(cmd, &IID_ICommandProperties, (void**)&commandProp);
ok(hr == S_OK, "got 0x%08x\n", hr);
......@@ -148,6 +149,15 @@ static void test_command_interfaces(IUnknown *cmd)
hr = IUnknown_QueryInterface(cmd, &IID_IMultipleResults, (void**)&multiple);
ok(hr == E_NOINTERFACE, "got 0x%08x\n", hr);
hr = IUnknown_QueryInterface(cmd, &IID_IRowsetChange, (void**)&unk);
ok(hr == E_NOINTERFACE, "got 0x%08x\n", hr);
hr = IUnknown_QueryInterface(cmd, &IID_IRowsetUpdate, (void**)&unk);
ok(hr == E_NOINTERFACE, "got 0x%08x\n", hr);
hr = IUnknown_QueryInterface(cmd, &IID_IRowsetLocate, (void**)&unk);
ok(hr == E_NOINTERFACE, "got 0x%08x\n", hr);
}
static void test_sessions(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment