GPIO_CLX_ReleaseInterruptLock function (gpioclx.h)

The GPIO_CLX_ReleaseInterruptLock method releases an interrupt lock on the specified bank.

Syntax

void GPIO_CLX_ReleaseInterruptLock(
  [in] PVOID   Context,
  [in] BANK_ID BankId
);

Parameters

[in] Context

A pointer to the GPIO controller driver's device context. The GPIO framework extension (GpioClx) passes this pointer value as a parameter to the callback functions that are implemented by the GPIO controller driver.

[in] BankId

The identifier for this bank of GPIO pins. If N is the number of banks in the GPIO controller, BankId is an integer in the range 0 to N–1.

Return value

None

Remarks

This method releases the interrupt lock that the caller acquired in a previous call to the GPIO_CLX_AcquireInterruptLock method.

If the previous call to the GPIO_CLX_AcquireInterruptLock method raised the calling thread's IRQL, GPIO_CLX_ReleaseInterruptLock restores this IRQL to its original level.

If the Context parameter is NULL or points to an invalid GPIO device context, this method causes a bug check in debug builds of GpioClx.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Target Platform Universal
Header gpioclx.h
Library Msgpioclxstub.lib
IRQL See Remarks.

See also

GPIO_CLX_AcquireInterruptLock