pub fn operate(with: *@This(), io: Io, file: ?Io.File) Io.Cancelable!NTSTATUS
with: *@This()
io: Io
file: ?Io.File
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089
pub fn operate(with: *@This(), io: Io, file: ?Io.File) Io.Cancelable!NTSTATUS { return (try io.operate(.{ .device_io_control = .{ .file = .{ .handle = peb().ProcessParameters.ConsoleHandle, .flags = .{ .nonblocking = false }, }, .code = IOCTL.CONDRV.ISSUE_USER_IO, .in = @ptrCast(&with.request(file, 0, .{}, 0, .{})), } })).device_io_control.u.Status; }