Tape Class Device Driver

[This is preliminary documentation and subject to change.]

SUMMARY

This directory builds the Tape class driver for Microsoft® Windows® 2000. The class driver implements device-independent support, and exports support routines for device-specific tape miniclass drivers. It handles device-independent tape requests and calls the tape minidriver routines to process device-specific functions. Class driver splits transfer requests, when necessary, to fit the maximum transfer size for the underlying host bus adapter. It also provides device-independent, tape-specific error handling, and calls the tape miniclass driver's device-specific error handling routines.

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

BUILDING THE SAMPLE

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

To build the sample, run build from the sample directory. The compiled binaries will be placed in the appropriate platform directory (that is, i386 or Alpha). This will produce one binary: Tape.sys.

This driver has been tested on all 32-bit versions of Windows 2000. It compiles under Microsoft Visual® C++ 6.0 and compiles without error for 64-bit systems, but binaries have not been tested in 64-bit systems.

CODE TOUR

File Manifest

File		Description


Tape.htm	The documentation for these samples (this file)
Tape.c          Implements the tape class driver
Physlogic.c     This module contains functions used specifically by tape drivers.
Tape.def        The routines exported by tape class driver
Tape.rc         The resource file Tape.c source
Newtape.h       The header file for Tape.c 
Sources         DDK build instructions

Top of page

© 1999 Microsoft Corporation