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.

215 lines
7.4 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. These samples will not run
  135. on Windows 2000, Windows 98, or Windows 95.</p>
  136. <h2>CONTENTS</h2>
  137. <p>The following lists the WIA components and samples in the DDK:</p>
  138. <h3>DOCUMENTATION</h3>
  139. <p>Documentation on WIA can be found in the Platform SDK and this DDK. The DDK
  140. contains information on developing drivers, and the Platform SDK contains
  141. information for application writers. Note that WIA properties are only documented
  142. in the Platform SDK under the topic Windows Image Acquisition/Wia
  143. References/WIA Application Programming Interface/Constants/WIA Property
  144. Constants.</p>
  145. <p>Each sample directory contains brief documentation on how to build and run
  146. that sample.</p>
  147. <h3>FLAT-BED SCANNER SAMPLE DRIVER</h3>
  148. <p>The Wiascanr directory contains a sample WIA minidriver for a flat-bed
  149. scanner with a document feeder. See the documentation file <a href="wiascanr\wiascanr.htm">Wiascanr.htm</a>
  150. in the Wiascanr directory for more information. (This sample replaces the old
  151. sample, Wiatscan.)</p>
  152. <h3>SCANNER MICRODRIVER SAMPLE DRIVER</h3>
  153. <p>The Microdrv directory contains a sample WIA microdriver for a scanner. A
  154. microdriver is much easier to develop than a full WIA minidriver, but
  155. provides only basic functionality. See the documentation file <a
  156. href="microdrv\testmcro.htm">Testmcro.htm</a> in the Microdrv directory for
  157. more information.</p>
  158. <h3>DIGITAL STILL CAMERA SAMPLE DRIVER</h3>
  159. <p>The Wiacam and Microcam directories contain a sample WIA driver for a
  160. digital still camera and the Extend directory contains a sample user interface
  161. extension. See the documentation file <a href="wiacam\Wiacam.htm">Wiacam.htm</a>
  162. in the Wiacam directory, <a href="Microcam\Fakecam.htm">Fakecam.htm</a> in the Microcam
  163. directory, and <a href="extend\extend.htm">Extend.htm</a> in the Extend
  164. directory for more information.</p>
  165. <h3>TOOLS</h3>
  166. <p>The Tools\Wia directory in the root directory of the DDK contains additional
  167. tools to help with WIA driver development. Documentation for the tools is
  168. contained in the DDK documentation.</p>
  169. <h2>USING THE SAMPLES</h2>
  170. <p>To quickly build and test all of the samples, run the &#8220;build&#8221; command in the
  171. src\wdm\wia directory using the Free or Checked DDK Build Environment. Then run
  172. the &#8220;copywia.cmd&#8221; batch file to gather all of the binaries into a subdirectory
  173. named &#8220;wiabins&#8221;. The camera and scanner samples can be installed in Windows Me
  174. or Windows XP by using the &#8220;Add Device&#8221; icon in the Scanners and Cameras control
  175. panel. Use the &#8220;Have Disk&#8221; button to point to the wiabins\drivers or
  176. wiabins\drivers folder. Wiatest.exe (from the DDK Tools\Wia directory), MS
  177. Paint, the Scanner and Camera Wizard or any TWAIN application (through the WIA
  178. TWAIN compatibility layer) can be used to test the samples.</p>
  179. <p>For more information on building and using the samples, see the individual
  180. documentation files referenced above.</p>
  181. <h2>RESOURCES</h2>
  182. <p>WIA information: <a href="http://www.microsoft.com/hwdev/tech/wia">http://www.microsoft.com/hwdev/tech/wia</a></p>
  183. <p>DDK information: <a href="http://www.microsoft.com/ddk/">http://www.microsoft.com/ddk/</a></p>
  184. </div>
  185. </body>
  186. </html>