ULONG DriverEntry(Argument1, Argument2) IN PVOID Argument1; IN PVOID Argument2;
An HBA-specific miniport driver must supply a routine explicitly named DriverEntry in order to be loaded.
Argument1
Points to a context with which the HBA miniport driver should call ScsiPortInitialize.
Argument2
Points to a second context with which the HBA miniport driver should call ScsiPortInitialize.
A miniport DriverEntry routine allocates memory on its stack and initializes the HW_INITIALIZATION_DATA structure.
All of the fields in the HW_INITIALIZATION_DATA structure must be initialized. DriverEntry then calls ScsiPortInitialize, and it returns the value returned by ScsiPortInitialize.
See also HW_INITIALIZATION_DATA, ScsiPortInitialize