SCSI Miniport IOCtl sample
This sample program consists of two parts. First, all the necessary source code is provided to compile a Win32 sample program that sends an IOCtl_SCSI_MINIPORT request with a custom ControlCode to the SCSI miniport driver. Second, a detailed description is provided that explains what changes the driver writer has to make to a SCSI miniport driver to allow it to properly recognize and handle the corresponding IOCtl request from the Win32 sample program.