ReactOS  0.4.14-dev-552-g2fad488
scrnsave.c File Reference
#include <windows.h>
#include <scrnsave.h>
#include "resource.h"
Include dependency graph for scrnsave.c:

Go to the source code of this file.

Functions

LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
BOOL WINAPI ScreenSaverConfigureDialog (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
BOOL WINAPI RegisterDialogClasses (HANDLE hInst)
 

Function Documentation

◆ RegisterDialogClasses()

BOOL WINAPI RegisterDialogClasses ( HANDLE  hInst)

Definition at line 36 of file scrnsave.c.

37 {
38  TCHAR szMessage[256];
39  TCHAR szTitle[25];
40 
41  LoadString(hInst, IDS_TEXT, szMessage, sizeof(szMessage) / sizeof(TCHAR));
42  LoadString(hInst, IDS_DESCRIPTION, szTitle, sizeof(szTitle) / sizeof(TCHAR));
43 
45 
46  return FALSE;
47 }
#define IDS_DESCRIPTION
Definition: resource.h:92
#define MB_ICONEXCLAMATION
Definition: winuser.h:779
smooth NULL
Definition: ftsmooth.c:416
char TCHAR
Definition: xmlstorage.h:189
TCHAR szTitle[MAX_LOADSTRING]
Definition: magnifier.c:35
#define MessageBox
Definition: winuser.h:5797
HINSTANCE hInst
Definition: dxdiag.c:13
#define MB_OK
Definition: winuser.h:784
#define IDS_TEXT
Definition: resource.h:3
#define LoadString
Definition: winuser.h:5794

Referenced by LaunchConfig().

◆ ScreenSaverConfigureDialog()

BOOL WINAPI ScreenSaverConfigureDialog ( HWND  hDlg,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 29 of file scrnsave.c.

30 {
31  return FALSE;
32 }

Referenced by LaunchConfig().

◆ ScreenSaverProc()

LRESULT WINAPI ScreenSaverProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 24 of file scrnsave.c.

25 {
26  return DefScreenSaverProc(hwnd, uMsg, wParam, lParam);
27 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
WPARAM wParam
Definition: combotst.c:138
LRESULT WINAPI DefScreenSaverProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: scrnsave.c:95
LPARAM lParam
Definition: combotst.c:139

Referenced by SysScreenSaverProc().