Always return success instead of overflow if caller didn't specify a
[wine/multimedia.git] / programs / view / globals.h
blob186bc7535799e076357a76cea86cf4156e2901f4
2 /* for SMALL_RECT */
3 #include "wincon.h"
4 #include "resource.h"
6 /* Add global function prototypes here */
8 BOOL InitApplication(HINSTANCE);
9 BOOL InitInstance(HINSTANCE, int);
10 BOOL CenterWindow(HWND, HWND);
12 /* Add new callback function prototypes here */
14 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
16 /* Global variable declarations */
18 extern HINSTANCE hInst; /* The current instance handle */
19 extern char szAppName[]; /* The name of this application */
20 extern char szTitle[]; /* The title bar text */
23 #include "pshpack1.h"
24 typedef struct
26 DWORD key;
27 WORD hmf;
28 SMALL_RECT bbox;
29 WORD inch;
30 DWORD reserved;
31 WORD checksum;
32 } APMFILEHEADER;
34 #define APMHEADER_KEY 0x9AC6CDD7l
36 #include "poppack.h"