include: Specify calling convention explicitly in idl files where needed.
[wine/hramrach.git] / programs / view / globals.h
blobb00ffc57070d69a1df391f48e9b07d392c19b714
1 /*
2 * Copyright 1998 Douglas Ridgway
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 /* for SMALL_RECT */
20 #include "wincon.h"
21 #include "resource.h"
23 /* Add global function prototypes here */
25 BOOL InitApplication(HINSTANCE);
26 BOOL InitInstance(HINSTANCE, int);
27 BOOL CenterWindow(HWND, HWND);
29 /* Add new callback function prototypes here */
31 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
33 /* Global variable declarations */
35 extern HINSTANCE hInst; /* The current instance handle */
36 extern char szAppName[]; /* The name of this application */
37 extern char szTitle[]; /* The title bar text */
40 #include "pshpack1.h"
41 typedef struct
43 DWORD key;
44 WORD hmf;
45 SMALL_RECT bbox;
46 WORD inch;
47 DWORD reserved;
48 WORD checksum;
49 } APMFILEHEADER;
51 #define APMHEADER_KEY 0x9AC6CDD7l
53 #include "poppack.h"