Partager via


InterruptDisable (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Kernel Functions
InterruptInitialize
InterruptDone

Concepts

Kernel Mode APIs

Other Resources

Developing a Device Driver
User Mode Driver Framework
OEMInterruptDisable