aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2020-07-28 14:21:33 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-07-29 01:19:10 +0000
commit4fdfaf69c8c55ebac4c5b3c00025c0ac51281b5b (patch)
treeb72a3971bb8ec0076ff94b19eab38e78586b41ee /lib/libcxx/src/algorithm.cpp
parent606b6462ceaaeb2d993df684829a27db16eea18a (diff)
downloadzig-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/libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions