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.

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