Share via


InterruptDisable (Compact 2013)

3/28/2014

This function disables a hardware interrupt as specified by its interrupt identifier. This function can be called from kernel-mode drivers and user-mode drivers.

Syntax

VOID InterruptDisable(
  DWORD idInt
);

Parameters

  • idInt
    [in] Identifier of an interrupt.

Return Value

None.

Remarks

A device driver calls InterruptDisable to disable a hardware interrupt and to unregister the event registered by InterruptInitialize. The driver must call InterruptDisable before closing the event handle. The kernel calls through to the OEMInterruptDisable function as part of this call.

Requirements

Header

pkfuncs.h

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Kernel Functions
InterruptInitialize
InterruptDone

Other Resources

User Mode Driver Framework
OEMInterruptDisable