Author: sginsberg Date: Mon Aug 18 12:07:09 2008 New Revision: 35434
URL: http://svn.reactos.org/svn/reactos?rev=35434&view=rev Log: - Remove broken IoReportTargetDeviceChange implementation on Alex's request
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnprepor... ============================================================================== --- trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c [iso-8859-1] Mon Aug 18 12:07:09 2008 @@ -119,27 +119,8 @@ IoReportTargetDeviceChange(IN PDEVICE_OBJECT PhysicalDeviceObject, IN PVOID NotificationStructure) { - KEVENT Event; - NTSTATUS Status; - - /* Initialize the event */ - KeInitializeEvent(&Event, NotificationEvent, FALSE); - - /* Call the asynchronous version */ - Status = IoReportTargetDeviceChangeAsynchronous(PhysicalDeviceObject, - NotificationStructure, - IopSetEvent, - &Event); - - /* Only wait if we succeeded */ - if (NT_SUCCESS(Status)) - { - /* Wait for it to complete */ - KeWaitForSingleObject(&Event, Executive, KernelMode, FALSE, NULL); - } - - /* Return status */ - return Status; + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; }
/*