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.

351 lines
19 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 9">
  10. <meta name=Originator content="Microsoft Word 9">
  11. <link rel=File-List href="./wiascroll_files/filelist.xml">
  12. <title>Wiatscan</title>
  13. <!--[if gte mso 9]><xml>
  14. <o:DocumentProperties>
  15. <o:Author>Dave Parsons</o:Author>
  16. <o:LastAuthor>Cooper Partin</o:LastAuthor>
  17. <o:Revision>2</o:Revision>
  18. <o:TotalTime>333</o:TotalTime>
  19. <o:Created>2000-09-21T16:10:00Z</o:Created>
  20. <o:LastSaved>2000-09-21T16:10:00Z</o:LastSaved>
  21. <o:Pages>2</o:Pages>
  22. <o:Words>553</o:Words>
  23. <o:Characters>3157</o:Characters>
  24. <o:Company>Microsoft Corp.</o:Company>
  25. <o:Lines>26</o:Lines>
  26. <o:Paragraphs>6</o:Paragraphs>
  27. <o:CharactersWithSpaces>3877</o:CharactersWithSpaces>
  28. <o:Version>9.2720</o:Version>
  29. </o:DocumentProperties>
  30. </xml><![endif]--><!--[if gte mso 9]><xml>
  31. <w:WordDocument>
  32. <w:HideSpellingErrors/>
  33. <w:HideGrammaticalErrors/>
  34. </w:WordDocument>
  35. </xml><![endif]-->
  36. <style>
  37. <!--
  38. /* Style Definitions */
  39. p.MsoNormal, li.MsoNormal, div.MsoNormal
  40. {mso-style-parent:"";
  41. margin:0in;
  42. margin-bottom:.0001pt;
  43. mso-pagination:widow-orphan;
  44. font-size:12.0pt;
  45. font-family:"Times New Roman";
  46. mso-fareast-font-family:"Times New Roman";
  47. color:black;}
  48. h1
  49. {margin-right:0in;
  50. mso-margin-top-alt:auto;
  51. mso-margin-bottom-alt:auto;
  52. margin-left:0in;
  53. mso-pagination:widow-orphan;
  54. mso-outline-level:1;
  55. font-size:24.0pt;
  56. font-family:"Times New Roman";
  57. color:black;
  58. mso-font-kerning:18.0pt;
  59. font-weight:bold;}
  60. h2
  61. {margin-right:0in;
  62. mso-margin-top-alt:auto;
  63. mso-margin-bottom-alt:auto;
  64. margin-left:0in;
  65. mso-pagination:widow-orphan;
  66. mso-outline-level:2;
  67. font-size:18.0pt;
  68. font-family:"Times New Roman";
  69. color:black;
  70. font-weight:bold;}
  71. h3
  72. {margin-right:0in;
  73. mso-margin-top-alt:auto;
  74. mso-margin-bottom-alt:auto;
  75. margin-left:0in;
  76. mso-pagination:widow-orphan;
  77. mso-outline-level:3;
  78. font-size:13.5pt;
  79. font-family:"Times New Roman";
  80. color:black;
  81. font-weight:bold;}
  82. a:link, span.MsoHyperlink
  83. {color:blue;
  84. text-decoration:underline;
  85. text-underline:single;}
  86. a:visited, span.MsoHyperlinkFollowed
  87. {color:blue;
  88. text-decoration:underline;
  89. text-underline:single;}
  90. p
  91. {margin-right:0in;
  92. mso-margin-top-alt:auto;
  93. mso-margin-bottom-alt:auto;
  94. margin-left:0in;
  95. mso-pagination:widow-orphan;
  96. font-size:12.0pt;
  97. font-family:"Times New Roman";
  98. mso-fareast-font-family:"Times New Roman";
  99. color:black;}
  100. pre
  101. {margin:0in;
  102. margin-bottom:.0001pt;
  103. mso-pagination:widow-orphan;
  104. 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;
  105. font-size:10.0pt;
  106. font-family:"Courier New";
  107. mso-fareast-font-family:"Courier New";
  108. color:black;}
  109. @page Section1
  110. {size:8.5in 11.0in;
  111. margin:1.0in 1.25in 1.0in 1.25in;
  112. mso-header-margin:.5in;
  113. mso-footer-margin:.5in;
  114. mso-paper-source:0;}
  115. div.Section1
  116. {page:Section1;}
  117. /* List Definitions */
  118. @list l0
  119. {mso-list-id:371000526;
  120. mso-list-type:hybrid;
  121. mso-list-template-ids:619977120 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  122. @list l1
  123. {mso-list-id:566766583;
  124. mso-list-type:hybrid;
  125. mso-list-template-ids:1578417540 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  126. @list l1:level2
  127. {mso-level-number-format:alpha-lower;
  128. mso-level-tab-stop:1.0in;
  129. mso-level-number-position:left;
  130. text-indent:-.25in;}
  131. @list l1:level3
  132. {mso-level-number-format:roman-lower;
  133. mso-level-tab-stop:1.5in;
  134. mso-level-number-position:right;
  135. text-indent:-9.0pt;}
  136. @list l2
  137. {mso-list-id:745304408;
  138. mso-list-type:hybrid;
  139. mso-list-template-ids:501628894 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
  140. @list l3
  141. {mso-list-id:1382750078;
  142. mso-list-type:hybrid;
  143. mso-list-template-ids:-98557440 -1634539084 1364493882 -555997176 1048594918 1907263124 1809221600 353402950 -1899568204 803906870;}
  144. ol
  145. {margin-bottom:0in;}
  146. ul
  147. {margin-bottom:0in;}
  148. -->
  149. </style>
  150. <!--[if gte mso 9]><xml>
  151. <o:shapedefaults v:ext="edit" spidmax="1027"/>
  152. </xml><![endif]--><!--[if gte mso 9]><xml>
  153. <o:shapelayout v:ext="edit">
  154. <o:idmap v:ext="edit" data="1"/>
  155. </o:shapelayout></xml><![endif]-->
  156. </head>
  157. <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'
  158. leftmargin=8>
  159. <div class=Section1>
  160. <h1><a name=MYSAMPLE>Sample WIA Scanner Driver</a> :</h1>
  161. <h1>(scroll fed document feeders with an infinite page length)</h1>
  162. <h1><span style='font-size:14.0pt;mso-bidi-font-size:24.0pt;color:red'>[This is
  163. preliminary documentation and subject to change.]<o:p></o:p></span></h1>
  164. <h2>SUMMARY</h2>
  165. <p>This sample shows how to write a Windows Image Acquisition (WIA) user-mode minidriver
  166. for a scanner. It simulates scanning by producing a test pattern image. This
  167. sample driver is an excellent starting point for your development, but your
  168. driver should access the scanner hardware through one of the kernel drivers
  169. provided with Windows, Usbscan.sys or Scsiscan.sys, if possible.</p>
  170. <p>At the time of this writing, WIA is only supported on Windows Me and
  171. Windows XP. This sample will not work on Windows 98 or Windows 2000.</p>
  172. <h3>SAMPLE FEATURES</h3>
  173. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2;
  174. tab-stops:list .5in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  175. </span><![endif]>Automatic document feeder capabilities</p>
  176. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2;
  177. tab-stops:list 1.0in'><![if !supportLists]>a.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  178. </span><![endif]>Configure the feeder using the ADF.WIA config file.</p>
  179. <p style='margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt:-9.0pt;
  180. mso-list:l1 level3 lfo2;tab-stops:list 1.5in'><![if !supportLists]><span
  181. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  182. </span>i.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  183. </span><![endif]>Load the feeder with a specified number of pages</p>
  184. <p style='margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt:-9.0pt;
  185. mso-list:l1 level3 lfo2;tab-stops:list 1.5in'><![if !supportLists]><span
  186. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  187. </span>ii.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  188. </span><![endif]>Set errors on the feeder, to test error returns.</p>
  189. <p style='margin-left:2.0in;text-indent:-.25in;mso-list:l1 level4 lfo2;
  190. tab-stops:list 2.0in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  191. </span><![endif]>Paper Jams (keyword &#8220;jam&#8221;)</p>
  192. <p style='margin-left:2.0in;text-indent:-.25in;mso-list:l1 level4 lfo2;
  193. tab-stops:list 2.0in'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  194. </span><![endif]>Paper Empty (keyword &#8220;empty&#8221;)</p>
  195. <p style='margin-left:2.0in;text-indent:-.25in;mso-list:l1 level4 lfo2;
  196. tab-stops:list 2.0in'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  197. </span><![endif]>General Errors (keyword &#8220;general&#8221;)</p>
  198. <p style='margin-left:2.0in;text-indent:-.25in;mso-list:l1 level4 lfo2;
  199. tab-stops:list 2.0in'><![if !supportLists]>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  200. </span><![endif]>Device offline (keyword &#8220;offline&#8221;)</p>
  201. <p style='margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt:-9.0pt;
  202. mso-list:l1 level3 lfo2;tab-stops:list 1.5in'><![if !supportLists]><span
  203. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  204. </span>iii.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  205. </span><![endif]>Example: (Error=jam) This will produce an ADF paper JAM..</p>
  206. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2;
  207. tab-stops:list .5in'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  208. </span><![endif]>Scan, Copy, and Fax button support. (both interrupt events,
  209. and polled events)</p>
  210. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2;
  211. tab-stops:list 1.0in'><![if !supportLists]>a.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  212. </span><![endif]>Alter and save the .WIA button files to trigger events in the
  213. driver</p>
  214. <p style='margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt:-9.0pt;
  215. mso-list:l1 level3 lfo2;tab-stops:list 1.5in'><![if !supportLists]><span
  216. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  217. </span>i.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  218. </span><![endif]>SCANBUTTON.WIA, for Scan button presses</p>
  219. <p style='margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt:-9.0pt;
  220. mso-list:l1 level3 lfo2;tab-stops:list 1.5in'><![if !supportLists]><span
  221. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  222. </span>ii.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  223. </span><![endif]>COPYBUTTON.WIA, for Copy button presses</p>
  224. <p style='margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt:-9.0pt;
  225. mso-list:l1 level3 lfo2;tab-stops:list 1.5in'><![if !supportLists]><span
  226. style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  227. </span>iii.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  228. </span><![endif]>FAXBUTTON.WIA, for Fax button presses</p>
  229. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2;
  230. tab-stops:list .5in'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  231. </span><![endif]>This sample demonstrates how to handle a transfer of an unknown
  232. size. </p>
  233. <p style='margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2;
  234. tab-stops:list 1.0in'><![if !supportLists]>a.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  235. </span><![endif]>Random infinite page lengths will be sent from the fake
  236. scanner device to simulate different page lengths that a user could insert into
  237. the document feeder.</p>
  238. <h3>BUILDING THE SAMPLE</h3>
  239. <p>To build the sample follow these steps:</p>
  240. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo4;
  241. tab-stops:list .5in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  242. </span><![endif]>In the Start menu, select<span style="mso-spacerun:
  243. yes">&nbsp; </span>&quot;Free Build Environment&quot; or &quot;Checked Build
  244. Environment&quot; under &quot;Windows DDK&quot; to open a command window and
  245. set basic environment variables needed to build drivers. </p>
  246. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo4;
  247. tab-stops:list .5in'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  248. </span><![endif]>Change to the directory containing the sample driver source
  249. code, src\preview\wdm\wia\wiascroll.</p>
  250. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo4;
  251. tab-stops:list .5in'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  252. </span><![endif]>Execute the &quot;build&quot; command. After the build
  253. completes, a driver named wiascroll.dll will be located in a subdirectory.</p>
  254. <h3>USING THE SAMPLE<o:p></o:p></h3>
  255. <p><! ---------------- Snip Snip ---------------- >To use the driver, first
  256. install it following these steps: </p>
  257. <ol start=1 type=1>
  258. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  259. mso-list:l3 level1 lfo7;tab-stops:list .5in'>Copy wiascroll.dll from the appropriate
  260. object subdirectory under wiascroll to a new, empty directory.</li>
  261. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  262. mso-list:l3 level1 lfo7;tab-stops:list .5in'>Copy wiascroll.inf<span
  263. style="mso-spacerun: yes">&nbsp; </span>to the same directory.</li>
  264. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  265. mso-list:l3 level1 lfo7;tab-stops:list .5in'>In Windows Me or Windows XP,
  266. open the &#8220;New Device&#8221; icon located in the Scanners and Cameras control
  267. panel.</li>
  268. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  269. mso-list:l3 level1 lfo7;tab-stops:list .5in'>Click the &#8220;Have Disk&#8221; button
  270. and enter the name of the folder created in step 1.</li>
  271. <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  272. mso-list:l3 level1 lfo7;tab-stops:list .5in'>Click OK, Next, or Finish
  273. until the wizard is finished.</li>
  274. </ol>
  275. <p>Use one of these options to test this driver:</p>
  276. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  277. tab-stops:list .5in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  278. </span><![endif]>The Scanners and Cameras Wizard accessible from the Start menu
  279. or by double-clicking the scanner in Explorer.</p>
  280. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  281. tab-stops:list .5in'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  282. </span><![endif]>The Wiatest application provided in this DDK tools directory.</p>
  283. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  284. tab-stops:list .5in'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  285. </span><![endif]>Microsoft Paint, a native WIA application.</p>
  286. <p style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo9;
  287. tab-stops:list .5in'><![if !supportLists]>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  288. </span><![endif]>Any TWAIN compliant application.</p>
  289. <h3>RESOURCES</h3>
  290. <p>WIA information: <a href="http://www.microsoft.com/hwdev/wia">http://www.microsoft.com/hwdev/wia</a></p>
  291. <p>DDK information: <a href="http://www.microsoft.com/ddk/">http://www.microsoft.com/ddk/</a></p>
  292. <h3>CODE TOUR</h3>
  293. <h3>File Manifest</h3>
  294. <pre>Files<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Description</pre><pre>------------ -------------------------------------------------------</pre><pre>istiusd.cpp<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>Implements STI minidriver for backward compatibility</pre><pre>iwiaminidrv.cpp Implements COM WIA mini-driver functions</pre><pre>makefile<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Used for building the driver--do not modify</pre><pre>pch.h<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>precompiled header</pre><pre>resource.h<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Header file for resources</pre><pre>sources<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Controls building of driver</pre><pre>validate.cpp<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Implements property handling</pre><pre>wiaprop.h<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Property header file</pre><pre>wiascroll.cpp<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>Implements COM DLL functionality</pre><pre>wiascroll.h<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>Main header file</pre><pre>wiascroll.rc<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Resource definitions</pre><pre>wiascroll.rcv<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>Version resource definitions</pre><pre>wiascroll.def<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>Linker command file</pre><pre>wiascroll.htm<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>This readme file</pre><pre>wiascroll.inf<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>Installation file for this driver</pre>
  295. <h3 style='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'>Programming
  296. Tour</h3>
  297. <p style='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'>Will
  298. be added in a future revision.<span style='font-family:"Courier New"'><o:p></o:p></span></p>
  299. </div>
  300. </body>
  301. </html>