mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
- Remove broken IoReportTargetDeviceChange implementation on Alex's request
svn path=/trunk/; revision=35434
This commit is contained in:
parent
f7972be7d1
commit
eccf1ea8b5
|
@ -119,27 +119,8 @@ NTAPI
|
|||
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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue