StorPortReleaseMSISpinLock - NtDoc

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

ULONG StorPortReleaseMSISpinLock(
  [in] PVOID HwDeviceExtension,
       ULONG MessageId,
  [in] ULONG OldIrql
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

StorPortReleaseMSISpinLock function

Description

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

Parameters

HwDeviceExtension [in]

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

MessageId

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 code Description
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.

See also

StorPortAcquireMSISpinLock