msctf: Hook up ITfContextOwnerCompositionSink if present.
[wine/hacks.git] / programs / winhlp32 / macro.h
blob8b157197ca55690c25c8aea8b75f48e333f7b6d8
1 /*
2 * Help Viewer
4 * Copyright 1996 Ulrich Schmid
5 * Copyright 2002 Eric Pouech
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
27 struct lexret {
28 LPCSTR proto;
29 BOOL bool;
30 LONG integer;
31 LPCSTR string;
32 FARPROC function;
35 extern struct lexret yylval;
37 BOOL MACRO_ExecuteMacro(LPCSTR);
38 int MACRO_Lookup(const char* name, struct lexret* lr);
40 enum token_types {EMPTY, VOID_FUNCTION, BOOL_FUNCTION, INTEGER, STRING, IDENTIFIER};
41 void CALLBACK MACRO_About(void);
42 void CALLBACK MACRO_Annotate(void);
43 void CALLBACK MACRO_BookmarkDefine(void);
44 void CALLBACK MACRO_CopyDialog(void);
45 void CALLBACK MACRO_CreateButton(LPCSTR, LPCSTR, LPCSTR);
46 void CALLBACK MACRO_DisableButton(LPCSTR);
47 void CALLBACK MACRO_Exit(void);
48 void CALLBACK MACRO_FileOpen(void);
49 void CALLBACK MACRO_HelpOn(void);
50 void CALLBACK MACRO_HelpOnTop(void);
51 void CALLBACK MACRO_History(void);
52 void CALLBACK MACRO_JumpContents(LPCSTR, LPCSTR);
53 void CALLBACK MACRO_JumpContext(LPCSTR, LPCSTR, LONG);
54 void CALLBACK MACRO_JumpHash(LPCSTR, LPCSTR, LONG);
55 void CALLBACK MACRO_PopupContext(LPCSTR, LONG);
56 void CALLBACK MACRO_Print(void);
57 void CALLBACK MACRO_PrinterSetup(void);
58 void CALLBACK MACRO_SetContents(LPCSTR, LONG);
60 /* Local Variables: */
61 /* c-file-style: "GNU" */
62 /* End: */