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
873e12c8
Commit
873e12c8
authored
Aug 22, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix a test failure on Win8/Win10.
parent
f01bab5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
win.c
dlls/user32/tests/win.c
+4
-2
No files found.
dlls/user32/tests/win.c
View file @
873e12c8
...
...
@@ -6436,10 +6436,12 @@ static void test_layered_window(void)
ret
=
pUpdateLayeredWindowIndirect
(
hwnd
,
&
info
);
ok
(
ret
,
"UpdateLayeredWindowIndirect should succeed on layered window
\n
"
);
sz
.
cx
--
;
SetLastError
(
0
);
ret
=
pUpdateLayeredWindowIndirect
(
hwnd
,
&
info
);
ok
(
!
ret
,
"UpdateLayeredWindowIndirect should fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_INCORRECT_SIZE
||
broken
(
GetLastError
()
==
ERROR_MR_MID_NOT_FOUND
),
"wrong error %u
\n
"
,
GetLastError
()
);
/* particular error code differs from version to version, could be ERROR_INCORRECT_SIZE,
ERROR_MR_MID_NOT_FOUND or ERROR_GEN_FAILURE (Win8/Win10) */
ok
(
GetLastError
()
!=
0
,
"wrong error %u
\n
"
,
GetLastError
()
);
info
.
dwFlags
=
ULW_OPAQUE
;
ret
=
pUpdateLayeredWindowIndirect
(
hwnd
,
&
info
);
ok
(
ret
,
"UpdateLayeredWindowIndirect should succeed on layered window
\n
"
);
...
...
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