Article ID: 191813 - Last Review: March 7, 2005 - Revision: 2.3 SAMPLE: IRPQ.exe Shows How to Manage IRP Queuing WinNT DriverThis article was previously published under Q191813 On This PageSUMMARY
IRPQ.exe is a sample that demonstrates one way you can set up your Windows
NT kernel-mode driver to manage its own IRP queues.
MORE INFORMATIONThe following file is available for download from the Microsoft Download Center: Irpq.exe
(http://download.microsoft.com/download/winddk/sample4/1/nt4/en-us/irpq.exe)
Release Date: Aug-27-1998For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
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 security-enhanced servers that help to prevent any unauthorized changes to the file.
IRPQ.exe is composed of four parts:
File Description
----------------------------------------------------------------------
.\sys A full-duplex asynchronous driver with driver managed Irp
queues and cancelable I/O.
.\exe A multithreaded asynchronous test application that uses
APCs.
.\filter A transparent passthrough filter driver.
.\kd A WinDbg kernel debugger extension.
File Description
------------------------------------------------------------------------
Dirs
Irpq.htm Documentation for the sample (a copy of this text).
Common.h Common header file.
Exe\Makefile
Exe\Sources Generic file for building the application.
Exe\Parse.c Command line parsing code.
Exe\Stolen.h Linked List manipulation macros borrowed from NTDDK.h
for the application's use.
Exe\Testirpq.c Main test application code.
Exe\Testirpq.h Application main header file.
Filter\Makefile
Filter\Sources Generic file for building the driver.
Filter\Filter.c Main filter driver code.
Filter\Filter.h Main filter driver header file.
Filter\Irpqf.ini Install file for the filter driver.
Filter\Irpqf.rc Resource file.
Kd\Makefile
Kd\Sources Generic file for building the WinDbg kernel debugger
extension.
Kd\Help.c Help display code for the extension.
Kd\IRPQkd.c Extension specific code.
Kd\IRPQkd.def Extension export definitions.
Kd\IRPQkd.h Main header file.
Kd\IRPQkd.rc Extension resource file.
Kd\Kdexts.c Generic extension routines.
Sys\Makefile
Sys\Sources Generic file for building the driver.
Sys\Debug.h Driver debug definitions.
Sys\Driver.c Main driver file.
Sys\Ioctl.c IOCTL path.
Sys\Irpq.c IRP queuing code.
Sys\Irpq.h Main driver header.
Sys\Irpq.ini Install file for the driver.
Sys\Irpq.rc Resource file.
Sys\Read.c Read path.
Sys\Write.c Write path.
Step-by-Step Procedures: Building the Sample
| Article Translations
|

Back to the top
