#include <ntddk.h>
#include <ntddsnd.h>
#include <debug.h>
Go to the source code of this file.
◆ LegacyAttachInterrupt()
Definition at line 25 of file hardware.c.
30{
35
36 DPRINT(
"Obtaining interrupt vector");
37
39 0,
40 Irq,
41 Irq,
42 &IrqLevel,
44
46 DPRINT(
"Connecting IRQ %d", Irq);
47
53 IrqLevel,
54 IrqLevel,
59
61 {
63 }
64
66}
NTHALAPI ULONG NTAPI HalGetInterruptVector(INTERFACE_TYPE, ULONG, ULONG, ULONG, PKIRQL, PKAFFINITY)
NTSTATUS NTAPI IoConnectInterrupt(OUT PKINTERRUPT *InterruptObject, IN PKSERVICE_ROUTINE ServiceRoutine, IN PVOID ServiceContext, IN PKSPIN_LOCK SpinLock, IN ULONG Vector, IN KIRQL Irql, IN KIRQL SynchronizeIrql, IN KINTERRUPT_MODE InterruptMode, IN BOOLEAN ShareVector, IN KAFFINITY ProcessorEnableMask, IN BOOLEAN FloatingSave)
#define STATUS_DEVICE_CONFIGURATION_ERROR
#define STATUS_INVALID_PARAMETER
_In_ PDEVICE_OBJECT DeviceObject
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
_In_ PKSERVICE_ROUTINE ServiceRoutine