HookInterrupt (Windows CE 5.0)
This function registers an interrupt service routine (ISR) with the kernel specifying a particular hardware interrupt indicated by its interrupt request (IRQ) line value.
BOOL HookInterrupt(int hwIntNumber,FARPROC pfnHandler );
Parameters
- hwIntNumber
[in] Hardware interrupt line. Note that this value indicates the actual hardware IRQ value and not the logical interrupt identifier. - pfnHandler
[in] Pointer to the ISR that is to handle interrupts for the specified IRQ.
Return Values
TRUE indicates success; FALSE indicates failure.
Remarks
This function is only called by the OEM in the OEM adaptation layer (OAL). The OEMInit function is typically used to initialize all ISRs.
**Note **Not used by ARM as there is only one interrupt.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Nkintr.h.
Link Library: Nk.lib.
See Also
OEMInit | UnhookInterrupt | Initializing an Interrupt
Send Feedback on this topic to the authors