Peter Rosin : ntdll: Document RtlSetThreadErrorMode and RtlGetThreadErrorMode.

Alexandre Julliard julliard at winehq.org
Fri Feb 5 08:42:30 CST 2010


Module: wine
Branch: master
Commit: 091f0fedfe3736cf9690d32bef6ddfb3dd1fb50b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=091f0fedfe3736cf9690d32bef6ddfb3dd1fb50b

Author: Peter Rosin <peda at lysator.liu.se>
Date:   Thu Feb  4 08:20:10 2010 +0100

ntdll: Document RtlSetThreadErrorMode and RtlGetThreadErrorMode.

---

 dlls/ntdll/rtl.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index 69a2955..d4a7045 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -1168,6 +1168,16 @@ NTSTATUS WINAPI RtlDecompressBuffer(USHORT CompressionFormat, PUCHAR Uncompresse
 
 /***********************************************************************
  *  RtlSetThreadErrorMode 	[NTDLL.@]
+ *
+ * Set the thread local error mode.
+ *
+ * PARAMS
+ *  mode    [I] The new error mode
+ *  oldmode [O] Destination of the old error mode (may be NULL)
+ *
+ * RETURNS
+ *  Success: STATUS_SUCCESS
+ *  Failure: STATUS_INVALID_PARAMETER_1
  */
 NTSTATUS WINAPI RtlSetThreadErrorMode( DWORD mode, LPDWORD oldmode )
 {
@@ -1183,6 +1193,14 @@ NTSTATUS WINAPI RtlSetThreadErrorMode( DWORD mode, LPDWORD oldmode )
 
 /***********************************************************************
  *  RtlGetThreadErrorMode 	[NTDLL.@]
+ *
+ * Get the thread local error mode.
+ *
+ * PARAMS
+ *  None.
+ *
+ * RETURNS
+ *  The current thread local error mode.
  */
 DWORD WINAPI RtlGetThreadErrorMode( void )
 {




More information about the wine-cvs mailing list