KasperskyOS Community Edition 1.1

KnRegisterIrq()

This function is declared in the coresrv/io/irq.h file.

Retcode KnRegisterIrq(int irq, Handle *outRid);

Registers the interrupt with the number irq.

Output parameter outRid contains the interrupt handle.

If successful, the function returns rcOk.

If an interrupt is no longer being used, it must be freed by using the KnIoClose() function.