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
f5b8eb49
Commit
f5b8eb49
authored
Apr 25, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Apr 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Add additional test for window station name.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dfb750b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
winstation.c
dlls/user32/tests/winstation.c
+8
-0
No files found.
dlls/user32/tests/winstation.c
View file @
f5b8eb49
...
@@ -114,6 +114,8 @@ static void test_handles(void)
...
@@ -114,6 +114,8 @@ static void test_handles(void)
DWORD
id
,
flags
,
le
;
DWORD
id
,
flags
,
le
;
ATOM
atom
;
ATOM
atom
;
char
buffer
[
20
];
char
buffer
[
20
];
DWORD
size
;
BOOL
ret
;
/* win stations */
/* win stations */
...
@@ -215,6 +217,12 @@ static void test_handles(void)
...
@@ -215,6 +217,12 @@ static void test_handles(void)
w2
=
CreateWindowStationA
(
""
,
0
,
WINSTA_ALL_ACCESS
,
NULL
);
w2
=
CreateWindowStationA
(
""
,
0
,
WINSTA_ALL_ACCESS
,
NULL
);
ok
(
w2
!=
0
,
"create station failed err %u
\n
"
,
GetLastError
()
);
ok
(
w2
!=
0
,
"create station failed err %u
\n
"
,
GetLastError
()
);
memset
(
buffer
,
0
,
sizeof
(
buffer
)
);
ret
=
GetUserObjectInformationA
(
w2
,
UOI_NAME
,
buffer
,
sizeof
(
buffer
),
&
size
);
ok
(
ret
,
"GetUserObjectInformationA failed with error %u
\n
"
,
GetLastError
()
);
todo_wine
ok
(
!
memcmp
(
buffer
,
"Service-0x0-"
,
12
),
"unexpected window station name '%s'
\n
"
,
buffer
);
todo_wine
ok
(
buffer
[
strlen
(
buffer
)
-
1
]
==
'$'
,
"unexpected window station name '%s'
\n
"
,
buffer
);
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
w3
=
OpenWindowStationA
(
""
,
TRUE
,
WINSTA_ALL_ACCESS
);
w3
=
OpenWindowStationA
(
""
,
TRUE
,
WINSTA_ALL_ACCESS
);
todo_wine
todo_wine
...
...
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