fn unexpectedStatus(status: NTSTATUS) std.os.UnexpectedError

Call this when you made a windows NtDll call and you get an unexpected status.

Parameters

status: NTSTATUS,

Errors

Unexpected

The Operating System returned an undocumented error code. This error is in theory not possible, but it would be better to handle this error than to invoke undefined behavior.