Install msysDVLPR-1.0.0-alpha-1
[msysgit.git] / include / scrnsave.h
blob30889d0eae3d49eade5f2b6108dbd049e64d4be2
1 /*
2 Screen saver library by Anders Norlander <anorland@hem2.passagen.se>
4 This library is (hopefully) compatible with Microsoft's
5 screen saver library.
7 This is public domain software.
9 */
10 #ifndef _SCRNSAVE_H
11 #define _SCRNSAVE_H
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 /* configure dialog identifier */
18 #define DLG_SCRNSAVECONFIGURE 2003
20 #define idsIsPassword 1000
21 #define idsIniFile 1001
22 #define idsScreenSaver 1002
23 #define idsPassword 1003
24 #define idsDifferentPW 1004
25 #define idsChangePW 1005
26 #define idsBadOldPW 1006
27 #define idsAppName 1007
28 #define idsNoHelpMemory 1008
29 #define idsHelpFile 1009
30 #define idsDefKeyword 1010
32 #define IDS_DESCRIPTION 1
33 #define ID_APP 100
35 #define WS_GT (WS_GROUP | WS_TABSTOP)
36 #define SCRM_VERIFYPW WM_APP
37 #define MAXFILELEN 13
38 #define TITLEBARNAMELEN 40
39 #define APPNAMEBUFFERLEN 40
40 #define BUFFLEN 255
42 #ifndef RC_INVOKED
44 /* functions provided by the aothor of the screen saver */
45 BOOL WINAPI ScreenSaverConfigureDialog(HWND,UINT,WPARAM,LPARAM);
46 BOOL WINAPI RegisterDialogClasses(HANDLE);
47 LONG WINAPI ScreenSaverProc(HWND,UINT,WPARAM,LPARAM);
49 /* Change name of function if we are using UNICODE */
50 #ifdef UNICODE
51 #define DefScreenSaverProc DefScreenSaverProcW
52 #endif
54 /* default screen saver proc; call instead of DefWindowProc */
55 LONG WINAPI DefScreenSaverProc(HWND,UINT,WPARAM,LPARAM);
57 /* change password */
58 void WINAPI ScreenSaverChangePassword(HWND);
60 /* globals that may be used by screen saver */
61 extern HINSTANCE hMainInstance;
62 extern HWND hMainWindow;
63 extern BOOL fChildPreview;
64 extern TCHAR szName[];
65 extern TCHAR szAppName[];
66 extern TCHAR szIniFile[];
67 extern TCHAR szScreenSaver[];
68 extern TCHAR szHelpFile[];
69 extern TCHAR szNoHelpMemory[];
70 extern UINT MyHelpMessage;
72 #endif /* RC_INVOKED */
74 #ifdef __cplusplus
76 #endif
78 #endif /* _SCRNSAVE_H */