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
ae59a6a9
Commit
ae59a6a9
authored
Dec 04, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32/tests: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
842b38e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
msvfw.c
dlls/msvfw32/tests/msvfw.c
+2
-3
No files found.
dlls/msvfw32/tests/msvfw.c
View file @
ae59a6a9
...
...
@@ -401,7 +401,6 @@ static LRESULT CALLBACK enum_driver_proc(DWORD_PTR id, HDRVR driver, UINT msg,
static
void
test_ICInfo
(
void
)
{
static
const
WCHAR
bogusW
[]
=
{
'b'
,
'o'
,
'g'
,
'u'
,
's'
,
0
};
static
const
DWORD
test_type
=
mmioFOURCC
(
'w'
,
'i'
,
'n'
,
'e'
);
static
const
DWORD
test_handler
=
mmioFOURCC
(
't'
,
'e'
,
's'
,
't'
);
DWORD
i
=
0
,
found
=
0
;
...
...
@@ -475,7 +474,7 @@ static void test_ICInfo(void)
ok
(
info
.
dwVersionICM
==
ICVERSION
,
"Got unexpected ICM version %#x.
\n
"
,
info
.
dwVersionICM
);
ok
(
!
info
.
szName
[
0
],
"Got unexpected name %s.
\n
"
,
wine_dbgstr_w
(
info
.
szName
));
ok
(
!
info
.
szDescription
[
0
],
"Got unexpected name %s.
\n
"
,
wine_dbgstr_w
(
info
.
szDescription
));
ok
(
!
lstrcmpW
(
info
.
szDriver
,
bogusW
),
"Got unexpected driver %s.
\n
"
,
wine_dbgstr_w
(
info
.
szDriver
));
ok
(
!
lstrcmpW
(
info
.
szDriver
,
L"bogus"
),
"Got unexpected driver %s.
\n
"
,
wine_dbgstr_w
(
info
.
szDriver
));
/* Drivers installed after msvfw32 is loaded are not enumerated. */
todo_wine
...
...
@@ -503,7 +502,7 @@ todo_wine
ok
(
info
.
dwVersionICM
==
ICVERSION
,
"Got unexpected ICM version %#x.
\n
"
,
info
.
dwVersionICM
);
ok
(
!
info
.
szName
[
0
],
"Got unexpected name %s.
\n
"
,
wine_dbgstr_w
(
info
.
szName
));
ok
(
!
info
.
szDescription
[
0
],
"Got unexpected name %s.
\n
"
,
wine_dbgstr_w
(
info
.
szDescription
));
ok
(
!
lstrcmpW
(
info
.
szDriver
,
bogusW
),
"Got unexpected driver %s.
\n
"
,
wine_dbgstr_w
(
info
.
szDriver
));
ok
(
!
lstrcmpW
(
info
.
szDriver
,
L"bogus"
),
"Got unexpected driver %s.
\n
"
,
wine_dbgstr_w
(
info
.
szDriver
));
/* Drivers installed after msvfw32 is loaded are not enumerated. */
todo_wine
...
...
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