#Missing Windows API declarations?
1 messages · Page 1 of 1 (latest)
std.os is not exhaustive, they likely aren't there
I did a quick check with rg on my standard lib (0.14.1) and nothing showed up searching for enable or input
ah ok, maybe I can add them then. I had just assumed it was auto generated or something.
if you want auto generated and fully exhaustive interface then peek at zigwin32
just the file of aliases to everything is 21 MB
is there a reason why std.os.windows isn't auto generated?
because the binding the whole windows would double if not triple the size of a zig installation; I’m fairly sure that zigwin32 is larger than an entire zig installation already on its own
oh gotcha
and on top of that most of they try to keep 99% of the windows interface out of the compiler and stdlib because they can be better implemented with the underlying ntdll functions