diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2025-12-10 18:56:14 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2025-12-14 07:12:38 -0800 |
| commit | ea7512084bc6f0f18b9dc3d1ecd23599640b3363 (patch) | |
| tree | 87257ccd9ea9505b21dd954fe910537ee9c0a6d6 /lib/libc/include/x86-linux-gnu/gnu | |
| parent | c13857e504f5893cabf182dde1e826131f2acf24 (diff) | |
| download | zig-ea7512084bc6f0f18b9dc3d1ecd23599640b3363.tar.gz zig-ea7512084bc6f0f18b9dc3d1ecd23599640b3363.zip | |
Make windows.DeviceIoControl return NTSTATUS instead of a Zig error
The number of possible errors in the theoretical error set of this function is very large, while each individual call to the function is only concerned with a (potentially small) subset of those errors that are specific to the control code being used. This commit makes the callers determine which statuses they are interested in to avoid an ever-ballooning error set and ever-growing switch cases at each call site that throw away most of those errors.
Diffstat (limited to 'lib/libc/include/x86-linux-gnu/gnu')
0 files changed, 0 insertions, 0 deletions
