다음을 통해 공유


SetInterruptEvent (Windows CE 5.0)

Send Feedback

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

BOOL SetInterruptEvent( DWORD idInt);

Parameters

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

Return Values

TRUE indicates success; FALSE indicates failure.

Remarks

A device driver may 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 operating system components. A driver should only call SetInterruptEvent from these functions because the power handler functions are called in a special, nonpreemptible kernel mode in which most function calls are not permitted. In other contexts, simulated interrupts can be generated with the SetEvent function.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Nkintr.h.
Link Library: Coredll.lib.

See Also

SetEvent | XXX_PowerDown | XXX_PowerUp | Trusted APIs

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.