diff --git a/reactos/lib/ntdll/def/ntdll.def b/reactos/lib/ntdll/def/ntdll.def index 91fa0129ed6..c872d3dada5 100644 --- a/reactos/lib/ntdll/def/ntdll.def +++ b/reactos/lib/ntdll/def/ntdll.def @@ -1,4 +1,4 @@ -; $Id: ntdll.def,v 1.29 1999/12/12 00:17:25 ekohl Exp $ +; $Id: ntdll.def,v 1.30 1999/12/18 10:16:11 ea Exp $ ; ; ReactOS Operating System ; @@ -490,7 +490,7 @@ RtlLockHeap@4 RtlMoveMemory@12 RtlMultiByteToUnicodeN@20 RtlNormalizeProcessParams@4 -RtlNtStatusToDosError +RtlNtStatusToDosError@4 RtlNtStatusToPsxErrno@4 RtlOemStringToUnicodeSize@4 RtlOemStringToUnicodeString@12 diff --git a/reactos/lib/ntdll/def/ntdll.edf b/reactos/lib/ntdll/def/ntdll.edf index 134110f54b1..04759a11051 100644 --- a/reactos/lib/ntdll/def/ntdll.edf +++ b/reactos/lib/ntdll/def/ntdll.edf @@ -1,4 +1,4 @@ -; $Id: ntdll.edf,v 1.19 1999/12/12 00:17:25 ekohl Exp $ +; $Id: ntdll.edf,v 1.20 1999/12/18 10:16:11 ea Exp $ ; ; ReactOS Operating System ; @@ -487,7 +487,7 @@ RtlLockHeap=RtlLockHeap@4 RtlMoveMemory=RtlMoveMemory@12 RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20 RtlNormalizeProcessParams=RtlNormalizeProcessParams@4 -RtlNtStatusToDosError +RtlNtStatusToDosError=RtlNtStatusToDosError@4 RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4 RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4 RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12 diff --git a/reactos/lib/ntdll/rtl/error.c b/reactos/lib/ntdll/rtl/error.c index e859e75f9b5..17c88cff564 100644 --- a/reactos/lib/ntdll/rtl/error.c +++ b/reactos/lib/ntdll/rtl/error.c @@ -1,4 +1,4 @@ -/* $Id: error.c,v 1.2 1999/12/04 21:02:25 ea Exp $ +/* $Id: error.c,v 1.3 1999/12/18 10:16:11 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -8,6 +8,7 @@ * REVISION HISTORY: * 22/07/99: Added RtlNtStatusToDosError. * 1999-11-30: Added RtlNtStatusToPsxErrno. + * 1999-12-18: STDCALL RtlNtStatusToDosError */ /* INCLUDES *****************************************************************/ @@ -20,7 +21,7 @@ /* FUNCTIONS ***************************************************************/ -DWORD RtlNtStatusToDosError(NTSTATUS Status) +DWORD STDCALL RtlNtStatusToDosError (NTSTATUS Status) { switch (Status) { @@ -624,7 +625,7 @@ STATUS_VERIFY_REQUIRED ERROR_MEDIA_CHANGED * RtlNtStatusToPsxErrno * * DESCRIPTION - * Convert an Execute status ID into a POSIX error number + * Convert an Executive status ID into a POSIX error number * (errno.h). * * NOTE