ReactOS 0.4.15-dev-7924-g5949c20
shared_utils.c File Reference
#include <k32.h>
#include <strsafe.h>
#include <debug.h>
Include dependency graph for shared_utils.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

DWORD WINAPI BaseSetLastNTError (IN NTSTATUS Status)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 14 of file shared_utils.c.

Function Documentation

◆ BaseSetLastNTError()

DWORD WINAPI BaseSetLastNTError ( IN NTSTATUS  Status)

Definition at line 22 of file shared_utils.c.

23{
24 DWORD dwErrCode;
25
26 /* Convert from NT to Win32, then set */
27 dwErrCode = RtlNtStatusToDosError(Status);
28 SetLastError(dwErrCode);
29 return dwErrCode;
30}
#define SetLastError(x)
Definition: compat.h:752
unsigned long DWORD
Definition: ntddk_ex.h:95
Status
Definition: gdiplustypes.h:25
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)