StorPortGetDataInBufferMdl routine

Returns an MDL associated with the input data buffer of a SCSI request block (SRB).

Syntax


ULONG StorPortGetDataInBufferMdl(
  _In_   PVOID HwDeviceExtension,
  _In_   PSCSI_REQUEST_BLOCK Srb,
  _Out_  PVOID *Mdl
);

Parameters

HwDeviceExtension [in]

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

Srb [in]

The request block to containing the data described by the MDL pointed to by Mdl.

Mdl [out]

A pointer to an MDL address to receive the MDL for Srb.

Return value

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

Return codeDescription
STOR_STATUS_SUCCESS

The MDL for Srb was successfully returned.

STOR_STATUS_INVALID_PARAMETER

The pointer value in Mdl is NULL.

 

Requirements

Version

Available starting with Windows 8.

Header

Storport.h (include Storport.h)

Library

Storport.lib

IRQL

Any

See also

StorPortGetDataInBufferScatterGatherList
StorPortGetDataInBufferSystemAddress

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft