StartIO.exe Demonstrates Cancel and Cleanup Routines
ID: Q181279
|
The information in this article applies to:
-
Microsoft Win32 Device Driver Kit (DDK) for Windows NT, versions 3.5, 3.51, 4.0
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
Software Library:
StartIO.exe
Release Date: Apr-1-1999
For more information about downloading files from the Microsoft Software
Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
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.
Additional query words:
Keywords : kbfile kbsample NTDDKKMode
Version : winnt:3.5,3.51,4.0
Platform : winnt
Issue type :
Last Reviewed: April 23, 1999