[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #ifndef _INC_SCRNSAVE
|
---|
| 7 | #define _INC_SCRNSAVE
|
---|
| 8 |
|
---|
| 9 | #include <pshpack1.h>
|
---|
| 10 |
|
---|
| 11 | #ifdef __cplusplus
|
---|
| 12 | extern "C" {
|
---|
| 13 | #endif
|
---|
| 14 |
|
---|
| 15 | #define IDS_DESCRIPTION 1
|
---|
| 16 |
|
---|
| 17 | #define ID_APP 100
|
---|
| 18 | #define DLG_SCRNSAVECONFIGURE 2003
|
---|
| 19 |
|
---|
| 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
|
---|
| 31 |
|
---|
| 32 | #if defined(UNICODE)
|
---|
| 33 | LRESULT WINAPI ScreenSaverProcW(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
| 34 | #define ScreenSaverProc ScreenSaverProcW
|
---|
| 35 | #else
|
---|
| 36 | LRESULT WINAPI ScreenSaverProc(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
| 37 | #endif
|
---|
| 38 |
|
---|
| 39 | LRESULT WINAPI DefScreenSaverProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam);
|
---|
| 40 | WINBOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
| 41 | WINBOOL WINAPI RegisterDialogClasses(HANDLE hInst);
|
---|
| 42 |
|
---|
| 43 | #define WS_GT (WS_GROUP | WS_TABSTOP)
|
---|
| 44 |
|
---|
| 45 | #define MAXFILELEN 13
|
---|
| 46 | #define TITLEBARNAMELEN 40
|
---|
| 47 | #define APPNAMEBUFFERLEN 40
|
---|
| 48 | #define BUFFLEN 255
|
---|
| 49 |
|
---|
| 50 | extern HINSTANCE hMainInstance;
|
---|
| 51 | extern HWND hMainWindow;
|
---|
| 52 | extern WINBOOL fChildPreview;
|
---|
| 53 | extern TCHAR szName[TITLEBARNAMELEN];
|
---|
| 54 | extern TCHAR szAppName[APPNAMEBUFFERLEN];
|
---|
| 55 | extern TCHAR szIniFile[MAXFILELEN];
|
---|
| 56 | extern TCHAR szScreenSaver[22];
|
---|
| 57 | extern TCHAR szHelpFile[MAXFILELEN];
|
---|
| 58 | extern TCHAR szNoHelpMemory[BUFFLEN];
|
---|
| 59 | extern UINT MyHelpMessage;
|
---|
| 60 |
|
---|
| 61 | #define SCRM_VERIFYPW WM_APP
|
---|
| 62 |
|
---|
| 63 | void WINAPI ScreenSaverChangePassword(HWND hParent);
|
---|
| 64 |
|
---|
| 65 | #ifdef __cplusplus
|
---|
| 66 | }
|
---|
| 67 | #endif
|
---|
| 68 |
|
---|
| 69 | #include <poppack.h>
|
---|
| 70 | #endif
|
---|