blob: 5577af6a5dceaa5acb5f533ef1090d3dc8bceeab [file] [log] [blame]
Alexandre Julliarda69b88b1998-03-15 20:29:56 +00001
Alexandre Julliardc7c217b1998-04-13 12:21:30 +00002/* for SMALL_RECT */
3#include "wincon.h"
4
Alexandre Julliarda11d7b11998-03-01 20:05:02 +00005/* Add global function prototypes here */
6
7BOOL InitApplication(HINSTANCE);
8BOOL InitInstance(HINSTANCE, int);
9BOOL CenterWindow(HWND, HWND);
10
11/* Add new callback function prototypes here */
12
13LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
14
15/* Global variable declarations */
16
17extern HINSTANCE hInst; /* The current instance handle */
18extern char szAppName[]; /* The name of this application */
19extern char szTitle[]; /* The title bar text */
20
Alexandre Julliarda69b88b1998-03-15 20:29:56 +000021
Alexandre Julliardc7c217b1998-04-13 12:21:30 +000022#pragma pack(1)
Alexandre Julliard54c27111998-03-29 19:44:57 +000023typedef struct
24{
25 DWORD key;
26 WORD hmf;
27 SMALL_RECT bbox;
28 WORD inch;
29 DWORD reserved;
30 WORD checksum;
31} APMFILEHEADER;
Alexandre Julliarda11d7b11998-03-01 20:05:02 +000032
33#define APMHEADER_KEY 0x9AC6CDD7l
34
35