Jump to content

DevHelp UnSetIRQ: Difference between revisions

From EDM2
Created page with "This service removes the current hardware interrupt handler. ==Syntax== ===C=== USHORT APIENTRY DevHelp_UnSetIRQ (USHORT IRQLevel) ===Assembler=== <PRE> MOV BX,IRQnum ..."
 
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:DevHelp_UnSetIRQ}}
This service removes the current hardware interrupt handler.  
This service removes the current hardware interrupt handler.  



Latest revision as of 05:36, 11 May 2025

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