Alexandre Julliard | a69b88b | 1998-03-15 20:29:56 +0000 | [diff] [blame] | 1 | |
Alexandre Julliard | c7c217b | 1998-04-13 12:21:30 +0000 | [diff] [blame] | 2 | /* for SMALL_RECT */ |
| 3 | #include "wincon.h" |
| 4 | |
Alexandre Julliard | a11d7b1 | 1998-03-01 20:05:02 +0000 | [diff] [blame] | 5 | /* Add global function prototypes here */ |
| 6 | |
| 7 | BOOL InitApplication(HINSTANCE); |
| 8 | BOOL InitInstance(HINSTANCE, int); |
| 9 | BOOL CenterWindow(HWND, HWND); |
| 10 | |
| 11 | /* Add new callback function prototypes here */ |
| 12 | |
| 13 | LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); |
| 14 | |
| 15 | /* Global variable declarations */ |
| 16 | |
| 17 | extern HINSTANCE hInst; /* The current instance handle */ |
| 18 | extern char szAppName[]; /* The name of this application */ |
| 19 | extern char szTitle[]; /* The title bar text */ |
| 20 | |
Alexandre Julliard | a69b88b | 1998-03-15 20:29:56 +0000 | [diff] [blame] | 21 | |
Alexandre Julliard | c7c217b | 1998-04-13 12:21:30 +0000 | [diff] [blame] | 22 | #pragma pack(1) |
Alexandre Julliard | 54c2711 | 1998-03-29 19:44:57 +0000 | [diff] [blame] | 23 | typedef struct |
| 24 | { |
| 25 | DWORD key; |
| 26 | WORD hmf; |
| 27 | SMALL_RECT bbox; |
| 28 | WORD inch; |
| 29 | DWORD reserved; |
| 30 | WORD checksum; |
| 31 | } APMFILEHEADER; |
Alexandre Julliard | a11d7b1 | 1998-03-01 20:05:02 +0000 | [diff] [blame] | 32 | |
| 33 | #define APMHEADER_KEY 0x9AC6CDD7l |
| 34 | |
| 35 | |