Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
33ff6d25
Commit
33ff6d25
authored
Oct 23, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix monitor tests compilation with __WINESRC__ defined.
parent
d2ab1731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
monitor.c
dlls/user32/tests/monitor.c
+4
-4
No files found.
dlls/user32/tests/monitor.c
View file @
33ff6d25
...
...
@@ -161,7 +161,7 @@ static void test_ChangeDisplaySettingsEx(void)
}
SetLastError
(
0xdeadbeef
);
res
=
EnumDisplaySettings
(
NULL
,
ENUM_CURRENT_SETTINGS
,
&
dm
);
res
=
EnumDisplaySettings
A
(
NULL
,
ENUM_CURRENT_SETTINGS
,
&
dm
);
ok
(
res
,
"EnumDisplaySettings error %u
\n
"
,
GetLastError
());
width
=
dm
.
dmPelsWidth
;
...
...
@@ -356,12 +356,12 @@ static void test_work_area(void)
mi
.
rcMonitor
.
left
,
mi
.
rcMonitor
.
top
,
mi
.
rcMonitor
.
right
,
mi
.
rcMonitor
.
bottom
);
SetLastError
(
0xdeadbeef
);
ret
=
SystemParametersInfo
(
SPI_GETWORKAREA
,
0
,
&
rc_work
,
0
);
ret
=
SystemParametersInfo
A
(
SPI_GETWORKAREA
,
0
,
&
rc_work
,
0
);
ok
(
ret
,
"SystemParametersInfo error %u
\n
"
,
GetLastError
());
trace
(
"work area (%d,%d-%d,%d)
\n
"
,
rc_work
.
left
,
rc_work
.
top
,
rc_work
.
right
,
rc_work
.
bottom
);
ok
(
EqualRect
(
&
rc_work
,
&
mi
.
rcWork
),
"work area is different
\n
"
);
hwnd
=
CreateWindowEx
(
0
,
"static"
,
NULL
,
WS_OVERLAPPEDWINDOW
|
WS_VISIBLE
,
100
,
100
,
10
,
10
,
0
,
0
,
0
,
NULL
);
hwnd
=
CreateWindowEx
A
(
0
,
"static"
,
NULL
,
WS_OVERLAPPEDWINDOW
|
WS_VISIBLE
,
100
,
100
,
10
,
10
,
0
,
0
,
0
,
NULL
);
ok
(
hwnd
!=
0
,
"CreateWindowEx failed
\n
"
);
ret
=
GetWindowRect
(
hwnd
,
&
rc_normal
);
...
...
@@ -383,7 +383,7 @@ static void test_work_area(void)
else
ok
(
EqualRect
(
&
rc_normal
,
&
wp
.
rcNormalPosition
),
"normal pos is different
\n
"
);
SetWindowLong
(
hwnd
,
GWL_EXSTYLE
,
WS_EX_TOOLWINDOW
);
SetWindowLong
A
(
hwnd
,
GWL_EXSTYLE
,
WS_EX_TOOLWINDOW
);
wp
.
length
=
sizeof
(
wp
);
ret
=
GetWindowPlacement
(
hwnd
,
&
wp
);
...
...
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