---
name: "RtlSetLastWin32ErrorAndNtStatusFromNtStatus"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlSetLastWin32ErrorAndNtStatusFromNtStatus"
---

# RtlSetLastWin32ErrorAndNtStatusFromNtStatus(3w)

## NAME

**RtlSetLastWin32ErrorAndNtStatusFromNtStatus** (NTDLL.@)

## SYNOPSIS

void RtlSetLastWin32ErrorAndNtStatusFromNtStatus\
  (\
   NTSTATUS *status*\
  )

## DESCRIPTION

Set the per-thread *status* and error values.

## PARAMS

err **\[In\]**  The new *status* value to set.

## RETURNS

Nothing.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/error.c"**.

Debug channel **"ntdll"**.
