globals.h 728 Bytes
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1

Alexandre Julliard's avatar
Alexandre Julliard committed
2 3 4
/* for SMALL_RECT */
#include "wincon.h" 

Alexandre Julliard's avatar
Alexandre Julliard committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*  Add global function prototypes here */

BOOL InitApplication(HINSTANCE);
BOOL InitInstance(HINSTANCE, int);
BOOL CenterWindow(HWND, HWND);

/* Add new callback function prototypes here  */

LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);

/* Global variable declarations */

extern HINSTANCE hInst;          /* The current instance handle */
extern char      szAppName[];    /* The name of this application */
extern char      szTitle[];      /* The title bar text */

Alexandre Julliard's avatar
Alexandre Julliard committed
21

22
#include "pshpack1.h"
Alexandre Julliard's avatar
Alexandre Julliard committed
23 24 25 26 27 28 29 30 31
typedef struct
{
	DWORD		key;
	WORD		hmf;
	SMALL_RECT	bbox;
	WORD		inch;
	DWORD		reserved;
	WORD		checksum;
} APMFILEHEADER;
Alexandre Julliard's avatar
Alexandre Julliard committed
32 33 34

#define APMHEADER_KEY	0x9AC6CDD7l

35
#include "poppack.h"