Lines Matching refs:elementsof
153 if ( GetTempPath( elementsof(szTempPath), szTempPath ) ) in _tmpfile()
395 …DWORD dwResult = GetEnvironmentVariable( TEXT("ERRORREPORT_HTTPPROXYSERVER"), szBuffer, elementsof… in ReadFromEnvironment()
397 if ( dwResult && dwResult < elementsof(szBuffer) ) in ReadFromEnvironment()
400 …dwResult = GetEnvironmentVariable( TEXT("ERRORREPORT_HTTPPROXYPORT"), szBuffer, elementsof(szBuffe… in ReadFromEnvironment()
402 if ( dwResult && dwResult < elementsof(szBuffer) ) in ReadFromEnvironment()
405 …dwResult = GetEnvironmentVariable( TEXT("ERRORREPORT_RETURNADDRESS"), szBuffer, elementsof(szBuffe… in ReadFromEnvironment()
407 if ( dwResult && dwResult < elementsof(szBuffer) ) in ReadFromEnvironment()
413 …dwResult = GetEnvironmentVariable( TEXT("ERRORREPORT_HTTPCONNECTIONTYPE"), szBuffer, elementsof(sz… in ReadFromEnvironment()
415 if ( dwResult && dwResult < elementsof(szBuffer) ) in ReadFromEnvironment()
425 dwResult = GetEnvironmentVariable( TEXT("ERRORREPORT_SUBJECT"), szBuffer, elementsof(szBuffer) ); in ReadFromEnvironment()
427 if ( dwResult && dwResult < elementsof(szBuffer) ) in ReadFromEnvironment()
431 dwResult = GetEnvironmentVariable( TEXT("ERRORREPORT_BODYFILE"), szBuffer, elementsof(szBuffer) ); in ReadFromEnvironment()
433 if ( dwResult && dwResult < elementsof(szBuffer) ) in ReadFromEnvironment()
444 …while ( 0 != (nBytesRead = fread( aUTF8Buffer, sizeof(aUTF8Buffer[0]), elementsof(aUTF8Buffer), fp… in ReadFromEnvironment()
448 …ers = MultiByteToWideChar( CP_UTF8, 0, aUTF8Buffer, nBytesRead, aBuffer, elementsof(aBuffer) - 1 ); in ReadFromEnvironment()
511 LoadString( hInstance, uID, szBuffer, elementsof(szBuffer) ); in LoadAndFormatString()
620 …WideCharToMultiByte( CP_UTF8, 0, szModuleName, -1, szModuleNameUTF8, elementsof(szModuleNameUTF8),… in GetModuleDirectory()
659 if ( GetTempPath( elementsof(szTempPath), szTempPath ) ) in WriteReportFile()
898 GetWindowText( hwndParent, szBuffer, elementsof(szBuffer) ); in PreviewDialogProc()
901 LoadAndFormatString( hInstance, IDS_OK_BUTTON, szBuffer, elementsof(szBuffer) ); in PreviewDialogProc()
917 while ( fgets( buf, elementsof(buf), fp ) != NULL ) in PreviewDialogProc()
921 MultiByteToWideChar( CP_UTF8, 0, buf, -1, bufW, elementsof(bufW) ); in PreviewDialogProc()
948 _sntprintf( output, elementsof(output), _T("%02X\x20"), buf[i] ); in PreviewDialogProc()
951 for ( ; i < elementsof(buf); i++ ) in PreviewDialogProc()
1050 LoadAndFormatString( hInstance, IDS_OPTIONS_CAPTION, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1053 LoadAndFormatString( hInstance, IDS_PROXY_SETTINGS_HEADER, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1056 LoadAndFormatString( hInstance, IDS_PROXY_SYSTEM, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1059 LoadAndFormatString( hInstance, IDS_PROXY_DIRECT, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1062 LoadAndFormatString( hInstance, IDS_PROXY_MANUAL, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1065 LoadAndFormatString( hInstance, IDS_LABEL_PROXYSERVER, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1068 LoadAndFormatString( hInstance, IDS_LABEL_PROXYPORT, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1071 LoadAndFormatString( hInstance, IDS_OK_BUTTON, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1074 LoadAndFormatString( hInstance, IDS_CANCEL_BUTTON, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1087 LoadAndFormatString( hInstance, IDS_PROXY_DESCRIPTION, szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1106 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYSERVER), szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1109 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYPORT), szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1176 LoadAndFormatString( hInstance, IDS_REPORT_INTRO, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1181 LoadAndFormatString( hInstance, IDS_ENTER_TITLE, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1184 LoadAndFormatString( hInstance, IDS_ENTER_DESCRIPTION, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1187 LoadAndFormatString( hInstance, IDS_SHOW_REPORT_BUTTON, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1190 LoadAndFormatString( hInstance, IDS_SAVE_REPORT_BUTTON, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1199 LoadAndFormatString( hInstance, IDS_OPTIONS_BUTTON, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1202 LoadAndFormatString( hInstance, IDS_ALLOW_CONTACT, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1206 LoadAndFormatString( hInstance, IDS_LABEL_EMAIL, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1221 LoadAndFormatString( hInstance, IDS_REPORT_CAPTION, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1224 LoadAndFormatString( hInstance, IDS_REPORT_HEADER, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1227 LoadAndFormatString( hInstance, IDS_DONOT_SEND_BUTTON, szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1258 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_TITLE), szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1261 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_DESCRIPTION), szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1264 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_EMAIL), szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1315 LoadAndFormatString( hInstance, IDS_WELCOME_BODY1, szBuffer, elementsof(szBuffer) ); in WelcomeDialogProc()
1316 LoadAndFormatString( hInstance, IDS_WELCOME_BODY2, szBuffer2, elementsof(szBuffer2) ); in WelcomeDialogProc()
1317 _tcsncat( szBuffer, szBuffer2, elementsof(szBuffer) ); in WelcomeDialogProc()
1318 LoadAndFormatString( hInstance, IDS_WELCOME_BODY3, szBuffer2, elementsof(szBuffer2) ); in WelcomeDialogProc()
1319 _tcsncat( szBuffer, szBuffer2, elementsof(szBuffer) ); in WelcomeDialogProc()
1320 LoadString( hInstance, IDS_PRIVACY_URL, szURL, elementsof(szURL) ); in WelcomeDialogProc()
1321 _tcsncat( szBuffer, szURL, elementsof(szBuffer) ); in WelcomeDialogProc()
1324 LoadAndFormatString( hInstance, IDS_WELCOME_CAPTION, szCaption, elementsof(szCaption) ); in WelcomeDialogProc()
1335 LoadAndFormatString( hInstance, IDS_WELCOME_CAPTION, szBuffer, elementsof(szBuffer) ); in WelcomeDialogProc()
1338 LoadAndFormatString( hInstance, IDS_WELCOME_HEADER, szBuffer, elementsof(szBuffer) ); in WelcomeDialogProc()
1341 LoadAndFormatString( hInstance, IDS_CANCEL_BUTTON, szBuffer, elementsof(szBuffer) ); in WelcomeDialogProc()
1420 LoadAndFormatString( hInstance, IDS_CANCEL_BUTTON, szBuffer, elementsof(szBuffer) ); in DialogProc()
1423 LoadAndFormatString( hInstance, IDS_NEXT_BUTTON, szBuffer, elementsof(szBuffer) ); in DialogProc()
1426 LoadAndFormatString( hInstance, IDS_SEND_BUTTON, szBuffer, elementsof(szBuffer) ); in DialogProc()
1429 LoadAndFormatString( hInstance, IDS_BACK_BUTTON, szBuffer, elementsof(szBuffer) ); in DialogProc()
1452 if ( iActualPage < elementsof(hwndPages) - 1 ) in DialogProc()
1465 Edit_GetText( GetDlgItem(hwndPages[1], IDC_EDIT_TITLE), szBuffer, elementsof(szBuffer) ); in DialogProc()
1468 Edit_GetText( GetDlgItem(hwndPages[1], IDC_EDIT_DESCRIPTION), szBuffer, elementsof(szBuffer) ); in DialogProc()
1471 Edit_GetText( GetDlgItem(hwndPages[1], IDC_EDIT_EMAIL), szBuffer, elementsof(szBuffer) ); in DialogProc()
1478 …matString( GetModuleHandle(NULL), IDS_ERROR_MSG_NOEMAILADDRESS, szMessage, elementsof(szMessage) ); in DialogProc()
1521 wcsncpy( DescriptionBuffer, g_wstrProductKey.c_str(), elementsof(DescriptionBuffer) - 1 ); in repatch_soffice_exe()
1996 if ( GetShortPathName( lpImagePath, szShortImagePath, elementsof(szShortImagePath) ) && in FindProcessForImage()
2013 if ( GetShortPathName( szModulePath, szShortModulePath, elementsof(szShortModulePath) ) ) in FindProcessForImage()
2086 LoadAndFormatString( hInstance, IDS_MSG_CMDLINE_USAGE, szUsage, elementsof(szUsage) ); in ParseCommandArgs()
2087 LoadAndFormatString( hInstance, IDS_MSG_PARAM_PROCESSID, szProcess, elementsof(szProcess) ); in ParseCommandArgs()
2088 … hInstance, IDS_MSG_PARAM_PROCESSID_DESCRIPTION, szProcessDescription, elementsof(szProcessDescrip… in ParseCommandArgs()
2089 …LoadAndFormatString( hInstance, IDS_MSG_PARAM_HELP_DESCRIPTION, szHelpDescription, elementsof(szHe… in ParseCommandArgs()
2182 if ( GetTempPath( elementsof(szTempPath), szTempPath ) ) in WriteCommentFile()
2334 elementsof(szBuffer), in ReadBootstrapParams()
2362 g_szBuildId, elementsof(g_szBuildId), in ReadBootstrapParams()
2371 szReportPort, elementsof(szReportPort), in ReadBootstrapParams()
2386 szReportServer, elementsof(szReportServer), in ReadBootstrapParams()
2390 …bSuccess = 0 != WideCharToMultiByte( CP_ACP, 0, szReportServer, -1, g_szReportServerA, elementsof(… in ReadBootstrapParams()
2623 LoadAndFormatString( hInstance, IDS_SENDING_REPORT_HEADER, szBuffer, elementsof(szBuffer) ); in SendingStatusDialogProc()
2626 LoadAndFormatString( hInstance, IDS_SENDING_REPORT_STATUS, szBuffer, elementsof(szBuffer) ); in SendingStatusDialogProc()
2629 LoadAndFormatString( hInstance, IDS_CANCEL_BUTTON, szBuffer, elementsof(szBuffer) ); in SendingStatusDialogProc()
2767 …LoadAndFormatString( GetModuleHandle(NULL), IDS_ERROR_MSG_PROXY, szMessage, elementsof(szMessage) … in SendCrashReport()
2776 …ing( GetModuleHandle(NULL), IDS_SENDING_REPORT_STATUS_FINISHED, szMessage, elementsof(szMessage) ); in SendCrashReport()
2777 …LoadAndFormatString( GetModuleHandle(NULL), IDS_SENDING_REPORT_HEADER, szTitle, elementsof(szTitle… in SendCrashReport()
2795 …LoadAndFormatString( GetModuleHandle(NULL), IDS_ERROR_MSG_PROXY, szMessage, elementsof(szMessage) … in SendCrashReport()
2802 …ing( GetModuleHandle(NULL), IDS_SENDING_REPORT_STATUS_FINISHED, szMessage, elementsof(szMessage) ); in SendCrashReport()
2813 …LoadAndFormatString( GetModuleHandle(NULL), IDS_ERROR_MSG_DISK_FULL, szMessage, elementsof(szMessa… in SendCrashReport()