msado15: Support all interfaces in _Recordset QueryInterface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
040c435075
commit
c123637b2d
|
@ -67,8 +67,13 @@ static HRESULT WINAPI recordset_QueryInterface( _Recordset *iface, REFIID riid,
|
|||
{
|
||||
TRACE( "%p, %s, %p\n", iface, debugstr_guid(riid), obj );
|
||||
|
||||
if (IsEqualGUID( riid, &IID__Recordset ) || IsEqualGUID( riid, &IID_IDispatch ) ||
|
||||
IsEqualGUID( riid, &IID_IUnknown ))
|
||||
if (IsEqualIID(riid, &IID_IUnknown) ||
|
||||
IsEqualIID(riid, &IID_IDispatch) ||
|
||||
IsEqualIID(riid, &IID__ADO) ||
|
||||
IsEqualIID(riid, &IID_Recordset15) ||
|
||||
IsEqualIID(riid, &IID_Recordset20) ||
|
||||
IsEqualIID(riid, &IID_Recordset21) ||
|
||||
IsEqualIID(riid, &IID__Recordset))
|
||||
{
|
||||
*obj = iface;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue