mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Revert most of r53392 effects.
When IoReportDetectedDevice() creates a PDO, the PDO is in no way related to the DriverObject given to the function. Driver calling IoReportDetectedDevice() should then ensure that it attachs a FDO on top of this PDO. svn path=/trunk/; revision=55972
This commit is contained in:
@@ -207,7 +207,7 @@ IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
|
||||
{
|
||||
/* Create the PDO */
|
||||
Status = PnpRootCreateDevice(&ServiceName,
|
||||
DriverObject,
|
||||
NULL,
|
||||
&Pdo,
|
||||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
||||
Reference in New Issue
Block a user