OEM_InterruptInitialize
In Windows Embedded CE6 InterruptInitialize is only callable from kernel-space. The function OEM_InterruptInitialize is a workaround to use InterruptInitialize from user-space.
This function initializes a hardware interrupt with the kernel. This initialization enables the device driver to register an event and enable the interrupt.
See Platform-Builder-Help for details.
BOOL OEM_InterruptInitialize(
DWORD idInt,
HANDLE hEvent,
LPVOID pvData,
DWORD cbData
);
Parameters
idInt
[in] Interrupt identifier for the interrupt service thread (IST).
hEvent
[in] Event to be signaled when the interrupt is triggered.
pvData
[in] Used as a pointer to a block of data that is passed to OEMInterruptEnable. The block of data can be initialization data, scratch space, and so on.
cbData
[in] Size of data pointed to by pvData.
Return Values
TRUE indicates success. FALSE indicates failure.
Requirements
OS Versions: Windows Embedded CE 6.
Header: drvlib_app.h
Link Library: drvlib_app.lib
added: 14.03.2008