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
e877ec4c
Commit
e877ec4c
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
riched20/tests: Use common wine_dbgstr_guid implementation from test.h.
parent
9be7e1e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
18 deletions
+3
-18
txtsrv.c
dlls/riched20/tests/txtsrv.c
+3
-18
No files found.
dlls/riched20/tests/txtsrv.c
View file @
e877ec4c
...
...
@@ -42,21 +42,6 @@ static IID *pIID_ITextHost;
static
IID
*
pIID_ITextHost2
;
static
PCreateTextServices
pCreateTextServices
;
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
;
}
/* Define C Macros for ITextServices calls. */
/* Use a special table for x86 machines to convert the thiscall
...
...
@@ -806,11 +791,11 @@ DEFINE_GUID(expected_iid_itexthost2, 0x13e670f5,0x1a5a,0x11cf,0xab,0xeb,0x00,0xa
static
void
test_IIDs
(
void
)
{
ok
(
IsEqualIID
(
pIID_ITextServices
,
&
expected_iid_itextservices
),
"unexpected value for IID_ITextServices: %s
\n
"
,
debu
gstr_guid
(
pIID_ITextServices
));
"unexpected value for IID_ITextServices: %s
\n
"
,
wine_db
gstr_guid
(
pIID_ITextServices
));
ok
(
IsEqualIID
(
pIID_ITextHost
,
&
expected_iid_itexthost
),
"unexpected value for IID_ITextHost: %s
\n
"
,
debu
gstr_guid
(
pIID_ITextHost
));
"unexpected value for IID_ITextHost: %s
\n
"
,
wine_db
gstr_guid
(
pIID_ITextHost
));
ok
(
IsEqualIID
(
pIID_ITextHost2
,
&
expected_iid_itexthost2
),
"unexpected value for IID_ITextHost2: %s
\n
"
,
debu
gstr_guid
(
pIID_ITextHost2
));
"unexpected value for IID_ITextHost2: %s
\n
"
,
wine_db
gstr_guid
(
pIID_ITextHost2
));
}
/* Outer IUnknown for COM aggregation tests */
...
...
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