2 Screen saver library by Anders Norlander <anorland@hem2.passagen.se>
4 This library is (hopefully) compatible with Microsoft's
7 This is public domain software.
12 #pragma GCC system_header
18 /* configure dialog identifier */
19 #define DLG_SCRNSAVECONFIGURE 2003
21 #define idsIsPassword 1000
22 #define idsIniFile 1001
23 #define idsScreenSaver 1002
24 #define idsPassword 1003
25 #define idsDifferentPW 1004
26 #define idsChangePW 1005
27 #define idsBadOldPW 1006
28 #define idsAppName 1007
29 #define idsNoHelpMemory 1008
30 #define idsHelpFile 1009
31 #define idsDefKeyword 1010
33 #define IDS_DESCRIPTION 1
36 #define WS_GT (WS_GROUP | WS_TABSTOP)
37 #define SCRM_VERIFYPW WM_APP
39 #define TITLEBARNAMELEN 40
40 #define APPNAMEBUFFERLEN 40
45 /* functions provided by the aothor of the screen saver */
46 BOOL WINAPI ScreenSaverConfigureDialog(HWND,UINT,WPARAM,LPARAM);
47 BOOL WINAPI RegisterDialogClasses(HANDLE);
48 LONG WINAPI ScreenSaverProc(HWND,UINT,WPARAM,LPARAM);
50 /* Change name of function if we are using UNICODE */
52 #define DefScreenSaverProc DefScreenSaverProcW
55 /* default screen saver proc; call instead of DefWindowProc */
56 LONG WINAPI DefScreenSaverProc(HWND,UINT,WPARAM,LPARAM);
59 void WINAPI ScreenSaverChangePassword(HWND);
61 /* globals that may be used by screen saver */
62 extern HINSTANCE hMainInstance;
63 extern HWND hMainWindow;
64 extern BOOL fChildPreview;
65 extern TCHAR szName[];
66 extern TCHAR szAppName[];
67 extern TCHAR szIniFile[];
68 extern TCHAR szScreenSaver[];
69 extern TCHAR szHelpFile[];
70 extern TCHAR szNoHelpMemory[];
71 extern UINT MyHelpMessage;
73 #endif /* RC_INVOKED */
79 #endif /* _SCRNSAVE_H */