Jungo WinDriver
Official Documentation
|
#define WD_IntEnable | ( | h, | |
pInterrupt | |||
) | WD_FUNCTION(IOCTL_WD_INT_ENABLE, h, pInterrupt, sizeof(WD_INTERRUPT), FALSE) |
Registers an interrupt service routine (ISR) to be called upon interrupt.
[in] | h | Handle to WinDriver's kernel-mode driver as received from WD_Open() |
[in,out] | pInterrupt | Pointer to an interrupt information structure |
kpCall is relevant for Kernel PlugIn implementation.
WinDriver must be registered with the OS as the driver of the device before enabling interrupts. For Plug-and-Play hardware (PCI/PCI Express) on Windows platforms, this association is made by installing an INF file for the device. If the INF file is not installed, WD_IntEnable() will fail with a WD_NO_DEVICE_OBJECT error.