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
00c9c6fd
Commit
00c9c6fd
authored
Oct 15, 2013
by
Qian Hong
Committed by
Alexandre Julliard
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip winstation tests on NT4.
parent
a0637a7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
winstation.c
dlls/user32/tests/winstation.c
+15
-10
No files found.
dlls/user32/tests/winstation.c
View file @
00c9c6fd
...
@@ -822,6 +822,21 @@ static void test_foregroundwindow(void)
...
@@ -822,6 +822,21 @@ static void test_foregroundwindow(void)
return
;
return
;
}
}
ret
=
SystemParametersInfo
(
SPI_GETFOREGROUNDLOCKTIMEOUT
,
0
,
&
timeout_old
,
0
);
if
(
!
ret
)
{
win_skip
(
"Skip tests on NT4
\n
"
);
CloseDesktop
(
hdesks
[
1
]);
return
;
}
trace
(
"old timeout %d
\n
"
,
timeout_old
);
timeout
=
0
;
ret
=
SystemParametersInfo
(
SPI_SETFOREGROUNDLOCKTIMEOUT
,
0
,
0
,
SPIF_SENDCHANGE
|
SPIF_UPDATEINIFILE
);
ok
(
ret
,
"set foreground lock timeout failed!
\n
"
);
ret
=
SystemParametersInfo
(
SPI_GETFOREGROUNDLOCKTIMEOUT
,
0
,
&
timeout
,
0
);
ok
(
ret
,
"get foreground lock timeout failed!
\n
"
);
ok
(
timeout
==
0
,
"unexpected timeout %d
\n
"
,
timeout
);
for
(
thread_desk_id
=
0
;
thread_desk_id
<
DESKTOPS
;
thread_desk_id
++
)
for
(
thread_desk_id
=
0
;
thread_desk_id
<
DESKTOPS
;
thread_desk_id
++
)
{
{
param
.
hdesk
=
hdesks
[
thread_desk_id
];
param
.
hdesk
=
hdesks
[
thread_desk_id
];
...
@@ -844,16 +859,6 @@ static void test_foregroundwindow(void)
...
@@ -844,16 +859,6 @@ static void test_foregroundwindow(void)
trace
(
"hwnd0 %p hwnd1 %p partner0 %p partner1 %p
\n
"
,
hwnds
[
0
],
hwnds
[
1
],
partners
[
0
],
partners
[
1
]);
trace
(
"hwnd0 %p hwnd1 %p partner0 %p partner1 %p
\n
"
,
hwnds
[
0
],
hwnds
[
1
],
partners
[
0
],
partners
[
1
]);
ret
=
SystemParametersInfo
(
SPI_GETFOREGROUNDLOCKTIMEOUT
,
0
,
&
timeout_old
,
0
);
ok
(
ret
,
"get foreground lock timeout failed!
\n
"
);
trace
(
"old timeout %d
\n
"
,
timeout_old
);
timeout
=
0
;
ret
=
SystemParametersInfo
(
SPI_SETFOREGROUNDLOCKTIMEOUT
,
0
,
0
,
SPIF_SENDCHANGE
|
SPIF_UPDATEINIFILE
);
ok
(
ret
,
"set foreground lock timeout failed!
\n
"
);
ret
=
SystemParametersInfo
(
SPI_GETFOREGROUNDLOCKTIMEOUT
,
0
,
&
timeout
,
0
);
ok
(
ret
,
"get foreground lock timeout failed!
\n
"
);
ok
(
timeout
==
0
,
"unexpected timeout %d
\n
"
,
timeout
);
for
(
hwnd_id
=
0
;
hwnd_id
<
DESKTOPS
;
hwnd_id
++
)
for
(
hwnd_id
=
0
;
hwnd_id
<
DESKTOPS
;
hwnd_id
++
)
for
(
thread_desk_id
=
0
;
thread_desk_id
<
DESKTOPS
;
thread_desk_id
++
)
for
(
thread_desk_id
=
0
;
thread_desk_id
<
DESKTOPS
;
thread_desk_id
++
)
for
(
input_desk_id
=
0
;
input_desk_id
<
DESKTOPS
;
input_desk_id
++
)
for
(
input_desk_id
=
0
;
input_desk_id
<
DESKTOPS
;
input_desk_id
++
)
...
...
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