RtlSetLastWin32ErrorAndNtStatusFromNtStatus - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
VOID
NTAPI
RtlSetLastWin32ErrorAndNtStatusFromNtStatus(
    _In_ NTSTATUS Status
    );

#endif

View code on GitHub

Converts the NTSTATUS to a DOS error code and then sets the error code to the current thread.

Parameters

Related Win32 API

See also