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
a5f20b31
Commit
a5f20b31
authored
Jan 25, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Use common wine_dbgstr_guid implementation from test.h.
parent
0bdd0465
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
printdlg.c
dlls/comdlg32/tests/printdlg.c
+3
-15
No files found.
dlls/comdlg32/tests/printdlg.c
View file @
a5f20b31
...
...
@@ -52,18 +52,6 @@ static HRESULT (WINAPI * pPrintDlgExW)(LPPRINTDLGEXW);
static
const
CHAR
emptyA
[]
=
""
;
static
const
CHAR
PrinterPortsA
[]
=
"PrinterPorts"
;
static
const
char
*
debugstr_guid
(
const
GUID
*
guid
)
{
static
char
buf
[
50
];
if
(
!
guid
)
return
"(null)"
;
sprintf
(
buf
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
guid
->
Data1
,
guid
->
Data2
,
guid
->
Data3
,
guid
->
Data4
[
0
],
guid
->
Data4
[
1
],
guid
->
Data4
[
2
],
guid
->
Data4
[
3
],
guid
->
Data4
[
4
],
guid
->
Data4
[
5
],
guid
->
Data4
[
6
],
guid
->
Data4
[
7
]);
return
buf
;
}
/* ########################### */
static
void
test_PageSetupDlgA
(
void
)
...
...
@@ -289,7 +277,7 @@ static void test_PrintDlgA(void)
static
HRESULT
WINAPI
callback_QueryInterface
(
IPrintDialogCallback
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
ok
(
0
,
"callback_QueryInterface(%s): unexpected call
\n
"
,
debu
gstr_guid
(
riid
));
ok
(
0
,
"callback_QueryInterface(%s): unexpected call
\n
"
,
wine_db
gstr_guid
(
riid
));
return
E_NOINTERFACE
;
}
...
...
@@ -339,7 +327,7 @@ static IPrintDialogCallback callback = { &callback_Vtbl };
static
HRESULT
WINAPI
unknown_QueryInterface
(
IUnknown
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
trace
(
"unknown_QueryInterface %s
\n
"
,
debu
gstr_guid
(
riid
));
trace
(
"unknown_QueryInterface %s
\n
"
,
wine_db
gstr_guid
(
riid
));
if
(
IsEqualGUID
(
riid
,
&
IID_IPrintDialogCallback
))
{
...
...
@@ -352,7 +340,7 @@ static HRESULT WINAPI unknown_QueryInterface(IUnknown *iface, REFIID riid, void
return
E_NOINTERFACE
;
}
ok
(
0
,
"unexpected IID %s
\n
"
,
debu
gstr_guid
(
riid
));
ok
(
0
,
"unexpected IID %s
\n
"
,
wine_db
gstr_guid
(
riid
));
*
ppv
=
NULL
;
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