Share via


InterruptMask (Windows Embedded CE 6.0)

1/6/2010

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 OEMMain.lib or OEMMain_StaticKITL.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