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.

354 lines
16 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000.
  5. //
  6. // File: S D E V . I D L
  7. //
  8. // Contents: IDL file for sample device
  9. //
  10. // Notes:
  11. //
  12. // Author: mbend 26 Sep 2000
  13. //
  14. //----------------------------------------------------------------------------
  15. cpp_quote("//+-------------------------------------------------------------------------")
  16. cpp_quote("//")
  17. cpp_quote("// Microsoft Windows")
  18. cpp_quote("// Copyright (C) Microsoft Corporation, 1992-2000.")
  19. cpp_quote("//")
  20. cpp_quote("//--------------------------------------------------------------------------")
  21. cpp_quote("#if ( _MSC_VER >= 800 )")
  22. cpp_quote("#pragma warning(disable:4201)")
  23. cpp_quote("#endif")
  24. #ifndef DO_NO_IMPORTS
  25. import "ocidl.idl";
  26. #endif
  27. typedef [v1_enum] enum IOSINFO_DISPIDS
  28. {
  29. IOSINFO_DISPID_MAGICON = 1,
  30. IOSINFO_DISPID_OSMAJORVERSION,
  31. IOSINFO_DISPID_OSMINORVERSION,
  32. IOSINFO_DISPID_OSBUILDNUMBER,
  33. IOSINFO_DISPID_OSMACHINENAME
  34. } IOSINFO_DISPIDS;
  35. [
  36. uuid(34e5bd25-df15-405b-9d92-ab74ad0dc121),
  37. oleautomation,
  38. pointer_default(unique)
  39. ]
  40. interface IOSInfoService : IUnknown
  41. {
  42. [propget, id(IOSINFO_DISPID_OSMAJORVERSION), helpstring("OS Major Version")]
  43. HRESULT OSMajorVersion([out, retval] LONG *pOSMajorVersion);
  44. [propget, id(IOSINFO_DISPID_OSMINORVERSION), helpstring("OS Minor Version")]
  45. HRESULT OSMinorVersion([out, retval] LONG *pOSMinorVersion);
  46. [propget, id(IOSINFO_DISPID_OSBUILDNUMBER), helpstring("OS Build Number")]
  47. HRESULT OSBuildNumber([out, retval] LONG *pOSBuildNumber);
  48. [propget, id(IOSINFO_DISPID_OSMACHINENAME), helpstring("OS Machine Name")]
  49. HRESULT OSMachineName([out, retval] BSTR *pOSMachineName);
  50. [id(IOSINFO_DISPID_MAGICON), helpstring("Magic On")]
  51. HRESULT MagicOn();
  52. };
  53. typedef [v1_enum] enum ICOMMONCONFIG_DISPIDS
  54. {
  55. ICOMMONCONFIG_DISPID_WANACCESSTYPE,
  56. ICOMMONCONFIG_DISPID_LAYER1UPSTREAMMAXBITRATE,
  57. ICOMMONCONFIG_DISPID_LAYER1DOWNSTREAMMAXBITRATE,
  58. ICOMMONCONFIG_DISPID_PHYSICALLINKSTATUS,
  59. ICOMMONCONFIG_DISPID_SETENABLEDFORINTERNET,
  60. ICOMMONCONFIG_DISPID_ENABLEDFORINTERNET,
  61. ICOMMONCONFIG_DISPID_TOTALBYTESSENT,
  62. ICOMMONCONFIG_DISPID_TOTALBYTESRECEIVED,
  63. ICOMMONCONFIG_DISPID_TOTALPACKETSSSENT,
  64. ICOMMONCONFIG_DISPID_TOTALPACKETSRECEIVED,
  65. ICOMMONCONFIG_DISPID_WANACCESSPROVIDER,
  66. ICOMMONCONFIG_DISPID_MAXIMUMACTIVECONNECTIONS,
  67. ICOMMONCONFIG_DISPID_XPERSONALFIREWALLENABLED,
  68. ICOMMONCONFIG_DISPID_XUPTIME,
  69. ICOMMONCONFIG_DISPID_GETCOMMONLINKPROPERTIES,
  70. ICOMMONCONFIG_DISPID_XGETICSSTATISTICS,
  71. ICOMMONCONFIG_DISPID_GETTOTALBYTESSENT,
  72. ICOMMONCONFIG_DISPID_GETTOTALBYTESRECEIVED,
  73. ICOMMONCONFIG_DISPID_GETTOTALPACKETSSENT,
  74. ICOMMONCONFIG_DISPID_GETTOTALPACKETSRECEIVED,
  75. } ICOMMONCONFIG_DISPIDS;
  76. [
  77. uuid(eb453baa-08f1-4235-abf0-521c7aa0eda1),
  78. oleautomation,
  79. pointer_default(unique)
  80. ]
  81. interface ICommonInterfaceConfigService : IUnknown
  82. {
  83. [propget, id(ICOMMONCONFIG_DISPID_WANACCESSTYPE), helpstring("WANAccessType")]
  84. HRESULT WANAccessType([out, retval] BSTR *pWANAccessType);
  85. [propget, id(ICOMMONCONFIG_DISPID_LAYER1UPSTREAMMAXBITRATE), helpstring("Layer1UpstreamMaxBitRate")]
  86. HRESULT Layer1UpstreamMaxBitRate([out, retval] ULONG *pLayer1UpstreamMaxBitRate);
  87. [propget, id(ICOMMONCONFIG_DISPID_LAYER1DOWNSTREAMMAXBITRATE), helpstring("Layer1DownstreamMaxBitRate")]
  88. HRESULT Layer1DownstreamMaxBitRate([out, retval] ULONG *pLayer1DownstreamMaxBitRate);
  89. [propget, id(ICOMMONCONFIG_DISPID_PHYSICALLINKSTATUS), helpstring("PhysicalLinkStatus")]
  90. HRESULT PhysicalLinkStatus([out, retval] BSTR *pPhysicalLinkStatus);
  91. [propget, id(ICOMMONCONFIG_DISPID_TOTALBYTESSENT), helpstring("TotalBytesSent")]
  92. HRESULT TotalBytesSent([out, retval] ULONG *pTotalBytesSent);
  93. [propget, id(ICOMMONCONFIG_DISPID_TOTALBYTESRECEIVED), helpstring("TotalBytesReceived")]
  94. HRESULT TotalBytesReceived([out, retval] ULONG *pTotalBytesReceived);
  95. [propget, id(ICOMMONCONFIG_DISPID_TOTALPACKETSSSENT), helpstring("TotalPacketsSent")]
  96. HRESULT TotalPacketsSent([out, retval] ULONG *pTotalPacketsSent);
  97. [propget, id(ICOMMONCONFIG_DISPID_TOTALPACKETSRECEIVED), helpstring("TotalPacketsReceived")]
  98. HRESULT TotalPacketsReceived([out, retval] ULONG *pTotalPacketsReceived);
  99. [propget, id(ICOMMONCONFIG_DISPID_WANACCESSPROVIDER), helpstring("WANAccessProvider")]
  100. HRESULT WANAccessProvider([out, retval] BSTR *pWANAccessProvider);
  101. [propget, id(ICOMMONCONFIG_DISPID_MAXIMUMACTIVECONNECTIONS), helpstring("MaximumActiveConnections")]
  102. HRESULT MaximumActiveConnections([out, retval] USHORT *pMaximumActiveConnections);
  103. [propget, id(ICOMMONCONFIG_DISPID_XPERSONALFIREWALLENABLED), helpstring("PersonalFirewallEnabled")]
  104. HRESULT X_PersonalFirewallEnabled([out, retval] VARIANT_BOOL* pPersonalFirewallEnabled);
  105. [propget, id(ICOMMONCONFIG_DISPID_XUPTIME), helpstring("X_Uptime")]
  106. HRESULT X_Uptime([out, retval] ULONG* pUptime);
  107. [id(ICOMMONCONFIG_DISPID_GETCOMMONLINKPROPERTIES), helpstring("GetCommonLinkProperties")]
  108. HRESULT GetCommonLinkProperties([in, out] BSTR* pWANAccessType, [in, out] ULONG* pLayer1UpstreamMaxBitRate, [in, out] ULONG *pLayer1DownstreamMaxBitRate, [in, out] BSTR *pPhysicalLinkStatus);
  109. [id(ICOMMONCONFIG_DISPID_GETTOTALBYTESSENT), helpstring("GetTotalBytesSent")]
  110. HRESULT GetTotalBytesSent([in, out] ULONG *pTotalBytesSent);
  111. [id(ICOMMONCONFIG_DISPID_GETTOTALBYTESRECEIVED), helpstring("GetTotalBytesReceived")]
  112. HRESULT GetTotalBytesReceived([in, out] ULONG *pTotalBytesReceived);
  113. [id(ICOMMONCONFIG_DISPID_GETTOTALPACKETSSENT), helpstring("GetTotalPacketsSent")]
  114. HRESULT GetTotalPacketsSent([in, out] ULONG *pTotalPacketsSent);
  115. [id(ICOMMONCONFIG_DISPID_GETTOTALPACKETSRECEIVED), helpstring("GetTotalPacketsReceived")]
  116. HRESULT GetTotalPacketsReceived([in, out] ULONG *pTotalPacketsReceived);
  117. [id(ICOMMONCONFIG_DISPID_XGETICSSTATISTICS), helpstring("X_GetICSStatistics")]
  118. HRESULT X_GetICSStatistics([in, out] ULONG *pTotalBytesSent, [in, out] ULONG *pTotalBytesReceived, [in, out] ULONG *pTotalPacketsSent, [in, out] ULONG *pTotalPacketsReceived, [in, out] ULONG *pSpeed, [in, out] ULONG *pUptime);
  119. };
  120. typedef [v1_enum] enum IWANPOTSLINKCONFIG_DISPIDS
  121. {
  122. IWANPOTSLINKCONFIG_DISPIDS_MAGICON = 1,
  123. IWANPOTSLINKCONFIG_DISPID_ISPPHONENUMBER,
  124. IWANPOTSLINKCONFIG_DISPID_ISPINFO,
  125. IWANPOTSLINKCONFIG_DISPID_LINKTYPE,
  126. IWANPOTSLINKCONFIG_DISPID_NUMBEROFRETRIES,
  127. IWANPOTSLINKCONFIG_DISPID_DELAYBETWEENRETRIES,
  128. IWANPOTSLINKCONFIG_DISPID_GETISPINFO,
  129. IWANPOTSLINKCONFIG_DISPID_GETCALLRETRYINFO,
  130. } IWANPOTSLINKCONFIG_DISPIDS;
  131. [
  132. uuid(ea3788a7-84b8-4831-a4f9-9e842d0d44ba),
  133. oleautomation,
  134. pointer_default(unique)
  135. ]
  136. interface IWANPOTSLinkConfigService : IUnknown
  137. {
  138. [propget, id(IWANPOTSLINKCONFIG_DISPID_ISPPHONENUMBER), helpstring("ISPPhoneNumber")]
  139. HRESULT ISPPhoneNumber([out, retval] BSTR *pISPPhoneNumber);
  140. [propget, id(IWANPOTSLINKCONFIG_DISPID_ISPINFO), helpstring("ISPInfo")]
  141. HRESULT ISPInfo([out, retval] BSTR *pISPInfo);
  142. [propget, id(IWANPOTSLINKCONFIG_DISPID_LINKTYPE), helpstring("LinkType")]
  143. HRESULT LinkType([out, retval] BSTR *pLinkType);
  144. [propget, id(IWANPOTSLINKCONFIG_DISPID_NUMBEROFRETRIES), helpstring("NumberOfRetries")]
  145. HRESULT NumberOfRetries([out, retval] ULONG *pNumberOfRetries);
  146. [propget, id(IWANPOTSLINKCONFIG_DISPID_DELAYBETWEENRETRIES), helpstring("DelayBetweenRetries")]
  147. HRESULT DelayBetweenRetries([out, retval] ULONG *pDelayBetweenRetries);
  148. [id(IWANPOTSLINKCONFIG_DISPID_GETISPINFO), helpstring("GetISPInfo")]
  149. HRESULT GetISPInfo([in, out] BSTR* pISPPhoneNumber, [in, out] BSTR *pISPInfo, [in, out] BSTR *pLinkType);
  150. [id(IWANPOTSLINKCONFIG_DISPID_GETCALLRETRYINFO), helpstring("GetCallRetryInfo")]
  151. HRESULT GetCallRetryInfo([in, out] ULONG* pNumberOfRetries, [in, out] ULONG *pDelayBetweenRetries);
  152. }
  153. typedef [v1_enum] enum IWANIPCONNECTION_DISPIDS
  154. {
  155. IWANIPCONNECTION_DISPIDS_MAGICON = 1,
  156. IWANIPCONNECTION_DISPID_CONNECTIONTYPE,
  157. IWANIPCONNECTION_DISPID_POSSIBLECONNECTIONTYPES,
  158. IWANIPCONNECTION_DISPID_CONNECTIONSTATUS,
  159. IWANIPCONNECTION_DISPID_UPTIME,
  160. IWANIPCONNECTION_DISPID_UPSTREAMMAXBITRATE,
  161. IWANIPCONNECTION_DISPID_DOWNSTREAMMAXBITRATE,
  162. IWANIPCONNECTION_DISPID_LASTCONNECTIONERROR,
  163. IWANIPCONNECTION_DISPID_RSIPAVAILABLE,
  164. IWANIPCONNECTION_DISPID_NATENABLED,
  165. IWANIPCONNECTION_DISPID_NAME,
  166. IWANIPCONNECTION_DISPID_EXTERNALIPADDRESS,
  167. IWANIPCONNECTION_DISPID_REMOTEHOST,
  168. IWANIPCONNECTION_DISPID_EXTERNALPORT,
  169. IWANIPCONNECTION_DISPID_INTERNALPORT,
  170. IWANIPCONNECTION_DISPID_PORTMAPPINGPROTOCOL,
  171. IWANIPCONNECTION_DISPID_INTERNALCLIENT,
  172. IWANIPCONNECTION_DISPID_PORTMAPPINGDESCRIPTION,
  173. IWANIPCONNECTION_DISPID_PORTMAPPINGENABLED,
  174. IWANIPCONNECTION_DISPID_PORTMAPPINGLEASEDURATION,
  175. IWANIPCONNECTION_DISPID_XPORTMAPPINGINDEX,
  176. IWANIPCONNECTION_DISPID_PORTMAPPINGNUMBEROFENTRIES,
  177. IWANIPCONNECTION_DISPID_SETCONNECTIONTYPE,
  178. IWANIPCONNECTION_DISPID_GETCONNECTIONTYPE,
  179. IWANIPCONNECTION_DISPID_REQUESTCONNECTION,
  180. IWANIPCONNECTION_DISPID_FORCETERMINATION,
  181. IWANIPCONNECTION_DISPID_GETSTATUSINFO,
  182. IWANIPCONNECTION_DISPID_GETNATRSIPSTATUS,
  183. IWANIPCONNECTION_DISPID_GETLINKLAYERMAXBITRATES,
  184. IWANIPCONNECTION_DISPID_GETSPECIFICPORTMAPPINGENTRY,
  185. IWANIPCONNECTION_DISPID_GETGENERICPORTMAPPINGENTRY,
  186. IWANIPCONNECTION_DISPID_ADDPORTMAPPING,
  187. IWANIPCONNECTION_DISPID_DELETEPORTMAPPING,
  188. IWANIPCONNECTION_DISPID_GETEXTERNALIPADDRESS,
  189. } IWANIPCONNECTION_DISPIDS;
  190. [
  191. uuid(b99a547a-9574-46da-8774-3ecaf70bc12f),
  192. oleautomation,
  193. pointer_default(unique)
  194. ]
  195. interface IWANIPConnectionService : IUnknown
  196. {
  197. [propget, id(IWANIPCONNECTION_DISPID_CONNECTIONTYPE), helpstring("ConnectionType")]
  198. HRESULT ConnectionType([out, retval] BSTR *pConnectionType);
  199. [propget, id(IWANIPCONNECTION_DISPID_POSSIBLECONNECTIONTYPES), helpstring("PossibleConnectionTypes")]
  200. HRESULT PossibleConnectionTypes([out, retval] BSTR *pPossibleConnectionTypes);
  201. [propget, id(IWANIPCONNECTION_DISPID_CONNECTIONSTATUS), helpstring("ConnectionStatus")]
  202. HRESULT ConnectionStatus([out, retval] BSTR *pConnectionStatus);
  203. [propget, id(IWANIPCONNECTION_DISPID_UPTIME), helpstring("Uptime")]
  204. HRESULT Uptime([out, retval] ULONG *pUptime);
  205. [propget, id(IWANIPCONNECTION_DISPID_UPSTREAMMAXBITRATE), helpstring("UpstreamMaxBitRate")]
  206. HRESULT UpstreamMaxBitRate([out, retval] ULONG *pUpstreamMaxBitRate);
  207. [propget, id(IWANIPCONNECTION_DISPID_DOWNSTREAMMAXBITRATE), helpstring("DownstreamMaxBitRate")]
  208. HRESULT DownstreamMaxBitRate([out, retval] ULONG *pDownstreamMaxBitRate);
  209. [propget, id(IWANIPCONNECTION_DISPID_LASTCONNECTIONERROR), helpstring("LastConnectionError")]
  210. HRESULT LastConnectionError([out, retval] BSTR *pLastConnectionError);
  211. [propget, id(IWANIPCONNECTION_DISPID_RSIPAVAILABLE), helpstring("RSIPAvailable")]
  212. HRESULT RSIPAvailable([out, retval] VARIANT_BOOL *pRSIPAvailable);
  213. [propget, id(IWANIPCONNECTION_DISPID_NATENABLED), helpstring("NATEnabled")]
  214. HRESULT NATEnabled([out, retval] VARIANT_BOOL *pNATEnabled);
  215. [propget, id(IWANIPCONNECTION_DISPID_NAME), helpstring("Name")]
  216. HRESULT X_Name([out, retval] BSTR *pName);
  217. [propget, id(IWANIPCONNECTION_DISPID_EXTERNALIPADDRESS), helpstring("ExternalIPAddress")]
  218. HRESULT ExternalIPAddress([out, retval] BSTR *pExternalIPAddress);
  219. [propget, id(IWANIPCONNECTION_DISPID_REMOTEHOST), helpstring("RemoteHost")]
  220. HRESULT RemoteHost([out, retval] BSTR *pRemoteHost);
  221. [propget, id(IWANIPCONNECTION_DISPID_EXTERNALPORT), helpstring("ExternalPort")]
  222. HRESULT ExternalPort([out, retval] USHORT *pExternalPort);
  223. [propget, id(IWANIPCONNECTION_DISPID_INTERNALPORT), helpstring("InternalPort")]
  224. HRESULT InternalPort([out, retval] USHORT *pInternalPort);
  225. [propget, id(IWANIPCONNECTION_DISPID_PORTMAPPINGPROTOCOL), helpstring("PortMappingProtocol")]
  226. HRESULT PortMappingProtocol([out, retval] BSTR *pProtocol);
  227. [propget, id(IWANIPCONNECTION_DISPID_INTERNALCLIENT), helpstring("InternalClient")]
  228. HRESULT InternalClient([out, retval] BSTR *pInternalClient);
  229. [propget, id(IWANIPCONNECTION_DISPID_PORTMAPPINGDESCRIPTION), helpstring("PortMappingDescription")]
  230. HRESULT PortMappingDescription([out, retval] BSTR *pDescription);
  231. [propget, id(IWANIPCONNECTION_DISPID_PORTMAPPINGENABLED), helpstring("PortMappingEnabled")]
  232. HRESULT PortMappingEnabled([out, retval] VARIANT_BOOL *pEnabled);
  233. [propget, id(IWANIPCONNECTION_DISPID_PORTMAPPINGLEASEDURATION), helpstring("PortMappingLeaseDuration")]
  234. HRESULT PortMappingLeaseDuration([out, retval] ULONG *LeaseDuration);
  235. [propget, id(IWANIPCONNECTION_DISPID_PORTMAPPINGNUMBEROFENTRIES), helpstring("PortMappingNumberOfEntries")]
  236. HRESULT PortMappingNumberOfEntries([out, retval] USHORT *pNumberOfEntries);
  237. [id(IWANIPCONNECTION_DISPID_SETCONNECTIONTYPE), helpstring("SetConnectionType")]
  238. HRESULT SetConnectionType([in] BSTR NewConnectionType);
  239. [id(IWANIPCONNECTION_DISPID_GETCONNECTIONTYPE), helpstring("GetConnectionType")]
  240. HRESULT GetConnectionTypeInfo([in, out] BSTR* pNewConnectionType, [in, out] BSTR* pNewPossibleConnectionTypes);
  241. [id(IWANIPCONNECTION_DISPID_REQUESTCONNECTION), helpstring("RequestConnection")]
  242. HRESULT RequestConnection(void);
  243. [id(IWANIPCONNECTION_DISPID_FORCETERMINATION), helpstring("ForceTermination")]
  244. HRESULT ForceTermination(void);
  245. [id(IWANIPCONNECTION_DISPID_GETSTATUSINFO), helpstring("GetStatusInfo")]
  246. HRESULT GetStatusInfo([in, out] BSTR* pNewConnectionStatus, [in, out] BSTR* pNewLastConnectionError, [in, out] ULONG* pNewUptime);
  247. [id(IWANIPCONNECTION_DISPID_GETNATRSIPSTATUS), helpstring("GetNATRSIPStatus")]
  248. HRESULT GetNATRSIPStatus([in, out] VARIANT_BOOL* pNewRSIPAvailable, [in, out] VARIANT_BOOL* pNewNATEnabled);
  249. [id(IWANIPCONNECTION_DISPID_GETLINKLAYERMAXBITRATES), helpstring("GetLinkLayerMaxBitRates")]
  250. HRESULT GetLinkLayerMaxBitRates([in, out] ULONG* pNewUpstreamMaxBitRate, [in, out] ULONG* pNewDownstreamMaxBitRate);
  251. [id(IWANIPCONNECTION_DISPID_GETGENERICPORTMAPPINGENTRY), helpstring("GetGenericPortMappingEntry")]
  252. HRESULT GetGenericPortMappingEntry([in] USHORT uwIndex, [in, out] BSTR* pRemoteHost, [in, out] USHORT* puwExternalPort, [in, out] BSTR* pProtocol, [in, out] USHORT* puwInternalPort, [in, out] BSTR* pInternalClient, [in, out] VARIANT_BOOL* pbEnabled, [in, out] BSTR* pDescription, [in, out] ULONG* pulLeaseDuration);
  253. [id(IWANIPCONNECTION_DISPID_GETSPECIFICPORTMAPPINGENTRY), helpstring("GetSpecificPortMappingEntry")]
  254. HRESULT GetSpecificPortMappingEntry([in] BSTR RemoteHost, [in] USHORT uwExternalPort, [in] BSTR Protocol, [in, out] USHORT* puwInternalPort, [in, out] BSTR* pInternalClient, [in, out] VARIANT_BOOL* pbEnabled, [in, out] BSTR* pDescription, [in, out] ULONG* pulLeaseDuration);
  255. [id(IWANIPCONNECTION_DISPID_ADDPORTMAPPING), helpstring("AddPortMapping")]
  256. HRESULT AddPortMapping([in] BSTR RemoteHost, [in] USHORT uwExternalPort, [in] BSTR Protocol, [in] USHORT uwInternalPort, [in] BSTR InternalClient, [in] VARIANT_BOOL bEnabled, [in] BSTR Description, [in] ULONG ulLeaseDuration);
  257. [id(IWANIPCONNECTION_DISPID_DELETEPORTMAPPING), helpstring("DeletePortMapping")]
  258. HRESULT DeletePortMapping([in] BSTR RemoteHost, [in] USHORT uwExternalPort, [in] BSTR Protocol);
  259. [id(IWANIPCONNECTION_DISPID_GETEXTERNALIPADDRESS), helpstring("GetExternalIPAddress")]
  260. HRESULT GetExternalIPAddress([in, out] BSTR* pExternalIPAddress);
  261. };
  262. [
  263. object,
  264. uuid(99780ed7-3c0d-4bb7-b238-9e0228ea4ff5),
  265. pointer_default(unique)
  266. ]
  267. interface IStatisticsProvider : IUnknown
  268. {
  269. HRESULT GetStatistics([out] ULONG* pulBytesSent, [out] ULONG* pulBytesReceived, [out] ULONG* pulPacketsSent, [out] ULONG* pulPacketsReceived, [out] ULONG* pulUptime, [out] ULONG* pulSpeedbps);
  270. }
  271. [
  272. object,
  273. uuid(2c49d9a1-a48f-41e3-ac0b-7666dede5ee0),
  274. pointer_default(unique)
  275. ]
  276. interface INATEventsSink : IUnknown
  277. {
  278. HRESULT PublicIPAddressChanged(void);
  279. HRESULT PortMappingsChanged(void);
  280. }