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.

495 lines
16 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: rtrhelp.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "stdafx.h"
  11. #include "rtrsnap.hm"
  12. #include "resource.h"
  13. //
  14. // What follows is the data that gets generated from
  15. // mkdlg.exe -c rtrsnap.rc
  16. //
  17. // "File rtrsnap.rc line 479 : Resource - DIALOG : IDD_QRY_GENERAL"
  18. static const DWORD rgdw_IDD_QRY_GENERAL[] =
  19. {
  20. IDC_QRY_CHECK_LANTOLAN, HIDC_QRY_CHECK_LANTOLAN,
  21. IDC_QRY_CHECK_DEMANDDIAL, HIDC_QRY_CHECK_DEMANDDIAL,
  22. IDC_QRY_CHECK_RAS, HIDC_QRY_CHECK_RAS,
  23. 0,0
  24. };
  25. // "File rtrsnap.rc line 470 : Resource - DIALOG : IDD_QRY_ADVANCED"
  26. static const DWORD rgdw_IDD_QRY_ADVANCED[] =
  27. {
  28. IDC_QRY_LIST_VALUES, HIDC_QRY_LIST_VALUES,
  29. IDC_QRY_BUTTON_CLEARALL, HIDC_QRY_BUTTON_CLEARALL,
  30. IDC_QRY_BUTTON_SELECTALL, HIDC_QRY_BUTTON_SELECTALL,
  31. 0,0
  32. };
  33. // "File rtrsnap.rc line 483 : Resource - DIALOG : IDD_QRY_ADDSERVER"
  34. static const DWORD rgdw_IDD_QRY_ADDSERVER[] =
  35. {
  36. IDC_QRY_RADIO_THIS, HIDC_QRY_RADIO_THIS,
  37. IDC_QRY_RADIO_ANOTHER, HIDC_QRY_RADIO_ANOTHER,
  38. IDC_QRY_EDIT_MACHINE, HIDC_QRY_EDIT_MACHINE,
  39. IDC_QRY_RADIO_NT4, HIDC_QRY_RADIO_NT4,
  40. IDC_QRY_EDIT_DOMAIN, HIDC_QRY_EDIT_DOMAIN,
  41. IDC_QRY_RADIO_NT5, HIDC_QRY_RADIO_NT5,
  42. 0,0
  43. };
  44. // "File rtrsnap.rc line 509 : Resource - DIALOG : IDD_CONNECTING"
  45. static const DWORD rgdw_IDD_CONNECTING[] =
  46. {
  47. IDC_EDIT_INTERFACENAME, HIDC_EDIT_INTERFACENAME,
  48. IDC_TEXT_IFSTATUS, HIDC_TEXT_IFSTATUS,
  49. IDC_TEXT_ELAPSED, HIDC_TEXT_ELAPSED,
  50. 0,0
  51. };
  52. // "File rtrsnap.rc line 524 : Resource - DIALOG : IDD_IF_CREDENTIALS"
  53. static const DWORD rgdw_IDD_IF_CREDENTIALS[] =
  54. {
  55. IDC_EDIT_IC_USERNAME, HIDC_EDIT_IC_USERNAME,
  56. IDC_EDIT_IC_DOMAIN, HIDC_EDIT_IC_DOMAIN,
  57. IDC_EDIT_IC_PASSWORD, HIDC_EDIT_IC_PASSWORD,
  58. IDC_EDIT_IC_PASSWORD2, HIDC_EDIT_IC_PASSWORD2,
  59. 0,0
  60. };
  61. // "File rtrsnap.rc line 738 : Resource - DIALOG : IDD_CONNECT_AS"
  62. static const DWORD rgdw_IDD_CONNECT_AS[] =
  63. {
  64. IDC_TEXT_INACCESSIBLE_RESOURCE, HIDC_TEXT_INACCESSIBLE_RESOURCE,
  65. IDC_TEXT_USER, HIDC_TEXT_USER,
  66. IDC_EDIT_USERNAME, HIDC_EDIT_USERNAME,
  67. IDC_TEXT_PASSWORD, HIDC_TEXT_PASSWORD,
  68. IDC_EDIT_USER_PASSWORD, HIDC_EDIT_USER_PASSWORD,
  69. 0,0
  70. };
  71. // "File rtrsnap.rc line 755 : Resource - DIALOG : IDD_RTR_IP"
  72. static const DWORD rgdw_IDD_RTR_IP[] =
  73. {
  74. IDC_RTR_IP_BTN_ENABLE_IPROUTING, HIDC_RTR_IP_BTN_ENABLE_IPROUTING,
  75. IDC_RTR_IP_CB_ALLOW_REMOTETCPIP, HIDC_RTR_IP_CB_ALLOW_REMOTETCPIP,
  76. IDC_RTR_IP_DHCP_TEXT, HIDC_RTR_IP_DHCP_TEXT,
  77. IDC_RTR_IP_RB_DHCP, HIDC_RTR_IP_RB_DHCP,
  78. IDC_RTR_IP_RB_POOL, HIDC_RTR_IP_RB_POOL,
  79. IDC_RTR_IP_LIST, HIDC_RTR_IP_LIST,
  80. IDC_RTR_IP_BTN_ADD, HIDC_RTR_IP_BTN_ADD,
  81. IDC_RTR_IP_BTN_EDIT, HIDC_RTR_IP_BTN_EDIT,
  82. IDC_RTR_IP_BTN_REMOVE, HIDC_RTR_IP_BTN_REMOVE,
  83. IDC_RTR_IP_TEXT_ADAPTER, HIDC_RTR_IP_TEXT_ADAPTER,
  84. IDC_RTR_IP_TEXT_LABEL_ADAPTER, HIDC_RTR_IP_TEXT_LABEL_ADAPTER,
  85. IDC_RTR_IP_COMBO_ADAPTER, HIDC_RTR_IP_COMBO_ADAPTER,
  86. IDC_RTR_IP_BTN_ENABLE_NETBT_BCAST_FWD, HIDC_RTR_IP_BTN_ENABLE_NETBT_BCAST_FWD,
  87. 0,0
  88. };
  89. // "File rtrsnap.rc line 787 : Resource - DIALOG : IDD_RTR_IPX"
  90. static const DWORD rgdw_IDD_RTR_IPX[] =
  91. {
  92. IDC_RTR_IPX_CB_REMOTEIPX, HIDC_RTR_IPX_CB_REMOTEIPX,
  93. IDC_RB_ENTIRE_NETWORK, HIDC_RB_ENTIRE_NETWORK,
  94. IDC_RTR_IPX_RB_AUTO, HIDC_RTR_IPX_RB_AUTO,
  95. IDC_RTR_IPX_RB_POOL, HIDC_RTR_IPX_RB_POOL,
  96. IDC_RTR_IPX_TEXT_FIRST, HIDC_RTR_IPX_TEXT_FIRST,
  97. IDC_RTR_IPX_EB_FIRST, HIDC_RTR_IPX_EB_FIRST,
  98. IDC_RTR_IPX_TEXT_LAST, HIDC_RTR_IPX_TEXT_LAST,
  99. IDC_RTR_IPX_EB_LAST, HIDC_RTR_IPX_EB_LAST,
  100. IDC_RTR_IPX_CB_SAME_ADDRESS, HIDC_RTR_IPX_CB_SAME_ADDRESS,
  101. IDC_RTR_IPX_CB_ALLOW_CLIENT, HIDC_RTR_IPX_CB_ALLOW_CLIENT,
  102. 0,0
  103. };
  104. // "File rtrsnap.rc line 819 : Resource - DIALOG : IDD_RTR_ARAP"
  105. static const DWORD rgdw_IDD_RTR_ARAP[] =
  106. {
  107. IDC_RTR_ARAP_CB_REMOTEARAP, HIDC_RTR_ARAP_CB_REMOTEARAP,
  108. 0,0
  109. };
  110. // "File rtrsnap.rc line 829 : Resource - DIALOG : IDD_RTR_NBF"
  111. static const DWORD rgdw_IDD_RTR_NBF[] =
  112. {
  113. IDC_RTR_IPX_CB_REMOTENETBEUI, HIDC_RTR_IPX_CB_REMOTENETBEUI,
  114. IDC_RB_THIS_COMPUTER, HIDC_RB_THIS_COMPUTER,
  115. IDC_RB_ENTIRE_NETWORK, HIDC_RB_ENTIRE_NETWORK,
  116. 0,0
  117. };
  118. // "File rtrsnap.rc line 844 : Resource - DIALOG : IDD_CONNECTREG"
  119. static const DWORD rgdw_IDD_CONNECTREG[] =
  120. {
  121. IDC_EDIT_MACHINENAME, HIDC_EDIT_MACHINENAME,
  122. 0,0
  123. };
  124. // "File rtrsnap.rc line 855 : Resource - DIALOG : IDD_REFRESHRATE"
  125. static const DWORD rgdw_IDD_REFRESHRATE[] =
  126. {
  127. IDC_EDIT_REFRESHRATE, HIDC_EDIT_REFRESHRATE,
  128. 0,0
  129. };
  130. // "File rtrsnap.rc line 870 : Resource - DIALOGEX : IDD_DDM_PORT"
  131. static const DWORD rgdw_IDD_DDM_PORT[] =
  132. {
  133. IDC_DP_COMBO_PORTLIST, HIDC_DP_COMBO_PORTLIST,
  134. IDC_DP_EDIT_CONDITION, HIDC_DP_EDIT_CONDITION,
  135. IDC_DP_TEXT_LINEBPS, HIDC_DP_TEXT_LINEBPS,
  136. IDC_DP_TEXT_DURATION, HIDC_DP_TEXT_DURATION,
  137. IDC_DP_TEXT_BYTESIN, HIDC_DP_TEXT_BYTESIN,
  138. IDC_DP_TEXT_BYTESOUT, HIDC_DP_TEXT_BYTESOUT,
  139. IDC_DP_TEXT_CRC, HIDC_DP_TEXT_CRC,
  140. IDC_DP_TEXT_TIMEOUT, HIDC_DP_TEXT_TIMEOUT,
  141. IDC_DP_TEXT_ALIGNMENT, HIDC_DP_TEXT_ALIGNMENT,
  142. IDC_DP_TEXT_FRAMING, HIDC_DP_TEXT_FRAMING,
  143. IDC_DP_TEXT_HWOVERRUN, HIDC_DP_TEXT_HWOVERRUN,
  144. IDC_DP_TEXT_BUFOVERRUN, HIDC_DP_TEXT_BUFOVERRUN,
  145. IDC_DP_TEXT_IPADDRESS, HIDC_DP_TEXT_IPADDRESS,
  146. IDC_DP_TEXT_IPXADDRESS, HIDC_DP_TEXT_IPXADDRESS,
  147. IDC_DP_TEXT_NBFADDRESS, HIDC_DP_TEXT_NBFADDRESS,
  148. IDC_DP_TEXT_ATLKADDRESS, HIDC_DP_TEXT_ATLKADDRESS,
  149. IDC_DP_BTN_REFRESH, HIDC_DP_BTN_REFRESH,
  150. IDC_DP_BTN_RESET, HIDC_DP_BTN_RESET,
  151. IDC_DP_BTN_HANGUP, HIDC_DP_BTN_HANGUP,
  152. 0,0
  153. };
  154. // "File rtrsnap.rc line 919 : Resource - DIALOGEX : IDD_DDM_CONN"
  155. static const DWORD rgdw_IDD_DDM_CONN[] =
  156. {
  157. IDC_DC_COMBO_CONNLIST, HIDC_DC_COMBO_CONNLIST,
  158. IDC_DC_TEXT_DURATION, HIDC_DC_TEXT_DURATION,
  159. IDC_DC_TEXT_BYTESIN, HIDC_DC_TEXT_BYTESIN,
  160. IDC_DC_TEXT_FRAMESIN, HIDC_DC_TEXT_FRAMESIN,
  161. IDC_DC_TEXT_COMPIN, HIDC_DC_TEXT_COMPIN,
  162. IDC_DC_TEXT_BYTESOUT, HIDC_DC_TEXT_BYTESOUT,
  163. IDC_DC_TEXT_FRAMESOUT, HIDC_DC_TEXT_FRAMESOUT,
  164. IDC_DC_TEXT_COMPOUT, HIDC_DC_TEXT_COMPOUT,
  165. IDC_DC_TEXT_CRC, HIDC_DC_TEXT_CRC,
  166. IDC_DC_TEXT_TIMEOUT, HIDC_DC_TEXT_TIMEOUT,
  167. IDC_DC_TEXT_ALIGNMENT, HIDC_DC_TEXT_ALIGNMENT,
  168. IDC_DC_TEXT_FRAMING, HIDC_DC_TEXT_FRAMING,
  169. IDC_DC_TEXT_HWOVERRUN, HIDC_DC_TEXT_HWOVERRUN,
  170. IDC_DC_TEXT_BUFOVERRUN, HIDC_DC_TEXT_BUFOVERRUN,
  171. IDC_DC_TEXT_IPADDRESS, HIDC_DC_TEXT_IPADDRESS,
  172. IDC_DC_TEXT_IPXADDRESS, HIDC_DC_TEXT_IPXADDRESS,
  173. IDC_DC_TEXT_NBFADDRESS, HIDC_DC_TEXT_NBFADDRESS,
  174. IDC_DC_TEXT_ATLKADDRESS, HIDC_DC_TEXT_ATLKADDRESS,
  175. IDC_DC_BTN_REFRESH, HIDC_DC_BTN_REFRESH,
  176. IDC_DC_BTN_RESET, HIDC_DC_BTN_RESET,
  177. IDC_DC_BTN_HANGUP, HIDC_DC_BTN_HANGUP,
  178. 0,0
  179. };
  180. // "File rtrsnap.rc line 970 : Resource - DIALOG : IDD_DDM_MESSAGE"
  181. static const DWORD rgdw_IDD_DDM_MESSAGE[] =
  182. {
  183. IDC_DM_EDIT_TO, HIDC_DM_EDIT_TO,
  184. IDC_DM_EDIT_MESSAGE, HIDC_DM_EDIT_MESSAGE,
  185. 0,0
  186. };
  187. // "File rtrsnap.rc line 985 : Resource - DIALOG : IDD_PORTS_GLOBAL_GENERAL"
  188. static const DWORD rgdw_IDD_PORTS_GLOBAL_GENERAL[] =
  189. {
  190. IDC_PGG_LIST, HIDC_PGG_LIST,
  191. IDC_PGG_BTN_CONFIGURE, HIDC_PGG_BTN_CONFIGURE,
  192. IDC_PGG_TXT_NOINFO, HIDC_PGG_TXT_NOINFO,
  193. 0,0
  194. };
  195. // "File rtrsnap.rc line 998 : Resource - DIALOG : IDD_RTR_ATLK"
  196. static const DWORD rgdw_IDD_RTR_ATLK[] =
  197. {
  198. IDC_RTR_ATLK_SEEDNETWORK, HIDC_RTR_ATLK_SEEDNETWORK,
  199. IDC_RTR_ATLK_S_RANGE, HIDC_RTR_ATLK_S_RANGE,
  200. IDC_RTR_ATLK_S_LOWER, HIDC_RTR_ATLK_S_LOWER,
  201. IDC_RTR_ATLK_FROM, HIDC_RTR_ATLK_FROM,
  202. IDC_RTR_ATLK_S_UPPER, HIDC_RTR_ATLK_S_UPPER,
  203. IDC_RTR_ATLK_TO, HIDC_RTR_ATLK_TO,
  204. IDC_RTR_ATLK_S_DEF, HIDC_RTR_ATLK_S_DEF,
  205. // IDC_CMB_ATLK_ZONEDEF, HIDC_CMB_ATLK_ZONEDEF,
  206. IDC_BTN_ATLK_ZONEADD, HIDC_BTN_ATLK_ZONEADD,
  207. IDC_RTR_ATLK_LB_DEFZONES, HIDC_RTR_ATLK_LB_DEFZONES,
  208. IDC_BTN_ATLK_GETZONES, HIDC_BTN_ATLK_GETZONES,
  209. IDC_BTN_ATLK_ZONEREMOVE, HIDC_BTN_ATLK_ZONEREMOVE,
  210. IDC_ATLK_SPIN_FROM, HIDC_RTR_ATLK_FROM,
  211. IDC_ATLK_SPIN_TO, HIDC_RTR_ATLK_TO,
  212. IDC_RTR_ATLK_DEFAULTZONE_PROMPT, HIDC_CMB_ATLK_ZONEDEF,
  213. IDC_RTR_ATLK_DEFAULTZONE_DISPLAY, HIDC_RTR_ATLK_DEFAULTZONE_DISPLAY,
  214. 0,0
  215. };
  216. // "File rtrsnap.rc line 1026 : Resource - DIALOG : IDD_RTR_GENERAL"
  217. static const DWORD rgdw_IDD_RTR_GENERAL[] =
  218. {
  219. IDC_RTR_GEN_CB_SVRASRTR, HIDC_RTR_GEN_CB_SVRASRTR,
  220. IDC_RTR_GEN_RB_LAN, HIDC_RTR_GEN_RB_LAN,
  221. IDC_RTR_GEN_RB_LANWAN, HIDC_RTR_GEN_RB_LANWAN,
  222. IDC_RTR_GEN_CB_RAS, HIDC_RTR_GEN_CB_RAS,
  223. 0,0
  224. };
  225. // "File rtrsnap.rc line 1050 : Resource - DIALOG : IDD_RTR_AUTHENTICATION"
  226. static const DWORD rgdw_IDD_RTR_AUTHENTICATION[] =
  227. {
  228. IDC_RTR_AUTH_COMBO_AUTHPROV, HIDC_RTR_AUTH_COMBO_AUTHPROV,
  229. IDC_RTR_AUTH_BTN_AUTHCFG, HIDC_RTR_AUTH_BTN_AUTHCFG,
  230. IDC_RTR_AUTH_BTN_SETTINGS, HIDC_RTR_AUTH_BTN_SETTINGS,
  231. IDC_RTR_AUTH_COMBO_ACCTPROV, HIDC_RTR_AUTH_COMBO_ACCTPROV,
  232. IDC_RTR_AUTH_BTN_ACCTCFG, HIDC_RTR_AUTH_BTN_ACCTCFG,
  233. IDC_AUTH_CHK_CUSTOM_IPSEC_POLICY, HIDC_AUTH_CHK_CUSTOM_IPSEC_POLICY,
  234. IDC_STATIC_PRESHARED_KEY1, HIDC_STATIC_PRESHARED_KEY,
  235. IDC_TXT_PRESHARED_KEY, HIDC_STATIC_PRESHARED_KEY,
  236. 0,0
  237. };
  238. // "File rtrsnap.rc line 1071 : Resource - DIALOG : IDD_RTR_EAP_CFG"
  239. static const DWORD rgdw_IDD_RTR_EAP_CFG[] =
  240. {
  241. IDC_RTR_EAPCFG_LIST, HIDC_RTR_EAPCFG_LIST,
  242. 0,0
  243. };
  244. // "File rtrsnap.rc line 1086 : Resource - DIALOG : IDD_RADIUS_AUTH"
  245. static const DWORD rgdw_IDD_RADIUS_AUTH[] =
  246. {
  247. IDC_RADAUTH_LIST, HIDC_RADAUTH_LIST,
  248. IDC_RADAUTH_BTN_ADD, HIDC_RADAUTH_BTN_ADD,
  249. IDC_RADAUTH_BTN_EDIT, HIDC_RADAUTH_BTN_EDIT,
  250. IDC_RADAUTH_BTN_DELETE, HIDC_RADAUTH_BTN_DELETE,
  251. 0,0
  252. };
  253. // "File rtrsnap.rc line 1105 : Resource - DIALOG : IDD_RADIUS_AUTH_CONFIG"
  254. static const DWORD rgdw_IDD_RADIUS_AUTH_CONFIG[] =
  255. {
  256. IDC_RAC_EDIT_SERVER, HIDC_RAC_EDIT_SERVER,
  257. IDC_RAC_EDIT_SECRET, HIDC_RAC_EDIT_SECRET,
  258. IDC_RAC_BTN_CHANGE, HIDC_RAC_BTN_CHANGE,
  259. IDC_RAC_EDIT_TIMEOUT, HIDC_RAC_EDIT_TIMEOUT,
  260. IDC_RAC_SPIN_TIMEOUT, HIDC_RAC_SPIN_TIMEOUT,
  261. IDC_RAC_EDIT_SCORE, HIDC_RAC_EDIT_SCORE,
  262. IDC_RAC_SPIN_SCORE, HIDC_RAC_SPIN_SCORE,
  263. IDC_RAC_EDIT_PORT, HIDC_RAC_EDIT_PORT,
  264. IDC_RAC_BTN_DIGITALSIG, HIDC_RAC_BTN_DIGITALSIG,
  265. 0,0
  266. };
  267. // "File rtrsnap.rc line 1139 : Resource - DIALOG : IDD_PPP_CONFIG"
  268. static const DWORD rgdw_IDD_PPP_CONFIG[] =
  269. {
  270. IDC_PPPCFG_BTN_MULTILINK, HIDC_PPPCFG_BTN_MULTILINK,
  271. IDC_PPPCFG_BTN_BACP, HIDC_PPPCFG_BTN_BACP,
  272. IDC_PPPCFG_BTN_LCP, HIDC_PPPCFG_BTN_LCP,
  273. IDC_PPPCFG_BTN_SWCOMP, HIDC_PPPCFG_BTN_SWCOMP,
  274. IDC_PPPCFG_BTN_AUDIO_ACC, HIDC_PPPCFG_BTN_AUDIO_ACC,
  275. 0,0
  276. };
  277. // "File rtrsnap.rc line 1160 : Resource - DIALOG : IDD_CHANGE_SECRET"
  278. static const DWORD rgdw_IDD_CHANGE_SECRET[] =
  279. {
  280. IDC_SECRET_EDIT_NEW, HIDC_SECRET_EDIT_NEW,
  281. IDC_SECRET_EDIT_NEW_CONFIRM, HIDC_SECRET_EDIT_NEW_CONFIRM,
  282. 0,0
  283. };
  284. // "File rtrsnap.rc line 1177 : Resource - DIALOG : IDD_RADIUS_ACCT_CONFIG"
  285. static const DWORD rgdw_IDD_RADIUS_ACCT_CONFIG[] =
  286. {
  287. IDC_RAC_EDIT_SERVER, HIDC_RAC_EDIT_SERVER,
  288. IDC_RAC_EDIT_SECRET, HIDC_RAC_EDIT_SECRET,
  289. IDC_RAC_BTN_CHANGE, HIDC_RAC_BTN_CHANGE,
  290. IDC_RAC_EDIT_TIMEOUT, HIDC_RAC_EDIT_TIMEOUT,
  291. IDC_RAC_SPIN_TIMEOUT, HIDC_RAC_SPIN_TIMEOUT,
  292. IDC_RAC_EDIT_SCORE, HIDC_RAC_EDIT_SCORE,
  293. IDC_RAC_SPIN_SCORE, HIDC_RAC_SPIN_SCORE,
  294. IDC_RAC_TXT_PORT, HIDC_RAC_TXT_PORT,
  295. IDC_RAC_EDIT_PORT, HIDC_RAC_EDIT_PORT,
  296. IDC_RAC_BTN_ONOFF, HIDC_RAC_BTN_ONOFF,
  297. 0,0
  298. };
  299. // "File rtrsnap.rc line 1210 : Resource - DIALOG : IDD_PORTS_DEVICE_CONFIG"
  300. static const DWORD rgdw_IDD_PORTS_DEVICE_CONFIG[] =
  301. {
  302. IDC_DEVCFG_BTN_RAS, HIDC_DEVCFG_BTN_RAS,
  303. IDC_DEVCFG_BTN_ROUTING, HIDC_DEVCFG_BTN_ROUTING,
  304. IDC_DEVCFG_TEXT_CALLEDID, HIDC_DEVCFG_TEXT_CALLEDID,
  305. IDC_DEVCFG_EDIT_CALLEDID, HIDC_DEVCFG_EDIT_CALLEDID,
  306. IDC_DEVCFG_TEXT, HIDC_DEVCFG_TEXT,
  307. IDC_DEVCFG_TEXT_PORTS, HIDC_DEVCFG_TEXT_PORTS,
  308. IDC_DEVCFG_EDIT_PORTS, HIDC_DEVCFG_EDIT_PORTS,
  309. IDC_DEVCFG_SPIN_PORTS, HIDC_DEVCFG_SPIN_PORTS,
  310. 0,0
  311. };
  312. // "File rtrsnap.rc line 1240 : Resource - DIALOG : IDD_RTR_EVENTLOGGING"
  313. static const DWORD rgdw_IDD_RTR_EVENTLOGGING[] =
  314. {
  315. IDC_ELOG_BTN_LOGERROR, HIDC_ELOG_BTN_LOGERROR,
  316. IDC_ELOG_BTN_LOGWARN, HIDC_ELOG_BTN_LOGWARN,
  317. IDC_ELOG_BTN_LOGINFO, HIDC_ELOG_BTN_LOGINFO,
  318. IDC_ELOG_BTN_LOGNONE, HIDC_ELOG_BTN_LOGNONE,
  319. IDC_ELOG_BTN_PPP, HIDC_ELOG_BTN_PPP,
  320. 0,0
  321. };
  322. // "File rtrsnap.rc line 1261 : Resource - DIALOG : IDD_TUNNEL"
  323. static const DWORD rgdw_IDD_TUNNEL[] =
  324. {
  325. IDC_TUNNEL_EDIT_NAME, HIDC_TUNNEL_EDIT_NAME,
  326. 0,0
  327. };
  328. // "File rtrsnap.rc line 1272 : Resource - DIALOG : IDD_RTR_ATLK_NEWZONE"
  329. static const DWORD rgdw_IDD_RTR_ATLK_NEWZONE[] =
  330. {
  331. IDC_RTR_ATLK_NEWZONE_STATIC, HIDC_RTR_ATLK_NEWZONE_STATIC,
  332. IDC_RTR_ATLK_NEWZONE_EDIT, HIDC_RTR_ATLK_NEWZONE_EDIT,
  333. 0,0
  334. };
  335. // "File rtrsnap.rc line 1287 : Resource - DIALOGEX : IDD_AUTHENTICATION_SETTINGS"
  336. static const DWORD rgdw_IDD_AUTHENTICATION_SETTINGS[] =
  337. {
  338. IDC_RTR_AUTH_TXT_DETAILS, HIDC_RTR_AUTH_TXT_DETAILS,
  339. IDC_RTR_AUTH_BTN_EAP, HIDC_RTR_AUTH_BTN_EAP,
  340. IDC_RTR_AUTH_BTN_DETAILS, HIDC_RTR_AUTH_BTN_DETAILS,
  341. IDC_RTR_AUTH_BTN_MSCHAPV2, HIDC_RTR_AUTH_BTN_MSCHAPV2,
  342. IDC_RTR_AUTH_BTN_MSCHAP, HIDC_RTR_AUTH_BTN_MSCHAP,
  343. IDC_RTR_AUTH_BTN_CHAP, HIDC_RTR_AUTH_BTN_CHAP,
  344. IDC_RTR_AUTH_BTN_SPAP, HIDC_RTR_AUTH_BTN_SPAP,
  345. IDC_RTR_AUTH_BTN_PAP, HIDC_RTR_AUTH_BTN_PAP,
  346. IDC_RTR_AUTH_BTN_NOAUTH, HIDC_RTR_AUTH_BTN_NOAUTH,
  347. 0,0
  348. };
  349. // "File rtrsnap.rc line 1321 : Resource - DIALOG : IDD_IPPOOL"
  350. static const DWORD rgdw_IDD_IPPOOL[] =
  351. {
  352. IDC_IPPOOL_IP_START, HIDC_IPPOOL_IP_START,
  353. IDC_IPPOOL_IP_END, HIDC_IPPOOL_IP_END,
  354. IDC_IPPOOL_EDIT_RANGE, HIDC_IPPOOL_EDIT_RANGE,
  355. 0,0
  356. };
  357. //
  358. // End of mkdlg.exe output
  359. //
  360. // Have to include the dialogs in common
  361. #include "commhelp.cpp"
  362. static BOOL s_fInitHelpMap = FALSE;
  363. static CMapWordToPtr s_IDDHelpMap;
  364. void InitHelpMap();
  365. DWORD * MprSnapHelpMap(DWORD dwIDD)
  366. {
  367. LPVOID pvHelpMap = NULL;
  368. if (!s_fInitHelpMap)
  369. {
  370. InitHelpMap();
  371. s_fInitHelpMap = TRUE;
  372. }
  373. // Look in the help map
  374. s_IDDHelpMap.Lookup((WORD) dwIDD, pvHelpMap);
  375. return (DWORD *) pvHelpMap;
  376. }
  377. void InitHelpMap()
  378. {
  379. // Add all of the help maps to the DWORD map
  380. s_IDDHelpMap.SetAt(IDD_QRY_GENERAL, (LPVOID) rgdw_IDD_QRY_GENERAL);
  381. s_IDDHelpMap.SetAt(IDD_QRY_ADVANCED, (LPVOID) rgdw_IDD_QRY_ADVANCED);
  382. s_IDDHelpMap.SetAt(IDD_QRY_ADDSERVER, (LPVOID) rgdw_IDD_QRY_ADDSERVER);
  383. s_IDDHelpMap.SetAt(IDD_CONNECTING, (LPVOID) rgdw_IDD_CONNECTING);
  384. s_IDDHelpMap.SetAt(IDD_IF_CREDENTIALS, (LPVOID) rgdw_IDD_IF_CREDENTIALS);
  385. s_IDDHelpMap.SetAt(IDD_CONNECT_AS, (LPVOID) rgdw_IDD_CONNECT_AS);
  386. s_IDDHelpMap.SetAt(IDD_RTR_IP, (LPVOID) rgdw_IDD_RTR_IP);
  387. s_IDDHelpMap.SetAt(IDD_RTR_IPX, (LPVOID) rgdw_IDD_RTR_IPX);
  388. s_IDDHelpMap.SetAt(IDD_RTR_ARAP, (LPVOID) rgdw_IDD_RTR_ARAP);
  389. s_IDDHelpMap.SetAt(IDD_RTR_NBF, (LPVOID) rgdw_IDD_RTR_NBF);
  390. s_IDDHelpMap.SetAt(IDD_CONNECTREG, (LPVOID) rgdw_IDD_CONNECTREG);
  391. s_IDDHelpMap.SetAt(IDD_REFRESHRATE, (LPVOID) rgdw_IDD_REFRESHRATE);
  392. s_IDDHelpMap.SetAt(IDD_DDM_PORT, (LPVOID) rgdw_IDD_DDM_PORT);
  393. s_IDDHelpMap.SetAt(IDD_DDM_CONN, (LPVOID) rgdw_IDD_DDM_CONN);
  394. s_IDDHelpMap.SetAt(IDD_DDM_MESSAGE, (LPVOID) rgdw_IDD_DDM_MESSAGE);
  395. s_IDDHelpMap.SetAt(IDD_PORTS_GLOBAL_GENERAL, (LPVOID) rgdw_IDD_PORTS_GLOBAL_GENERAL);
  396. s_IDDHelpMap.SetAt(IDD_RTR_ATLK, (LPVOID) rgdw_IDD_RTR_ATLK);
  397. s_IDDHelpMap.SetAt(IDD_RTR_GENERAL, (LPVOID) rgdw_IDD_RTR_GENERAL);
  398. s_IDDHelpMap.SetAt(IDD_RTR_AUTHENTICATION, (LPVOID) rgdw_IDD_RTR_AUTHENTICATION);
  399. s_IDDHelpMap.SetAt(IDD_RTR_EAP_CFG, (LPVOID) rgdw_IDD_RTR_EAP_CFG);
  400. s_IDDHelpMap.SetAt(IDD_RADIUS_AUTH, (LPVOID) rgdw_IDD_RADIUS_AUTH);
  401. s_IDDHelpMap.SetAt(IDD_RADIUS_AUTH_CONFIG, (LPVOID) rgdw_IDD_RADIUS_AUTH_CONFIG);
  402. s_IDDHelpMap.SetAt(IDD_PPP_CONFIG, (LPVOID) rgdw_IDD_PPP_CONFIG);
  403. s_IDDHelpMap.SetAt(IDD_CHANGE_SECRET, (LPVOID) rgdw_IDD_CHANGE_SECRET);
  404. s_IDDHelpMap.SetAt(IDD_RADIUS_ACCT_CONFIG, (LPVOID) rgdw_IDD_RADIUS_ACCT_CONFIG);
  405. s_IDDHelpMap.SetAt(IDD_PORTS_DEVICE_CONFIG, (LPVOID) rgdw_IDD_PORTS_DEVICE_CONFIG);
  406. s_IDDHelpMap.SetAt(IDD_RTR_EVENTLOGGING, (LPVOID) rgdw_IDD_RTR_EVENTLOGGING);
  407. s_IDDHelpMap.SetAt(IDD_TUNNEL, (LPVOID) rgdw_IDD_TUNNEL);
  408. s_IDDHelpMap.SetAt(IDD_RTR_ATLK_NEWZONE, (LPVOID) rgdw_IDD_RTR_ATLK_NEWZONE);
  409. s_IDDHelpMap.SetAt(IDD_AUTHENTICATION_SETTINGS, (LPVOID) rgdw_IDD_AUTHENTICATION_SETTINGS);
  410. s_IDDHelpMap.SetAt(IDD_IPPOOL, (LPVOID) rgdw_IDD_IPPOOL);
  411. // Include the entries for common
  412. s_IDDHelpMap.SetAt(IDD_STATS, (LPVOID) rgdw_IDD_STATS);
  413. s_IDDHelpMap.SetAt(IDD_STATS_NARROW, (LPVOID) rgdw_IDD_STATS_NARROW);
  414. s_IDDHelpMap.SetAt(IDD_COMMON_SELECT_COLUMNS, (LPVOID) rgdw_IDD_COMMON_SELECT_COLUMNS);
  415. s_IDDHelpMap.SetAt(IDD_BUSY, (LPVOID) rgdw_IDD_BUSY);
  416. }