[NTOSKRNL] Rewrite IoAssignDriveLetters to make NT5 compliant
authorPierre Schweitzer <pierre@reactos.org>
Mon, 21 Oct 2019 16:28:40 +0000 (18:28 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 21 Oct 2019 16:28:40 +0000 (18:28 +0200)
commit5ab1cfc553f11731d9a352f1157084cc1dfd9042
tree8889b7b43bf10aa3a52b4f7b312f15c3c6c02b55
parentb68104dd87b61c361c327cf44cc8845436c924ec
[NTOSKRNL] Rewrite IoAssignDriveLetters to make NT5 compliant

The major change with this rewrite is the support for the mount
manager. Fstub will now assume that most of the devices are PnP
and that they are already registered to the mount manager.
It will thus ask the mount manager to assign the drive letter.
Fstub will keep assigning drive letters non mission critical devices
such as CDs, floppies and other removable devices.

See MountMgr:QueryPoints API test that will now return mount points :-).
ntoskrnl/fstub/disksup.c
ntoskrnl/guid.c
ntoskrnl/include/ntoskrnl.h