I’ve been on a quest to get down from Electron’s abstraction layers to go as low as (reasonably) possible, and on Windows it ends with Win32. It is a very old API which is still fully functional; in fact, most applications are still Win32 applications, and it will likely continue to be this way.