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
38a54118
Commit
38a54118
authored
Mar 06, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add test for calling CreateDesktop on already created desktop name.
parent
3b0ea978
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
winstation.c
dlls/user32/tests/winstation.c
+6
-0
No files found.
dlls/user32/tests/winstation.c
View file @
38a54118
...
...
@@ -220,6 +220,12 @@ static void test_handles(void)
ok
(
!
CloseWindowStation
(
(
HWINSTA
)
d2
),
"CloseWindowStation succeeded on desktop
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"bad last error %d
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
d3
=
CreateDesktop
(
"foobar"
,
NULL
,
NULL
,
0
,
DESKTOP_ALL_ACCESS
,
NULL
);
ok
(
d3
!=
0
,
"create foobar desktop again failed
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"bad last error %d
\n
"
,
GetLastError
()
);
ok
(
CloseDesktop
(
d3
),
"CloseDesktop failed
\n
"
);
d3
=
OpenDesktop
(
"foobar"
,
0
,
TRUE
,
DESKTOP_ALL_ACCESS
);
ok
(
d3
!=
0
,
"open foobar desktop failed
\n
"
);
ok
(
d3
!=
d2
,
"open foobar desktop returned same handle
\n
"
);
...
...
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