StorPortReleaseMSISpinLock routine

The StorPortReleaseMSISpinLock routine releases a previously acquired message signaled interrupt (MSI) spin lock for the specified message.

Syntax


ULONG StorPortReleaseMSISpinLock(
  _In_  PVOID HwDeviceExtension,
  _In_  ULONG MessageID,
  _In_  ULONG OldIrql
);

Parameters

HwDeviceExtension [in]

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

MessageID [in]

The identifier of the message.

OldIrql [in]

The IRQL that the StorPortAcquireMSISpinLock routine returned when the miniport driver acquired the spin lock.

Return value

StorPortReleaseMSISpinLock returns one of the following status codes:

Return codeDescription
STOR_STATUS_NOT_IMPLEMENTED

This function is not implemented on the active operating system.

STOR_STATUS_SUCCESS

Indicates that the spin lock was released successfully.

STOR_STATUS_INVALID_PARAMETER

HwDeviceExtension was NULL.

 

Remarks

Miniport drivers are not required to acquire MSI spin locks for messages unless the InterruptSynchronizePerMessage member of the PORT_CONFIGURATION_INFORMATION structure indicates a synchronization mode of InterruptSynchronizationMode.

Requirements

Version

This routine is available starting with Windows Vista.

Header

Storport.h (include Storport.h)

IRQL

Any level

See also

StorPortAcquireMSISpinLock

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft