We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4429339 commit c57749fCopy full SHA for c57749f
lib/std/os/windows.zig
@@ -236,6 +236,7 @@ pub fn DeviceIoControl(
236
.SUCCESS => {},
237
.PRIVILEGE_NOT_HELD => return error.AccessDenied,
238
.ACCESS_DENIED => return error.AccessDenied,
239
+ .INVALID_DEVICE_REQUEST => return error.AccessDenied, // Not supported by the underlying filesystem
240
.INVALID_PARAMETER => unreachable,
241
else => return unexpectedStatus(rc),
242
}
0 commit comments