ReactOS  0.4.12-dev-14-gd0c8636
macro.h
Go to the documentation of this file.
1 /*
2  * Help Viewer
3  *
4  * Copyright 1996 Ulrich Schmid
5  * Copyright 2002 Eric Pouech
6  *
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.
11  *
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.
16  *
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
20  */
21 
22 #pragma once
23 
24 #include <stdarg.h>
25 
26 #include "windef.h"
27 #include "winbase.h"
28 
29 struct lexret {
34  FARPROC function;
35 };
36 
37 extern struct lexret yylval;
38 struct tagWinHelp;
39 
41 int MACRO_Lookup(const char* name, struct lexret* lr);
42 struct tagWinHelp* MACRO_CurrentWindow(void);
43 
45 void CALLBACK MACRO_About(void);
46 void CALLBACK MACRO_Annotate(void);
48 void CALLBACK MACRO_CopyDialog(void);
51 void CALLBACK MACRO_Exit(void);
52 void CALLBACK MACRO_FileOpen(void);
53 void CALLBACK MACRO_HelpOn(void);
54 void CALLBACK MACRO_HelpOnTop(void);
55 void CALLBACK MACRO_History(void);
60 void CALLBACK MACRO_Print(void);
61 void CALLBACK MACRO_PrinterSetup(void);
63 
64 /* Local Variables: */
65 /* c-file-style: "GNU" */
66 /* End: */
void CALLBACK MACRO_About(void)
Definition: macro.c:152
int MACRO_Lookup(const char *name, struct lexret *lr)
Definition: macro.c:1024
void CALLBACK MACRO_PopupContext(LPCSTR, LONG)
Definition: macro.c:680
void CALLBACK MACRO_JumpContext(LPCSTR, LPCSTR, LONG)
Definition: macro.c:573
void CALLBACK MACRO_SetContents(LPCSTR, LONG)
Definition: macro.c:833
#define CALLBACK
Definition: compat.h:27
Definition: macro.h:44
Definition: macro.h:44
void CALLBACK MACRO_Print(void)
Definition: macro.c:715
Definition: macro.h:29
void CALLBACK MACRO_FileOpen(void)
Definition: macro.c:421
void CALLBACK MACRO_PrinterSetup(void)
Definition: macro.c:746
void CALLBACK MACRO_DisableButton(LPCSTR)
Definition: macro.c:116
long LONG
Definition: pedump.c:60
void CALLBACK MACRO_Exit(void)
Definition: macro.c:392
void CALLBACK MACRO_HelpOnTop(void)
Definition: macro.c:489
void CALLBACK MACRO_Annotate(void)
Definition: macro.c:171
struct tagWinHelp * MACRO_CurrentWindow(void)
token_types
Definition: macro.h:44
const char * LPCSTR
Definition: xmlstorage.h:183
LPCSTR proto
Definition: macro.h:30
unsigned int BOOL
Definition: ntddk_ex.h:94
void CALLBACK MACRO_JumpHash(LPCSTR, LPCSTR, LONG)
Definition: macro.c:585
void CALLBACK MACRO_History(void)
Definition: macro.c:516
LONG integer
Definition: macro.h:32
BOOL MACRO_ExecuteMacro(struct tagWinHelp *, LPCSTR)
LPCSTR string
Definition: macro.h:33
void CALLBACK MACRO_CopyDialog(void)
Definition: macro.c:336
void CALLBACK MACRO_HelpOn(void)
Definition: macro.c:474
struct lexret yylval
Definition: macro.lex.yy.c:526
void CALLBACK MACRO_BookmarkDefine(void)
Definition: macro.c:200
Definition: name.c:36
BOOL bool
Definition: macro.h:31
void CALLBACK MACRO_JumpContents(LPCSTR, LPCSTR)
Definition: macro.c:140
Definition: macro.h:44
void CALLBACK MACRO_CreateButton(LPCSTR, LPCSTR, LPCSTR)
Definition: macro.c:73
int(* FARPROC)()
Definition: compat.h:28