From 419e45a7231f608ea0133d7da5de51ab4657aecc Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 25 Feb 2009 16:00:38 +0000 Subject: [PATCH] - Fix a horrible bug, when DriverEntry was not having __stdcall calling convention. svn path=/trunk/; revision=39754 --- reactos/drivers/usb/nt4compat/usbdriver/ehci.c | 1 + reactos/drivers/usb/nt4compat/usbdriver/uhci.c | 1 + 2 files changed, 2 insertions(+) diff --git a/reactos/drivers/usb/nt4compat/usbdriver/ehci.c b/reactos/drivers/usb/nt4compat/usbdriver/ehci.c index 85ce2edafb9..f673b17bd16 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/ehci.c +++ b/reactos/drivers/usb/nt4compat/usbdriver/ehci.c @@ -6221,6 +6221,7 @@ generic_start_io(IN PDEVICE_OBJECT dev_obj, IN PIRP irp) } NTSTATUS +NTAPI DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { NTSTATUS ntStatus = STATUS_SUCCESS; diff --git a/reactos/drivers/usb/nt4compat/usbdriver/uhci.c b/reactos/drivers/usb/nt4compat/usbdriver/uhci.c index 1e5f9ebaaf4..0fad46868be 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/uhci.c +++ b/reactos/drivers/usb/nt4compat/usbdriver/uhci.c @@ -3804,6 +3804,7 @@ generic_start_io(IN PDEVICE_OBJECT dev_obj, IN PIRP irp) } NTSTATUS +NTAPI DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { #if DBG