Go to the source code of this file.
|
static LONG APIENTRY | Applet (HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam) |
|
VOID | DisplayWin32Error (DWORD dwErrorCode) |
|
static VOID | InitPropSheetPage (PROPSHEETPAGEW *psp, WORD idDlg, DLGPROC DlgProc) |
|
static int CALLBACK | PropSheetProc (HWND hwndDlg, UINT uMsg, LPARAM lParam) |
|
LONG CALLBACK | CPlApplet (HWND hwndCpl, UINT uMsg, LPARAM lParam1, LPARAM lParam2) |
|
BOOL WINAPI | DllMain (HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved) |
|
◆ NUM_APPLETS
◆ Applet()
Definition at line 88 of file timedate.c.
89{
93
97
100 {
104 psh.hwndParent =
hwnd;
109 psh.nStartPage = 0;
110 psh.ppsp = psp;
112
116
118
121 }
122
123 return Ret;
124}
INT_PTR CALLBACK DateTimePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID UnregisterClockControl(VOID)
BOOL RegisterClockControl(VOID)
BOOL RegisterMonthCalControl(IN HINSTANCE hInstance)
VOID UnregisterMonthCalControl(IN HINSTANCE hInstance)
INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
INT_PTR CALLBACK InetTimePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define UNREFERENCED_PARAMETER(P)
#define PSH_PROPSHEETPAGE
struct _PROPSHEETHEADERW PROPSHEETHEADERW
static VOID InitPropSheetPage(PROPSHEETPAGEW *psp, WORD idDlg, DLGPROC DlgProc)
static int CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
INT_PTR CALLBACK TimeZonePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define MAKEINTRESOURCEW(i)
◆ CPlApplet()
Definition at line 129 of file timedate.c.
133{
135
136 switch (uMsg)
137 {
140
143
146 {
152 }
153 else
154 {
156 }
157 break;
158
162 else
164 break;
165 }
167}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
APPLET Applets[NUM_APPLETS]
◆ DisplayWin32Error()
Definition at line 28 of file timedate.c.
30{
32#if DBG
34#endif
35
40 dwErrorCode,
43 0,
45
46#if DBG
48 {
50 }
51#else
53#endif
54
56}
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define FORMAT_MESSAGE_IGNORE_INSERTS
#define FORMAT_MESSAGE_FROM_SYSTEM
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
Referenced by OnAutoSync(), and SetNTPServer().
◆ DllMain()
Definition at line 171 of file timedate.c.
174{
176
178 {
180 {
182
186
188 }
189 break;
190 }
191
193}
static DWORD const LPVOID const lpReserved
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
#define DLL_PROCESS_ATTACH
static VOID InitControls(HWND hwnd)
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
#define ICC_PROGRESS_CLASS
◆ InitPropSheetPage()
Definition at line 60 of file timedate.c.
61{
68}
struct _PROPSHEETPAGEW PROPSHEETPAGEW
Referenced by Applet().
◆ PropSheetProc()
Definition at line 71 of file timedate.c.
72{
73
75 switch (uMsg)
76 {
78 {
81 break;
82 }
83 }
84 return 0;
85}
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
Referenced by Applet().
◆ Applets
Initial value:=
{
}
#define IDS_CPLDESCRIPTION
static LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
Definition at line 20 of file timedate.c.
Referenced by CPlApplet().
◆ hApplet