Bewerken

Delen via


StorPortGetMSIInfo function (storport.h)

The StorPortGetMSIInfo routine retrieves the message signaled interrupt (MSI) information for the specified message.

Syntax

ULONG StorPortGetMSIInfo(
  [in]  PVOID                          HwDeviceExtension,
  [in]  ULONG                          MessageId,
  [out] PMESSAGE_INTERRUPT_INFORMATION InterruptInfo
);

Parameters

[in] HwDeviceExtension

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

[in] MessageId

The identifier of the message for which the information is retrieved.

[out] InterruptInfo

A pointer to a miniport driver-provided MESSAGE_INTERRUPT_INFORMATION structure that receives the information for the message specified by the MessageId parameter.

Return value

StorPortGetMSIInfo returns one of the status codes:

Return code Description
STOR_STATUS_NOT_IMPLEMENTED
This function is not implemented on the active operating system.
STOR_STATUS_SUCCESS
Indicates that the MSI information was successfully received for the specified message.
STOR_STATUS_INVALID_PARAMETER
HwDeviceExtension passed was NULL.

-or-

The pointer in InterruptInfo for the structure to receive the information is NULL.

-or-

MessageId passed to the function is incorrect.

STOR_STATUS_INVALID_DEVICE_REQUEST
The HBA does not support MSI.

Requirements

Requirement Value
Minimum supported client This routine is available starting with Windows Vista.
Target Platform Universal
Header storport.h (include Storport.h)
IRQL Any level.

See also

MESSAGE_INTERRUPT_INFORMATION