[NTOS:IO] NtPlugPlayControl.PlugPlayControlUnlockDevice is not implemented

It was probably used in previous versions of Windows NT.
This commit is contained in:
Eric Kohl
2025-06-29 23:42:40 +02:00
parent 12e01218ad
commit c720dd4960

View File

@@ -1629,7 +1629,9 @@ NtPlugPlayControl(IN PLUGPLAY_CONTROL_CLASS PlugPlayControlClass,
return PiControlSyncDeviceAction((PPLUGPLAY_CONTROL_DEVICE_CONTROL_DATA)Buffer,
PlugPlayControlClass);
// case PlugPlayControlUnlockDevice:
case PlugPlayControlUnlockDevice:
return STATUS_NOT_IMPLEMENTED;
case PlugPlayControlQueryAndRemoveDevice:
if (!Buffer || BufferLength < sizeof(PLUGPLAY_CONTROL_QUERY_REMOVE_DATA))
return STATUS_INVALID_PARAMETER;