Jump to content

DevHelp UnSetIRQ

From EDM2
Revision as of 05:49, 29 July 2018 by Martini (talk | contribs) (Created page with "This service removes the current hardware interrupt handler. ==Syntax== ===C=== USHORT APIENTRY DevHelp_UnSetIRQ (USHORT IRQLevel) ===Assembler=== <PRE> MOV BX,IRQnum ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This service removes the current hardware interrupt handler.

Syntax

C

USHORT APIENTRY DevHelp_UnSetIRQ (USHORT IRQLevel)

Assembler

MOV   BX,IRQnum               ; IRQ Interrupt number (0 - F)
MOV   DL,DevHlp_UnSetIRQ

CALL  [Device_Help]

Parameters

C

IRQLevel (USHORT)
input - IRQ Interrupt number (0-F)

Assembler

MOV   BX,IRQnum               ; IRQ Interrupt number (0 - F)

Return Code

C

Success Indicator: 0

Possible errors: Caller does not own the IRQ return code.

Assembler

'C' Set if the caller is not the owner or one of the owners of the IRQ.

Remarks

DS must point to the data segment of the physical device driver on entry.

Example Code

C

#include  "dhcalls.h"

USHORT APIENTRY DevHelp_UnSetIRQ (USHORT IRQLevel)

Related Functions