Lines Matching refs:pParams
654 BOOL WriteReportFile( CrashReportParams *pParams ) in WriteReportFile() argument
676 …WideCharToMultiByte( CP_UTF8, 0, pParams->sTitle.c_str(), -1, szTitle, sizeof(szTitle), NULL, NULL… in WriteReportFile()
678 …WideCharToMultiByte( CP_UTF8, 0, pParams->sEmail.c_str(), -1, szEmail, sizeof(szEmail), NULL, NULL… in WriteReportFile()
686 pParams->fAllowContact ? "true" : "false", in WriteReportFile()
687 pParams->fAllowContact ? xml_encode(szEmail).c_str() : "" in WriteReportFile()
892 CrashReportParams *pParams = (CrashReportParams *)lParam; in PreviewDialogProc() local
906 aString.append( pParams->sTitle ); in PreviewDialogProc()
908 aString.append( pParams->sComment ); in PreviewDialogProc()
998 static void PreviewReport( HWND hwndParent, CrashReportParams *pParams ) in PreviewReport() argument
1002 WriteReportFile( pParams ); in PreviewReport()
1009 (LPARAM)pParams in PreviewReport()
1038 static CrashReportParams *pParams; in OptionsDialogProc() local
1048 pParams = (CrashReportParams *)lParam; in OptionsDialogProc()
1077 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYSERVER), pParams->sProxyServer.c_str() ); in OptionsDialogProc()
1078 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYPORT), pParams->sProxyPort.c_str() ); in OptionsDialogProc()
1080 …Button_SetCheck( GetDlgItem(hwndDlg, IDC_RADIO_SYSTEM + pParams->uInternetConnection), BST_CHECKED… in OptionsDialogProc()
1107 pParams->sProxyServer = szBuffer; in OptionsDialogProc()
1110 pParams->sProxyPort = szBuffer; in OptionsDialogProc()
1113 pParams->uInternetConnection = 1; in OptionsDialogProc()
1115 pParams->uInternetConnection = 2; in OptionsDialogProc()
1117 pParams->uInternetConnection = 0; in OptionsDialogProc()
1133 static void OptionsDialog( HWND hwndParent, CrashReportParams *pParams ) in OptionsDialog() argument
1142 (LPARAM)pParams in OptionsDialog()
1144 pParams->WriteToRegistry(); in OptionsDialog()
1172 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc() local
1204 …Button_SetCheck( GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT), pParams->fAllowContact ? BST_CHECKED : BS… in ReportDialogProc()
1209 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_EMAIL), pParams->sEmail.c_str() ); in ReportDialogProc()
1218 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc() local
1235 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_TITLE), pParams->sTitle.c_str() ); in ReportDialogProc()
1236 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_DESCRIPTION), pParams->sComment.c_str() ); in ReportDialogProc()
1254 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc() local
1256 … pParams->fAllowContact = Button_GetCheck( GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT) ) ? TRUE : FALSE; in ReportDialogProc()
1259 pParams->sTitle = szBuffer; in ReportDialogProc()
1262 pParams->sComment = szBuffer; in ReportDialogProc()
1265 pParams->sEmail = szBuffer; in ReportDialogProc()
1267 PreviewReport( GetParent(hwndDlg), pParams ); in ReportDialogProc()
1275 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc() local
1276 OptionsDialog( GetParent(hwndDlg), pParams ); in ReportDialogProc()
1461 CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( hwndDlg, GWL_USERDATA ); in DialogProc() local
1463 …pParams->fAllowContact = Button_GetCheck( GetDlgItem(hwndPages[1], IDC_ALLOW_CONTACT) ) ? TRUE : F… in DialogProc()
1466 pParams->sTitle = szBuffer; in DialogProc()
1469 pParams->sComment = szBuffer; in DialogProc()
1472 pParams->sEmail = szBuffer; in DialogProc()
1474 if ( pParams->fAllowContact && !pParams->sEmail.length() ) in DialogProc()
1485 pParams->WriteToRegistry(); in DialogProc()
1487 WriteCommentFile( pParams->sComment.c_str() ); in DialogProc()
1488 WriteReportFile( pParams ); in DialogProc()
1490 if ( !SendCrashReport( hwndDlg, *pParams ) ) in DialogProc()
2594 RequestParams *pParams = (RequestParams *)lpArgs; in SendingThread() local
2596 …pParams->success = SendHTTPRequest( pParams->fpin, pParams->lpServer, pParams->uPort, pParams->lpP… in SendingThread()
2598 PostMessage( pParams->hwndStatus, WM_COMMAND, IDOK, 0 ); in SendingThread()