A.4.2.2 Return from DriverEntry

When ScsiPortInitialize returns control, the DriverEntry routine propagates the return value of ScsiPortInitialize when DriverEntry itself returns control.

If a miniport driver calls ScsiPortInitialize more than once, its DriverEntry routine must propagate the lowest return value. A miniport driver writer cannot make any assumptions about the values returned by ScsiPortInitialize.