Go to the source code of this file.
|
LONG CALLBACK | SystemApplet (HWND hwnd, UINT uMsg, LPARAM lParam1, LPARAM lParam2) |
|
VOID | AddColumns (HWND hList) |
|
INT_PTR CALLBACK | AdvancedPageProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
INT_PTR CALLBACK | CustomPageProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
INT_PTR CALLBACK | AddPageProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
INT_PTR CALLBACK | MainPageProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
LONG CALLBACK | CPlApplet (HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2) |
|
BOOL WINAPI | DllMain (HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved) |
|
◆ NUM_APPLETS
Definition at line 32 of file joy.c.
◆ AddColumns()
Definition at line 45 of file joy.c.
46{
51
54
56
63
65
67
74}
#define ListView_InsertColumn(hwnd, iCol, pcol)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
◆ AddPageProc()
Definition at line 191 of file joy.c.
192{
194
195 switch (uMsg)
196 {
198 break;
199
202 {
206 hwndDlg,
208 break;
209
212 break;
213
216 break;
217 }
218 break;
219
221 break;
222
225 {
227
228 break;
229 }
230 break;
231 }
232 return 0;
233}
#define IDC_CUSTOM_BUTTON
INT_PTR CALLBACK CustomPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define UNREFERENCED_PARAMETER(P)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
Referenced by MainPageProc().
◆ AdvancedPageProc()
Definition at line 77 of file joy.c.
78{
80
81 switch (uMsg)
82 {
84 {
87
91 break;
92 }
93
96 {
99 break;
100
103 break;
104 }
105 break;
106
108 break;
109
112 {
114
115 break;
116 }
117 break;
118 }
119 return 0;
120}
#define IDC_PREFERRED_DEV_COMBO
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
Referenced by MainPageProc().
◆ CPlApplet()
Definition at line 320 of file joy.c.
321{
325
326 switch (uMsg)
327 {
330
333
336 {
342 }
343 else
344 {
346 }
347 break;
348
352 else
354 break;
355 }
356
358}
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]
◆ CustomPageProc()
Definition at line 123 of file joy.c.
124{
126
127 switch (uMsg)
128 {
130 {
134
136
145
158
159 break;
160 }
161
164 {
167 break;
168
171 break;
172 }
173 break;
174
176 break;
177
180 {
182
183 break;
184 }
185 break;
186 }
187 return 0;
188}
#define IDC_BUTTONS_COMBO
#define IDC_JOYSTICK_RADIO
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
Referenced by AddPageProc().
◆ DllMain()
Definition at line 361 of file joy.c.
362{
364
366 {
371 break;
372 }
373
375}
#define DLL_PROCESS_ATTACH
#define DLL_THREAD_ATTACH
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
static IN DWORD IN LPVOID lpvReserved
◆ MainPageProc()
Definition at line 237 of file joy.c.
238{
241
242 switch (uMsg)
243 {
253 break;
254
257 {
261 hwndDlg,
263 break;
264
268 hwndDlg,
270 break;
271
277 break;
278 }
279 break;
280
282 break;
283
286 {
291 break;
292
294
295 break;
296 }
297 break;
298 }
299 return 0;
300}
#define IDC_CONTROLLER_LIST
#define IDC_ADVANCED_BUTTON
INT_PTR CALLBACK AddPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
#define MAKEINTRESOURCEW(i)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
int WINAPI GetSystemMetrics(_In_ int)
BOOL WINAPI DestroyIcon(_In_ HICON)
Referenced by SystemApplet().
◆ SystemApplet()
Definition at line 304 of file joy.c.
305{
309
314
316}
INT_PTR CALLBACK MainPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
◆ Applets
Initial value:=
{
}
#define IDS_CPLSYSTEMNAME
#define IDS_CPLSYSTEMDESCRIPTION
LONG CALLBACK SystemApplet(HWND hwnd, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
Definition at line 39 of file joy.c.
Referenced by CPlApplet().
◆ hApplet