ULONG ScsiPortInitialize(Argument1, Argument2, HwInitializationData, HwContext)
IN PVOID Argument1;
IN PVOID Argument2;
IN struct _HW_INITIALIZATION_DATA *HwInitializationData;
IN PVOID HwContext;
Sets up system objects on behalf of the HBA miniport driver.
ScsiPortInitialize is called by the HBA miniport driver's initial entry point (DriverEntry) after the miniport has zeroed and set up the HW_INITIALIZATION_DATA. If the HBA miniport driver can support more than one HBA, on different types of I/O buses, such as ISA and MCA, then the HBA miniport driver should call this function for each supported interface type.
DriverEntry, HW_INITIALIZATION_DATA, HwFindAdapter