Reboot (int19) under DOS now does ExitProcess.
[wine] / dlls / kernel / windebug.c
1 /*
2  * WINDEBUG.DLL
3  *
4  * Copyright (c) 1997 Andreas Mohr
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include <stdarg.h>
22 #include <string.h>
23 #include <stdlib.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "miscemu.h"
27 #include "wine/debug.h"
28
29 WINE_DEFAULT_DEBUG_CHANNEL(dll);
30
31 /***********************************************************************
32  *           WinNotify       (WINDEBUG.3)
33  *  written without _any_ docu
34  */
35 void WINAPI WinNotify16(CONTEXT86 *context)
36 {
37         FIXME("(AX=%04x):stub.\n", AX_reg(context));
38         switch (AX_reg(context))
39         {
40                 case 0x000D:
41                 case 0x000E:
42                 case 0x0060:    /* do nothing */
43                                 break;
44                 case 0x0062:
45                                 break;
46                 case 0x0063:    /* do something complicated */
47                                 break;
48                 case 0x0064:    /* do something complicated */
49                                 break;
50                 case 0x0065:    /* do something complicated */
51                                 break;
52                 case 0x0050:    /* do something complicated, now just return error */
53                                 SET_CFLAG(context);
54                                 break;
55                 case 0x0052:    /* do something complicated */
56                                 break;
57                 default:
58                                 break;
59         }
60 }