Module: wine Branch: master Commit: 678cb27b3aa40404de09c131c95344f66274d856 URL: http://source.winehq.org/git/wine.git/?a=commit;h=678cb27b3aa40404de09c131c9...
Author: Peter Rosin peda@lysator.liu.se Date: Thu Feb 4 14:22:28 2010 +0100
kernel32: Document SetThreadErrorMode and GetThreadErrorMode.
---
dlls/kernel32/thread.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/thread.c b/dlls/kernel32/thread.c index e3754c2..f6a2b0f 100644 --- a/dlls/kernel32/thread.c +++ b/dlls/kernel32/thread.c @@ -671,6 +671,17 @@ static DWORD rtlmode_to_win32mode( DWORD rtlmode )
/*********************************************************************** * SetThreadErrorMode (KERNEL32.@) + * + * Set the thread local error mode. + * + * PARAMS + * mode [I] The new error mode, a bitwise or of SEM_FAILCRITICALERRORS, + * SEM_NOGPFAULTERRORBOX and SEM_NOOPENFILEERRORBOX. + * oldmode [O] Destination of the old error mode (may be NULL) + * + * RETURNS + * Success: TRUE + * Failure: FALSE, check GetLastError */ BOOL WINAPI SetThreadErrorMode( DWORD mode, LPDWORD oldmode ) { @@ -707,6 +718,14 @@ BOOL WINAPI SetThreadErrorMode( DWORD mode, LPDWORD oldmode )
/*********************************************************************** * GetThreadErrorMode (KERNEL32.@) + * + * Get the thread local error mode. + * + * PARAMS + * None. + * + * RETURNS + * The current thread local error mode. */ DWORD WINAPI GetThreadErrorMode( void ) {