diff --git a/reactos/drivers/dd/mouse/mouse.c b/reactos/drivers/dd/mouse/mouse.c index f717adec6e0..b9da7fb7dd5 100644 --- a/reactos/drivers/dd/mouse/mouse.c +++ b/reactos/drivers/dd/mouse/mouse.c @@ -258,7 +258,8 @@ void test_mouse(void) }; }; -NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) +NTSTATUS STDCALL +DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) { DbgPrint("Mouse Driver 0.0.3\n"); InitializeMouse(); diff --git a/reactos/drivers/dd/null/null.c b/reactos/drivers/dd/null/null.c index 6f4af0e3fbb..753c55c8721 100644 --- a/reactos/drivers/dd/null/null.c +++ b/reactos/drivers/dd/null/null.c @@ -67,7 +67,8 @@ NTSTATUS NullUnload(PDRIVER_OBJECT DriverObject) return(STATUS_SUCCESS); } -NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) +NTSTATUS STDCALL +DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) /* * FUNCTION: Called by the system to initalize the driver * ARGUMENTS: @@ -81,7 +82,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) ANSI_STRING ansi_device_name; UNICODE_STRING device_name; - DbgPrint("Null Device Driver 0.0.1\n"); + DbgPrint("Null Device Driver 0.0.2\n"); RtlInitAnsiString(&ansi_device_name,"\\Device\\NUL"); RtlAnsiStringToUnicodeString(&device_name,&ansi_device_name,TRUE); diff --git a/reactos/drivers/dd/parallel/parallel.c b/reactos/drivers/dd/parallel/parallel.c index 625e2ce02eb..1b8b32ad064 100644 --- a/reactos/drivers/dd/parallel/parallel.c +++ b/reactos/drivers/dd/parallel/parallel.c @@ -115,7 +115,7 @@ NTSTATUS Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp) return(status); } -STDCALL NTSTATUS +NTSTATUS STDCALL DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) /* * FUNCTION: Called by the system to initalize the driver diff --git a/reactos/drivers/dd/parallel/parallel.h b/reactos/drivers/dd/parallel/parallel.h index 07f9c92e3dd..7b45c41b65e 100644 --- a/reactos/drivers/dd/parallel/parallel.h +++ b/reactos/drivers/dd/parallel/parallel.h @@ -69,7 +69,7 @@ #define LPGETSTATUS 0x060b /* return LP_S(minor) */ #define LPRESET 0x060c /* reset printer */ -/* timeout for printk'ing a timeout, in jiffies (100ths of a second). +/* timeout for print'ing a timeout, in jiffies (100ths of a second). This is also used for re-checking error conditions if LP_ABORT is not set. This is the default behavior. */ diff --git a/reactos/drivers/dd/serial/serial.c b/reactos/drivers/dd/serial/serial.c index b69e5c2c4b6..2abd54b8107 100644 --- a/reactos/drivers/dd/serial/serial.c +++ b/reactos/drivers/dd/serial/serial.c @@ -145,7 +145,7 @@ void testserial(void) }; }; -STDCALL NTSTATUS +NTSTATUS STDCALL DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) { DbgPrint("Serial Driver 0.0.2\n");