kernel32: Implemented GetErrorMode().

This commit is contained in:
Nikolay Sivov 2009-01-12 23:54:12 +03:00 committed by Alexandre Julliard
parent 444f4a7fbc
commit 2013cdc604
3 changed files with 9 additions and 1 deletions

View File

@ -513,7 +513,7 @@
@ stdcall GetEnvironmentStringsW() @ stdcall GetEnvironmentStringsW()
@ stdcall GetEnvironmentVariableA(str ptr long) @ stdcall GetEnvironmentVariableA(str ptr long)
@ stdcall GetEnvironmentVariableW(wstr ptr long) @ stdcall GetEnvironmentVariableW(wstr ptr long)
@ stub GetErrorMode @ stdcall GetErrorMode()
@ stdcall GetExitCodeProcess(long ptr) @ stdcall GetExitCodeProcess(long ptr)
@ stdcall GetExitCodeThread(long ptr) @ stdcall GetExitCodeThread(long ptr)
@ stdcall GetExpandedNameA(str ptr) @ stdcall GetExpandedNameA(str ptr)

View File

@ -2238,6 +2238,13 @@ UINT WINAPI SetErrorMode( UINT mode )
return old; return old;
} }
/***********************************************************************
* GetErrorMode (KERNEL32.@)
*/
UINT WINAPI GetErrorMode( void )
{
return process_error_mode;
}
/********************************************************************** /**********************************************************************
* TlsAlloc [KERNEL32.@] * TlsAlloc [KERNEL32.@]

View File

@ -1604,6 +1604,7 @@ WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void);
WINBASEAPI DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD); WINBASEAPI DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
WINBASEAPI DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD); WINBASEAPI DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
#define GetEnvironmentVariable WINELIB_NAME_AW(GetEnvironmentVariable) #define GetEnvironmentVariable WINELIB_NAME_AW(GetEnvironmentVariable)
WINBASEAPI UINT WINAPI GetErrorMode(void);
WINBASEAPI BOOL WINAPI GetExitCodeProcess(HANDLE,LPDWORD); WINBASEAPI BOOL WINAPI GetExitCodeProcess(HANDLE,LPDWORD);
WINBASEAPI BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD); WINBASEAPI BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD);
WINBASEAPI DWORD WINAPI GetFileAttributesA(LPCSTR); WINBASEAPI DWORD WINAPI GetFileAttributesA(LPCSTR);