221 { |
221 { |
222 SaveOrLoad("crash.sav", SL_SAVE); |
222 SaveOrLoad("crash.sav", SL_SAVE); |
223 return true; |
223 return true; |
224 } |
224 } |
225 |
225 |
|
226 /* Disable the crash-save submit code as it's not used */ |
|
227 #if 0 |
|
228 |
226 typedef struct { |
229 typedef struct { |
227 HINTERNET (WINAPI *InternetOpen)(LPCTSTR,DWORD, LPCTSTR, LPCTSTR, DWORD); |
230 HINTERNET (WINAPI *InternetOpen)(LPCTSTR,DWORD, LPCTSTR, LPCTSTR, DWORD); |
228 HINTERNET (WINAPI *InternetConnect)(HINTERNET, LPCTSTR, INTERNET_PORT, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD); |
231 HINTERNET (WINAPI *InternetConnect)(HINTERNET, LPCTSTR, INTERNET_PORT, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD); |
229 HINTERNET (WINAPI *HttpOpenRequest)(HINTERNET, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR *, DWORD, DWORD); |
232 HINTERNET (WINAPI *HttpOpenRequest)(HINTERNET, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR *, DWORD, DWORD); |
230 BOOL (WINAPI *HttpSendRequest)(HINTERNET, LPCTSTR, DWORD, LPVOID, DWORD); |
233 BOOL (WINAPI *HttpSendRequest)(HINTERNET, LPCTSTR, DWORD, LPVOID, DWORD); |
379 MessageBox(wnd, _save_succeeded, _T("Save successful"), MB_ICONINFORMATION); |
384 MessageBox(wnd, _save_succeeded, _T("Save successful"), MB_ICONINFORMATION); |
380 } else { |
385 } else { |
381 MessageBox(wnd, _T("Save failed"), _T("Save failed"), MB_ICONINFORMATION); |
386 MessageBox(wnd, _T("Save failed"), _T("Save failed"), MB_ICONINFORMATION); |
382 } |
387 } |
383 break; |
388 break; |
|
389 /* Disable the crash-save submit code as it's not used */ |
|
390 #if 0 |
384 case 14: { /* Submit crash report */ |
391 case 14: { /* Submit crash report */ |
385 const TCHAR *s; |
392 const TCHAR *s; |
386 |
393 |
387 SetCursor(LoadCursor(NULL, IDC_WAIT)); |
394 SetCursor(LoadCursor(NULL, IDC_WAIT)); |
388 |
395 |
403 } |
410 } |
404 EnableWindow(GetDlgItem(wnd, 14), FALSE); |
411 EnableWindow(GetDlgItem(wnd, 14), FALSE); |
405 SetCursor(LoadCursor(NULL, IDC_ARROW)); |
412 SetCursor(LoadCursor(NULL, IDC_ARROW)); |
406 MessageBox(wnd, _T("Crash report submitted. Thank you."), _T("Crash Report"), MB_ICONINFORMATION); |
413 MessageBox(wnd, _T("Crash report submitted. Thank you."), _T("Crash Report"), MB_ICONINFORMATION); |
407 } break; |
414 } break; |
|
415 #endif /* Disabled crash-submit procedures */ |
408 case 15: /* Expand window to show crash-message */ |
416 case 15: /* Expand window to show crash-message */ |
409 _expanded ^= 1; |
417 _expanded ^= 1; |
410 SetWndSize(wnd, _expanded); |
418 SetWndSize(wnd, _expanded); |
411 break; |
419 break; |
412 } |
420 } |