authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-14 15:33:47+11:00
committergravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-15 10:31:51+11:00
log3b8afe31a0c4cc1f6febb5f83566a897f765c98e
tree59e1025eebb31df383c90b7f5e5d61843f5c7aca
parent6469900e79369f5ff7539501767842dc6922f887
signature Commit is signed but in an unrecognized format.

std: add NtDeviceIoControlFile definition for windows


1 files changed, 12 insertions(+), 0 deletions(-)

lib/std/os/windows/ntdll.zig+12
......@@ -21,6 +21,18 @@ pub extern "NtDll" stdcallcc fn NtCreateFile(
2121 EaBuffer: ?*c_void,
2222 EaLength: ULONG,
2323) NTSTATUS;
24pub extern "NtDll" stdcallcc fn NtDeviceIoControlFile(
25 FileHandle: HANDLE,
26 Event: ?HANDLE,
27 ApcRoutine: ?*IO_APC_ROUTINE,
28 ApcContext: usize,
29 IoStatusBlock: *IO_STATUS_BLOCK,
30 IoControlCode: ULONG,
31 InputBuffer: ?*const c_void,
32 InputBufferLength: ULONG,
33 OutputBuffer: ?PVOID,
34 OutputBufferLength: ULONG,
35) NTSTATUS;
2436pub extern "NtDll" stdcallcc fn NtClose(Handle: HANDLE) NTSTATUS;
2537pub extern "NtDll" stdcallcc fn RtlDosPathNameToNtPathName_U(
2638 DosPathName: [*]const u16,