windebug.c 1.66 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3 4
/*
 * WINDEBUG.DLL
 *
 * Copyright (c) 1997 Andreas Mohr
5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Alexandre Julliard's avatar
Alexandre Julliard committed
19 20
 */

21
#include <stdarg.h>
Alexandre Julliard's avatar
Alexandre Julliard committed
22 23
#include <string.h>
#include <stdlib.h>
24
#include "windef.h"
25
#include "wine/debug.h"
Alexandre Julliard's avatar
Alexandre Julliard committed
26

27
WINE_DEFAULT_DEBUG_CHANNEL(dll);
28

Alexandre Julliard's avatar
Alexandre Julliard committed
29
/***********************************************************************
Alexandre Julliard's avatar
Alexandre Julliard committed
30
 *           WinNotify       (WINDEBUG.3)
Alexandre Julliard's avatar
Alexandre Julliard committed
31 32
 *  written without _any_ docu
 */
33
void WINAPI WinNotify16(CONTEXT86 *context)
Alexandre Julliard's avatar
Alexandre Julliard committed
34
{
35 36
	FIXME("(AX=%04x):stub.\n", LOWORD(context->Eax));
	switch (LOWORD(context->Eax))
Alexandre Julliard's avatar
Alexandre Julliard committed
37 38
	{
		case 0x000D:
Alexandre Julliard's avatar
Alexandre Julliard committed
39
		case 0x000E:
Alexandre Julliard's avatar
Alexandre Julliard committed
40 41
		case 0x0060:	/* do nothing */
				break;
42
		case 0x0062:
Alexandre Julliard's avatar
Alexandre Julliard committed
43
				break;
Alexandre Julliard's avatar
Alexandre Julliard committed
44 45 46 47 48 49 50
		case 0x0063:	/* do something complicated */
				break;
		case 0x0064:	/* do something complicated */
				break;
		case 0x0065:	/* do something complicated */
				break;
		case 0x0050:	/* do something complicated, now just return error */
51
				context->EFlags |= 0x0001;  /* set C flag */
Alexandre Julliard's avatar
Alexandre Julliard committed
52 53 54 55 56
				break;
		case 0x0052:	/* do something complicated */
				break;
		default:
				break;
57
	}
Alexandre Julliard's avatar
Alexandre Julliard committed
58
}