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
2fdd05cf
Commit
2fdd05cf
authored
Feb 09, 2009
by
Jeremy White
Committed by
Alexandre Julliard
Feb 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32: Change get requirements such that we require only a minimum level of support.
parent
6320266e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dsm.c
dlls/twain_32/tests/dsm.c
+4
-4
No files found.
dlls/twain_32/tests/dsm.c
View file @
2fdd05cf
...
...
@@ -159,7 +159,7 @@ static void check_get(TW_CAPABILITY *pCapability, TW_INT32 actual_support,
}
}
static
void
test_onevalue_cap
(
TW_IDENTITY
*
appid
,
TW_IDENTITY
*
source
,
TW_UINT16
captype
,
TW_UINT16
type
,
TW_INT32
expected
_support
)
static
void
test_onevalue_cap
(
TW_IDENTITY
*
appid
,
TW_IDENTITY
*
source
,
TW_UINT16
captype
,
TW_UINT16
type
,
TW_INT32
minimum
_support
)
{
TW_UINT16
rc
;
TW_UINT16
rtype
;
...
...
@@ -180,9 +180,9 @@ static void test_onevalue_cap(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16
"Error [rc %d|cc %d] doing MSG_QUERYSUPPORT for type 0x%x
\n
"
,
rc
,
status
.
ConditionCode
,
captype
);
if
(
rc
!=
TWRC_SUCCESS
)
return
;
ok
(
get_onevalue
(
cap
.
hContainer
,
(
TW_UINT32
*
)
&
actual_support
,
NULL
),
"Returned cap.hContainer invalid for QuerySupport on type 0x%x
\n
"
,
captype
);
ok
(
actual_support
==
expected
_support
,
"Error:
expected support 0x%x for type 0x%x, got 0x%x
\n
"
,
expected
_support
,
ok
(
get_onevalue
(
cap
.
hContainer
,
(
TW_UINT32
*
)
&
actual_support
,
NULL
),
"Returned cap.hContainer invalid for QuerySupport on type 0x%x"
,
captype
);
ok
(
(
actual_support
&
minimum_support
)
==
minimum
_support
,
"Error:
minimum support 0x%x for type 0x%x, got 0x%x
\n
"
,
minimum
_support
,
captype
,
actual_support
);
...
...
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