diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-07-28 14:21:33 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-07-29 01:19:10 +0000 |
| commit | 4fdfaf69c8c55ebac4c5b3c00025c0ac51281b5b (patch) | |
| tree | b72a3971bb8ec0076ff94b19eab38e78586b41ee /lib/std/array_list.zig | |
| parent | 606b6462ceaaeb2d993df684829a27db16eea18a (diff) | |
| download | zig-4fdfaf69c8c55ebac4c5b3c00025c0ac51281b5b.tar.gz zig-4fdfaf69c8c55ebac4c5b3c00025c0ac51281b5b.zip | |
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
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
