mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
Skip first call to AddDevice
svn path=/trunk/; revision=23515
This commit is contained in:
parent
8fb3dbf0ac
commit
dca537db04
1 changed files with 3 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue