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.
 
 
 
 
 
 

55 lines
3.7 KiB

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>Changer</TITLE>
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">Changer Class Device Driver Samples</A> </H2>
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
The changer class device driver architecture is new to Windows 2000 and allows support for a new class of devices not natively supported in previous versions of Windows NT. These devices are referred to as <I>libraries</I>, <I>changers</I>, or <I>robots</I>, and allow automated mounting and dismounting of storage media into drives (disk, tape, optical, CD-ROM, DVD-ROM, et cetera).<P>
To date, the market has been driven by proprietary software support, so the devices vary widely. We have provided several driver samples that illustrate the various ways that these devices can be supported. <P>
No INF file is needed to install this driver. This driver gets installed when a changer minidriver is installed. <P>
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
The samples require that the Windows 2000 DDK be installed so that the required headers and libs are available.<P>
To build the samples individually, run <B>build</B> from the sample directory. The compiled binaries will be placed in the appropriate platform directory (i.e., i386 or ia64 or Alpha). <P>
<H3>TOOLS</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
The Changer Class test tools are part of our Hardware Compatibility Test suite and can be found on Microsoft’s <A HREF="www.microsoft.com">Web site</A>. These tests will verify that any developed driver supports the interfaces defined for this class driver architecture correctly. Note that the samples are based on production code but are not intended to replace the drivers in the Windows operating system.<P>
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Changer.htm The documentation for these samples (this file).
Dirs The file that lists the subdirectories to build.
Adicsc Directory for the ADIC Scalar changer driver sample.
Adicsc.c The actual sample source for the ADIC Scalar changer device.
Adicsc.h The header file for Adicsc.c source.
Adicsc.rc The resource file Adicsc.c source.
Ddsmc Directory for the DDS 4mm changer driver sample.
Ddsmc.c The actual sample source for the DDS 4mm changer device.
Ddsmc.h The header file for Ddsmc.csource.
Ddsmc.rc The resource file Ddsmc.csource.
Elmsmc Directory for the Elms changer driver sample.
Elmsmc.c The actual sample source for the Elms changer device.
Elmsmc.h The header file for Elmsmc.csource.
Elmsmc.rc The resource file Elmsmc.csource.
Exabyte Directory for the Exabyte changer driver sample.
Exabyte.c The actual sample source for the Exabyte changer device.
Exabyte.h The header file for Exabyte.c source.
Exabyte.rc The resource file Exabyte.c source.
Hpmc Directory for the Hewlett-Packard changer driver sample.
Hpmc.c The actual sample source for the HP changer device.
Hpmc.h The header file for Hpmc.c source.
Hpmc.rc The resource file Hpmc.c source.
Nsmmc Directory for the NSM changer driver sample.
Nsmmc.c The actual sample source for the NSM changer device.
Nsmmc.h The header file for Nsmmc.c source.
Nsmmc.rc The resource file Nsmmc.c source.
Sonymc Directory for the Sony changer driver sample.
Sonymc.c The actual sample source for the Sony changer device.
Sonymc.h The header file for Sonymc.c source.
Sonymc.rc The resource file Sonymc.c source.