Changer Class Device Driver Samples

SUMMARY

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 libraries, changers, or robots, and allow automated mounting and dismounting of storage media into drives (disk, tape, optical, CD-ROM, DVD-ROM, et cetera).

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.

No INF file is needed to install this driver. This driver gets installed when a changer minidriver is installed.

BUILDING THE SAMPLE

The samples require that the Windows 2000 DDK be installed so that the required headers and libs are available.

To build the samples individually, run build from the sample directory. The compiled binaries will be placed in the appropriate platform directory (i.e., i386 or ia64 or Alpha).

TOOLS

The Changer Class test tools are part of our Hardware Compatibility Test suite and can be found on Microsoft’s Web site. 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.

CODE TOUR

File Manifest

File		Description


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.