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
dea1fceb
Commit
dea1fceb
authored
Oct 03, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdmo/tests: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
60eb0d4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
msdmo.c
dlls/msdmo/tests/msdmo.c
+2
-3
No files found.
dlls/msdmo/tests/msdmo.c
View file @
dea1fceb
...
...
@@ -41,7 +41,6 @@ static const char *guid_to_string(const GUID *guid)
static
void
test_DMOUnregister
(
void
)
{
static
char
buffer
[
200
];
static
const
WCHAR
testdmoW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
'd'
,
'm'
,
'o'
,
0
};
HRESULT
hr
;
hr
=
DMOUnregister
(
&
GUID_unknowndmo
,
&
GUID_unknowncategory
);
...
...
@@ -51,10 +50,10 @@ static void test_DMOUnregister(void)
ok
(
hr
==
S_FALSE
,
"got 0x%08x
\n
"
,
hr
);
/* can't register for all categories */
hr
=
DMORegister
(
testdmoW
,
&
GUID_unknowndmo
,
&
GUID_NULL
,
0
,
0
,
NULL
,
0
,
NULL
);
hr
=
DMORegister
(
L"testdmo"
,
&
GUID_unknowndmo
,
&
GUID_NULL
,
0
,
0
,
NULL
,
0
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
hr
=
DMORegister
(
testdmoW
,
&
GUID_unknowndmo
,
&
GUID_unknowncategory
,
0
,
0
,
NULL
,
0
,
NULL
);
hr
=
DMORegister
(
L"testdmo"
,
&
GUID_unknowndmo
,
&
GUID_unknowncategory
,
0
,
0
,
NULL
,
0
,
NULL
);
if
(
hr
!=
S_OK
)
{
win_skip
(
"Failed to register DMO. Probably user doesn't have persmissions to do so.
\n
"
);
return
;
...
...
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