Re: Adding SwitchToThread to winbase.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch superceeds the previous one.

Changelog:

 * include/msvcrt/stdlib.h,
   include/winbase.h

   Add constants for _set_error_mode()
   Add declaration for SignalObjectAndWait and SwitchToThread


Index: include/msvcrt/stdlib.h
===================================================================
RCS file: /home/wine/wine/include/msvcrt/stdlib.h,v
retrieving revision 1.5
diff -u -r1.5 stdlib.h
--- include/msvcrt/stdlib.h	22 Feb 2002 21:20:40 -0000	1.5
+++ include/msvcrt/stdlib.h	27 Nov 2002 20:06:45 -0000
@@ -49,6 +49,12 @@
 #define min(a,b)   (((a) < (b)) ? (a) : (b))
 #endif

+/* _set_error_mode() constants */
+#define _OUT_TO_DEFAULT      0
+#define _OUT_TO_STDERR       1
+#define _OUT_TO_MSGBOX       2
+#define _REPORT_ERRMODE      3
+

 #ifdef __cplusplus
 extern "C" {
Index: include/winbase.h
===================================================================
RCS file: /home/wine/wine/include/winbase.h,v
retrieving revision 1.167
diff -u -r1.167 winbase.h
--- include/winbase.h	25 Nov 2002 20:51:31 -0000	1.167
+++ include/winbase.h	27 Nov 2002 20:25:59 -0000
@@ -1493,9 +1493,11 @@
 BOOL        WINAPI SetTimeZoneInformation(const LPTIME_ZONE_INFORMATION);
 BOOL        WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,BOOL);
 BOOL        WINAPI SetupComm(HANDLE,DWORD,DWORD);
+DWORD       WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL);
 VOID        WINAPI Sleep(DWORD);
 DWORD       WINAPI SleepEx(DWORD,BOOL);
 DWORD       WINAPI SuspendThread(HANDLE);
+BOOL        WINAPI SwitchToThread(void);
 BOOL        WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME);
 DWORD       WINAPI TlsAlloc(void);
 BOOL        WINAPI TlsFree(DWORD);



-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
               RFC 2549: ftp://ftp.isi.edu/in-notes/rfc2549.txt
                IP over Avian Carriers with Quality of Service



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux