Source code of Windows XP (NT5)
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.

216 lines
7.2 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="./wia_files/filelist.xml">
  12. <title>WIA</title>
  13. <!--[if gte mso 9]><xml>
  14. <o:DocumentProperties>
  15. <o:LastAuthor>Dave Parsons</o:LastAuthor>
  16. <o:Revision>4</o:Revision>
  17. <o:TotalTime>399</o:TotalTime>
  18. <o:Created>2000-11-09T18:33:00Z</o:Created>
  19. <o:LastSaved>2000-12-15T18:47:00Z</o:LastSaved>
  20. <o:Pages>2</o:Pages>
  21. <o:Words>513</o:Words>
  22. <o:Characters>2929</o:Characters>
  23. <o:Company>Microsoft Corp.</o:Company>
  24. <o:Lines>24</o:Lines>
  25. <o:Paragraphs>5</o:Paragraphs>
  26. <o:CharactersWithSpaces>3597</o:CharactersWithSpaces>
  27. <o:Version>9.3821</o:Version>
  28. </o:DocumentProperties>
  29. </xml><![endif]--><!--[if gte mso 9]><xml>
  30. <w:WordDocument>
  31. <w:HideSpellingErrors/>
  32. <w:HideGrammaticalErrors/>
  33. </w:WordDocument>
  34. </xml><![endif]-->
  35. <style>
  36. <!--
  37. /* Style Definitions */
  38. p.MsoNormal, li.MsoNormal, div.MsoNormal
  39. {mso-style-parent:"";
  40. margin:0in;
  41. margin-bottom:.0001pt;
  42. mso-pagination:widow-orphan;
  43. font-size:12.0pt;
  44. font-family:"Times New Roman";
  45. mso-fareast-font-family:"Times New Roman";
  46. color:black;}
  47. h1
  48. {margin-right:0in;
  49. mso-margin-top-alt:auto;
  50. mso-margin-bottom-alt:auto;
  51. margin-left:0in;
  52. mso-pagination:widow-orphan;
  53. mso-outline-level:1;
  54. font-size:24.0pt;
  55. font-family:"Times New Roman";
  56. color:black;
  57. mso-font-kerning:18.0pt;
  58. font-weight:bold;}
  59. h2
  60. {margin-right:0in;
  61. mso-margin-top-alt:auto;
  62. mso-margin-bottom-alt:auto;
  63. margin-left:0in;
  64. mso-pagination:widow-orphan;
  65. mso-outline-level:2;
  66. font-size:18.0pt;
  67. font-family:"Times New Roman";
  68. color:black;
  69. font-weight:bold;}
  70. h3
  71. {margin-right:0in;
  72. mso-margin-top-alt:auto;
  73. mso-margin-bottom-alt:auto;
  74. margin-left:0in;
  75. mso-pagination:widow-orphan;
  76. mso-outline-level:3;
  77. font-size:13.5pt;
  78. font-family:"Times New Roman";
  79. color:black;
  80. font-weight:bold;}
  81. a:link, span.MsoHyperlink
  82. {color:blue;
  83. text-decoration:underline;
  84. text-underline:single;}
  85. a:visited, span.MsoHyperlinkFollowed
  86. {color:blue;
  87. text-decoration:underline;
  88. text-underline:single;}
  89. p
  90. {margin-right:0in;
  91. mso-margin-top-alt:auto;
  92. mso-margin-bottom-alt:auto;
  93. margin-left:0in;
  94. mso-pagination:widow-orphan;
  95. font-size:12.0pt;
  96. font-family:"Times New Roman";
  97. mso-fareast-font-family:"Times New Roman";
  98. color:black;}
  99. pre
  100. {margin:0in;
  101. margin-bottom:.0001pt;
  102. mso-pagination:widow-orphan;
  103. 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;
  104. font-size:10.0pt;
  105. font-family:"Courier New";
  106. mso-fareast-font-family:"Courier New";
  107. color:black;}
  108. @page Section1
  109. {size:8.5in 11.0in;
  110. margin:1.0in 1.25in 1.0in 1.25in;
  111. mso-header-margin:.5in;
  112. mso-footer-margin:.5in;
  113. mso-paper-source:0;}
  114. div.Section1
  115. {page:Section1;}
  116. -->
  117. </style>
  118. <!--[if gte mso 9]><xml>
  119. <o:shapedefaults v:ext="edit" spidmax="1027"/>
  120. </xml><![endif]--><!--[if gte mso 9]><xml>
  121. <o:shapelayout v:ext="edit">
  122. <o:idmap v:ext="edit" data="1"/>
  123. </o:shapelayout></xml><![endif]-->
  124. </head>
  125. <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'
  126. leftmargin=8>
  127. <div class=Section1>
  128. <h1>Windows Image Acquisition</h1>
  129. <h1><span style='font-size:14.0pt;mso-bidi-font-size:24.0pt;color:red'>[This is
  130. preliminary documentation and subject to change.]<o:p></o:p></span></h1>
  131. <h2>SUMMARY</h2>
  132. <p>This directory contains samples and test tools for Windows Image Acquisition
  133. (WIA), a driver architecture and user interface for acquiring images from still
  134. image devices such as scanners and digital still cameras. This architecture is
  135. currently only supported by Windows Me and Windows XP. These samples will not run
  136. on Windows 2000, Windows 98, or Windows 95.</p>
  137. <h2>CONTENTS</h2>
  138. <p>The following lists the WIA components and samples in the DDK:</p>
  139. <h3>DOCUMENTATION</h3>
  140. <p>Documentation on WIA can be found in the Platform SDK and this DDK. The DDK
  141. contains information on developing drivers, and the Platform SDK contains
  142. information for application writers. Note that WIA properties are only documented
  143. in the Platform SDK under the topic Windows Image Acquisition/Wia
  144. References/WIA Application Programming Interface/Constants/WIA Property
  145. Constants.</p>
  146. <p>Each sample directory contains brief documentation on how to build and run
  147. that sample.</p>
  148. <h3>FLAT-BED SCANNER SAMPLE DRIVER</h3>
  149. <p>The Wiascanr directory contains a sample WIA minidriver for a flat-bed
  150. scanner with a document feeder. See the documentation file <a href="wiascanr\wiascanr.htm">Wiascanr.htm</a>
  151. in the Wiascanr directory for more information. (This sample replaces the old
  152. sample, Wiatscan.)</p>
  153. <h3>SCANNER MICRODRIVER SAMPLE DRIVER</h3>
  154. <p>The Microdrv directory contains a sample WIA microdriver for a scanner. A
  155. microdriver is much easier to develop than a full WIA minidriver, but
  156. provides only basic functionality. See the documentation file <a
  157. href="microdrv\testmcro.htm">Testmcro.htm</a> in the Microdrv directory for
  158. more information.</p>
  159. <h3>DIGITAL STILL CAMERA SAMPLE DRIVER</h3>
  160. <p>The Wiacam and Microcam directories contain a sample WIA driver for a
  161. digital still camera and the Extend directory contains a sample user interface
  162. extension. See the documentation file <a href="wiacam\Wiacam.htm">Wiacam.htm</a>
  163. in the Wiacam directory, <a href="Microcam\Fakecam.htm">Fakecam.htm</a> in the Microcam
  164. directory, and <a href="extend\extend.htm">Extend.htm</a> in the Extend
  165. directory for more information.</p>
  166. <h3>TOOLS</h3>
  167. <p>The Tools\Wia directory in the root directory of the DDK contains additional
  168. tools to help with WIA driver development. Documentation for the tools is
  169. contained in the DDK documentation.</p>
  170. <h2>USING THE SAMPLES</h2>
  171. <p>To quickly build and test all of the samples, run the &#8220;build&#8221; command in the
  172. src\wdm\wia directory using the Free or Checked DDK Build Environment. Then run
  173. the &#8220;copywia.cmd&#8221; batch file to gather all of the binaries into a subdirectory
  174. named &#8220;wiabins&#8221;. The camera and scanner samples can be installed in Windows Me
  175. or Windows XP by using the &#8220;Add Device&#8221; icon in the Scanners and Cameras control
  176. panel. Use the &#8220;Have Disk&#8221; button to point to the wiabins\drivers folder.
  177. Wiatest.exe (from the DDK Tools\Wia directory), MS
  178. Paint, the Scanner and Camera Wizard or any TWAIN application (through the WIA
  179. TWAIN compatibility layer) can be used to test the samples.</p>
  180. <p>For more information on building and using the samples, see the individual
  181. documentation files referenced above.</p>
  182. <h2>RESOURCES</h2>
  183. <p>WIA information: <a href="http://www.microsoft.com/hwdev/tech/wia">http://www.microsoft.com/hwdev/tech/wia</a></p>
  184. <p>DDK information: <a href="http://www.microsoft.com/ddk/">http://www.microsoft.com/ddk/</a></p>
  185. </div>
  186. </body>
  187. </html>