zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 1537d4701effe780d68444dec55073901001576a (tree)
parent a453c99ba95ab1cc8de128aeffdaae561a6f1a8d
Author: daurnimator <quae@daurnimator.com>
Date:   Tue, 19 Nov 2019 16:44:27 +1100

std: fix definition of NtDeviceIoControlFile

Diffstat:
Mlib/std/os/windows/ntdll.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/std/os/windows/ntdll.zig b/lib/std/os/windows/ntdll.zig @@ -24,8 +24,8 @@ pub extern "NtDll" stdcallcc fn NtCreateFile( pub extern "NtDll" stdcallcc fn NtDeviceIoControlFile( FileHandle: HANDLE, Event: ?HANDLE, - ApcRoutine: ?*IO_APC_ROUTINE, - ApcContext: usize, + ApcRoutine: ?IO_APC_ROUTINE, + ApcContext: ?*c_void, IoStatusBlock: *IO_STATUS_BLOCK, IoControlCode: ULONG, InputBuffer: ?*const c_void,