From df2510eefd41e3c7c5e69b0ecbd76574a7303c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 15 Mar 2007 19:00:34 +0000 Subject: [PATCH] Fix compilation of drivers ks, mpu401_ks and sb16_nt4 svn path=/trunk/; revision=26109 --- reactos/drivers/multimedia/ks/irp.c | 2 +- reactos/drivers/multimedia/mpu401_ks/adapter.cpp | 1 + reactos/drivers/multimedia/sb16_nt4/interrupt.c | 4 ++-- reactos/include/ddk/portcls.h | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/reactos/drivers/multimedia/ks/irp.c b/reactos/drivers/multimedia/ks/irp.c index ecabba1c00e..832899081b3 100644 --- a/reactos/drivers/multimedia/ks/irp.c +++ b/reactos/drivers/multimedia/ks/irp.c @@ -577,7 +577,7 @@ KsInternalIrpDispatcher( DPRINT1("KS IRP dispatch function called\n"); - PKSDISPATCH_TABLE ks_dispatch_table = NULL; + //PKSDISPATCH_TABLE ks_dispatch_table = NULL; /* ks_dispatch_table is the first element in a structure pointed to by FsContext */ diff --git a/reactos/drivers/multimedia/mpu401_ks/adapter.cpp b/reactos/drivers/multimedia/mpu401_ks/adapter.cpp index 89c0704f307..1cf701db7cd 100644 --- a/reactos/drivers/multimedia/mpu401_ks/adapter.cpp +++ b/reactos/drivers/multimedia/mpu401_ks/adapter.cpp @@ -14,6 +14,7 @@ #define PUT_GUIDS_HERE +#define INITGUID #include extern "C" diff --git a/reactos/drivers/multimedia/sb16_nt4/interrupt.c b/reactos/drivers/multimedia/sb16_nt4/interrupt.c index 91a526805a0..310e8ce9380 100644 --- a/reactos/drivers/multimedia/sb16_nt4/interrupt.c +++ b/reactos/drivers/multimedia/sb16_nt4/interrupt.c @@ -14,7 +14,7 @@ CheckIrq( return TRUE; } -BOOLEAN +BOOLEAN NTAPI ServiceSoundBlasterInterrupt( IN PKINTERRUPT Interrupt, IN PVOID Context) @@ -42,7 +42,7 @@ EnableIrq( DPRINT("Vector is 0x%x\n", vector); - status = IoConnectInterrupt(parameters->interrupt, + status = IoConnectInterrupt(¶meters->interrupt, ServiceSoundBlasterInterrupt, DeviceObject, (PKSPIN_LOCK) NULL, diff --git a/reactos/include/ddk/portcls.h b/reactos/include/ddk/portcls.h index ac522ae8566..8bf0d5dfb56 100644 --- a/reactos/include/ddk/portcls.h +++ b/reactos/include/ddk/portcls.h @@ -141,7 +141,7 @@ typedef PVOID CM_RESOURCE_TYPE; Class IDs - TODO */ //#define CLSID_PortDMus /* dmusicks.h */ -#define CLSID_PortMidi +DEFINE_GUID(CLSID_PortMidi,0xb4c90a43L, 0x5791, 0x11d0, 0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44); #define CLSID_PortTopology #define CLSID_PortWaveCyclic #define CLSID_PortWavePci @@ -151,7 +151,7 @@ typedef PVOID CM_RESOURCE_TYPE; #define CLSID_MiniportDriverDMusUARTCapture #define CLSID_MiniportDriverFmSynth #define CLSID_MiniportDriverFmSynthWithVol -#define CLSID_MiniportDriverUart +DEFINE_GUID(CLSID_MiniportDriverUart,0xb4c90ae1L, 0x5791, 0x11d0, 0x86, 0xf9, 0x00, 0xa0, 0xc9, 0x11, 0xb5, 0x44); /* ===============================================================