mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
SetLastErrorByStatus() now a macro, for binary compatibility with Windows
svn path=/trunk/; revision=4583
This commit is contained in:
parent
2e6c5e5a92
commit
b9269e59c8
3 changed files with 6 additions and 9 deletions
|
@ -1,12 +1,11 @@
|
|||
#ifndef _INCLUDE_KERNEL32_H
|
||||
#define _INCLUDE_KERNEL32_H
|
||||
/* $Id: error.h,v 1.3 2002/09/08 10:22:30 chorns Exp $ */
|
||||
/* $Id: error.h,v 1.4 2003/04/26 00:25:01 hyperion Exp $ */
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
DWORD
|
||||
STDCALL
|
||||
SetLastErrorByStatus (
|
||||
NTSTATUS Status
|
||||
);
|
||||
|
||||
#define SetLastErrorByStatus(__S__) \
|
||||
((void)SetLastError(RtlNtStatusToDosError(__S__)))
|
||||
|
||||
#endif /* _INCLUDE_KERNEL32_H */
|
||||
|
|
|
@ -579,7 +579,6 @@ SetHandleCount@4
|
|||
SetHandleInformation@12
|
||||
SetLastConsoleEventActive@0
|
||||
SetLastError@4
|
||||
SetLastErrorByStatus@4
|
||||
SetLocalTime@4
|
||||
SetLocaleInfoA@12
|
||||
SetLocaleInfoW@12
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: kernel32.edf,v 1.22 2003/04/02 00:06:00 hyperion Exp $
|
||||
; $Id: kernel32.edf,v 1.23 2003/04/26 00:25:01 hyperion Exp $
|
||||
;
|
||||
; kernel32.edf
|
||||
;
|
||||
|
@ -584,7 +584,6 @@ SetHandleCount=SetHandleCount@4
|
|||
SetHandleInformation=SetHandleInformation@12
|
||||
SetLastConsoleEventActive=SetLastConsoleEventActive@0
|
||||
SetLastError=SetLastError@4
|
||||
SetLastErrorByStatus=SetLastErrorByStatus@4
|
||||
SetLocalTime=SetLocalTime@4
|
||||
SetLocaleInfoA=SetLocaleInfoA@12
|
||||
SetLocaleInfoW=SetLocaleInfoW@12
|
||||
|
|
Loading…
Reference in a new issue