feng851:FSCTL_LOCK_VOLUME IOCTL (winioctl.h)
Locks a volume if it is not in use. A locked volume can be accessed only through handles to the file object (*hDevice) that locks the volume. For more information, see the Remarks section.
.......
(2022-07-13 08:32)