mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
Added missing STDCALL.
svn path=/trunk/; revision=789
This commit is contained in:
parent
c8689122b1
commit
64915d3ebe
|
@ -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");
|
DbgPrint("Mouse Driver 0.0.3\n");
|
||||||
InitializeMouse();
|
InitializeMouse();
|
||||||
|
|
|
@ -67,7 +67,8 @@ NTSTATUS NullUnload(PDRIVER_OBJECT DriverObject)
|
||||||
return(STATUS_SUCCESS);
|
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
|
* FUNCTION: Called by the system to initalize the driver
|
||||||
* ARGUMENTS:
|
* ARGUMENTS:
|
||||||
|
@ -81,7 +82,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||||
ANSI_STRING ansi_device_name;
|
ANSI_STRING ansi_device_name;
|
||||||
UNICODE_STRING 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");
|
RtlInitAnsiString(&ansi_device_name,"\\Device\\NUL");
|
||||||
RtlAnsiStringToUnicodeString(&device_name,&ansi_device_name,TRUE);
|
RtlAnsiStringToUnicodeString(&device_name,&ansi_device_name,TRUE);
|
||||||
|
|
|
@ -115,7 +115,7 @@ NTSTATUS Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
||||||
return(status);
|
return(status);
|
||||||
}
|
}
|
||||||
|
|
||||||
STDCALL NTSTATUS
|
NTSTATUS STDCALL
|
||||||
DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||||
/*
|
/*
|
||||||
* FUNCTION: Called by the system to initalize the driver
|
* FUNCTION: Called by the system to initalize the driver
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
#define LPGETSTATUS 0x060b /* return LP_S(minor) */
|
#define LPGETSTATUS 0x060b /* return LP_S(minor) */
|
||||||
#define LPRESET 0x060c /* reset printer */
|
#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
|
This is also used for re-checking error conditions if LP_ABORT is
|
||||||
not set. This is the default behavior. */
|
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)
|
DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||||
{
|
{
|
||||||
DbgPrint("Serial Driver 0.0.2\n");
|
DbgPrint("Serial Driver 0.0.2\n");
|
||||||
|
|
Loading…
Reference in a new issue