Protect against wrong return value from WM_INITDIALOG.
[wine] / include / progress.h
1 /*
2  * Progress class extra info
3  *
4  * Copyright 1997 Dimitrie O. Paun
5  */
6
7 #ifndef __WINE_PROGRESS_H
8 #define __WINE_PROGRESS_H
9
10 #include "windef.h"
11 #include "wingdi.h"
12
13 typedef struct
14 {
15   INT       CurVal;       /* Current progress value */
16   INT       MinVal;       /* Minimum progress value */
17   INT       MaxVal;       /* Maximum progress value */
18   INT       Step;         /* Step to use on PMB_STEPIT */
19   COLORREF    ColorBar;     /* Bar color */
20   COLORREF    ColorBk;      /* Background color */
21   HFONT     hFont;        /* Handle to font (not unused) */
22 } PROGRESS_INFO;
23
24
25 extern VOID PROGRESS_Register (VOID);
26 extern VOID PROGRESS_Unregister (VOID);
27
28 #endif  /* __WINE_PROGRESS_H */