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
9e8b1259
Commit
9e8b1259
authored
Nov 23, 2006
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Test -1 length for NULL ptr too.
parent
22209db8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
codepage.c
dlls/kernel32/tests/codepage.c
+7
-0
No files found.
dlls/kernel32/tests/codepage.c
View file @
9e8b1259
...
@@ -101,6 +101,13 @@ static void test_null_source(void)
...
@@ -101,6 +101,13 @@ static void test_null_source(void)
ok
(
!
len
&&
GLE
==
ERROR_INVALID_PARAMETER
,
ok
(
!
len
&&
GLE
==
ERROR_INVALID_PARAMETER
,
"WideCharToMultiByte returned %d with GLE=%d (expected 0 with ERROR_INVALID_PARAMETER)
\n
"
,
"WideCharToMultiByte returned %d with GLE=%d (expected 0 with ERROR_INVALID_PARAMETER)
\n
"
,
len
,
GLE
);
len
,
GLE
);
SetLastError
(
0
);
len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
NULL
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
GLE
=
GetLastError
();
ok
(
!
len
&&
GLE
==
ERROR_INVALID_PARAMETER
,
"WideCharToMultiByte returned %d with GLE=%d (expected 0 with ERROR_INVALID_PARAMETER)
\n
"
,
len
,
GLE
);
}
}
/* lstrcmpW is not supported on Win9x! */
/* lstrcmpW is not supported on Win9x! */
...
...
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