BOOLEAN
VC_ConnectInterrupt(
PDEVICE_INFO pDevInfo,
ULONG Interrupt,
BOOLEAN bLatched
);
The VC_ConnectInterrupt function creates a connection between the specified interrupt number and a kernel-mode video capture driver’s interrupt service routine.
Returns TRUE if the operation succeeds. Otherwise returns FALSE.
The VC_ConnectInterrupt function calls HalGetInterruptVector to obtain a system interrupt vector and IoConnectInterrupt to connect VCKernel.lib’s generic ISR to the interrupt vector. (When an interrupt occurs, VCKernel.lib’s generic ISR calls the driver’s InterruptAcknowledge function.)
Before calling VC_ConnectInterrupt, a kernel-mode driver must call VC_GetResources. It must also call VC_GetCallbackTable and fill in the returned callback table.