Share via


SetInterruptEvent (Windows Embedded CE 6.0)

1/6/2010

This function allows a device driver to cause an artificial interrupt event.

Syntax

BOOL SetInterruptEvent(
  DWORD idInt
);

Parameters

  • idInt
    [in] Identifier for the interrupt caused by the driver.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

A device driver can call this function only when it is in power-off or power-on processing, situations which occur when the device driver's PowerOn and PowerOff power handler functions are called by other OS components. A driver should only call SetInterruptEvent from these functions because the power handler functions are called in a special, nonpre-emptible kernel mode in which most function calls are not permitted. In other contexts, simulated interrupts can be generated with the SetEvent function.

Requirements

Header nkintr.h
Library Nkstub.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Kernel Functions

Other Resources

SetEvent
XXX_PowerDown (Device Manager)
XXX_PowerUp (Device Manager)