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
d51e50cb
Commit
d51e50cb
authored
Nov 20, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propsys/tests: Use BOOL type where appropriate.
parent
128e4575
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
propsys.c
dlls/propsys/tests/propsys.c
+7
-7
No files found.
dlls/propsys/tests/propsys.c
View file @
d51e50cb
...
...
@@ -115,9 +115,9 @@ static void test_PSStringFromPropertyKey(void)
UINT
cch
;
HRESULT
hr_expect
;
const
WCHAR
*
buf_expect
;
int
hr_broken
;
BOOL
hr_broken
;
HRESULT
hr2
;
int
buf_broken
;
BOOL
buf_broken
;
const
WCHAR
*
buf2
;
}
testcases
[]
=
{
...
...
@@ -125,15 +125,15 @@ static void test_PSStringFromPropertyKey(void)
{
&
prop
,
NULL
,
0
,
E_POINTER
},
{
&
prop
,
NULL
,
PKEYSTR_MAX
,
E_POINTER
},
{
NULL
,
out
,
0
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
fillerW
},
{
NULL
,
out
,
PKEYSTR_MAX
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_fillerW
,
0
,
0
,
1
,
fillerW
},
{
NULL
,
out
,
PKEYSTR_MAX
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_fillerW
,
FALSE
,
0
,
TRUE
,
fillerW
},
{
&
prop
,
out
,
0
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
fillerW
},
{
&
prop
,
out
,
GUIDSTRING_MAX
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
fillerW
},
{
&
prop
,
out
,
GUIDSTRING_MAX
+
1
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
fillerW
},
{
&
prop
,
out
,
GUIDSTRING_MAX
+
2
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncatedW
,
1
,
S_OK
,
1
,
truncatedW
},
{
&
prop
,
out
,
PKEYSTR_MAX
-
2
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncated2W
,
1
,
S_OK
,
1
,
truncated2W
},
{
&
prop
,
out
,
PKEYSTR_MAX
-
1
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncated3W
,
1
,
S_OK
,
1
,
truncated3W
},
{
&
prop
,
out
,
GUIDSTRING_MAX
+
2
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncatedW
,
TRUE
,
S_OK
,
TRUE
,
truncatedW
},
{
&
prop
,
out
,
PKEYSTR_MAX
-
2
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncated2W
,
TRUE
,
S_OK
,
TRUE
,
truncated2W
},
{
&
prop
,
out
,
PKEYSTR_MAX
-
1
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncated3W
,
TRUE
,
S_OK
,
TRUE
,
truncated3W
},
{
&
prop
,
out
,
PKEYSTR_MAX
,
S_OK
,
expectedW
},
{
&
prop2
,
out
,
GUIDSTRING_MAX
+
2
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncated4W
,
1
,
S_OK
,
1
,
truncated4W
},
{
&
prop2
,
out
,
GUIDSTRING_MAX
+
2
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
zero_truncated4W
,
TRUE
,
S_OK
,
TRUE
,
truncated4W
},
{
&
prop2
,
out
,
GUIDSTRING_MAX
+
6
,
S_OK
,
expected2W
},
{
&
prop2
,
out
,
PKEYSTR_MAX
,
S_OK
,
expected2W
},
{
&
prop3
,
out
,
GUIDSTRING_MAX
+
1
,
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
fillerW
},
...
...
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