mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
Added missing STDCALL.
svn path=/trunk/; revision=789
This commit is contained in:
parent
c8689122b1
commit
64915d3ebe
5 changed files with 8 additions and 6 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue