D has fairly extensive windows API support, and the usual PE gubbins. Worth taking a look at
Ada has something similar: https://github.com/AdaCore/win32ada
British : fish parings or refuse broadly : any bits and pieces; gadgets, gadgetry the gubbins for changing a tire all the navigational gubbins
As the GP used it, it means "and what not", "and such like" etc.
Most recently, I've been playing with eBPF on Linux: The system call API is terse and pretty impenetrable, whereas the high-level APIs either mean writing gadgets in C with a nearly-blind debugging experience or relying on a library to retain the power of the featureset the kernel exposes.