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
ce617326
Commit
ce617326
authored
Apr 01, 2013
by
Sam Edwards
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Verify window style after exiting fullscreen mode.
parent
8157aa14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
device.c
dlls/d3d8/tests/device.c
+21
-0
No files found.
dlls/d3d8/tests/device.c
View file @
ce617326
...
...
@@ -2829,6 +2829,7 @@ static void test_window_style(void)
LONG
style
,
expected_style
;
IDirect3DDevice8
*
device
;
IDirect3D8
*
d3d8
;
HRESULT
hr
;
ULONG
ref
;
...
...
@@ -2885,6 +2886,26 @@ static void test_window_style(void)
focus_rect
.
left
,
focus_rect
.
top
,
focus_rect
.
right
,
focus_rect
.
bottom
,
r
.
left
,
r
.
top
,
r
.
right
,
r
.
bottom
);
hr
=
reset_device
(
device
,
device_window
,
TRUE
);
ok
(
SUCCEEDED
(
hr
),
"Failed to reset device, hr %#x.
\n
"
,
hr
);
style
=
GetWindowLongA
(
device_window
,
GWL_STYLE
);
expected_style
=
device_style
|
WS_VISIBLE
;
ok
(
style
==
expected_style
,
"Expected device window style %#x, got %#x.
\n
"
,
expected_style
,
style
);
style
=
GetWindowLongA
(
device_window
,
GWL_EXSTYLE
);
expected_style
=
device_exstyle
|
WS_EX_TOPMOST
;
ok
(
style
==
expected_style
,
"Expected device window extended style %#x, got %#x.
\n
"
,
expected_style
,
style
);
style
=
GetWindowLongA
(
focus_window
,
GWL_STYLE
);
ok
(
style
==
focus_style
,
"Expected focus window style %#x, got %#x.
\n
"
,
focus_style
,
style
);
style
=
GetWindowLongA
(
focus_window
,
GWL_EXSTYLE
);
ok
(
style
==
focus_exstyle
,
"Expected focus window extended style %#x, got %#x.
\n
"
,
focus_exstyle
,
style
);
ref
=
IDirect3DDevice8_Release
(
device
);
ok
(
ref
==
0
,
"The device was not properly freed: refcount %u.
\n
"
,
ref
);
...
...
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