Share via


InterruptMask

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function masks hardware interrupts. This function can be called from kernel-mode drivers and user-mode drivers.

Syntax

VOID InterruptMask(
  DWORD idInt,
  BOOL fDisable
);

Parameters

  • idInt
    [in] Interrupt identifier to be associated with the interrupt service thread (IST).
  • fDisable
    [in] Flag to disable (mask) or enable (unmask) the interrupt.

Return Value

None.

Remarks

A device driver calls InterruptMask to temporarily mask or unmask an interrupt so that the device driver can safely access the hardware without being interrupted by the same interrupt.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Kernel Functions

Concepts

Kernel Mode APIs

Other Resources

Developing a Device Driver
User Mode Driver Framework
OEMInterruptEnable
OEMInterruptDisable