PPO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK - NtDoc

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

PPO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK PpoEnumerateInterruptSourceCallback;

BOOLEAN PpoEnumerateInterruptSourceCallback(
  [in] PVOID CallbackContext,
  [in] PPEP_UNMASKED_INTERRUPT_INFORMATION InterruptInformation
)
{...}
View the official Windows Driver Kit DDI reference
// pepfx.h

PPO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK PpoEnumerateInterruptSourceCallback;

BOOLEAN PpoEnumerateInterruptSourceCallback(
  [in] PVOID CallbackContext,
  [in] PPEP_UNMASKED_INTERRUPT_INFORMATION InterruptInformation
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-pep_x-ppo_enumerate_interrupt_source_callback)

PPO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK callback (pep_x.h)

Description

An EnumerateInterruptSource callback routine supplies a platform extension plug-in (PEP) with information about an interrupt source.

Parameters

CallbackContext [in]

A pointer to a callback context. The PEP specified this pointer value as a parameter in the EnumerateUnmaskedInterrupts call that initiated the enumeration of interrupt sources.

InterruptInformation [in]

A pointer to a PEP_UNMASKED_INTERRUPT_INFORMATION structure that contains information about the interrupt source.

Return value

If the EnumerateInterruptSource callback routine returns TRUE, EnumerateUnmaskedInterrupts will continue to call the EnumerateInterruptSource callback routine while more interrupts are available to be enumerated. If the EnumerateInterruptSource callback routine returns FALSE, EnumerateUnmaskedInterrupts returns without enumerating any more interrupts.

Prototype

PO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK EnumerateInterruptSource;

BOOLEAN EnumerateInterruptSource(
  _In_ PVOID                               CallbackContext,
  _In_ PPEP_UNMASKED_INTERRUPT_INFORMATION InterruptInformation
)
{ ... }

Remarks

This callback routine is implemented by a PEP, and is called by the Windows power management framework (PoFx). The Callback parameter of the EnumerateUnmaskedInterrupts routine is a pointer to an EnumerateInterruptSource callback routine.

After a PEP calls EnumerateUnmaskedInterrupts to enumerate the unmasked interrupt sources, PoFx calls the PEP's EnumerateInterruptSource callback routine once for each unmasked interrupt source. EnumerateUnmaskedInterrupts returns only after the last call to the EnumerateInterruptSource callback routine completes.

An EnumerateInterruptSource callback routine is called at the same IRQL as the PEP's call to EnumerateUnmaskedInterrupts that initiates the enumeration callbacks.

See also

PEP_UNMASKED_INTERRUPT_INFORMATION

EnumerateUnmaskedInterrupts


Windows Driver Kit DDI reference (nc-pepfx-ppo_enumerate_interrupt_source_callback)

PPO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK callback (pepfx.h)

Description

An EnumerateInterruptSource callback routine supplies a platform extension plug-in (PEP) with information about an interrupt source.

Parameters

CallbackContext [in]

A pointer to a callback context. The PEP specified this pointer value as a parameter in the EnumerateUnmaskedInterrupts call that initiated the enumeration of interrupt sources.

InterruptInformation [in]

A pointer to a PEP_UNMASKED_INTERRUPT_INFORMATION structure that contains information about the interrupt source.

Return value

If the EnumerateInterruptSource callback routine returns TRUE, EnumerateUnmaskedInterrupts will continue to call the EnumerateInterruptSource callback routine while more interrupts are available to be enumerated. If the EnumerateInterruptSource callback routine returns FALSE, EnumerateUnmaskedInterrupts returns without enumerating any more interrupts.

Prototype

PO_ENUMERATE_INTERRUPT_SOURCE_CALLBACK EnumerateInterruptSource;

BOOLEAN EnumerateInterruptSource(
  _In_ PVOID                               CallbackContext,
  _In_ PPEP_UNMASKED_INTERRUPT_INFORMATION InterruptInformation
)
{ ... }

Remarks

This callback routine is implemented by a PEP, and is called by the Windows power management framework (PoFx). The Callback parameter of the EnumerateUnmaskedInterrupts routine is a pointer to an EnumerateInterruptSource callback routine.

After a PEP calls EnumerateUnmaskedInterrupts to enumerate the unmasked interrupt sources, PoFx calls the PEP's EnumerateInterruptSource callback routine once for each unmasked interrupt source. EnumerateUnmaskedInterrupts returns only after the last call to the EnumerateInterruptSource callback routine completes.

An EnumerateInterruptSource callback routine is called at the same IRQL as the PEP's call to EnumerateUnmaskedInterrupts that initiates the enumeration callbacks.

See also

PEP_UNMASKED_INTERRUPT_INFORMATION

EnumerateUnmaskedInterrupts