# Split DeviceIoControl path into two fn call paths · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/547e520359b983d301670b8a3b37df67d4ab1a53)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 547e520359b983d301670b8a3b37df67d4ab1a53

Requested commit: 547e520359b983d301670b8a3b37df67d4ab1a53

Commit: 547e520359b983d301670b8a3b37df67d4ab1a53

Tree: 3f12605a67f53e4eb9d4afbf75ed46fabe78bad2

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Split DeviceIoControl path into two fn call paths

As discussed in the previous commit, it would be better to avoid
function pointers to syscalls and explicitly split the control
path into two function calls instead. This commit addresses that
for `std.os.windows.DeviceIoControl`.

```

## Parents

- [b3b00ec62f518875a486b4da532f74e304c3aba2](https://git.cafe/gitcafe/zig/commit/b3b00ec62f518875a486b4da532f74e304c3aba2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/547e520359b983d301670b8a3b37df67d4ab1a53?format=markdown)
