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.

113 lines
2.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: remras.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. // remrras.idl : IDL source for remrras.dll
  11. //
  12. // This file will be processed by the MIDL tool to
  13. // produce the type library (remrras.tlb) and marshalling code.
  14. import "oaidl.idl";
  15. import "ocidl.idl";
  16. import "wtypes.idl";
  17. import "netcfgp.idl";
  18. [
  19. uuid(66A2DB1e-D706-11d0-A37B-00C04FC9DA04),
  20. helpstring("IRemoteTCPIPChangeNotify Interface"),
  21. pointer_default(unique)
  22. ]
  23. interface IRemoteTCPIPChangeNotify : IUnknown
  24. {
  25. HRESULT NotifyChanges([in] BOOL fEnableRouter,
  26. [in] BYTE uPerformRouterDiscovery);
  27. };
  28. [
  29. uuid(66A2DB1a-D706-11d0-A37B-00C04FC9DA04),
  30. helpstring("IRemoteRouterConfig Interface"),
  31. pointer_default(unique)
  32. ]
  33. interface IRemoteRouterConfig : IUnknown
  34. {
  35. HRESULT SetRasEndpoints([in] DWORD dwFlags,
  36. [in] DWORD dwTotalEndpoints,
  37. [in] DWORD dwTotalIncoming,
  38. [in] DWORD dwTotalOutgoing);
  39. HRESULT GetIpxVirtualNetworkNumber([out] DWORD *pdwVNetworkNumber);
  40. HRESULT SetIpxVirtualNetworkNumber([in] DWORD dwVNetworkNumber);
  41. // The following two methods are for remote tcpip configuration.
  42. typedef struct tagREMOTE_RRAS_IPINFO
  43. {
  44. DWORD dwEnableDhcp;
  45. BSTR bstrIpAddrList;
  46. BSTR bstrSubnetMaskList;
  47. BSTR bstrOptionList;
  48. } REMOTE_RRAS_IPINFO;
  49. HRESULT GetIpInfo([in] const GUID *pGuid,
  50. [out] REMOTE_RRAS_IPINFO **ppInfo);
  51. HRESULT SetIpInfo([in] const GUID *pGuid,
  52. [in] REMOTE_RRAS_IPINFO *pIpInfo);
  53. };
  54. [
  55. uuid(66A2DB1B-D706-11d0-A37B-00C04FC9DA04),
  56. helpstring("IRemoteNetworkConfig Interface"),
  57. pointer_default(unique)
  58. ]
  59. interface IRemoteNetworkConfig : IUnknown
  60. {
  61. HRESULT UpgradeRouterConfig();
  62. HRESULT SetUserConfig([in] LPCOLESTR pszService,
  63. [in] LPCOLESTR pszNewGroup);
  64. };
  65. [
  66. uuid(66A2DB20-D706-11d0-A37B-00C04FC9DA04),
  67. helpstring("IRemoteRouterRestart Interface"),
  68. pointer_default(unique)
  69. ]
  70. interface IRemoteRouterRestart : IUnknown
  71. {
  72. HRESULT RestartRouter([in] DWORD dwFlags);
  73. };
  74. [
  75. uuid(66A2DB80-D706-11d0-A37B-00C04FC9DA04),
  76. version(1.0),
  77. helpstring("remrras 1.0 Type Library")
  78. ]
  79. library REMRRASLib
  80. {
  81. importlib("stdole2.tlb");
  82. [
  83. uuid(1AA7F844-C7F5-11d0-A376-00C04FC9DA04),
  84. helpstring("RemCfg Class")
  85. ]
  86. coclass RemoteRouterConfig
  87. {
  88. [default] interface IRemoteRouterConfig;
  89. interface IRemoteNetworkConfig;
  90. };
  91. };