Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

535 lines
22 KiB

  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2. <html xmlns:v="urn:schemas-microsoft-com:vml"
  3. xmlns:o="urn:schemas-microsoft-com:office:office"
  4. xmlns:w="urn:schemas-microsoft-com:office:word"
  5. xmlns="http://www.w3.org/TR/REC-html40">
  6. <head>
  7. <meta http-equiv=Content-Type content="text/html; charset=us-ascii">
  8. <meta name=ProgId content=Word.Document>
  9. <meta name=Generator content="Microsoft Word 10">
  10. <meta name=Originator content="Microsoft Word 10">
  11. <link rel=File-List href="wiascanr_files/filelist.xml">
  12. <title>wiascanr</title>
  13. <!--[if gte mso 9]><xml>
  14. <o:DocumentProperties>
  15. <o:Author>Microsoft</o:Author>
  16. <o:LastAuthor>Microsoft</o:LastAuthor>
  17. <o:Revision>8</o:Revision>
  18. <o:TotalTime>353</o:TotalTime>
  19. <o:Created>2002-03-07T21:31:00Z</o:Created>
  20. <o:LastSaved>2002-03-07T21:37:00Z</o:LastSaved>
  21. <o:Pages>1</o:Pages>
  22. <o:Words>625</o:Words>
  23. <o:Characters>3568</o:Characters>
  24. <o:Company>Microsoft Corp.</o:Company>
  25. <o:Lines>29</o:Lines>
  26. <o:Paragraphs>8</o:Paragraphs>
  27. <o:CharactersWithSpaces>4185</o:CharactersWithSpaces>
  28. <o:Version>10.3501</o:Version>
  29. </o:DocumentProperties>
  30. </xml><![endif]--><!--[if gte mso 9]><xml>
  31. <w:WordDocument>
  32. <w:HideSpellingErrors/>
  33. <w:HideGrammaticalErrors/>
  34. <w:SpellingState>Clean</w:SpellingState>
  35. <w:GrammarState>Clean</w:GrammarState>
  36. <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  37. </w:WordDocument>
  38. </xml><![endif]-->
  39. <style>
  40. <!--
  41. /* Style Definitions */
  42. p.MsoNormal, li.MsoNormal, div.MsoNormal
  43. {mso-style-parent:"";
  44. margin:0in;
  45. margin-bottom:.0001pt;
  46. mso-pagination:widow-orphan;
  47. font-size:12.0pt;
  48. font-family:"Times New Roman";
  49. mso-fareast-font-family:"Times New Roman";
  50. color:black;}
  51. h1
  52. {mso-margin-top-alt:auto;
  53. margin-right:0in;
  54. mso-margin-bottom-alt:auto;
  55. margin-left:0in;
  56. mso-pagination:widow-orphan;
  57. mso-outline-level:1;
  58. font-size:24.0pt;
  59. font-family:"Times New Roman";
  60. color:black;
  61. font-weight:bold;}
  62. h2
  63. {mso-margin-top-alt:auto;
  64. margin-right:0in;
  65. mso-margin-bottom-alt:auto;
  66. margin-left:0in;
  67. mso-pagination:widow-orphan;
  68. mso-outline-level:2;
  69. font-size:18.0pt;
  70. font-family:"Times New Roman";
  71. color:black;
  72. font-weight:bold;}
  73. h3
  74. {mso-margin-top-alt:auto;
  75. margin-right:0in;
  76. mso-margin-bottom-alt:auto;
  77. margin-left:0in;
  78. mso-pagination:widow-orphan;
  79. mso-outline-level:3;
  80. font-size:13.5pt;
  81. font-family:"Times New Roman";
  82. color:black;
  83. font-weight:bold;}
  84. a:link, span.MsoHyperlink
  85. {color:blue;
  86. text-decoration:underline;
  87. text-underline:single;}
  88. a:visited, span.MsoHyperlinkFollowed
  89. {color:blue;
  90. text-decoration:underline;
  91. text-underline:single;}
  92. p
  93. {mso-margin-top-alt:auto;
  94. margin-right:0in;
  95. mso-margin-bottom-alt:auto;
  96. margin-left:0in;
  97. mso-pagination:widow-orphan;
  98. font-size:12.0pt;
  99. font-family:"Times New Roman";
  100. mso-fareast-font-family:"Times New Roman";
  101. color:black;}
  102. pre
  103. {margin:0in;
  104. margin-bottom:.0001pt;
  105. mso-pagination:widow-orphan;
  106. tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
  107. font-size:10.0pt;
  108. font-family:"Courier New";
  109. mso-fareast-font-family:"Courier New";
  110. color:black;}
  111. span.SpellE
  112. {mso-style-name:"";
  113. mso-spl-e:yes;}
  114. span.GramE
  115. {mso-style-name:"";
  116. mso-gram-e:yes;}
  117. @page Section1
  118. {size:8.5in 11.0in;
  119. margin:1.0in 1.25in 1.0in 1.25in;
  120. mso-header-margin:.5in;
  121. mso-footer-margin:.5in;
  122. mso-paper-source:0;}
  123. div.Section1
  124. {page:Section1;}
  125. /* List Definitions */
  126. @list l0
  127. {mso-list-id:371000526;
  128. mso-list-type:hybrid;
  129. mso-list-template-ids:619977120 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  130. @list l0:level1
  131. {mso-level-tab-stop:.5in;
  132. mso-level-number-position:left;
  133. text-indent:-.25in;}
  134. @list l0:level2
  135. {mso-level-tab-stop:1.0in;
  136. mso-level-number-position:left;
  137. text-indent:-.25in;}
  138. @list l0:level3
  139. {mso-level-tab-stop:1.5in;
  140. mso-level-number-position:left;
  141. text-indent:-.25in;}
  142. @list l0:level4
  143. {mso-level-tab-stop:2.0in;
  144. mso-level-number-position:left;
  145. text-indent:-.25in;}
  146. @list l0:level5
  147. {mso-level-tab-stop:2.5in;
  148. mso-level-number-position:left;
  149. text-indent:-.25in;}
  150. @list l0:level6
  151. {mso-level-tab-stop:3.0in;
  152. mso-level-number-position:left;
  153. text-indent:-.25in;}
  154. @list l0:level7
  155. {mso-level-tab-stop:3.5in;
  156. mso-level-number-position:left;
  157. text-indent:-.25in;}
  158. @list l0:level8
  159. {mso-level-tab-stop:4.0in;
  160. mso-level-number-position:left;
  161. text-indent:-.25in;}
  162. @list l0:level9
  163. {mso-level-tab-stop:4.5in;
  164. mso-level-number-position:left;
  165. text-indent:-.25in;}
  166. @list l1
  167. {mso-list-id:566766583;
  168. mso-list-type:hybrid;
  169. mso-list-template-ids:1578417540 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  170. @list l1:level1
  171. {mso-level-tab-stop:.5in;
  172. mso-level-number-position:left;
  173. text-indent:-.25in;}
  174. @list l1:level2
  175. {mso-level-number-format:alpha-lower;
  176. mso-level-tab-stop:1.0in;
  177. mso-level-number-position:left;
  178. text-indent:-.25in;}
  179. @list l1:level3
  180. {mso-level-number-format:roman-lower;
  181. mso-level-tab-stop:1.5in;
  182. mso-level-number-position:right;
  183. text-indent:-9.0pt;}
  184. @list l1:level4
  185. {mso-level-tab-stop:2.0in;
  186. mso-level-number-position:left;
  187. text-indent:-.25in;}
  188. @list l1:level5
  189. {mso-level-tab-stop:2.5in;
  190. mso-level-number-position:left;
  191. text-indent:-.25in;}
  192. @list l1:level6
  193. {mso-level-tab-stop:3.0in;
  194. mso-level-number-position:left;
  195. text-indent:-.25in;}
  196. @list l1:level7
  197. {mso-level-tab-stop:3.5in;
  198. mso-level-number-position:left;
  199. text-indent:-.25in;}
  200. @list l1:level8
  201. {mso-level-tab-stop:4.0in;
  202. mso-level-number-position:left;
  203. text-indent:-.25in;}
  204. @list l1:level9
  205. {mso-level-tab-stop:4.5in;
  206. mso-level-number-position:left;
  207. text-indent:-.25in;}
  208. @list l2
  209. {mso-list-id:745304408;
  210. mso-list-type:hybrid;
  211. mso-list-template-ids:501628894 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  212. @list l2:level1
  213. {mso-level-tab-stop:.5in;
  214. mso-level-number-position:left;
  215. text-indent:-.25in;}
  216. @list l2:level2
  217. {mso-level-tab-stop:1.0in;
  218. mso-level-number-position:left;
  219. text-indent:-.25in;}
  220. @list l2:level3
  221. {mso-level-tab-stop:1.5in;
  222. mso-level-number-position:left;
  223. text-indent:-.25in;}
  224. @list l2:level4
  225. {mso-level-tab-stop:2.0in;
  226. mso-level-number-position:left;
  227. text-indent:-.25in;}
  228. @list l2:level5
  229. {mso-level-tab-stop:2.5in;
  230. mso-level-number-position:left;
  231. text-indent:-.25in;}
  232. @list l2:level6
  233. {mso-level-tab-stop:3.0in;
  234. mso-level-number-position:left;
  235. text-indent:-.25in;}
  236. @list l2:level7
  237. {mso-level-tab-stop:3.5in;
  238. mso-level-number-position:left;
  239. text-indent:-.25in;}
  240. @list l2:level8
  241. {mso-level-tab-stop:4.0in;
  242. mso-level-number-position:left;
  243. text-indent:-.25in;}
  244. @list l2:level9
  245. {mso-level-tab-stop:4.5in;
  246. mso-level-number-position:left;
  247. text-indent:-.25in;}
  248. @list l3
  249. {mso-list-id:797068354;
  250. mso-list-type:hybrid;
  251. mso-list-template-ids:2079487468 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  252. @list l3:level1
  253. {mso-level-tab-stop:.5in;
  254. mso-level-number-position:left;
  255. text-indent:-.25in;}
  256. @list l3:level2
  257. {mso-level-number-format:alpha-lower;
  258. mso-level-tab-stop:1.0in;
  259. mso-level-number-position:left;
  260. text-indent:-.25in;}
  261. @list l4
  262. {mso-list-id:1382750078;
  263. mso-list-type:hybrid;
  264. mso-list-template-ids:-98557440 -1634539084 1364493882 -555997176 1048594918 1907263124 1809221600 353402950 -1899568204 803906870;}
  265. @list l4:level1
  266. {mso-level-tab-stop:.5in;
  267. mso-level-number-position:left;
  268. text-indent:-.25in;}
  269. @list l4:level2
  270. {mso-level-tab-stop:1.0in;
  271. mso-level-number-position:left;
  272. text-indent:-.25in;}
  273. @list l4:level3
  274. {mso-level-tab-stop:1.5in;
  275. mso-level-number-position:left;
  276. text-indent:-.25in;}
  277. @list l4:level4
  278. {mso-level-tab-stop:2.0in;
  279. mso-level-number-position:left;
  280. text-indent:-.25in;}
  281. @list l4:level5
  282. {mso-level-tab-stop:2.5in;
  283. mso-level-number-position:left;
  284. text-indent:-.25in;}
  285. @list l4:level6
  286. {mso-level-tab-stop:3.0in;
  287. mso-level-number-position:left;
  288. text-indent:-.25in;}
  289. @list l4:level7
  290. {mso-level-tab-stop:3.5in;
  291. mso-level-number-position:left;
  292. text-indent:-.25in;}
  293. @list l4:level8
  294. {mso-level-tab-stop:4.0in;
  295. mso-level-number-position:left;
  296. text-indent:-.25in;}
  297. @list l4:level9
  298. {mso-level-tab-stop:4.5in;
  299. mso-level-number-position:left;
  300. text-indent:-.25in;}
  301. @list l5
  302. {mso-list-id:1684744677;
  303. mso-list-template-ids:-782180816;}
  304. ol
  305. {margin-bottom:0in;}
  306. ul
  307. {margin-bottom:0in;}
  308. -->
  309. </style>
  310. <!--[if gte mso 10]>
  311. <style>
  312. /* Style Definitions */
  313. table.MsoNormalTable
  314. {mso-style-name:"Table Normal";
  315. mso-tstyle-rowband-size:0;
  316. mso-tstyle-colband-size:0;
  317. mso-style-noshow:yes;
  318. mso-style-parent:"";
  319. mso-padding-alt:0in 5.4pt 0in 5.4pt;
  320. mso-para-margin:0in;
  321. mso-para-margin-bottom:.0001pt;
  322. mso-pagination:widow-orphan;
  323. font-size:10.0pt;
  324. font-family:"Times New Roman";}
  325. </style>
  326. <![endif]--><!--[if gte mso 9]><xml>
  327. <o:shapedefaults v:ext="edit" spidmax="2050"/>
  328. </xml><![endif]--><!--[if gte mso 9]><xml>
  329. <o:shapelayout v:ext="edit">
  330. <o:idmap v:ext="edit" data="1"/>
  331. </o:shapelayout></xml><![endif]-->
  332. </head>
  333. <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'
  334. leftmargin=8>
  335. <div class=Section1>
  336. <h1><a name=MYSAMPLE>Sample WIA Scanner </a><span class=GramE><span
  337. style='mso-bookmark:MYSAMPLE'>Driver</span> :</span></h1>
  338. <h1>(<span class=GramE>flatbed</span> scanner with a document feeder attached) or</h1>
  339. <h1>(<span class=GramE>scanner</span> with a document feeder only that can not determine
  340. page length)</h1>
  341. <h1><span style='font-size:14.0pt;mso-bidi-font-size:24.0pt;color:red'>[This is
  342. preliminary documentation and subject to change.]<o:p></o:p></span></h1>
  343. <h2>SUMMARY</h2>
  344. <p>This sample shows how to write a Windows Image Acquisition (WIA) user-mode <span
  345. class=SpellE>minidriver</span> for a scanner. It simulates scanning by
  346. producing a test pattern image. This sample driver is an excellent starting
  347. point for your development, but your driver should access the scanner hardware
  348. through one of the kernel drivers provided with Windows, <span class=SpellE>Usbscan.sys</span>
  349. or <span class=SpellE>Scsiscan.sys</span>, if possible.</p>
  350. <p>This sample will not work on Windows 98 or Windows 2000.</p>
  351. <h3>SAMPLE FEATURES</h3>
  352. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2;
  353. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>1.<span
  354. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Automatic
  355. document feeder capabilities</p>
  356. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2;
  357. tab-stops:list 1.0in'><![if !supportLists]><span style='mso-list:Ignore'>a.<span
  358. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>This
  359. sample also shows an example of a feeder that can not determine the page
  360. length. (formally called a <span class=SpellE>scrollfed</span> scanner)</p>
  361. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2;
  362. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>2.<span
  363. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Scan,
  364. Copy, and Fax button support. (interrupt events only)</p>
  365. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2;
  366. tab-stops:list 1.0in'><![if !supportLists]><span style='mso-list:Ignore'>a.<span
  367. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Run
  368. the small application provided with the DDK called <b style='mso-bidi-font-weight:
  369. normal'>scanpanl.exe</b> to simulate button presses.</p>
  370. <h3>BUILDING THE SAMPLE (flatbed scanner with document feeder attached)</h3>
  371. <p>To build the <span class=GramE>sample follow</span> these steps:</p>
  372. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo4;
  373. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>1.<span
  374. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>In
  375. the Start menu, <span class=GramE>select<span style='mso-spacerun:yes'>&nbsp;
  376. </span>&quot;</span>Free Build Environment&quot; or &quot;Checked Build
  377. Environment&quot; under &quot;Windows DDK&quot; to open a command window and
  378. set basic environment variables needed to build drivers. </p>
  379. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo4;
  380. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>2.<span
  381. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Change
  382. to the directory containing the sample driver source code.</p>
  383. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo4;
  384. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>3.<span
  385. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Execute
  386. the &quot;build&quot; command. After the build completes, a driver named wiascanr.dll
  387. will be located in a subdirectory.</p>
  388. <h3>BUILDING THE SAMPLE (document feeder only scanner that can not determine
  389. page length (formally called a <span class=SpellE>scrollfed</span> scanner))</h3>
  390. <p>To build the <span class=GramE>sample follow</span> these steps:</p>
  391. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo10;
  392. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>1.<span
  393. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>In
  394. the Start menu, <span class=GramE>select<span style='mso-spacerun:yes'>&nbsp;
  395. </span>&quot;</span>Free Build Environment&quot; or &quot;Checked Build
  396. Environment&quot; under &quot;Windows DDK&quot; to open a command window and
  397. set basic environment variables needed to build drivers. </p>
  398. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo10;
  399. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>2.<span
  400. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Change
  401. to the directory containing the sample driver source code.</p>
  402. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo10;
  403. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>3.<span
  404. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Edit
  405. the <b style='mso-bidi-font-weight:normal'>SOURCES</b> file adding <b
  406. style='mso-bidi-font-weight:normal'>/DUNKNOWN_LENGTH_FEEDER_ONLY_SCANNER</b> to
  407. the <b style='mso-bidi-font-weight:normal'>C_DEFINES</b> section.</p>
  408. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l3 level2 lfo10;
  409. tab-stops:list 1.0in'><![if !supportLists]><span style='mso-list:Ignore'>a.<span
  410. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Example:
  411. <b style='mso-bidi-font-weight:normal'><span style='font-size:10.0pt'>C_DEFINES<span
  412. style='mso-spacerun:yes'>&nbsp; </span>=$(C_DEFINES) /DUNKNOWN_LENGTH_FEEDER_ONLY_SCANNER</span></b></p>
  413. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo10;
  414. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>4.<span
  415. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Execute
  416. the &quot;build&quot; command. After the build completes, a driver named wiascanr.dll
  417. will be located in a subdirectory. </p>
  418. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l3 level2 lfo10;
  419. tab-stops:list 1.0in'><![if !supportLists]><span style='mso-list:Ignore'>a.<span
  420. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]><span
  421. style='color:red'>Important note:</span> This driver is the same .<span
  422. class=SpellE>dll</span> as the one built above.<span
  423. style='mso-spacerun:yes'>&nbsp; </span>It only contains different
  424. functionality. A separate installation is not required or recommended.</p>
  425. <h3>USING THE SAMPLE<o:p></o:p></h3>
  426. <p><! ---------------- Snip Snip ---------------- >To use the driver, first
  427. install it following these steps: </p>
  428. <ol start=1 type=1>
  429. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  430. mso-list:l4 level1 lfo7;tab-stops:list .5in'>Copy wiascanr.dll from the
  431. appropriate object subdirectory under <span class=SpellE>wiascanr</span>
  432. to a new, empty directory.</li>
  433. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  434. mso-list:l4 level1 lfo7;tab-stops:list .5in'>Copy <span class=SpellE><span
  435. class=GramE>wiascanr.inf</span></span><span class=GramE><span
  436. style='mso-spacerun:yes'>&nbsp; </span>to</span> the same directory.</li>
  437. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  438. mso-list:l4 level1 lfo7;tab-stops:list .5in'>In Windows Me or Windows XP,
  439. open the &#8220;New Device&#8221; icon located in the Scanners and Cameras
  440. control panel.</li>
  441. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  442. mso-list:l4 level1 lfo7;tab-stops:list .5in'>Click the &#8220;Have
  443. Disk&#8221; button and enter the name of the folder created in step 1.</li>
  444. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  445. mso-list:l4 level1 lfo7;tab-stops:list .5in'>Click OK, Next, or Finish
  446. until the wizard is finished.</li>
  447. </ol>
  448. <p>Use one of these options to test this driver:</p>
  449. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  450. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>1.<span
  451. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>The
  452. Scanners and Cameras Wizard accessible from the Start menu or by
  453. double-clicking the scanner in Explorer.</p>
  454. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  455. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>2.<span
  456. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>The
  457. <span class=SpellE>wiatest</span> application provided in this DDK tools
  458. directory.</p>
  459. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  460. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>3.<span
  461. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Microsoft
  462. Paint, a native WIA application.</p>
  463. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  464. tab-stops:list .5in'><![if !supportLists]><span style='mso-list:Ignore'>4.<span
  465. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Any
  466. TWAIN compliant application.</p>
  467. <h3>RESOURCES</h3>
  468. <p>WIA information: <a href="http://www.microsoft.com/hwdev/tech/wia">http://www.microsoft.com/hwdev/tech/wia</a></p>
  469. <p>DDK information: <a href="http://www.microsoft.com/ddk/">http://www.microsoft.com/ddk/</a></p>
  470. <h3>CODE TOUR</h3>
  471. <h3>File Manifest</h3>
  472. <pre>Files<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Description</pre><pre>------------ -------------------------------------------------------</pre><pre><span
  473. class=SpellE><span class=GramE>istiusd.cpp</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp; </span>Implements STI <span
  474. class=SpellE>minidriver</span> for backward compatibility</pre><pre><span
  475. class=SpellE><span class=GramE>iwiaminidrv.cpp</span></span> Implements COM WIA mini-driver functions</pre><pre><span
  476. class=SpellE><span class=GramE>makefile</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Used for building the driver--do not modify</pre><pre><span
  477. class=SpellE><span class=GramE>pch.h</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Precompiled header</pre><pre><span
  478. class=SpellE><span class=GramE>resource.h</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Header file for resources</pre><pre><span
  479. class=GramE>sources</span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Controls building of driver</pre><pre><span
  480. class=SpellE><span class=GramE>validate.cpp</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>Implements property validation helpers</pre><pre><span
  481. class=SpellE><span class=GramE>wiaprop.h</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Property header file</pre><pre><span
  482. class=SpellE><span class=GramE>wiascanr.cpp</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>Implements COM DLL functionality</pre><pre><span
  483. class=SpellE><span class=GramE>wiascanr.h</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Main DLL header file</pre><pre><span
  484. class=SpellE><span class=GramE>wiascanr.rc</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp; </span>Resource definitions</pre><pre><span
  485. class=SpellE><span class=GramE>wiascanr.rcv</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>Version resource definitions</pre><pre><span
  486. class=SpellE><span class=GramE>wiascanr.def</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>DLL exports file</pre><pre><span
  487. class=SpellE><span class=GramE>dlihook.cpp</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>delay load module</pre><pre><span
  488. class=GramE>wiascanr.htm</span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>This <span
  489. class=SpellE>readme</span> file</pre><pre><span class=SpellE><span class=GramE>wiascanr.inf</span></span><span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>Installation file for this driver</pre></div>
  490. </body>
  491. </html>