ReactOS Fundraising Campaign 2012
 
€ 11,198 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

scrnsave.h
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS Screen Saver Library
00003  * LICENSE:         GPL v2 or any later version
00004  * FILE:            include/psdk/scrnsave.h
00005  * PURPOSE:         Header file for the library
00006  * PROGRAMMERS:     Anders Norlander <anorland@hem2.passagen.se>
00007  *                  Colin Finck <mail@colinfinck.de>
00008  */
00009 
00010 #ifndef _SCRNSAVE_H
00011 #define _SCRNSAVE_H
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 #define idsIsPassword           1000
00018 #define idsIniFile              1001
00019 #define idsScreenSaver          1002
00020 #define idsPassword             1003
00021 #define idsDifferentPW          1004
00022 #define idsChangePW             1005
00023 #define idsBadOldPW             1006
00024 #define idsAppName              1007
00025 #define idsNoHelpMemory         1008
00026 #define idsHelpFile             1009
00027 #define idsDefKeyword           1010
00028 
00029 // If you add a configuration dialog for your screen saver, it must have this dialog ID.
00030 #define DLG_SCRNSAVECONFIGURE   2003
00031 
00032 #define IDS_DESCRIPTION         1
00033 #define ID_APP                  100
00034 
00035 #define WS_GT                   (WS_GROUP | WS_TABSTOP)
00036 #define MAXFILELEN              13
00037 #define TITLEBARNAMELEN         40
00038 #define APPNAMEBUFFERLEN        40
00039 #define BUFFLEN                 255
00040 
00041 // The dialog procedure of the screen saver configure dialog (if any)
00042 // If you don't have a configuration dialog, just implement a procedure that always returns FALSE.
00043 BOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
00044 
00045 // Use this function if you want to register special classes before opening the configuration dialog.
00046 // Return TRUE here if the classes were registered successfully and the configuration dialog shall be opened.
00047 // If you return FALSE, no configuration dialog will be opened.
00048 BOOL WINAPI RegisterDialogClasses(HANDLE hInst);
00049 
00050 // The screen saver window procedure
00051 LRESULT WINAPI ScreenSaverProc(HWND, UINT uMsg, WPARAM wParam, LPARAM lParam);
00052 
00053 // The window procedure, which handles default tasks for screen savers.
00054 // Use this instead of DefWindowProc.
00055 LRESULT WINAPI DefScreenSaverProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00056 
00057 // These globals are defined in the screen saver library.
00058 extern HINSTANCE    hMainInstance;
00059 extern HWND         hMainWindow;
00060 extern BOOL         fChildPreview;
00061 extern TCHAR        szName[];
00062 extern TCHAR        szAppName[];
00063 extern TCHAR        szIniFile[];
00064 extern TCHAR        szScreenSaver[];
00065 extern TCHAR        szHelpFile[];
00066 extern TCHAR        szNoHelpMemory[];
00067 extern UINT         MyHelpMessage;
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif
00072 
00073 #endif /* _SCRNSAVE_H */

Generated on Thu Oct 25 2012 04:38:23 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.