mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 22:55:41 +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);
|
DPRINT("SermouseAddDevice called. Pdo = 0x%p\n", Pdo);
|
||||||
|
|
||||||
|
if (Pdo == NULL)
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
|
||||||
/* Create new device object */
|
/* Create new device object */
|
||||||
DriverExtension = IoGetDriverObjectExtension(DriverObject, DriverObject);
|
DriverExtension = IoGetDriverObjectExtension(DriverObject, DriverObject);
|
||||||
Status = IoCreateDevice(
|
Status = IoCreateDevice(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue