Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

StorPortNotification for RequestComplete routine

A miniport uses the RequestComplete notification to indicate that the specified SRB request is complete.

Syntax


VOID StorPortNotification(
  _In_  SCSI_NOTIFICATION_TYPE NotificationType,
  _In_  PVOID HwDeviceExtension,
  _In_  PSCSI_REQUEST_BLOCK Srb
);

Parameters

NotificationType [in]

Specifies the RequestComplete notification type. The RequestComplete notification uses the additional parameter of Srb.

HwDeviceExtension [in]

A pointer to the hardware device extension. This is a per HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.

Srb [in]

A pointer to the completed SCSI request block.

Return value

None

Remarks

After this notification is sent, the Storport driver owns the request. The miniport driver must not attempt to access the request in Srb, and it must not pass Srb to another routine.

For information about the effects of other notification types, see StorPortNotification.

Requirements

Header

Storport.h (include Storport.h)

Library

Storport.lib

See also

StorPortInitialize
StorPortNotification

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.