Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
408c3510
Commit
408c3510
authored
Jan 25, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32/tests: Use common wine_dbgstr_guid implementation from test.h.
parent
42211649
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
17 deletions
+2
-17
database.c
dlls/oledb32/tests/database.c
+2
-17
No files found.
dlls/oledb32/tests/database.c
View file @
408c3510
...
...
@@ -40,21 +40,6 @@ DEFINE_GUID(CSLID_MSDAER, 0xc8b522cf,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44
static
WCHAR
initstring_default
[]
=
{
'D'
,
'a'
,
't'
,
'a'
,
' '
,
'S'
,
'o'
,
'u'
,
'r'
,
'c'
,
'e'
,
'='
,
'd'
,
'u'
,
'm'
,
'm'
,
'y'
,
';'
,
0
};
static
const
char
*
debugstr_guid
(
REFIID
riid
)
{
static
char
buf
[
50
];
if
(
!
riid
)
return
"(null)"
;
sprintf
(
buf
,
"{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}"
,
riid
->
Data1
,
riid
->
Data2
,
riid
->
Data3
,
riid
->
Data4
[
0
],
riid
->
Data4
[
1
],
riid
->
Data4
[
2
],
riid
->
Data4
[
3
],
riid
->
Data4
[
4
],
riid
->
Data4
[
5
],
riid
->
Data4
[
6
],
riid
->
Data4
[
7
]);
return
buf
;
}
static
void
test_GetDataSource
(
WCHAR
*
initstring
)
{
IDataInitialize
*
datainit
=
NULL
;
...
...
@@ -266,7 +251,7 @@ if (hr == S_OK) {
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IConnectionPoint_GetConnectionInterface
(
cp
,
&
iid
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
IsEqualIID
(
&
iid
,
&
IID_IRowPositionChange
),
"got %s
\n
"
,
debu
gstr_guid
(
&
iid
));
ok
(
IsEqualIID
(
&
iid
,
&
IID_IRowPositionChange
),
"got %s
\n
"
,
wine_db
gstr_guid
(
&
iid
));
IConnectionPoint_Release
(
cp
);
hr
=
IEnumConnectionPoints_Next
(
enum_points
,
1
,
&
cp
,
NULL
);
...
...
@@ -300,7 +285,7 @@ static HRESULT WINAPI rset_QI(IRowset *iface, REFIID riid, void **obj)
return
S_OK
;
}
ok
(
0
,
"unexpected riid %s
\n
"
,
debu
gstr_guid
(
riid
));
ok
(
0
,
"unexpected riid %s
\n
"
,
wine_db
gstr_guid
(
riid
));
return
E_NOINTERFACE
;
}
...
...
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