Leaked source code of windows server 2003
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.

353 lines
13 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #pragma once
  4. #include <ntverp.h>
  5. #include <winver.h>
  6. #define VER_FILETYPE VFT_DLL
  7. #define VER_FILESUBTYPE VFT2_UNKNOWN
  8. #define VER_FILEDESCRIPTION_STR "SNMP snap-in"
  9. #define VER_INTERNALNAME_STR "snmpsnap.dll"
  10. #define VER_ORIGINALFILENAME_STR "snmpsnap.dll"
  11. #include <common.ver>
  12. #include "resource.h"
  13. // Generated Help ID header file
  14. #define APSTUDIO_HIDDEN_SYMBOLS
  15. #include "resource.hm"
  16. #undef APSTUDIO_HIDDEN_SYMBOLS
  17. #define APSTUDIO_READONLY_SYMBOLS
  18. /////////////////////////////////////////////////////////////////////////////
  19. //
  20. // Generated from the TEXTINCLUDE 2 resource.
  21. //
  22. #include "afxres.h"
  23. /////////////////////////////////////////////////////////////////////////////
  24. #undef APSTUDIO_READONLY_SYMBOLS
  25. /////////////////////////////////////////////////////////////////////////////
  26. // English (U.S.) resources
  27. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  28. #ifdef _WIN32
  29. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  30. #pragma code_page(1252)
  31. #endif //_WIN32
  32. #ifdef APSTUDIO_INVOKED
  33. /////////////////////////////////////////////////////////////////////////////
  34. //
  35. // TEXTINCLUDE
  36. //
  37. 1 TEXTINCLUDE DISCARDABLE
  38. BEGIN
  39. "resource.h\0"
  40. END
  41. 2 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43. "#include ""afxres.h""\r\n"
  44. "\0"
  45. END
  46. 3 TEXTINCLUDE DISCARDABLE
  47. BEGIN
  48. "#include ""..\\common\\common.rc"" // Resources used by common.lib\r\n"
  49. "\r\n"
  50. "\0"
  51. END
  52. #endif // APSTUDIO_INVOKED
  53. /////////////////////////////////////////////////////////////////////////////
  54. //
  55. // Bitmap
  56. //
  57. IDB_16x16 BITMAP DISCARDABLE "res\\nodes16.bmp"
  58. IDB_32x32 BITMAP DISCARDABLE "res\\nodes32.bmp"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // DESIGNINFO
  62. //
  63. #ifdef APSTUDIO_INVOKED
  64. GUIDELINES DESIGNINFO DISCARDABLE
  65. BEGIN
  66. IDD_AGENT_PROP_PAGE, DIALOG
  67. BEGIN
  68. LEFTMARGIN, 7
  69. RIGHTMARGIN, 245
  70. TOPMARGIN, 7
  71. BOTTOMMARGIN, 211
  72. END
  73. IDD_TRAPS_PROP_PAGE, DIALOG
  74. BEGIN
  75. LEFTMARGIN, 7
  76. RIGHTMARGIN, 245
  77. TOPMARGIN, 7
  78. BOTTOMMARGIN, 211
  79. END
  80. IDD_SECURITY_PROP_PAGE, DIALOG
  81. BEGIN
  82. LEFTMARGIN, 8
  83. RIGHTMARGIN, 245
  84. TOPMARGIN, 7
  85. BOTTOMMARGIN, 211
  86. END
  87. IDD_DIALOG_ADD, DIALOG
  88. BEGIN
  89. LEFTMARGIN, 7
  90. RIGHTMARGIN, 213
  91. TOPMARGIN, 7
  92. BOTTOMMARGIN, 56
  93. END
  94. IDD_DIALOG_EDIT, DIALOG
  95. BEGIN
  96. LEFTMARGIN, 7
  97. RIGHTMARGIN, 213
  98. TOPMARGIN, 7
  99. BOTTOMMARGIN, 56
  100. END
  101. END
  102. #endif // APSTUDIO_INVOKED
  103. /////////////////////////////////////////////////////////////////////////////
  104. //
  105. // Dialog
  106. //
  107. IDD_AGENT_PROP_PAGE DIALOGEX 6, 20, 252, 218
  108. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION
  109. CAPTION "Agent"
  110. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  111. BEGIN
  112. LTEXT "Internet management systems may request the contact person, system location, and network services for this computer from the SNMP service.",
  113. IDC_STATIC,12,11,207,36
  114. LTEXT "&Contact:",IDC_STATIC_CONTACT,14,56,40,10
  115. EDITTEXT IDC_EDIT_CONTACT,56,54,174,14,ES_AUTOHSCROLL,0,
  116. HIDC_EDIT_CONTACT
  117. LTEXT "&Location:",IDC_STATIC_LOCATION,15,78,40,10
  118. EDITTEXT IDC_EDIT_LOCATION,56,76,174,14,ES_AUTOHSCROLL,0,
  119. HIDC_EDIT_LOCATION
  120. GROUPBOX "Service",IDC_STATIC_SERVICE,16,106,216,53
  121. CONTROL "&Physical",IDC_CHECK_PHYSICAL,"Button",BS_AUTOCHECKBOX |
  122. WS_TABSTOP,24,118,43,12,0,HIDC_CHECK_PHYSICAL
  123. CONTROL "Applica&tions",IDC_CHECK_APPLICATIONS,"Button",
  124. BS_AUTOCHECKBOX | WS_TABSTOP,74,118,54,12,0,
  125. HIDC_CHECK_APPLICATIONS
  126. CONTROL "&Datalink and subnetwork",IDC_CHECK_DATALINK,"Button",
  127. BS_AUTOCHECKBOX | WS_TABSTOP,134,118,96,12,0,
  128. HIDC_CHECK_DATALINK
  129. CONTROL "&Internet",IDC_CHECK_INTERNET,"Button",BS_AUTOCHECKBOX |
  130. WS_TABSTOP,24,136,40,12,0,HIDC_CHECK_INTERNET
  131. CONTROL "&End-to-end",IDC_CHECK_ENDTOEND,"Button",
  132. BS_AUTOCHECKBOX | WS_TABSTOP,74,136,54,12,0,
  133. HIDC_CHECK_ENDTOEND
  134. END
  135. IDD_TRAPS_PROP_PAGE DIALOGEX 6, 20, 252, 218
  136. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION
  137. CAPTION "Traps"
  138. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  139. BEGIN
  140. LTEXT "The SNMP Service provides network management over TCP/IP and IPX/SPX protocols. If traps are required, one or more community names must be specified. Trap destinations may be host names, IP addresses or IPX addresses.",
  141. IDC_STATIC,12,11,207,36
  142. GROUPBOX "&Community name",IDC_STATIC,7,49,230,145
  143. COMBOBOX IDC_COMBO_COMMUNITY,21,60,130,85,CBS_DROPDOWN |
  144. CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  145. PUSHBUTTON "Add to &list",IDC_BUTTON_ADD_NAME,158,60,69,14,0,0,
  146. HIDC_BUTTON_ADD_NAME
  147. PUSHBUTTON "&Remove from list",IDC_BUTTON_REMOVE_NAME,158,80,69,14,
  148. 0,0,HIDC_BUTTON_REMOVE_NAME
  149. LTEXT "&Trap destinations:",IDC_STATIC,15,94,61,11
  150. LISTBOX IDC_LIST_TRAP,22,109,204,45,LBS_SORT |
  151. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP,0,
  152. HIDC_LIST_TRAP
  153. PUSHBUTTON "A&dd...",IDC_BUTTON_ADD_TRAP,31,170,50,14,0,0,
  154. HIDC_BUTTON_ADD_TRAP
  155. PUSHBUTTON "&Edit...",IDC_BUTTON_EDIT_TRAP,94,170,50,14,0,0,
  156. HIDC_BUTTON_EDIT_TRAP
  157. PUSHBUTTON "Re&move",IDC_BUTTON_REMOVE_TRAP,154,170,50,14,0,0,
  158. HIDC_BUTTON_REMOVE_TRAP
  159. END
  160. IDD_SECURITY_PROP_PAGE DIALOGEX 6, 20, 252, 218
  161. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION
  162. CAPTION "Security"
  163. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  164. BEGIN
  165. CONTROL "Send a&uthentication trap",IDC_CHECK_SEND_AUTH_TRAP,
  166. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,8,101,14,0,
  167. HIDC_CHECK_SEND_AUTH_TRAP
  168. GROUPBOX "Accepted community &names",IDC_STATIC,10,26,230,88
  169. CONTROL "List1",IDC_LIST_COMMUNITY,"SysListView32",LVS_REPORT |
  170. LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER |
  171. WS_BORDER | WS_TABSTOP,18,35,215,53
  172. PUSHBUTTON "A&dd...",IDC_BUTTON_ADD_COMMUNITY,39,93,50,14,0,0,
  173. HIDC_BUTTON_ADD_COMMUNITY
  174. PUSHBUTTON "&Edit...",IDC_BUTTON_EDIT_COMMUNITY,102,93,50,14,0,0,
  175. HIDC_BUTTON_EDIT_COMMUNITY
  176. PUSHBUTTON "&Remove",IDC_BUTTON_REMOVE_COMMUNITY,162,93,50,14,0,0,
  177. HIDC_BUTTON_REMOVE_COMMUNITY
  178. GROUPBOX "",IDC_STATIC,10,129,230,78
  179. CONTROL "A&ccept SNMP packets from any host",
  180. IDC_RADIO_ACCEPT_ANY,"Button",BS_AUTORADIOBUTTON,18,117,
  181. 150,10,0,HIDC_RADIO_ACCEPT_ANY
  182. CONTROL "Accept SNMP packets from &these hosts",
  183. IDC_RADIO_ACCEPT_SPECIFIC_HOSTS,"Button",
  184. BS_AUTORADIOBUTTON,18,129,142,10,0,
  185. HIDC_RADIO_ACCEPT_SPECIFIC_HOSTS
  186. LISTBOX IDC_LIST_HOSTS,23,142,208,38,LBS_SORT |
  187. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP,0,
  188. HIDC_LIST_HOSTS
  189. PUSHBUTTON "Add&...",IDC_BUTTON_ADD_HOSTS,39,185,50,14,0,0,
  190. HIDC_BUTTON_ADD_HOSTS
  191. PUSHBUTTON "Ed&it...",IDC_BUTTON_EDIT_HOSTS,101,185,50,14,0,0,
  192. HIDC_BUTTON_EDIT_HOSTS
  193. PUSHBUTTON "Re&move",IDC_BUTTON_REMOVE_HOSTS,161,185,50,14,0,0,
  194. HIDC_BUTTON_REMOVE_HOSTS
  195. END
  196. IDD_DIALOG_ADD DIALOGEX 0, 0, 220, 63
  197. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
  198. CAPTION "SNMP Service Configuration"
  199. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  200. BEGIN
  201. LTEXT "Community &rights:",IDC_ST_PERMISSIONS,9,6,62,9,NOT
  202. WS_VISIBLE
  203. COMBOBOX IDC_CB_PERMISSIONS,9,15,134,69,CBS_DROPDOWNLIST | NOT
  204. WS_VISIBLE | WS_TABSTOP
  205. LTEXT "&Host name, IP or IPX address:",IDC_STATIC_ADD_TEXT,9,
  206. 32,114,8
  207. EDITTEXT IDC_EDIT_NAME,9,44,134,12,ES_AUTOHSCROLL,0,
  208. HIDC_EDIT_NAME
  209. DEFPUSHBUTTON "&Add",IDC_ADD,163,7,50,14,0,0,HIDC_ADD
  210. PUSHBUTTON "Cancel",IDCANCEL,163,24,50,14,0,0,HIDCANCEL
  211. END
  212. IDD_DIALOG_EDIT DIALOGEX 0, 0, 220, 63
  213. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
  214. CAPTION "SNMP Service Configuration"
  215. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  216. BEGIN
  217. LTEXT "&Host name, IP or IPX address:",IDC_STATIC_EDIT_TEXT,9,
  218. 32,114,8
  219. EDITTEXT IDC_EDIT_NAME,9,44,134,12,ES_AUTOHSCROLL,0,
  220. HIDC_EDIT_NAME
  221. DEFPUSHBUTTON "OK",IDOK,163,7,50,14,0,0,HIDOK
  222. PUSHBUTTON "Cancel",IDCANCEL,163,24,50,14,0,0,HIDCANCEL
  223. LTEXT "Community &rights:",IDC_ST_PERMISSIONS,9,6,72,9,NOT
  224. WS_VISIBLE
  225. COMBOBOX IDC_CB_PERMISSIONS,9,15,134,69,CBS_DROPDOWNLIST | NOT
  226. WS_VISIBLE | WS_TABSTOP
  227. END
  228. /////////////////////////////////////////////////////////////////////////////
  229. //
  230. // Dialog Info
  231. //
  232. IDD_DIALOG_ADD DLGINIT
  233. BEGIN
  234. IDC_CB_PERMISSIONS, 0x403, 1, 0
  235. "\000"
  236. 0
  237. END
  238. IDD_DIALOG_EDIT DLGINIT
  239. BEGIN
  240. IDC_CB_PERMISSIONS, 0x403, 5, 0
  241. 0x4f4e, 0x454e, "\000"
  242. IDC_CB_PERMISSIONS, 0x403, 7, 0
  243. 0x4f4e, 0x4954, 0x5946, "\000"
  244. IDC_CB_PERMISSIONS, 0x403, 10, 0
  245. 0x4552, 0x4441, 0x4f5f, 0x4c4e, 0x0059,
  246. IDC_CB_PERMISSIONS, 0x403, 11, 0
  247. 0x4552, 0x4441, 0x575f, 0x4952, 0x4554, "\000"
  248. IDC_CB_PERMISSIONS, 0x403, 12, 0
  249. 0x4552, 0x4441, 0x435f, 0x4552, 0x5441, 0x0045,
  250. 0
  251. END
  252. /////////////////////////////////////////////////////////////////////////////
  253. //
  254. // String Table
  255. //
  256. STRINGTABLE DISCARDABLE
  257. BEGIN
  258. IDS_SNAPIN_DESC "Snmp Snapin Extension"
  259. IDS_ROOT_NODE_NAME "Snmp Snapin Extension Root"
  260. IDS_CREATE_NEW_SNMP "Snmp extension...\nExample of a create new menu item"
  261. IDS_TOP_SNMP "Snmp extension...\nExample menu item at the top of the popup"
  262. IDS_EXTENSION_CREATE_NEW_SNMP
  263. "Sample extension...\nExample of a extension create new menu item"
  264. IDS_EXTENSION_TASK_SNMP "Sample extension...\nExample menu item extension on the task menu"
  265. IDS_STATS_SNMP "Sample Statistics (DHCP)\nExample of a statistics dialog"
  266. IDS_STATS_SNMP2 "Sample Statistics (Router)\nExample of a statistics dialog"
  267. IDS_STATS_ROUTER_IPADDRESS "IP Address"
  268. IDS_STATS_ROUTER_TEXT "Text"
  269. IDS_STATS_ROUTER_STUFF "Stuff"
  270. END
  271. STRINGTABLE DISCARDABLE
  272. BEGIN
  273. AFX_IDS_APP_TITLE "Snmp Snapin Extension"
  274. IDS_REGISTRY_LOAD_FAILED
  275. "Failed to read a Registry key. This may be due to lack of resources. Try closing other Windows applications to fix the problem."
  276. IDS_REGISTRY_SAVE_FAILED
  277. "Failed to save a Registry key. This may be due to lack of resources. Try closing other Windows applications to fix the problem."
  278. IDS_ACCEPTHOST_MISSING "You need to add at least one host to the list to specify the ""Accept SNMP Packets from These Hosts"" option."
  279. IDS_SNMPCOMM_TEXT "&Community Name:"
  280. IDS_SNMP_INVALID_IP_IPX_ADD
  281. "Address %1 is not a valid IP or IPX address. A valid IP address is in the form 10.3.2.1, and a valid IPX address is of a maximum length 12 and is a hexadecimal number (0-9, a-f or A-F)."
  282. END
  283. STRINGTABLE DISCARDABLE
  284. BEGIN
  285. IDS_ABOUT_DESCRIPTION "This Snapin allows you to configure your SNMP Agent, Traps and Security parameters."
  286. IDS_ABOUT_PROVIDER "Microsoft Corporation"
  287. IDS_ABOUT_VERSION "1.0"
  288. END
  289. STRINGTABLE DISCARDABLE
  290. BEGIN
  291. IDS_PERM_NAME0 "NONE"
  292. IDS_PERM_NAME1 "NOTIFY"
  293. IDS_PERM_NAME2 "READ ONLY"
  294. IDS_PERM_NAME3 "READ WRITE"
  295. IDS_PERM_NAME4 "READ CREATE"
  296. IDS_SEC_COMMUNITY "Community"
  297. IDS_SEC_PERMISSIONS "Rights"
  298. END
  299. #endif // English (U.S.) resources
  300. /////////////////////////////////////////////////////////////////////////////
  301. #ifndef APSTUDIO_INVOKED
  302. /////////////////////////////////////////////////////////////////////////////
  303. //
  304. // Generated from the TEXTINCLUDE 3 resource.
  305. //
  306. #include "..\common\common.rc" // Resources used by common.lib
  307. /////////////////////////////////////////////////////////////////////////////
  308. #endif // not APSTUDIO_INVOKED