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.
 
 
 
 
 
 

51 lines
2.7 KiB

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>Tape</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">Tape Class Device Driver</A> </H2>
<span style="color:#FF0000">[This is preliminary documentation and subject to change.]</span>
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
This directory builds the Tape class driver for Microsoft&#174; Windows&#174; 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.
<P>
No INF file is needed to install this driver. This driver is installed when a tape minidriver is installed. <P>
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
The sample requires that the Windows 2000 DDK be installed so that the required headers and libs are available.<P>
To build the sample, run <B>build</B> 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.<P>
This driver has been tested on all 32-bit versions of Windows 2000. It compiles under Microsoft Visual&#174; C++ 6.0 and compiles without error for 64-bit systems, but binaries have not been tested in 64-bit systems.
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
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
<P>
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>
<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>