diff --git a/lib/std/os/windows/ntdll.zig b/lib/std/os/windows/ntdll.zig index d70b1cfefa..84de0ca946 100644 --- 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,