Nov. 26, 2025
6:07 p.m.
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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9595#note_123840