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