kernel: Moved main stack initialization to process.c.
[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 "wine/debug.h"
27
28 WINE_DEFAULT_DEBUG_CHANNEL(dll);
29
30 /***********************************************************************
31  *           WinNotify       (WINDEBUG.3)
32  *  written without _any_ docu
33  */
34 void WINAPI WinNotify16(CONTEXT86 *context)
35 {
36         FIXME("(AX=%04x):stub.\n", LOWORD(context->Eax));
37         switch (LOWORD(context->Eax))
38         {
39                 case 0x000D:
40                 case 0x000E:
41                 case 0x0060:    /* do nothing */
42                                 break;
43                 case 0x0062:
44                                 break;
45                 case 0x0063:    /* do something complicated */
46                                 break;
47                 case 0x0064:    /* do something complicated */
48                                 break;
49                 case 0x0065:    /* do something complicated */
50                                 break;
51                 case 0x0050:    /* do something complicated, now just return error */
52                                 context->EFlags |= 0x0001;  /* set C flag */
53                                 break;
54                 case 0x0052:    /* do something complicated */
55                                 break;
56                 default:
57                                 break;
58         }
59 }