Skip to content

Commit d109597

Browse files
committed
std: fix definition of NtDeviceIoControlFile
1 parent d57ec02 commit d109597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/os/windows/ntdll.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ pub extern "NtDll" stdcallcc fn NtCreateFile(
2424
pub extern "NtDll" stdcallcc fn NtDeviceIoControlFile(
2525
FileHandle: HANDLE,
2626
Event: ?HANDLE,
27-
ApcRoutine: ?*IO_APC_ROUTINE,
28-
ApcContext: usize,
27+
ApcRoutine: ?IO_APC_ROUTINE,
28+
ApcContext: ?*c_void,
2929
IoStatusBlock: *IO_STATUS_BLOCK,
3030
IoControlCode: ULONG,
3131
InputBuffer: ?*const c_void,

0 commit comments

Comments
 (0)