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
783e469e
Commit
783e469e
authored
Jan 28, 2009
by
Jeremy White
Committed by
Alexandre Julliard
Jan 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32: Add a bit more tracing about the scanners found.
parent
b161c151
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
dsm.c
dlls/twain_32/tests/dsm.c
+7
-1
No files found.
dlls/twain_32/tests/dsm.c
View file @
783e469e
...
...
@@ -148,6 +148,7 @@ static void test_sources(TW_IDENTITY *appid)
TW_UINT16
rc
;
TW_IDENTITY
source
;
TW_STATUS
status
;
int
scannercount
=
0
;
memset
(
&
source
,
0
,
sizeof
(
source
));
rc
=
pDSM_Entry
(
appid
,
NULL
,
DG_CONTROL
,
DAT_IDENTITY
,
MSG_GETFIRST
,
&
source
);
...
...
@@ -161,7 +162,12 @@ static void test_sources(TW_IDENTITY *appid)
while
(
rc
==
TWRC_SUCCESS
)
{
trace
(
"Got scanner %s
\n
"
,
source
.
ProductName
);
scannercount
++
;
trace
(
"[Scanner %d|Version %d.%d(%s)|Protocol %d.%d|SupportedGroups 0x%x|Manufacturer %s|Family %s|ProductName %s]
\n
"
,
scannercount
,
source
.
Version
.
MajorNum
,
source
.
Version
.
MinorNum
,
source
.
Version
.
Info
,
source
.
ProtocolMajor
,
source
.
ProtocolMinor
,
source
.
SupportedGroups
,
source
.
Manufacturer
,
source
.
ProductFamily
,
source
.
ProductName
);
memset
(
&
source
,
0
,
sizeof
(
source
));
rc
=
pDSM_Entry
(
appid
,
NULL
,
DG_CONTROL
,
DAT_IDENTITY
,
MSG_GETNEXT
,
&
source
);
get_condition_code
(
appid
,
NULL
,
&
status
);
...
...
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