On Thu Nov 27 07:52:54 2025 +0000, Elizabeth Figura wrote:
is the use of ntdll APIs mandatory?
Use of RtlDosPathNameToNtPathName_U_WithStatus() is necessary. NtDeviceIoControlFile() could be replaced with DeviceIoControl(). NtCreateFile() is used because otherwise we would have to unnecessarily create a directory and then open it in two separate steps.
I'd rather stick to kernel* if possible
Why?
1) to respect the layered architecture
2) to simplify contributors work (not all of them are familiar with ntdll APIs and the differences thereof)
but fine if can limit it to its minimum