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
dbd765e2
Commit
dbd765e2
authored
Oct 23, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix some test failures on Win10.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
48aa8326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
format_msg.c
dlls/kernel32/tests/format_msg.c
+9
-3
No files found.
dlls/kernel32/tests/format_msg.c
View file @
dbd765e2
...
...
@@ -1502,21 +1502,27 @@ static void test_message_from_hmodule(void)
MAKELANGID
(
LANG_NEUTRAL
,
SUBLANG_NEUTRAL
),
out
,
ARRAY_SIZE
(
out
),
NULL
);
error
=
GetLastError
();
ok
(
ret
==
0
,
"FormatMessageA returned %u instead of 0
\n
"
,
ret
);
ok
(
error
==
ERROR_MR_MID_NOT_FOUND
||
error
==
ERROR_MUI_FILE_NOT_FOUND
,
"last error %u
\n
"
,
error
);
ok
(
error
==
ERROR_MR_MID_NOT_FOUND
||
error
==
ERROR_MUI_FILE_NOT_FOUND
||
error
==
ERROR_RESOURCE_TYPE_NOT_FOUND
,
"Unexpected last error %u.
\n
"
,
error
);
SetLastError
(
0xdeadbeef
);
ret
=
FormatMessageA
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_FROM_HMODULE
,
h
,
3044
,
MAKELANGID
(
LANG_NEUTRAL
,
SUBLANG_DEFAULT
),
out
,
ARRAY_SIZE
(
out
),
NULL
);
error
=
GetLastError
();
ok
(
ret
==
0
,
"FormatMessageA returned %u instead of 0
\n
"
,
ret
);
ok
(
error
==
ERROR_MR_MID_NOT_FOUND
||
error
==
ERROR_MUI_FILE_NOT_LOADED
,
"last error %u
\n
"
,
error
);
ok
(
error
==
ERROR_MR_MID_NOT_FOUND
||
error
==
ERROR_MUI_FILE_NOT_LOADED
||
error
==
ERROR_RESOURCE_TYPE_NOT_FOUND
,
"Unexpected last error %u.
\n
"
,
error
);
SetLastError
(
0xdeadbeef
);
ret
=
FormatMessageA
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_FROM_HMODULE
,
h
,
3044
,
MAKELANGID
(
LANG_NEUTRAL
,
SUBLANG_SYS_DEFAULT
),
out
,
ARRAY_SIZE
(
out
),
NULL
);
error
=
GetLastError
();
ok
(
ret
==
0
,
"FormatMessageA returned %u instead of 0
\n
"
,
ret
);
ok
(
error
==
ERROR_MR_MID_NOT_FOUND
||
error
==
ERROR_MUI_FILE_NOT_LOADED
,
"last error %u
\n
"
,
error
);
ok
(
error
==
ERROR_MR_MID_NOT_FOUND
||
error
==
ERROR_MUI_FILE_NOT_LOADED
||
error
==
ERROR_RESOURCE_TYPE_NOT_FOUND
,
"Unexpected last error %u.
\n
"
,
error
);
SetLastError
(
0xdeadbeef
);
ret
=
FormatMessageA
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_FROM_HMODULE
,
h
,
3044
,
...
...
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