Setting Port Configuration Information with Storport

When the Microsoft Windows PnP manager discovers an adapter managed by Storport, it notifies the Storport driver to start it. Next, Storport calls the miniport driver's HwStorFindAdapter routine, passing in a PORT_CONFIGURATION_INFORMATION (STORPORT) structure.

Because all adapters managed by Storport are PnP devices, HwStorFindAdapter does not physically search for the adapter. Instead, this miniport driver routine attempts to initialize the adapter using the parameters specified in the PORT_CONFIGURATION_INFORMATION structure, and completes the initialization of PORT_CONFIGURATION_INFORMATION, storing those values in PORT_CONFIGURATION_INFORMATION that Storport might require in order to initialize the device extension.

For more information, see PORT_CONFIGURATION_INFORMATION (SCSI) and PORT_CONFIGURATION_INFORMATION (STORPORT).