Jungo WinDriver  
Official Documentation

◆ WD_IntWait

#define WD_IntWait (   h,
  pInterrupt 
)     WD_FUNCTION(IOCTL_WD_INT_WAIT, h, pInterrupt, sizeof(WD_INTERRUPT), TRUE)

Waits for an interrupt.

Parameters
[in]hHandle to WinDriver's kernel-mode driver as received from WD_Open()
[in,out]pInterruptPointer to an interrupt information structure
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise
Remarks
The INTERRUPT_INTERRUPTED status (set in pInterrupt->fStopped) can occur on Linux if the application that waits on the interrupt is stopped (e.g., by pressing CTRL+Z).
for (;;)
{
WD_IntWait(hWD, &intrp);
if (intrp.fStopped)
break;
ProcessInterrupt(intrp.dwCounter);
}
#define WD_IntWait(h, pInterrupt)
Waits for an interrupt.
Definition: windrvr.h:2668

Definition at line 2668 of file windrvr.h.