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

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./wia_files/filelist.xml">
<title>WIA</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:LastAuthor>Dave Parsons</o:LastAuthor>
<o:Revision>4</o:Revision>
<o:TotalTime>399</o:TotalTime>
<o:Created>2000-11-09T18:33:00Z</o:Created>
<o:LastSaved>2000-12-15T18:47:00Z</o:LastSaved>
<o:Pages>2</o:Pages>
<o:Words>513</o:Words>
<o:Characters>2929</o:Characters>
<o:Company>Microsoft Corp.</o:Company>
<o:Lines>24</o:Lines>
<o:Paragraphs>5</o:Paragraphs>
<o:CharactersWithSpaces>3597</o:CharactersWithSpaces>
<o:Version>9.3821</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:HideSpellingErrors/>
<w:HideGrammaticalErrors/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:black;}
h1
{margin-right:0in;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:1;
font-size:24.0pt;
font-family:"Times New Roman";
color:black;
mso-font-kerning:18.0pt;
font-weight:bold;}
h2
{margin-right:0in;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:2;
font-size:18.0pt;
font-family:"Times New Roman";
color:black;
font-weight:bold;}
h3
{margin-right:0in;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:3;
font-size:13.5pt;
font-family:"Times New Roman";
color:black;
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
p
{margin-right:0in;
mso-margin-top-alt:auto;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:black;}
pre
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
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;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Courier New";
color:black;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'
leftmargin=8>
<div class=Section1>
<h1>Windows Image Acquisition</h1>
<h1><span style='font-size:14.0pt;mso-bidi-font-size:24.0pt;color:red'>[This is
preliminary documentation and subject to change.]<o:p></o:p></span></h1>
<h2>SUMMARY</h2>
<p>This directory contains samples and test tools for Windows Image Acquisition
(WIA), a driver architecture and user interface for acquiring images from still
image devices such as scanners and digital still cameras. This architecture is
currently only supported by Windows Me and Windows XP. These samples will not run
on Windows 2000, Windows 98, or Windows 95.</p>
<h2>CONTENTS</h2>
<p>The following lists the WIA components and samples in the DDK:</p>
<h3>DOCUMENTATION</h3>
<p>Documentation on WIA can be found in the Platform SDK and this DDK. The DDK
contains information on developing drivers, and the Platform SDK contains
information for application writers. Note that WIA properties are only documented
in the Platform SDK under the topic Windows Image Acquisition/Wia
References/WIA Application Programming Interface/Constants/WIA Property
Constants.</p>
<p>Each sample directory contains brief documentation on how to build and run
that sample.</p>
<h3>FLAT-BED SCANNER SAMPLE DRIVER</h3>
<p>The Wiascanr directory contains a sample WIA minidriver for a flat-bed
scanner with a document feeder. See the documentation file <a href="wiascanr\wiascanr.htm">Wiascanr.htm</a>
in the Wiascanr directory for more information. (This sample replaces the old
sample, Wiatscan.)</p>
<h3>SCANNER MICRODRIVER SAMPLE DRIVER</h3>
<p>The Microdrv directory contains a sample WIA microdriver for a scanner. A
microdriver is much easier to develop than a full WIA minidriver, but
provides only basic functionality. See the documentation file <a
href="microdrv\testmcro.htm">Testmcro.htm</a> in the Microdrv directory for
more information.</p>
<h3>DIGITAL STILL CAMERA SAMPLE DRIVER</h3>
<p>The Wiacam and Microcam directories contain a sample WIA driver for a
digital still camera and the Extend directory contains a sample user interface
extension. See the documentation file <a href="wiacam\Wiacam.htm">Wiacam.htm</a>
in the Wiacam directory, <a href="Microcam\Fakecam.htm">Fakecam.htm</a> in the Microcam
directory, and <a href="extend\extend.htm">Extend.htm</a> in the Extend
directory for more information.</p>
<h3>TOOLS</h3>
<p>The Tools\Wia directory in the root directory of the DDK contains additional
tools to help with WIA driver development. Documentation for the tools is
contained in the DDK documentation.</p>
<h2>USING THE SAMPLES</h2>
<p>To quickly build and test all of the samples, run the &#8220;build&#8221; command in the
src\wdm\wia directory using the Free or Checked DDK Build Environment. Then run
the &#8220;copywia.cmd&#8221; batch file to gather all of the binaries into a subdirectory
named &#8220;wiabins&#8221;. The camera and scanner samples can be installed in Windows Me
or Windows XP by using the &#8220;Add Device&#8221; icon in the Scanners and Cameras control
panel. Use the &#8220;Have Disk&#8221; button to point to the wiabins\drivers folder.
Wiatest.exe (from the DDK Tools\Wia directory), MS
Paint, the Scanner and Camera Wizard or any TWAIN application (through the WIA
TWAIN compatibility layer) can be used to test the samples.</p>
<p>For more information on building and using the samples, see the individual
documentation files referenced above.</p>
<h2>RESOURCES</h2>
<p>WIA information: <a href="http://www.microsoft.com/hwdev/tech/wia">http://www.microsoft.com/hwdev/tech/wia</a></p>
<p>DDK information: <a href="http://www.microsoft.com/ddk/">http://www.microsoft.com/ddk/</a></p>
</div>
</body>
</html>