mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
Skip first call to AddDevice
svn path=/trunk/; revision=23515
This commit is contained in:
@@ -23,6 +23,9 @@ SermouseAddDevice(
|
||||
|
||||
DPRINT("SermouseAddDevice called. Pdo = 0x%p\n", Pdo);
|
||||
|
||||
if (Pdo == NULL)
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
/* Create new device object */
|
||||
DriverExtension = IoGetDriverObjectExtension(DriverObject, DriverObject);
|
||||
Status = IoCreateDevice(
|
||||
|
||||
Reference in New Issue
Block a user