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.

434 lines
12 KiB

  1. /*----------------------------------------------------------------------------
  2. rtrguid.h
  3. Header file for all of the routing GUIDS.
  4. Copyright (C) 1997 Microsoft Corporation
  5. All rights reserved.
  6. ----------------------------------------------------------------------------*/
  7. #ifndef _RTRGUID_H
  8. #define _RTRGUID_H
  9. /*---------------------------------------------------------------------------
  10. CLSIDs for the router snapins
  11. The range for the CLSIDs are
  12. {1AA7F839-C7F5-11d0-A376-00C04FC9DA04}
  13. to
  14. {1AA7F87F-C7F5-11d0-A376-00C04FC9DA04}
  15. ---------------------------------------------------------------------------*/
  16. #define DEFINE_ROUTER_CLSID(name,x) \
  17. DEFINE_GUID(CLSID_##name, \
  18. (0x1aa7f830 + (x)), 0xc7f5, 0x11d0, 0xa3, 0x76, 0x0, 0xc0, 0x4f, 0xc9, 0xda, 0x4);
  19. // CLSID_RouterSnapin
  20. // {1AA7F839-C7F5-11d0-A376-00C04FC9DA04}
  21. DEFINE_ROUTER_CLSID(RouterSnapin, 9)
  22. // CLSID_RouterSnapinExtension
  23. // {1AA7F83A-C7F5-11d0-A376-00C04FC9DA04}
  24. DEFINE_ROUTER_CLSID(RouterSnapinExtension, 0xA)
  25. // CLSID_RouterSnapinAbout
  26. // {1AA7F83B-C7F5-11d0-A376-00C04FC9DA04}
  27. DEFINE_ROUTER_CLSID(RouterSnapinAbout, 0xB)
  28. // CLSID_ATLKAdminExtension
  29. // {1AA7F83C-C7F5-11d0-A376-00C04FC9DA04}
  30. DEFINE_ROUTER_CLSID(ATLKAdminExtension, 0xC)
  31. // CLSID_ATLKAdminAbout
  32. // {1AA7F83D-C7F5-11d0-A376-00C04FC9DA04}
  33. DEFINE_ROUTER_CLSID(ATLKAdminAbout, 0xD)
  34. // CLSID_RouterAuthNT5DS
  35. // {1AA7F83E-C7F5-11d0-A376-00C04FC9DA04}
  36. DEFINE_ROUTER_CLSID(RouterAuthNT5DS, 0xE)
  37. // CLSID_RouterAuthRADIUS
  38. // {1AA7F83F-C7F5-11d0-A376-00C04FC9DA04}
  39. DEFINE_ROUTER_CLSID(RouterAuthRADIUS, 0xF)
  40. // CLSID_RouterAcctRADIUS
  41. // {1AA7F840-C7F5-11d0-A376-00C04FC9DA04}
  42. DEFINE_ROUTER_CLSID(RouterAcctRADIUS, 0x10)
  43. // CLSID_RouterAuthNT
  44. // {1AA7F841-C7F5-11d0-A376-00C04FC9DA04}
  45. DEFINE_ROUTER_CLSID(RouterAuthNT, 0x11)
  46. // CLSID_DomainViewSnapin
  47. // {1AA7F842-C7F5-11d0-A376-00C04FC9DA04}
  48. //FINE_ROUTER_CLSID(DomainViewSnapin, 0x12)
  49. // CLSID_DomainViewSnapinAbout
  50. // {1AA7F843-C7F5-11d0-A376-00C04FC9DA04}
  51. //FINE_ROUTER_CLSID(DomainViewSnapinAbout, 0x13)
  52. // CLSID_RemoteRouterConfig
  53. // {1AA7F844-C7F5-11d0-A376-00C04FC9DA04}
  54. DEFINE_ROUTER_CLSID(RemoteRouterConfig, 0x14)
  55. // CLSID_DomainViewSnapinExtension
  56. // {1AA7F845-C7F5-11d0-A376-00C04FC9DA04}
  57. //FINE_ROUTER_CLSID(DomainViewSnapinExtension, 0x15)
  58. // CLSID_RouterAcctNT
  59. // {1AA7F846-C7F5-11d0-A376-00C04FC9DA04}
  60. DEFINE_ROUTER_CLSID(RouterAcctNT, 0x16)
  61. // Use up to 0x7F
  62. /*---------------------------------------------------------------------------
  63. Nodetype GUIDs
  64. The range for our nodetype guids are
  65. {276B4E00-C7F7-11d0-A376-00C04FC9DA04}
  66. to
  67. {276B4EFF-C7F7-11d0-A376-00C04FC9DA04}
  68. I assume that 256 nodetypes is enough.
  69. ---------------------------------------------------------------------------*/
  70. // GUIDs for the node types
  71. #define DEFINE_ROUTER_NODETYPE_GUID(name,x) \
  72. DEFINE_GUID(GUID_##name, \
  73. (0x276b4e00 + x), 0xc7f7, 0x11d0, 0xa3, 0x76, 0x0, 0xc0, 0x4f, 0xc9, 0xda, 0x4); \
  74. // Domain nodetype
  75. // {276B4E00-C7F7-11d0-A376-00C04FC9DA04}
  76. DEFINE_ROUTER_NODETYPE_GUID(RouterDomainNodeType, 0)
  77. // GUID_RouterIfAdminNodeType
  78. // {276B4E01-C7F7-11d0-A376-00C04FC9DA04}
  79. DEFINE_ROUTER_NODETYPE_GUID(RouterIfAdminNodeType, 1)
  80. // GUID_RouterLanInterfaceNodeType
  81. // {276B4E02-C7F7-11d0-A376-00C04FC9DA04}
  82. DEFINE_ROUTER_NODETYPE_GUID(RouterLanInterfaceNodeType, 2)
  83. // GUID_RouterDialInNodeType
  84. // {276B4E03-C7F7-11d0-A376-00C04FC9DA04}
  85. DEFINE_ROUTER_NODETYPE_GUID(RouterDialInNodeType, 3)
  86. // GUID_RouterDialInResultNodeType
  87. // {276B4E04-C7F7-11d0-A376-00C04FC9DA04}
  88. DEFINE_ROUTER_NODETYPE_GUID(RouterDialInResultNodeType, 4)
  89. // GUID_RouterPortsNodeType
  90. // {276B4E05-C7F7-11d0-A376-00C04FC9DA04}
  91. DEFINE_ROUTER_NODETYPE_GUID(RouterPortsNodeType, 5)
  92. // GUID_RouterPortsResultNodeType
  93. // {276B4E06-C7F7-11d0-A376-00C04FC9DA04}
  94. DEFINE_ROUTER_NODETYPE_GUID(RouterPortsResultNodeType, 6)
  95. // GUID_ATLKRootNodeType
  96. // {276B4E07-C7F7-11d0-A376-00C04FC9DA04}
  97. DEFINE_ROUTER_NODETYPE_GUID(ATLKRootNodeType, 7)
  98. // GUID_ATLKNodeType
  99. // {276B4E08-C7F7-11d0-A376-00C04FC9DA04}
  100. DEFINE_ROUTER_NODETYPE_GUID(ATLKNodeType, 8)
  101. // GUID_ATLKInterfaceNodeType
  102. // {276B4E09-C7F7-11d0-A376-00C04FC9DA04}
  103. DEFINE_ROUTER_NODETYPE_GUID(ATLKInterfaceNodeType, 9)
  104. // GUID_DomainStatusNodeType
  105. // {276B4E0A-C7F7-11d0-A376-00C04FC9DA04}
  106. DEFINE_ROUTER_NODETYPE_GUID(DomainStatusNodeType, 0x0a)
  107. // GUID_DVSServerNodeType
  108. // {276B4E0B-C7F7-11d0-A376-00C04FC9DA04}
  109. DEFINE_ROUTER_NODETYPE_GUID(DVSServerNodeType, 0x0b)
  110. // Machine nodetype - Error nodetype (router_type=0)
  111. // {276B4E80-C7F7-11d0-A376-00C04FC9DA04}
  112. DEFINE_ROUTER_NODETYPE_GUID(RouterMachineErrorNodeType, 0x80)
  113. // Machine nodetype - RAS, WAN, LAN (router_type = 7)
  114. // {276B4E81-C7F7-11d0-A376-00C04FC9DA04}
  115. DEFINE_ROUTER_NODETYPE_GUID(RouterMachineNodeType, 0x81)
  116. /*---------------------------------------------------------------------------
  117. Other random GUIDs
  118. use the range
  119. {66A2DB00-D706-11d0-A37B-00C04FC9DA04}
  120. to
  121. {66A2DBFF-D706-11d0-A37B-00C04FC9DA04}
  122. IIDs can be in the range from
  123. {66A2DB00-D706-11d0-A37B-00C04FC9DA04}
  124. to
  125. {66A2DB7F-D706-11d0-A37B-00C04FC9DA04}
  126. Misc GUIDs are in the range
  127. {66A2DB80-D706-11d0-A37B-00C04FC9DA04}
  128. to
  129. {66A2DBFF-D706-11d0-A37B-00C04FC9DA04}
  130. ---------------------------------------------------------------------------*/
  131. #define DEFINE_ROUTER_IID(name,x) \
  132. DEFINE_GUID(IID_##name, \
  133. (0x66a2db00 + (x)), 0xd706, 0x11d0, 0xa3, 0x7b, 0x0, 0xc0, 0x4f, 0xc9, 0xda, 0x4);
  134. #define DEFINE_ROUTER_MISCGUID(name,x) \
  135. DEFINE_GUID(name, \
  136. (0x66a2db00 + (x)), 0xd706, 0x11d0, 0xa3, 0x7b, 0x0, 0xc0, 0x4f, 0xc9, 0xda, 0x4);
  137. // IID_IInfoBase
  138. // {66A2DB00-D706-11d0-A37B-00C04FC9DA04}
  139. DEFINE_ROUTER_IID(IInfoBase, 0)
  140. // IID_IEnumInfoBlock
  141. // {66A2DB01-D706-11d0-A37B-00C04FC9DA04}
  142. DEFINE_ROUTER_IID(IEnumInfoBlock, 1)
  143. // IID_IRouterInfo
  144. // {66A2DB02-D706-11d0-A37B-00C04FC9DA04}
  145. DEFINE_ROUTER_IID(IRouterInfo, 2)
  146. // IID_IEnumRouterInfo
  147. // {66A2DB03-D706-11d0-A37B-00C04FC9DA04}
  148. DEFINE_ROUTER_IID(IEnumRouterInfo, 3)
  149. // IID_IRtrMgrInfo
  150. // {66A2DB04-D706-11d0-A37B-00C04FC9DA04}
  151. DEFINE_ROUTER_IID(IRtrMgrInfo, 4)
  152. // IID_IEnumRtrMgrInfo
  153. // {66A2DB05-D706-11d0-A37B-00C04FC9DA04}
  154. DEFINE_ROUTER_IID(IEnumRtrMgrInfo, 5)
  155. // IID_IRtrMgrProtocolInfo
  156. // {66A2DB06-D706-11d0-A37B-00C04FC9DA04}
  157. DEFINE_ROUTER_IID(IRtrMgrProtocolInfo, 6)
  158. // IID_IEnumRtrMgrProtocolInfo
  159. // {66A2DB07-D706-11d0-A37B-00C04FC9DA04}
  160. DEFINE_ROUTER_IID(IEnumRtrMgrProtocolInfo, 7)
  161. // IID_IInterfaceInfo
  162. // {66A2DB08-D706-11d0-A37B-00C04FC9DA04}
  163. DEFINE_ROUTER_IID(IInterfaceInfo, 8)
  164. // IID_IEnumInterfaceInfo
  165. // {66A2DB09-D706-11d0-A37B-00C04FC9DA04}
  166. DEFINE_ROUTER_IID(IEnumInterfaceInfo, 9)
  167. // IID_IRtrMgrInterfaceInfo
  168. // {66A2DB0a-D706-11d0-A37B-00C04FC9DA04}
  169. DEFINE_ROUTER_IID(IRtrMgrInterfaceInfo, 0xa)
  170. // IID_IEnumRtrMgrInterfaceInfo
  171. // {66A2DB0b-D706-11d0-A37B-00C04FC9DA04}
  172. DEFINE_ROUTER_IID(IEnumRtrMgrInterfaceInfo, 0xb)
  173. // IID_IRtrMgrProtocolInterfaceInfo
  174. // {66A2DB0c-D706-11d0-A37B-00C04FC9DA04}
  175. DEFINE_ROUTER_IID(IRtrMgrProtocolInterfaceInfo, 0xc)
  176. // IID_IEnumRtrMgrProtocolInterfaceInfo
  177. // {66A2DB0d-D706-11d0-A37B-00C04FC9DA04}
  178. DEFINE_ROUTER_IID(IEnumRtrMgrProtocolInterfaceInfo, 0xd)
  179. // IID_IEnumRouterCB
  180. // {66A2DB0e-D706-11d0-A37B-00C04FC9DA04}
  181. DEFINE_ROUTER_IID(IEnumRouterCB, 0xe)
  182. // IID_IEnumRtrMgrCB
  183. // {66A2DB0f-D706-11d0-A37B-00C04FC9DA04}
  184. DEFINE_ROUTER_IID(IEnumRtrMgrCB, 0xf)
  185. // IID_IEnumRtrMgrProtocolCB
  186. // {66A2DB10-D706-11d0-A37B-00C04FC9DA04}
  187. DEFINE_ROUTER_IID(IEnumRtrMgrProtocolCB, 0x10)
  188. // IID_IEnumInterfaceCB
  189. // {66A2DB11-D706-11d0-A37B-00C04FC9DA04}
  190. DEFINE_ROUTER_IID(IEnumInterfaceCB, 0x11)
  191. // IID_IEnumRtrMgrInterfaceCB
  192. // {66A2DB12-D706-11d0-A37B-00C04FC9DA04}
  193. DEFINE_ROUTER_IID(IEnumRtrMgrInterfaceCB, 0x12)
  194. // IID_IEnumRtrMgrProtocolInterfaceCB
  195. // {66A2DB13-D706-11d0-A37B-00C04FC9DA04}
  196. DEFINE_ROUTER_IID(IEnumRtrMgrProtocolInterfaceCB, 0x13)
  197. // IID_IRtrAdviseSink
  198. // {66A2DB14-D706-11d0-A37B-00C04FC9DA04}
  199. DEFINE_ROUTER_IID(IRtrAdviseSink, 0x14)
  200. // IID_IRouterRefresh
  201. // {66A2DB15-D706-11d0-A37B-00C04FC9DA04}
  202. DEFINE_ROUTER_IID(IRouterRefresh, 0x15)
  203. // IID_IRouterProtocolConfig
  204. // {66A2DB16-D706-11d0-A37B-00C04FC9DA04}
  205. DEFINE_ROUTER_IID(IRouterProtocolConfig, 0x16)
  206. // IID_IAuthenticationProviderConfig
  207. // {66A2DB17-D706-11d0-A37B-00C04FC9DA04}
  208. DEFINE_ROUTER_IID(IAuthenticationProviderConfig, 0x17)
  209. // IID_IAccountingProviderConfig
  210. // {66A2DB18-D706-11d0-A37B-00C04FC9DA04}
  211. DEFINE_ROUTER_IID(IAccountingProviderConfig, 0x18)
  212. // IID_IEAPProviderConfig
  213. // {66A2DB19-D706-11d0-A37B-00C04FC9DA04}
  214. DEFINE_ROUTER_IID(IEAPProviderConfig, 0x19)
  215. // IID_IRemoteRouterConfig
  216. // {66A2DB1a-D706-11d0-A37B-00C04FC9DA04}
  217. DEFINE_ROUTER_IID(IRemoteRouterConfig, 0x1a)
  218. // IID_IRemoteNetworkConfig
  219. // {66A2DB1b-D706-11d0-A37B-00C04FC9DA04}
  220. DEFINE_ROUTER_IID(IRemoteNetworkConfig, 0x1b)
  221. // IID_IRouterRefreshAccess
  222. // {66A2DB1c-D706-11d0-A37B-00C04FC9DA04}
  223. DEFINE_ROUTER_IID(IRouterRefreshAccess, 0x1c)
  224. // IID_IRouterRefreshModify
  225. // {66A2DB1d-D706-11d0-A37B-00C04FC9DA04}
  226. DEFINE_ROUTER_IID(IRouterRefreshModify, 0x1d)
  227. // IID_IRemoteTCPIPChangeNotify
  228. // {66A2DB1e-D706-11d0-A37B-00C04FC9DA04}
  229. DEFINE_ROUTER_IID(IRemoteTCPIPChangeNotify, 0x1e)
  230. // IID_IRouterAdminAccess
  231. // {66A2DB1f-D706-11d0-A37B-00C04FC9DA04}
  232. DEFINE_ROUTER_IID(IRouterAdminAccess, 0x1f)
  233. // IID_IRemoteRouterRestart
  234. // {66A2DB20-D706-11d0-A37B-00C04FC9DA04}
  235. DEFINE_ROUTER_IID(IRemoteRouterRestart, 0x20)
  236. // Miscellaneous GUIDS
  237. // GUID_RemoteRouterConfigTLB
  238. // {66A2DB80-D706-11d0-A37B-00C04FC9DA04}
  239. DEFINE_ROUTER_MISCGUID(GUID_RemoteRouterConfigTLB, 0x80)
  240. // GUID_RemoteRouterConfigAppId
  241. // {66A2DB81-D706-11d0-A37B-00C04FC9DA04}
  242. DEFINE_ROUTER_MISCGUID(GUID_RemoteRouterConfigAppId, 0x81)
  243. // specialized GUIDS - used for speicalized router cases
  244. DEFINE_GUID(GUID_RouterError, 0xFFFFFFFF, 0xFFFF, 0xFFFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF);
  245. DEFINE_GUID(GUID_RouterNull, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
  246. // {E8EEDC94-8C6B-11d1-856C-00C04FC31FD3}
  247. DEFINE_GUID(CLSID_OldRouterSnapin,
  248. 0xe8eedc94, 0x8c6b, 0x11d1, 0x85, 0x6c, 0x0, 0xc0, 0x4f, 0xc3, 0x1f, 0xd3);
  249. // {E8EEDC95-8C6B-11d1-856C-00C04FC31FD3}
  250. DEFINE_GUID(CLSID_OldRouterSnapinAbout,
  251. 0xe8eedc95, 0x8c6b, 0x11d1, 0x85, 0x6c, 0x0, 0xc0, 0x4f, 0xc3, 0x1f, 0xd3);
  252. // Query
  253. DEFINE_GUID(CLSID_RRASQueryForm,
  254. 0x6B91AFEF, 0x9472, 0x11D1, 0x85, 0x74, 0x00,0xC0, 0x4F, 0xC3, 0x1F, 0xD3);
  255. // Need to add IP configuration GUID here
  256. DEFINE_GUID(CLSID_IPRouterConfiguration,
  257. 0xc2fe450A, 0xd6c2, 0x11d0, 0xa3, 0x7b, 0x0, 0xc0, 0x4f, 0xc9, 0xda, 0x4);
  258. #define DEFINE_ROUTER_CLSID(name,x) \
  259. DEFINE_GUID(CLSID_##name, \
  260. (0x1aa7f830 + (x)), 0xc7f5, 0x11d0, 0xa3, 0x76, 0x0, 0xc0, 0x4f, 0xc9, 0xda, 0x4);
  261. /*---------------------------------------------------------------------------
  262. Authentication provider GUIDS
  263. From
  264. {76560D00-2BFD-11d2-9539-3078302C2030}
  265. to
  266. {76560D7F-2BFD-11d2-9539-3078302C2030}
  267. Used to identify the class of the authentication providers.
  268. Current GUIDS are:
  269. GUID_AUTHPROV_RADIUS
  270. GUID_AUTHPROV_NATIVENT
  271. ---------------------------------------------------------------------------*/
  272. #define DEFINE_AUTH_PROVIDER_GUID(name,x) \
  273. DEFINE_GUID(GUID_AUTHPROV_##name, \
  274. (0x76560d00+(x)), 0x2bfd, 0x11d2, 0x95, 0x39, 0x30, 0x78, 0x30, 0x2c, 0x20, 0x30);
  275. // GUID_AUTHPROV_RADIUS
  276. // {76560D00-2BFD-11d2-9539-3078302C2030}
  277. DEFINE_AUTH_PROVIDER_GUID(RADIUS, 0x00);
  278. // GUID_AUTHPROV_NativeNT
  279. // {76560D01-2BFD-11d2-9539-3078302C2030}
  280. DEFINE_AUTH_PROVIDER_GUID(NativeNT, 0x01);
  281. /*---------------------------------------------------------------------------
  282. Accounting provider GUIDS
  283. From
  284. {76560D80-2BFD-11d2-9539-3078302C2030}
  285. to
  286. {76560DFF-2BFD-11d2-9539-3078302C2030}
  287. Used to identify the class of the authentication providers.
  288. Current GUIDS are:
  289. GUID_ACCTPROV_RADIUS
  290. GUID_ACCTPROV_NativeNT
  291. ---------------------------------------------------------------------------*/
  292. #define DEFINE_ACCT_PROVIDER_GUID(name,x) \
  293. DEFINE_GUID(GUID_ACCTPROV_##name, \
  294. (0x76560d00+(x)), 0x2bfd, 0x11d2, 0x95, 0x39, 0x30, 0x78, 0x30, 0x2c, 0x20, 0x30);
  295. // GUID_ACCTPROV_RADIUS
  296. // {76560D80-2BFD-11d2-9539-3078302C2030}
  297. DEFINE_ACCT_PROVIDER_GUID(RADIUS, 0x80);
  298. // GUID_ACCTPROV_NativeNT
  299. // {76560D81-2BFD-11d2-9539-3078302C2030}
  300. DEFINE_ACCT_PROVIDER_GUID(NativeNT, 0x81);
  301. #endif