Release 980329
[wine/multimedia.git] / programs / view / globals.h
blob9889911ab5d71eddd3cc8324ac905c1473429ed7
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 */
19 #ifdef WINELIB
20 typedef struct
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 #else
30 #pragma pack( 2 )
31 typedef struct
33 DWORD key;
34 WORD hmf;
35 SMALL_RECT bbox;
36 WORD inch;
37 DWORD reserved;
38 WORD checksum;
39 } APMFILEHEADER;
40 #endif
42 #define APMHEADER_KEY 0x9AC6CDD7l