2 /* Add global function prototypes here */
4 BOOL
InitApplication(HINSTANCE
);
5 BOOL
InitInstance(HINSTANCE
, int);
6 BOOL
CenterWindow(HWND
, HWND
);
8 /* Add new callback function prototypes here */
10 LRESULT CALLBACK
WndProc(HWND
, UINT
, WPARAM
, LPARAM
);
12 /* Global variable declarations */
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 */
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
;
42 #define APMHEADER_KEY 0x9AC6CDD7l