ntdll: Document RtlSetThreadErrorMode and RtlGetThreadErrorMode.

Peter Rosin peda at lysator.liu.se
Thu Feb 4 01:20:10 CST 2010


---
 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 )
 {
-- 
1.6.5


--------------030805060706080707080302--



More information about the wine-patches mailing list