Release 980301
[wine] / programs / view / globals.h
1 /*  Add global function prototypes here */
2
3 BOOL InitApplication(HINSTANCE);
4 BOOL InitInstance(HINSTANCE, int);
5 BOOL CenterWindow(HWND, HWND);
6
7 /* Add new callback function prototypes here  */
8
9 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
10
11 /* Global variable declarations */
12
13 extern HINSTANCE hInst;          /* The current instance handle */
14 extern char      szAppName[];    /* The name of this application */
15 extern char      szTitle[];      /* The title bar text */
16
17 typedef struct
18 {
19         DWORD   key;
20         HANDLE  hmf;
21         RECT    bbox;
22         WORD    inch;
23         DWORD   reserved;
24         WORD    checksum;
25 } APMFILEHEADER;
26
27 #define APMHEADER_KEY   0x9AC6CDD7l
28
29