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
6f62f961
Commit
6f62f961
authored
Feb 16, 2017
by
Sebastian Lackner
Committed by
Alexandre Julliard
Feb 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Add test for EndDeferWindowPos with destroyed window.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a2f2de1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
win.c
dlls/user32/tests/win.c
+12
-0
No files found.
dlls/user32/tests/win.c
View file @
6f62f961
...
...
@@ -9500,6 +9500,7 @@ static void test_winproc_limit(void)
static
void
test_deferwindowpos
(
void
)
{
HDWP
hdwp
,
hdwp2
;
HWND
hwnd
;
BOOL
ret
;
hdwp
=
BeginDeferWindowPos
(
0
);
...
...
@@ -9529,6 +9530,17 @@ todo_wine
ret
=
EndDeferWindowPos
(
hdwp
);
ok
(
ret
,
"got %d
\n
"
,
ret
);
hdwp
=
BeginDeferWindowPos
(
0
);
ok
(
hdwp
!=
NULL
,
"got %p
\n
"
,
hdwp
);
hwnd
=
create_tool_window
(
WS_POPUP
,
0
);
hdwp2
=
DeferWindowPos
(
hdwp
,
hwnd
,
NULL
,
0
,
0
,
10
,
10
,
0
);
ok
(
hdwp2
!=
NULL
,
"got %p, error %d
\n
"
,
hdwp2
,
GetLastError
());
DestroyWindow
(
hwnd
);
ret
=
EndDeferWindowPos
(
hdwp
);
todo_wine
ok
(
ret
,
"got %d
\n
"
,
ret
);
}
static
void
test_LockWindowUpdate
(
HWND
parent
)
...
...
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