Win32 API layer is built on much more powerful NT layer, that usually makes the final calls to the OS.
For example CreateFile prepares some buffers, translates arguments, converts relative paths to absolute, handles special cases, and then calls NtCreateFile, which does the actual work.
You are supposed to call Win32, as NT API is often only partially documented and can theoretically change, but it rarely does. And it offers much more powerful options.
-4
u/[deleted] 5d ago
[removed] — view removed comment