[ntoskrnl/io]
authorMichael Martin <michael.martin@reactos.org>
Fri, 10 Sep 2010 21:25:53 +0000 (21:25 +0000)
committerMichael Martin <michael.martin@reactos.org>
Fri, 10 Sep 2010 21:25:53 +0000 (21:25 +0000)
commitbd0767f9fd841c9b7c53da3c6d2f3bc5461e15ad
tree8934599dfbcf61c2e61e5360731d42149904a6ad
parent0daaf9da75346d91f2d36eaecec52f81d639d217
[ntoskrnl/io]
- Modify IopCreateDriver to accept the PLDR_DATA_TABLE_ENTRY instead of the DllBase and SizeOfImage from this structure.
- Set the DriverObject->DriverSection before calling the DriverEntry routine.
- If the DriverEntry routine fails then set the DriverObject->DriverSection back to NULL so that IopDeleteDriver doesnt attempt to unload the ModuleObject, after it was already unloaded by the caller.

svn path=/trunk/; revision=48738
reactos/ntoskrnl/include/internal/io.h
reactos/ntoskrnl/io/iomgr/driver.c