StorPortReleaseMSISpinLock function (storport.h)
The StorPortReleaseMSISpinLock routine releases a previously acquired message signaled interrupt (MSI) spin lock for the specified message.
Syntax
ULONG StorPortReleaseMSISpinLock(
[in] PVOID HwDeviceExtension,
ULONG MessageId,
[in] ULONG OldIrql
);
Parameters
[in] HwDeviceExtension
A pointer to the hardware device extension for the host bus adapter (HBA).
MessageId
The identifier of the message.
[in] OldIrql
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.
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 |