INT_PTR ConfigureDialogProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) VOID SetSliderPosition( HWND hwndDlg, UINT uControl, DWORD dwPosition ) VOID InitializeDefaultSlider( HWND hwndDlg, UINT uControl ) ĭWORD GetSliderPosition( HWND hwndDlg, UINT uControl ) LRESULT GenericSaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) ĭWORD ConvertSliderPositionToTime( DWORD dwPosition ) ĭWORD ConvertTimeToSliderPosition( DWORD dwMinutes )
LRESULT SaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) VOID DoPaint( HWND hwnd, HDC hdc, LPPAINTSTRUCT lpps ) RESULT* get_random_graphics_app(RESULTS& results, RESULT* exclude = NULL) Choose a ramdom graphics application from the vector that Int count_active_graphic_apps(RESULTS& results, RESULT* exclude = NULL) Count the number of active graphics-capable apps Determine if two RESULT pointers refer to the same taskīool is_same_task(RESULT* taska, RESULT* taskb) Void GetDefaultDisplayPeriods(struct ss_periods &periods) īOOL HasProcessExited(HANDLE pid_handle, int &exitCode) Int launch_default_screensaver(char *dir_path, HANDLE& graphics_application) Int launch_screensaver(RESULT* rp, HANDLE& graphics_application) Int terminate_default_screensaver(HANDLE& graphics_application) Int terminate_screensaver(HANDLE& graphics_application, RESULT *worker_app) Int terminate_v6_screensaver(HANDLE& graphics_application) Static DWORD WINAPI DataManagementProcStub( LPVOID lpParam ) Static DWORD WINAPI GraphicsWindowPromotionProcStub( LPVOID lpParam ) Static DWORD WINAPI InputActivityProcStub( LPVOID lpParam ) īOOL CreateGraphicsWindowPromotionThread() īOOL DestroyGraphicsWindowPromotionThread() ĭWORD WINAPI GraphicsWindowPromotionProc() Variables for configuration management
HRESULT m_hrError // Error code to display Variables for non-fatal error managementīOOL m_bErrorMode // Whether to display an error Virtual BOOL GetTextForError( HRESULT hr, TCHAR* pszError, DWORD dwNumChars ) SaverMode ParseCommandLine( TCHAR* pstrCommandLine ) īOOL UtilGetRegKey(LPCTSTR name, DWORD& keyval) īOOL UtilSetRegKey(LPCTSTR name, DWORD value) īOOL UtilGetRegDirectoryStr(LPCTSTR name, std::string& strDirectory) īOOL GetError( BOOL& bErrorMode, HRESULT& hrError, TCHAR* pszError, size_t iErrorSize ) īOOL SetError( BOOL bErrorMode, HRESULT hrError ) Virtual HRESULT Create( HINSTANCE hInstance ) this can cause problems with EnumDisplayDevices on Windows 2000. old versions of DISPLAY_DEVICE are missing the last two fields and Desc: Use the following structure rather than DISPLAY_DEVICE, since some Desc: Structure for holding information about a monitor Sm_preview, // Mini preview window in Display Properties dialog #define BOINC_WINDOW_CLASS_NAME _T("BOINC_app") Microsoft Knowledge Base Article - 79212 DirectX 8.1 Screen Saver Framework from Microsoft.