mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
- Once a create handler indicates success, leave creation handler
svn path=/trunk/; revision=40663
This commit is contained in:
parent
a689863fb5
commit
197a0b05ce
1 changed files with 9 additions and 0 deletions
|
@ -746,6 +746,15 @@ KsCreate(
|
|||
/* set object create item */
|
||||
KSCREATE_ITEM_IRP_STORAGE(Irp) = &DeviceHeader->ItemList[Index].CreateItem;
|
||||
Status = DeviceHeader->ItemList[Index].CreateItem.Create(DeviceObject, Irp);
|
||||
|
||||
/* FIXME IoRegisterDeviceInterface does not support reference strings */
|
||||
/* FIXME Check the irp target with the create item's object class */
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* release lock */
|
||||
KeReleaseSpinLock(&DeviceHeader->ItemListLock, OldLevel);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue