/// <summary> /// Converts the NT status value to a DOS/Windows error code. /// </summary> /// <param name="status">The NT status value.</param> /// <returns>A DOS/Windows error code.</returns> public static Win32Error ToDosError(this NtStatus status) { return(Win32.RtlNtStatusToDosError(status)); }