Initial IBM OpenAFS 1.0 tree
[openafs.git] / src / WINNT / talocale / tal_dialog.h
1 #ifndef TAL_DIALOG_H
2 #define TAL_DIALOG_H
3
4
5 /*
6  * DEFINITIONS ________________________________________________________________
7  *
8  */
9
10 #define MB_MODELESS  0x80000000L   // for Message, vMessage
11
12
13 /*
14  * PROTOTYPES _________________________________________________________________
15  *
16  */
17
18 extern HWND ModelessDialog (int idd, HWND hWndParent, DLGPROC lpDialogFunc);
19 extern HWND ModelessDialogParam (int idd, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
20
21 extern int ModalDialog (int idd, HWND hWndParent, DLGPROC lpDialogFunc);
22 extern int ModalDialogParam (int idd, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam);
23
24 extern int cdecl Message (UINT mb_type, LPCTSTR pszTitle, LPCTSTR pszTemplate, LPCTSTR pszFormat = NULL, ...);
25 extern int cdecl Message (UINT mb_type, LPCTSTR pszTitle, int idsTemplate, LPCTSTR pszFormat = NULL, ...);
26 extern int cdecl Message (UINT mb_type, int idsTitle, LPCTSTR pszTemplate, LPCTSTR pszFormat = NULL, ...);
27 extern int cdecl Message (UINT mb_type, int idsTitle, int idsTemplate, LPCTSTR pszFormat = NULL, ...);
28 extern int cdecl vMessage (UINT mb_type, LPCTSTR pszTitle, LPCTSTR pszTemplate, LPCTSTR pszFormat, va_list arg);
29 extern int cdecl vMessage (UINT mb_type, LPCTSTR pszTitle, int idsTemplate, LPCTSTR pszFormat, va_list arg);
30 extern int cdecl vMessage (UINT mb_type, int idsTitle, LPCTSTR pszTemplate, LPCTSTR pszFormat, va_list arg);
31 extern int cdecl vMessage (UINT mb_type, int idsTitle, int idsTemplate, LPCTSTR pszFormat, va_list arg);
32
33 #endif
34