Skip to content

Commit c720dd4

Browse files
committed
[NTOS:IO] NtPlugPlayControl.PlugPlayControlUnlockDevice is not implemented
It was probably used in previous versions of Windows NT.
1 parent 12e0121 commit c720dd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ntoskrnl/io/pnpmgr/plugplay.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,9 @@ NtPlugPlayControl(IN PLUGPLAY_CONTROL_CLASS PlugPlayControlClass,
16291629
return PiControlSyncDeviceAction((PPLUGPLAY_CONTROL_DEVICE_CONTROL_DATA)Buffer,
16301630
PlugPlayControlClass);
16311631

1632-
// case PlugPlayControlUnlockDevice:
1632+
case PlugPlayControlUnlockDevice:
1633+
return STATUS_NOT_IMPLEMENTED;
1634+
16331635
case PlugPlayControlQueryAndRemoveDevice:
16341636
if (!Buffer || BufferLength < sizeof(PLUGPLAY_CONTROL_QUERY_REMOVE_DATA))
16351637
return STATUS_INVALID_PARAMETER;

0 commit comments

Comments
 (0)