Jump to content

KernSetIRQ: Difference between revisions

From EDM2
Created page with "It is similar to the DevHelp_SetIRQ function but it sets a 32-bit interrupt handler. Thr Interrupt handler must return INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED. ==Synopsis=..."
(No difference)

Revision as of 14:55, 5 July 2017

It is similar to the DevHelp_SetIRQ function but it sets a 32-bit interrupt handler. Thr Interrupt handler must return INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED.

Synopsis

APIRET APIENTRY KernSetIRQ(uint32_t IRQlevel,  KernIRQHandler pIRQhandler,  uint32_t IRQflag,  void *pContext);

Parameters

IRQlevel
Interrupt level
KernIRQHandler
Pointer to a interrupt handler to be set ( typedef uint32_t __cdecl (*KernIRQHandler)(void*);)
IRQflag
Interrupt sharing (0=not shared, 1=shared)
pContext
Pointer to “context”. This pointer will be passed to the handler when an interrupt occurs.