Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

407 lines
16 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  36. "#define _AFX_NO_OLE_RESOURCES\r\n"
  37. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  38. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  39. "\r\n"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  41. "#ifdef _WIN32\r\n"
  42. "LANGUAGE 9, 1\r\n"
  43. "#pragma code_page(1252)\r\n"
  44. "#endif\r\n"
  45. "#include ""afxres.rc"" // Standard components\r\n"
  46. "#endif\0"
  47. END
  48. #endif // APSTUDIO_INVOKED
  49. /////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Icon
  52. //
  53. // Icon with lowest ID value placed first to ensure application icon
  54. // remains consistent on all systems.
  55. IDR_MAINFRAME ICON DISCARDABLE "pdlcnfig.ico"
  56. /////////////////////////////////////////////////////////////////////////////
  57. //
  58. // Dialog
  59. //
  60. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 55
  61. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  62. CAPTION "About Log Service"
  63. FONT 8, "MS Shell Dlg"
  64. BEGIN
  65. ICON IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  66. LTEXT "Performance Data Logging Service Version 1.0",
  67. IDC_STATIC,40,10,115,19,SS_NOPREFIX
  68. LTEXT "Copyright � 1996",IDC_STATIC,39,34,119,8
  69. DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
  70. END
  71. IDD_SETTINGS_PAGE DIALOG DISCARDABLE 0, 0, 235, 156
  72. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  73. CAPTION "Log Settings"
  74. FONT 8, "MS Shell Dlg"
  75. BEGIN
  76. LTEXT "Sample &Interval:",IDC_SAMPLE_INTERVAL_CAPTION,123,28,
  77. 52,9
  78. EDITTEXT IDC_INTERVAL_TIME,123,40,25,12,ES_AUTOHSCROLL |
  79. ES_NUMBER
  80. CONTROL "Spin1",IDC_INTERVAL_SPIN,"msctls_updown32",
  81. UDS_ARROWKEYS,149,40,11,12
  82. LTEXT "&Counters:",IDC_COUNTER_LIST_CAPTION,7,55,37,8
  83. LISTBOX IDC_COUNTER_LIST,7,65,221,62,LBS_SORT |
  84. LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL |
  85. WS_HSCROLL | WS_TABSTOP
  86. PUSHBUTTON "&Add...",IDC_BROWSE_COUNTERS,59,134,50,15
  87. PUSHBUTTON "&Remove",IDC_REMOVE,125,135,50,14
  88. GROUPBOX "Service Start",IDC_SERVICE_START_GROUP,7,7,107,45
  89. CONTROL "&Automatic",IDC_SERVICE_AUTO,"Button",
  90. BS_AUTORADIOBUTTON,15,20,47,10
  91. CONTROL "&Manual",IDC_SERVICE_MAN,"Button",BS_AUTORADIOBUTTON,15,
  92. 35,45,10
  93. PUSHBUTTON "&Start",IDC_MAN_START,68,17,40,12
  94. PUSHBUTTON "Sto&p",IDC_MAN_STOP,68,33,40,12
  95. COMBOBOX IDC_INTERVAL_UNITS,163,40,53,42,CBS_DROPDOWNLIST |
  96. CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP
  97. PUSHBUTTON "Remove Service",IDC_REMOVE_SERVICE,167,8,61,12,NOT
  98. WS_VISIBLE | WS_DISABLED | NOT WS_TABSTOP
  99. END
  100. IDD_OUTPUT_PAGE DIALOG DISCARDABLE 0, 0, 235, 156
  101. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  102. CAPTION "Log File"
  103. FONT 8, "MS Shell Dlg"
  104. BEGIN
  105. LTEXT "Log File Format: ",IDC_FILE_TYPE_CAPTION,7,9,53,9
  106. COMBOBOX IDC_LOG_FILETYPE,69,7,159,56,CBS_DROPDOWNLIST |
  107. CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP
  108. CONTROL "",IDC_MANUAL_NAME,"Button",BS_AUTORADIOBUTTON,7,20,8,10
  109. CONTROL "&Rename Output File Every",IDC_AUTOMATIC_NAME,"Button",
  110. BS_AUTORADIOBUTTON,7,49,98,10
  111. GROUPBOX "&Manual Filename ",IDC_MANUAL_NAME_GROUP,19,20,209,25
  112. EDITTEXT IDC_OUTPUT_FILE_EDIT,23,30,182,12,ES_AUTOHSCROLL
  113. PUSHBUTTON "...",IDC_BROWSE_OUTPUT_FILE,206,30,15,12
  114. GROUPBOX "",IDC_AUTO_NAME_GROUP,19,59,209,90
  115. EDITTEXT IDC_RENAME_INTERVAL,112,48,23,12,ES_AUTOHSCROLL |
  116. ES_OEMCONVERT | ES_NUMBER
  117. CONTROL "Spin1",IDC_SPIN_RENAME_INTERVAL,"msctls_updown32",
  118. UDS_ARROWKEYS,135,48,11,12
  119. COMBOBOX IDC_RENAME_UNITS,150,48,58,51,CBS_DROPDOWNLIST |
  120. CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP
  121. PUSHBUTTON "&Log Folder...",IDC_BROWSE_FOLDER,27,69,45,12
  122. LTEXT "IDC_LOG_DIRECTORY",IDC_LOG_DIRECTORY,75,70,150,11,
  123. SS_SUNKEN
  124. LTEXT "Base &Filename:",IDC_BASE_NAME_CAPTION,27,84,56,8
  125. EDITTEXT IDC_BASE_FILENAME_EDIT,27,94,120,12,ES_AUTOHSCROLL
  126. LTEXT "Au&to Format:",IDC_AUTO_NAME_CAPTION,157,84,48,8
  127. COMBOBOX IDC_AUTO_NAME_COMBO,156,94,65,48,CBS_DROPDOWNLIST |
  128. CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP
  129. LTEXT "Example:",IDC_SAMPLE_NAME,27,111,32,10
  130. LTEXT "IDC_SAMPLE_NAME_TEXT",IDC_SAMPLE_NAME_TEXT,60,111,165,
  131. 10,SS_SUNKEN
  132. CONTROL "Execute ",IDC_EXECUTE_CHECK,"Button",BS_AUTOCHECKBOX |
  133. WS_TABSTOP,28,130,41,10
  134. EDITTEXT IDC_CMD_FILENAME,69,128,135,15,ES_AUTOHSCROLL
  135. PUSHBUTTON "...",IDC_BROWSE_CMD_FILE,206,129,15,12
  136. END
  137. IDD_ALARM_SETTINGS_PAGE DIALOG DISCARDABLE 0, 0, 235, 156
  138. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  139. CAPTION "Alert Settings"
  140. FONT 8, "MS Shell Dlg"
  141. BEGIN
  142. PUSHBUTTON "&Edit...",IDC_EDIT_BUTTON,92,134,50,15
  143. LTEXT "Sample &Interval:",IDC_SAMPLE_INTERVAL_CAPTION,123,28,
  144. 52,9
  145. EDITTEXT IDC_INTERVAL_TIME,123,40,25,12,ES_AUTOHSCROLL |
  146. ES_NUMBER
  147. CONTROL "Spin1",IDC_INTERVAL_SPIN,"msctls_updown32",
  148. UDS_ARROWKEYS,149,40,11,12
  149. LTEXT "&Counters:",IDC_COUNTER_LIST_CAPTION,7,55,37,8
  150. LISTBOX IDC_COUNTER_LIST,7,65,221,62,LBS_SORT |
  151. LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL |
  152. WS_HSCROLL | WS_TABSTOP
  153. PUSHBUTTON "&Add...",IDC_BROWSE_COUNTERS,26,134,50,15
  154. PUSHBUTTON "&Remove",IDC_REMOVE,158,135,50,14
  155. GROUPBOX "Service Start",IDC_SERVICE_START_GROUP,7,7,107,45
  156. CONTROL "&Automatic",IDC_SERVICE_AUTO,"Button",
  157. BS_AUTORADIOBUTTON,15,20,47,10
  158. CONTROL "&Manual",IDC_SERVICE_MAN,"Button",BS_AUTORADIOBUTTON,15,
  159. 35,45,10
  160. PUSHBUTTON "&Start",IDC_MAN_START,68,17,40,12
  161. PUSHBUTTON "Sto&p",IDC_MAN_STOP,68,33,40,12
  162. COMBOBOX IDC_INTERVAL_UNITS,163,40,53,42,CBS_DROPDOWNLIST |
  163. CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP
  164. END
  165. IDD_ALARM_OPTIONS_PAGE DIALOG DISCARDABLE 0, 0, 235, 156
  166. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  167. CAPTION "Alert Options"
  168. FONT 8, "MS Shell Dlg"
  169. BEGIN
  170. CONTROL "Log Alerts In Application Event Log",
  171. IDC_LOG_TO_EVENTLOG,"Button",BS_AUTOCHECKBOX |
  172. WS_TABSTOP,7,7,176,11
  173. CONTROL "Log Alerts To Text File",IDC_LOG_ALARM_TO_FILE,"Button",
  174. BS_AUTOCHECKBOX | WS_TABSTOP,7,24,188,11
  175. LTEXT "Alert Log Filename:",IDC_ALARM_LOG_FILE_CAPTION,21,37,
  176. 130,8
  177. EDITTEXT IDC_ALARM_LOG_FILE_EDIT,23,45,160,12,ES_AUTOHSCROLL
  178. PUSHBUTTON "Browse...",IDC_BROWSE_ALARM_LOG,183,45,45,12
  179. CONTROL "Run Program On Every Alert",IDC_RUN_PROGRAM,"Button",
  180. BS_AUTOCHECKBOX | WS_TABSTOP,7,63,165,11
  181. LTEXT "Program Command Line:",IDC_COMMAND_LINE_CAPTION,21,76,
  182. 127,10
  183. EDITTEXT IDC_PROGRAM_COMMAND_LINE,21,86,207,12,ES_AUTOHSCROLL
  184. GROUPBOX "Execute Command",IDC_RUN_PROGRAM_GROUP,23,103,72,46
  185. CONTROL "Every Time",IDC_CMD_EVERY_TIME,"Button",
  186. BS_AUTORADIOBUTTON | WS_GROUP,30,115,50,11
  187. CONTROL "First Time Only",IDC_CMD_FIRST_TIME,"Button",
  188. BS_AUTORADIOBUTTON,30,130,63,11
  189. GROUPBOX "Command Line Parameters",IDC_COMMAND_LINE_OPTIONS,101,
  190. 103,127,46,WS_GROUP
  191. CONTROL "Counter Name",IDC_CMD_ARG_NAME,"Button",BS_AUTOCHECKBOX |
  192. WS_TABSTOP,107,115,63,10
  193. CONTROL "Counter Value",IDC_CMD_ARG_VALUE,"Button",
  194. BS_AUTOCHECKBOX | WS_TABSTOP,107,130,59,9
  195. CONTROL "Threshold",IDC_CMD_ARG_LIMIT,"Button",BS_AUTOCHECKBOX |
  196. WS_TABSTOP,172,115,49,11
  197. CONTROL "Time Stamp",IDC_CMD_ARG_TIME,"Button",BS_AUTOCHECKBOX |
  198. WS_TABSTOP,172,130,56,8
  199. END
  200. IDD_LOG_DIR_BROWSER DIALOG DISCARDABLE 0, 0, 250, 52
  201. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  202. CAPTION "Select Default Log File Folder"
  203. FONT 8, "MS Shell Dlg"
  204. BEGIN
  205. DEFPUSHBUTTON "OK",IDOK,67,31,50,14
  206. PUSHBUTTON "Cancel",IDCANCEL,133,31,50,14
  207. EDITTEXT IDC_DIRECTORY_PATH_EDIT,7,7,161,13,ES_AUTOHSCROLL
  208. PUSHBUTTON "Browse...",IDC_BROWSE_DIRS,183,7,60,14
  209. END
  210. #ifndef _MAC
  211. /////////////////////////////////////////////////////////////////////////////
  212. //
  213. // Version
  214. //
  215. VS_VERSION_INFO VERSIONINFO
  216. FILEVERSION 1,0,0,1
  217. PRODUCTVERSION 1,0,0,1
  218. FILEFLAGSMASK 0x3fL
  219. #ifdef _DEBUG
  220. FILEFLAGS 0x1L
  221. #else
  222. FILEFLAGS 0x0L
  223. #endif
  224. FILEOS 0x4L
  225. FILETYPE 0x1L
  226. FILESUBTYPE 0x0L
  227. BEGIN
  228. BLOCK "StringFileInfo"
  229. BEGIN
  230. BLOCK "040904b0"
  231. BEGIN
  232. VALUE "CompanyName", "\0"
  233. VALUE "FileDescription", "Perf Data Log Configuration Application\0"
  234. VALUE "FileVersion", "1, 0, 0, 1\0"
  235. VALUE "InternalName", "PDLCNFIG\0"
  236. VALUE "LegalCopyright", "Copyright (c) 1996\0"
  237. VALUE "OriginalFilename", "PDLCNFIG.EXE\0"
  238. VALUE "ProductName", "Perf Data Log Configuration Application\0"
  239. VALUE "ProductVersion", "1, 0, 0, 1\0"
  240. END
  241. END
  242. BLOCK "VarFileInfo"
  243. BEGIN
  244. VALUE "Translation", 0x409, 1200
  245. END
  246. END
  247. #endif // !_MAC
  248. /////////////////////////////////////////////////////////////////////////////
  249. //
  250. // Dialog Info
  251. //
  252. IDD_OUTPUT_PAGE DLGINIT
  253. BEGIN
  254. IDC_LOG_FILETYPE, 0x403, 32, 0
  255. 0x6f43, 0x6d6d, 0x2061, 0x6553, 0x6170, 0x6172, 0x6574, 0x2064, 0x6156,
  256. 0x6972, 0x6261, 0x656c, 0x2820, 0x432e, 0x5653, 0x0029,
  257. IDC_LOG_FILETYPE, 0x403, 30, 0
  258. 0x6154, 0x2062, 0x6553, 0x6170, 0x6172, 0x6574, 0x2064, 0x6156, 0x6972,
  259. 0x6261, 0x656c, 0x2820, 0x542e, 0x5653, 0x0029,
  260. IDC_LOG_FILETYPE, 0x403, 25, 0
  261. 0x6942, 0x616e, 0x7972, 0x4c20, 0x676f, 0x4620, 0x726f, 0x616d, 0x2074,
  262. 0x2e28, 0x4c42, 0x2947, "\000"
  263. IDC_RENAME_UNITS, 0x403, 6, 0
  264. 0x6f48, 0x7275, 0x0073,
  265. IDC_RENAME_UNITS, 0x403, 5, 0
  266. 0x6144, 0x7379, "\000"
  267. IDC_RENAME_UNITS, 0x403, 7, 0
  268. 0x6f4d, 0x746e, 0x7368, "\000"
  269. IDC_RENAME_UNITS, 0x403, 10, 0
  270. 0x694b, 0x6f6c, 0x7962, 0x6574, 0x0073,
  271. IDC_RENAME_UNITS, 0x403, 10, 0
  272. 0x654d, 0x6167, 0x7962, 0x6574, 0x0073,
  273. IDC_AUTO_NAME_COMBO, 0x403, 7, 0
  274. 0x6d6d, 0x6464, 0x6868, "\000"
  275. IDC_AUTO_NAME_COMBO, 0x403, 7, 0
  276. 0x6e6e, 0x6e6e, 0x6e6e, "\000"
  277. IDC_AUTO_NAME_COMBO, 0x403, 6, 0
  278. 0x7979, 0x6464, 0x0064,
  279. IDC_AUTO_NAME_COMBO, 0x403, 5, 0
  280. 0x7979, 0x6d6d, "\000"
  281. IDC_AUTO_NAME_COMBO, 0x403, 7, 0
  282. 0x7979, 0x6d6d, 0x6464, "\000"
  283. IDC_AUTO_NAME_COMBO, 0x403, 9, 0
  284. 0x7979, 0x6d6d, 0x6464, 0x6868, "\000"
  285. 0
  286. END
  287. IDD_SETTINGS_PAGE DLGINIT
  288. BEGIN
  289. IDC_INTERVAL_UNITS, 0x403, 8, 0
  290. 0x6553, 0x6f63, 0x646e, 0x0073,
  291. IDC_INTERVAL_UNITS, 0x403, 8, 0
  292. 0x694d, 0x756e, 0x6574, 0x0073,
  293. IDC_INTERVAL_UNITS, 0x403, 6, 0
  294. 0x6f48, 0x7275, 0x0073,
  295. IDC_INTERVAL_UNITS, 0x403, 5, 0
  296. 0x6144, 0x7379, "\000"
  297. 0
  298. END
  299. IDD_ALARM_SETTINGS_PAGE DLGINIT
  300. BEGIN
  301. IDC_INTERVAL_UNITS, 0x403, 8, 0
  302. 0x6553, 0x6f63, 0x646e, 0x0073,
  303. IDC_INTERVAL_UNITS, 0x403, 8, 0
  304. 0x694d, 0x756e, 0x6574, 0x0073,
  305. IDC_INTERVAL_UNITS, 0x403, 6, 0
  306. 0x6f48, 0x7275, 0x0073,
  307. IDC_INTERVAL_UNITS, 0x403, 5, 0
  308. 0x6144, 0x7379, "\000"
  309. 0
  310. END
  311. /////////////////////////////////////////////////////////////////////////////
  312. //
  313. // String Table
  314. //
  315. STRINGTABLE DISCARDABLE
  316. BEGIN
  317. IDS_ABOUTBOX "&About Perf Data Log..."
  318. IDS_SERVICE_NOT_INSTALLED
  319. "The Perf Data Log service has not yet been installed. \nReview the documentation and install the software and try again."
  320. IDS_PROPERTY_SHEET_CAPTION "Performance Data Log Service"
  321. IDS_ACCESS_DENIED "You do not have sufficient privilege to access this service. Contact the system's administrator to access the service."
  322. IDS_REGISTRY_ERROR "Unable to read the Performance Data Log service configuration data from the registry. Check the service installation and the registry entries for this service and retry."
  323. IDS_MESSAGE_BOX_CAPTION "Performance Log Service Error"
  324. IDS_NAME_FORMAT_NOT_COMPATIBLE
  325. "The Auto Format string selected if used with the current Rename Interval Units may cause some log files to be overwritten.\n\rDo you want to keep this configuration?"
  326. IDS_WARNING "Perf Data Log Warning"
  327. IDS_SC_ACCESS_ERROR "Unable to access Service Controller."
  328. IDS_SC_CREATE_ERROR "Unable to create Perf Data Logging service."
  329. IDS_SC_INSTALL_ERROR_PERMS
  330. "Unable to install the Perf Data Log Service.\r\nInsure you have the necessary permissions and access and retry."
  331. END
  332. STRINGTABLE DISCARDABLE
  333. BEGIN
  334. IDS_ERROR "Perf Data Log Error"
  335. IDS_STOP_AND_START "The Perf Data Log service must be stopped and restarted for these changes to take effect"
  336. IDS_NOTICE "Perf Data Log Notice"
  337. IDS_REMOVE_SERVICE_WARNING
  338. "This will delete the service from the system. Are you sure you want to continue?"
  339. IDS_QUERY_INSTALL "The Perf Data Log Service file have been copied, but the service has not been installed. Select OK to install the service now, or Cancel to exit."
  340. END
  341. STRINGTABLE DISCARDABLE
  342. BEGIN
  343. AFX_IDS_APP_TITLE "Perf Data Log Config"
  344. IDS_DIR_NOT_FOUND "The specified path or folder for the log file(s) was not found or could not be accessed.\n Would you like to try and create it now?"
  345. IDS_DIR_NOT_MADE "Unable to create the specified folder or directory. Use the explorer to locate another folder for the log files."
  346. IDS_SERVICE_INSTALLED "The Performance Data Log Service has successfully been installed on your system, You can configure the counters to log now, but you may have to restart your system for the service to start correctly."
  347. IDS_NOT_WILDCARD_FMT "The Log File format selected will not support the counters specified for this log. Counters with the wildcard (*) character must be removed from the counter list."
  348. END
  349. #endif // English (U.S.) resources
  350. /////////////////////////////////////////////////////////////////////////////
  351. #ifndef APSTUDIO_INVOKED
  352. /////////////////////////////////////////////////////////////////////////////
  353. //
  354. // Generated from the TEXTINCLUDE 3 resource.
  355. //
  356. #define _AFX_NO_SPLITTER_RESOURCES
  357. #define _AFX_NO_OLE_RESOURCES
  358. #define _AFX_NO_TRACKER_RESOURCES
  359. #define _AFX_NO_PROPERTY_RESOURCES
  360. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  361. #ifdef _WIN32
  362. LANGUAGE 9, 1
  363. #pragma code_page(1252)
  364. #endif
  365. #include "afxres.rc" // Standard components
  366. #endif
  367. /////////////////////////////////////////////////////////////////////////////
  368. #endif // not APSTUDIO_INVOKED