Adding SwitchToThread to winbase.h

Francois Gouget fgouget at free.fr
Thu Nov 28 12:37:38 CST 2002


On Wed, 27 Nov 2002, Francois Gouget wrote:

>
> 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

Updated the patch to the latest CVS:


Index: include/winbase.h
===================================================================
RCS file: /home/wine/wine/include/winbase.h,v
retrieving revision 1.169
diff -u -r1.169 winbase.h
--- include/winbase.h	27 Nov 2002 21:38:06 -0000	1.169
+++ include/winbase.h	28 Nov 2002 08:37:26 -0000
@@ -1496,6 +1496,7 @@
 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);
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	28 Nov 2002 08:37:27 -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" {



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                  Hiroshima '45 - Czernobyl '86 - Windows '95




More information about the wine-patches mailing list