zig/lib/std/os
Jakub Konka 4fdfaf69c8 Add Zig wrapper for kernel32.DeviceIoControl
This commit adds a Zig wrapper for `kernel32.DeviceIoControl` which
applies ReactOS logic for deciding whether to use
`ntdll.NtDeviceIoControlFile` or `ntdll.NtFsControlFile` based on the
value of passed `IO_CONTROL_CODE`. The decision logic is based on the
logic found in ReactOS found in the following [link].

Thanks to Daurnimator for finding this bit in ReactOS!

[link]: https://doxygen.reactos.org/d3/d74/deviceio_8c.html
2020-07-29 01:19:10 +00:00
..
bits Add signalfd support (#5322) 2020-07-22 17:26:27 -04:00
linux zig fmt 2020-05-05 09:38:02 -06:00
uefi zig fmt 2020-05-05 09:38:02 -06:00
windows Replace DeviceIoControl with FsControlFile 2020-07-27 19:45:23 +00:00
bits.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
darwin.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
dragonfly.zig DragonFlyBSD support 2019-10-30 21:21:58 -04:00
freebsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
linux.zig Add signalfd support (#5322) 2020-07-22 17:26:27 -04:00
netbsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
test.zig Enable std.os.symlinkat tests on Windows 2020-07-22 08:51:23 +02:00
uefi.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
wasi.zig Update WASI snapshot to preview1 2020-04-30 01:52:12 -04:00
windows.zig Add Zig wrapper for kernel32.DeviceIoControl 2020-07-29 01:19:10 +00:00