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
4cfc3874
Commit
4cfc3874
authored
Jan 23, 2006
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jan 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/tests: Integer atoms return different results on WinNT 3.51.
parent
4b17a9fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
atom.c
dlls/kernel/tests/atom.c
+5
-1
No files found.
dlls/kernel/tests/atom.c
View file @
4cfc3874
...
...
@@ -271,10 +271,14 @@ static void test_get_atom_name(void)
ok
(
!
len
,
"bad length %d
\n
"
,
len
);
memset
(
outW
,
'.'
,
sizeof
(
outW
));
SetLastError
(
0xdeadbeef
);
len
=
GlobalGetAtomNameW
(
(
ATOM
)
i
,
outW
,
1
);
if
(
i
)
{
ok
(
len
==
1
,
"succeed (got %u instead of 1)
\n
"
,
len
);
/* len == 0 with ERROR_MORE_DATA is on NT3.51 */
ok
(
len
==
1
||
(
len
==
0
&&
GetLastError
()
==
ERROR_MORE_DATA
),
"0x%04x: got %u with %ld (excepted '1' or '0' with "
\
"ERROR_MORE_DATA)
\n
"
,
i
,
len
,
GetLastError
());
ok
(
outW
[
1
]
==
DOUBLE
(
'.'
),
"buffer overwrite
\n
"
);
}
else
ok
(
len
==
0
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"0 badly handled
\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