PSS ID Number: 181279
Article Last Modified on 4/3/2002
The information in this article applies to:
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT 3.5
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT 3.51
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT 4.0
This article was previously published under Q181279
SUMMARY
The StartIO.exe sample driver demonstrates the functionality of CleanUp and Cancel routines in drivers that use the device object's internal queue for IRPs and StartIO routine.
MORE INFORMATION
The following file is available for download from the Microsoft Download Center:
Release Date: Apr-2-2002
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on secure servers that prevent any unauthorized changes to the file.
StartIO.exe contains the following files:
- The sample driver, which is meant to demonstrate the functionality of cleanup and cancel routines in drivers that use device object's internal queue for IRPs and StartIo routine.
- A simple test program.
This driver provides an example of a minimal driver. Neither it nor the sample programs are intended to be used in a production environment. Rather, they are intended for educative purposes and as a skeleton driver.
Building the Driver and Examples
To compile the device driver:
- Start the checked or free build environment MS-DOS box.
- Run Build. This invokes the Microsoft make routines, which produce log files called Build.wrn and Build.log. The .wrn file contains warnings that no components have been extracted from certain libraries, even if the build succeeds. If the build succeeds, the driver can be found in the %basedir%\lib\i386\free or %basedir%\lib\i386\checked directory.
- Copy the SYS file to %systemroot%\SYSTEM32\DRIVERS directory where all the Windows NT device drivers are stored.
To install the Sample driver, use the REGINI utility to create the entries listed in the .ini file.
Testing
- Restart your computer.
- Start the driver with "net start".
- Run Testapp.
Keywords: kbfile kbSample KB181279
Technology: kbAudDeveloper kbWin32DDKNT350 kbWin32DDKNT351 kbWin32DDKNT400 kbWin32DDKNTSearch kbWin32DDKSearch kbWin32sSearch kbWinDDKSearch