Storport Driver Virtual Miniport Routines

Storport virtual miniport (VMiniport) drivers and Storport physical miniport drivers (that is, one that uses a physical host bus adapter) are equivalent in many respects. The main difference between the two is that the VMiniport driver controls no hardware. Consequently, the Storport miniport driver does not obtain a DMA object (therefore no interrupt object, no interrupt lock, and no non-cached storage). Additionally, a virtual miniport driver can employ all APIs that are documented in the WDK to complete its work. Conversely, a physical miniport driver uses only Storport APIs. A virtual miniport driver can use other APIs such as those that the kernel provides, as long as the virtual miniport driver observes restrictions applying to WDM drivers.

For more information about Storport support routines, see Storport Driver Support Routines. For more information about the Storport driver itself, see Storage Port Drivers.

A Storport virtual miniport driver must implement most if not all of the routines described in this section:

HwStorCleanupTracing

HwStorCompleteServiceIrp

HwStorFreeAdapterResources

HwStorInitializeTracing

HwStorProcessServiceRequest

VirtualHwStorFindAdapter

 

 

Send comments about this topic to Microsoft

Show: