StorPortGetDataInBufferSystemAddress routine

Returns the system address for the input data buffer of a SCSI request block (SRB).

Syntax


ULONG StorPortGetDataInBufferSystemAddress(
  _In_   PVOID HwDeviceExtension,
  _In_   PSCSI_REQUEST_BLOCK Srb,
  _Out_  PVOID *SystemAddress
);

Parameters

HwDeviceExtension [in]

A pointer to the hardware device extension for the host bus adapter (HBA).

Srb [in]

The request block to containing the input data buffer.

SystemAddress [out]

A pointer to a an address value to receive the system address for the input data buffer in Srb.

Return value

A status value indicating the result of the notification. This can be one of these values:

Return codeDescription
STOR_STATUS_SUCCESS

A system address of the input data buffer for Srb was successfully returned.

STOR_STATUS_INVALID_PARAMETER

The pointer value in SystemAddress is NULL.

STOR_STATUS_INVALID_IRQL

The current IRQL is > DISPATCH_LEVEL.

STOR_STATUS_INSUFFICIENT_RESOURCES

A system address can not be assigned.

 

Requirements

Version

Available starting with Windows 8.

Header

Storport.h (include Storport.h)

Library

Storport.lib

IRQL

<= DISPATCH_LEVEL

See also

StorPortGetDataInBufferMdl
StorPortGetDataInBufferScatterGatherList

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.