Go to the source code of this file.
◆ BAUDTICKS
◆ FIVE_MINS_IN_MS
#define FIVE_MINS_IN_MS (5 * 60 * 1000) |
◆ FillResetComboBox()
static VOID FillResetComboBox |
( |
HWND |
hwnd | ) |
|
|
static |
Definition at line 105 of file general.c.
106{
110
113
114 for (
i = 0;
i < 6;
i++)
115 {
116 _stprintf(szBuffer,
_T(
"%u %s"), (
i + 1) * 5, szMinutes);
119 0,
121 }
122}
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
Referenced by GeneralPageProc().
◆ GeneralPageProc()
Definition at line 174 of file general.c.
178{
182
184
185 switch (uMsg)
186 {
189 if (pGlobalData ==
NULL)
191
193
194
204
208
212
213
221
223
226 {
232 break;
233
236 {
241 }
242 break;
243
247 break;
248
252 break;
253
257 break;
258
262 hwndDlg,
266 break;
267
269 break;
270
272 break;
273
274 default:
275 break;
276 }
277 break;
278
282 {
285 }
286 break;
287 }
288
290}
struct _GLOBAL_DATA * PGLOBAL_DATA
INT_PTR CALLBACK SerialKeysDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID FillResetComboBox(HWND hwnd)
static VOID WriteGlobalData(PGLOBAL_DATA pGlobalData)
#define IDC_ADMIN_USERS_BOX
#define IDC_NOTIFICATION_MESSAGE
#define IDC_ADMIN_LOGON_BOX
#define IDD_SERIALKEYSOPTIONS
#define IDC_SERIAL_BUTTON
#define IDC_NOTIFICATION_SOUND
#define PropSheet_Changed(d, w)
struct _PSHNOTIFY * LPPSHNOTIFY
ACCESSTIMEOUT accessTimeout
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
HWND WINAPI GetParent(_In_ HWND)
#define SERKF_SERIALKEYSON
#define SendDlgItemMessage
◆ SerialKeysDlgProc()
Definition at line 18 of file general.c.
22{
25
27
28 switch (uMsg)
29 {
33
34
35 for (
i = 0;
i < 4;
i++)
36 {
38
41 }
42
43
45 {
47 if (i < 0 || i > 3)
49 }
50 else
51 {
52
55 }
56
57
59
60
63 {
65
68
71 }
72
73
75 break;
76
79 {
83
86
88 break;
89
92 break;
93
94 default:
95 break;
96 }
97 break;
98 }
99
101}
static UINT nBaudArray[BAUDTICKS]
#define IDC_SERIAL_PORT_COMBO
#define IDC_SERIAL_BAUD_COMBO
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
Referenced by GeneralPageProc().
◆ WriteGlobalData()
Definition at line 126 of file general.c.
127{
131
136
141
143 _T(
"Control Panel\\Accessibility"),
144 0,
150 &dwDisposition);
152 return;
153
155 _T(
"Warning Sounds"),
156 0,
160
162 _T(
"Sound On Activation"),
163 0,
167
169}
#define RegCloseKey(hKey)
#define REG_OPTION_NON_VOLATILE
#define HKEY_CURRENT_USER
#define SPI_SETACCESSTIMEOUT
#define SPIF_UPDATEINIFILE
#define SystemParametersInfo
Referenced by GeneralPageProc().
◆ nBaudArray
UINT nBaudArray[BAUDTICKS] = {300, 1200, 2400, 4800, 9600, 19200} |
|
static |