Miniport Source Code


  Bus Hound


Miniport Code


  Engineer Docs


  Contact us


  About us


Are you developing a device driver for a storage adapter or virtual device?

We offer precision source code to miniport device driver samples to jump start your development putting you close to the finish line right from the start.

Each sample offers the following features:

  • Source code for a single, self contained device driver that needs no hardware backend to run and thus can be installed on any system
  • Creates a virtual disk drive that is assigned a driver letter and works exactly like a real disk drive
  • Supports disk drives larger than 2TB (long lba addressing)
  • SPC-5 and SBC-4 command set compliance
  • Passes ScsiComplianceTest in the Windows Logo Kit (WLK).
  • Supports dynamic load and unload, 32-bit and 64-bit Windows and Itanium
  • Can be easily installed programmatically or using the Add Hardware wizard
  • Sign or logo your driver
  • Verifier clean, lint and /w4 clean, signed, and tuned with absolute precision


Sample Name: StorFile and MiniFile StorRam and MiniRam StorRaid
Ideal for: virtual devices ramdisk or hardware adapter software RAID
Driver Type: StorFile is a virtual storport miniport
MiniFile is a virtual SCSI miniport
StorRam is a storport miniport
MiniRam is a SCSI miniport
virtual storport miniport
Example Device: file mounted as a disk drive ramdisk RAID0, RAID1
Windows Versions Supported: StorFile supports Windows Vista and later and Server 2003 and later. MiniFile supports all these plus Windows 2000 and XP StorRam supports Windows Vista and later, Server 2003 and later. MiniRam supports all these plus Windows 2000 and XP Windows 7 and later and Server 2008 and later
Key Features: Perfect for virtual disks, DVD drives, devices with a network backend, and other virtual devices.

Your code runs at PASSIVE_LEVEL making it ideal to call any WDK functions.

Requests can be completed with high performance outside of miniport context.

Exploits overlapped request queuing and fast, asynchronous back ends.

Kernel level code to read and write a disk file using asynchronous file I/O.

Does not claim hardware resources.

Multi-threaded design for optimum performance on multi-core.

StorFile uses the latest Microsoft VMiniport architecture found in Windows 7, 2008, Vista SP1, and a Windows 2003 hot fix. The code utilizes HwStorProcessServiceRequest, StorPortCompleteServiceIrp, and IOCTL_MINIPORT_PROCESS_SERVICE_IRP

StorFile supports WRITE LONG to create pseudo unrecovered errors.

StorRam uses the new storport architecture for achieving the highest possible performance. It can also be used to test storport functionality without needing the hardware.

MiniRam is the ideal choice for adapters without scatter gather such as PCMCIA. MiniRam can also be used to cover the entire range of Windows versions with a single source.

Ideal for IDE, SATA, SCSI, Fibre Channel, Sas, and others.

StorRam includes WMI. The first data block allows the device inquiry data to be changed dynamically. The second data block allows the miniport to send events asynchronously.

Giant memory allocation to allocate gigabytes of page locked memory far beyond the non-paged kernel memory limit.

The "hello world" of miniports; a simple skeleton ready to be filled in with your code. Learn how simple miniports should be.

Create stripes and mirrors using local disk drives.

Any number of RAIDs can be created and run at once.

Supports 4K sector sizes and any other size.

Selectable stripe sector interleave for high performance

Mirroring performs disk reconstruction. More disks can be dynamically added to a running array. Also contains massively efficient performance algorithms.

Includes a raid management command line tool.

Disk drives allocated to a RAID are not assigned drive letters by Windows.

Single device driver solution.

Enterprise quality, ready to ship software RAID solution.

Try it: Download MiniFile
Download StorFile
Download MiniRam
Download StorRam
Download StorRaid
Price (USD): $6000 $3000 $24,000


Which sample is right for me?

Just answer a few simple questions in our Miniport Selector Guide to find out which sample and why.

How long does it take to get?

The source is delivered electronically. You can download and start using the source code instantly after entering your order. Online ordering is safe and secure by credit card. We accept purchase orders.

What comes with each sample?

You get the carefully articulated and well documented source code which can be built using the Windows WDK, an INF file for installing the driver, a document which covers all you need to know to use the source, and a pre-built ready to run driver.

What does it look like in device manager?

Are there limits on the devices?

You may define any number of adapters, buses, devices and LUNs. The devices can be of any type (eg: scanner, printer, disk drive, optical).

What is the API like?

StorRam/MiniRam: Simply fill in the blanks in standard entry points that are called by storport/scsiport respectively. The documentation has a walkthrough to help cover each step.

StorFile/MiniFile: Simply fill in 3 functions and use one callback and your code is done. You are free to call any DDK function or other drivers.

// your below functions are called at PASSIVE_LEVEL. You can
// define context data for the adapter, device, and the requests

void  StopAdapter (ADAPTER_CONTEXT_DATA);

// the below callback is callable at DISPATCH_LEVEL or below
// which is convenient when you are posted by your back end.

void CompleteSrb(SCSI_REQUEST_BLOCK);

StorRaid: The device driver is a ready to go software RAID solution. It includes an IOCTL interface to manage RAIDs.

What technical support is provided?

Free support for 90 days and a full refund policy.

Are there any royalties or other costs?

No. You are free to modify the source and use it for as many products as you wish in any sales volume. There is also no time limit on how long you can use the source.

What is the license agreement?


Featured Customers: