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.
13 #pragma GCC system_header
20 /* configure dialog identifier */
21 #define DLG_SCRNSAVECONFIGURE 2003
23 #define idsIsPassword 1000
24 #define idsIniFile 1001
25 #define idsScreenSaver 1002
26 #define idsPassword 1003
27 #define idsDifferentPW 1004
28 #define idsChangePW 1005
29 #define idsBadOldPW 1006
30 #define idsAppName 1007
31 #define idsNoHelpMemory 1008
32 #define idsHelpFile 1009
33 #define idsDefKeyword 1010
35 #define IDS_DESCRIPTION 1
38 #define WS_GT (WS_GROUP | WS_TABSTOP)
39 #define SCRM_VERIFYPW WM_APP
41 #define TITLEBARNAMELEN 40
42 #define APPNAMEBUFFERLEN 40
47 /* functions provided by the aothor of the screen saver */
48 BOOL WINAPI
ScreenSaverConfigureDialog(HWND
,UINT
,WPARAM
,LPARAM
);
49 BOOL WINAPI
RegisterDialogClasses(HANDLE
);
50 LONG WINAPI
ScreenSaverProc(HWND
,UINT
,WPARAM
,LPARAM
);
52 /* Change name of function if we are using UNICODE */
54 #define DefScreenSaverProc DefScreenSaverProcW
57 /* default screen saver proc; call instead of DefWindowProc */
58 LONG WINAPI
DefScreenSaverProc(HWND
,UINT
,WPARAM
,LPARAM
);
61 void WINAPI
ScreenSaverChangePassword(HWND
);
63 /* globals that may be used by screen saver */
64 extern HINSTANCE hMainInstance
;
65 extern HWND hMainWindow
;
66 extern BOOL fChildPreview
;
67 extern TCHAR szName
[];
68 extern TCHAR szAppName
[];
69 extern TCHAR szIniFile
[];
70 extern TCHAR szScreenSaver
[];
71 extern TCHAR szHelpFile
[];
72 extern TCHAR szNoHelpMemory
[];
73 extern UINT MyHelpMessage
;
75 #endif /* RC_INVOKED */
81 #endif /* _SCRNSAVE_H */