Commit 678cb27b authored by Peter Rosin's avatar Peter Rosin Committed by Alexandre Julliard

kernel32: Document SetThreadErrorMode and GetThreadErrorMode.

parent 091f0fed
...@@ -671,6 +671,17 @@ static DWORD rtlmode_to_win32mode( DWORD rtlmode ) ...@@ -671,6 +671,17 @@ static DWORD rtlmode_to_win32mode( DWORD rtlmode )
/*********************************************************************** /***********************************************************************
* SetThreadErrorMode (KERNEL32.@) * 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 ) BOOL WINAPI SetThreadErrorMode( DWORD mode, LPDWORD oldmode )
{ {
...@@ -707,6 +718,14 @@ BOOL WINAPI SetThreadErrorMode( DWORD mode, LPDWORD oldmode ) ...@@ -707,6 +718,14 @@ BOOL WINAPI SetThreadErrorMode( DWORD mode, LPDWORD oldmode )
/*********************************************************************** /***********************************************************************
* GetThreadErrorMode (KERNEL32.@) * GetThreadErrorMode (KERNEL32.@)
*
* Get the thread local error mode.
*
* PARAMS
* None.
*
* RETURNS
* The current thread local error mode.
*/ */
DWORD WINAPI GetThreadErrorMode( void ) DWORD WINAPI GetThreadErrorMode( void )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment