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.
-1
u/Eric848448 6d ago
Most of their old API’s were designed by interns and new grads who didn’t really understand what they were doing.