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
503009cf
Commit
503009cf
authored
Feb 21, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Feb 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add a test for CS_OWNDC windows that are created invisible.
parent
23afe2e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
dce.c
dlls/user32/tests/dce.c
+18
-0
No files found.
dlls/user32/tests/dce.c
View file @
503009cf
...
@@ -375,6 +375,23 @@ static void test_begin_paint(void)
...
@@ -375,6 +375,23 @@ static void test_begin_paint(void)
"clip box should have been reset %d,%d-%d,%d
\n
"
,
rect
.
left
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
);
"clip box should have been reset %d,%d-%d,%d
\n
"
,
rect
.
left
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
);
}
}
static
void
test_invisible_create
(
void
)
{
HWND
hwnd_owndc
=
CreateWindowA
(
"owndc_class"
,
NULL
,
WS_OVERLAPPED
,
0
,
200
,
100
,
100
,
0
,
0
,
GetModuleHandleA
(
0
),
NULL
);
HDC
dc1
,
dc2
;
dc1
=
GetDC
(
hwnd_owndc
);
dc2
=
GetDC
(
hwnd_owndc
);
todo_wine
ok
(
dc1
==
dc2
,
"expected owndc dcs to match
\n
"
);
ReleaseDC
(
hwnd_owndc
,
dc2
);
ReleaseDC
(
hwnd_owndc
,
dc1
);
DestroyWindow
(
hwnd_owndc
);
}
START_TEST
(
dce
)
START_TEST
(
dce
)
{
{
...
@@ -414,4 +431,5 @@ START_TEST(dce)
...
@@ -414,4 +431,5 @@ START_TEST(dce)
test_parameters
();
test_parameters
();
test_dc_visrgn
();
test_dc_visrgn
();
test_begin_paint
();
test_begin_paint
();
test_invisible_create
();
}
}
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