Linus Tech Tips: "Linux Gaming Finally Doesn't Suck"

You don't seem to know what native API means.

Really? I can assure you, you have no idea what you are talking about. You babble garbage. Two of us now have tried to explain this to you and you flat out ignore everything we're saying.

Your precious API 'does not' communicate directly with the kernel, the API is implemented in dll's that are present in the translation layer, those dll's communicate with the HAL. To quote Wikipedia:

Win32 is the 32-bit application programming interface (API) for modern versions of Windows. The API consists of functions implemented, as with Win16, in system DLLs. The core DLLs of Win32 are kernel32.dll, user32.dll, and gdi32.dll. ... WinCE is the implementation of the Windows API for the Windows CE operating system.
  • Like
Reactions: ChadD
like this
Why does Windows need a translation layer for the Win32 API? That's the native API of all versions of Windows though the supported APIs differ between versions.

The documented functions in the API do nothing but call undocumented functions that do the actual work. That way MS can change how the work gets done under the hood without anybody on the outside noticing. It's still native.

If you call the undocumented functions directly eventually your code breaks and Raymond Chen makes the disappointed face at you.