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
5bef4520
Commit
5bef4520
authored
Feb 02, 2009
by
Jeremy White
Committed by
Alexandre Julliard
Feb 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Pass MSG_QUERYSUPPORT requests to the capability driver.
parent
1199c30c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
ds_ctrl.c
dlls/sane.ds/ds_ctrl.c
+17
-2
No files found.
dlls/sane.ds/ds_ctrl.c
View file @
5bef4520
...
...
@@ -101,9 +101,24 @@ TW_UINT16 SANE_CapabilityGetDefault (pTW_IDENTITY pOrigin, TW_MEMREF pData)
TW_UINT16
SANE_CapabilityQuerySupport
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
{
FIXME
(
"stub!
\n
"
);
TW_UINT16
twRC
=
TWRC_SUCCESS
,
twCC
=
TWCC_SUCCESS
;
pTW_CAPABILITY
pCapability
=
(
pTW_CAPABILITY
)
pData
;
return
TWRC_FAILURE
;
TRACE
(
"DG_CONTROL/DAT_CAPABILITY/MSG_QUERYSUPPORT
\n
"
);
if
(
activeDS
.
currentState
<
4
||
activeDS
.
currentState
>
7
)
{
twRC
=
TWRC_FAILURE
;
activeDS
.
twCC
=
TWCC_SEQERROR
;
}
else
{
twCC
=
SANE_SaneCapability
(
pCapability
,
MSG_QUERYSUPPORT
);
twRC
=
(
twCC
==
TWCC_SUCCESS
)
?
TWRC_SUCCESS
:
TWRC_FAILURE
;
activeDS
.
twCC
=
twCC
;
}
return
twRC
;
}
/* DG_CONTROL/DAT_CAPABILITY/MSG_RESET */
...
...
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