Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e18045a6
Commit
e18045a6
authored
Oct 29, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Oct 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdasql: Trace unsupported interfaces.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1bc19b0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
session.c
dlls/msdasql/session.c
+25
-0
provider.c
dlls/msdasql/tests/provider.c
+10
-0
No files found.
dlls/msdasql/session.c
View file @
e18045a6
...
...
@@ -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
;
...
...
dlls/msdasql/tests/provider.c
View file @
e18045a6
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment