RtlNtStatusToDosError and RtlNtStatusToPsxErrno declared __stdcall

svn path=/trunk/; revision=890
This commit is contained in:
Emanuele Aliberti 1999-12-18 10:16:11 +00:00
parent e5b9e13d59
commit 5b86e3a918
3 changed files with 8 additions and 7 deletions

View file

@ -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 ; ReactOS Operating System
; ;
@ -490,7 +490,7 @@ RtlLockHeap@4
RtlMoveMemory@12 RtlMoveMemory@12
RtlMultiByteToUnicodeN@20 RtlMultiByteToUnicodeN@20
RtlNormalizeProcessParams@4 RtlNormalizeProcessParams@4
RtlNtStatusToDosError RtlNtStatusToDosError@4
RtlNtStatusToPsxErrno@4 RtlNtStatusToPsxErrno@4
RtlOemStringToUnicodeSize@4 RtlOemStringToUnicodeSize@4
RtlOemStringToUnicodeString@12 RtlOemStringToUnicodeString@12

View file

@ -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 ; ReactOS Operating System
; ;
@ -487,7 +487,7 @@ RtlLockHeap=RtlLockHeap@4
RtlMoveMemory=RtlMoveMemory@12 RtlMoveMemory=RtlMoveMemory@12
RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20 RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20
RtlNormalizeProcessParams=RtlNormalizeProcessParams@4 RtlNormalizeProcessParams=RtlNormalizeProcessParams@4
RtlNtStatusToDosError RtlNtStatusToDosError=RtlNtStatusToDosError@4
RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4 RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4
RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4 RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4
RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12 RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -8,6 +8,7 @@
* REVISION HISTORY: * REVISION HISTORY:
* 22/07/99: Added RtlNtStatusToDosError. * 22/07/99: Added RtlNtStatusToDosError.
* 1999-11-30: Added RtlNtStatusToPsxErrno. * 1999-11-30: Added RtlNtStatusToPsxErrno.
* 1999-12-18: STDCALL RtlNtStatusToDosError
*/ */
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
@ -20,7 +21,7 @@
/* FUNCTIONS ***************************************************************/ /* FUNCTIONS ***************************************************************/
DWORD RtlNtStatusToDosError(NTSTATUS Status) DWORD STDCALL RtlNtStatusToDosError (NTSTATUS Status)
{ {
switch (Status) switch (Status)
{ {
@ -624,7 +625,7 @@ STATUS_VERIFY_REQUIRED ERROR_MEDIA_CHANGED
* RtlNtStatusToPsxErrno * RtlNtStatusToPsxErrno
* *
* DESCRIPTION * DESCRIPTION
* Convert an Execute status ID into a POSIX error number * Convert an Executive status ID into a POSIX error number
* (errno.h). * (errno.h).
* *
* NOTE * NOTE