StorPortGetRequestInfo - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

ULONG StorPortGetRequestInfo(
  [in]  PVOID               HwDeviceExtension,
  [in]  PSCSI_REQUEST_BLOCK Srb,
  [out] PSTOR_REQUEST_INFO  RequestInfo
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportgetrequestinfo)

StorPortGetRequestInfo function

Description

The StorPortGetRequestInfo routine retrieves the IO request information associated with a SCSI request block (SRB) and returns it in a STOR_REQUEST_INFO structure.

Parameters

HwDeviceExtension [in]

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

Srb [in]

A pointer to the SRB to be queried.

RequestInfo [out]

A pointer to a caller-supplied STOR_REQUEST_INFO structure.

Return value

The StorPortGetRequestInfo routine returns one of these status codes:

Return code Description
STOR_STATUS_UNSUPPORTED_VERSION The version specified for STOR_REQUEST_INFO is invalid.
STOR_STATUS_SUCCESS The operation was successful.
STOR_STATUS_INVALID_PARAMETER Either Srb or RequestInfo is set to NULL.

Remarks

The caller of StorPortGetRequestInfo must set the Version member of RequestInfo to STOR_REQUEST_INFO_VER_1. Otherwise, function will return STOR_STATUS_UNSUPPORTED_VERSION.

See also

STOR_REQUEST_INFO