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.

94 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: R A S A F . H
  7. //
  8. // Contents: RAS Answer File object.
  9. //
  10. // Notes:
  11. //
  12. // Author: shaunco 19 Apr 1997
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "rasdata.h"
  17. struct CRasSrvAnswerFileData
  18. {
  19. HRESULT
  20. HrOpenAndRead (
  21. PCWSTR pszAnswerFile,
  22. PCWSTR pszAnswerSection);
  23. VOID
  24. SaveToRegistry (
  25. VOID) const;
  26. BOOL m_fRouterTypeSpecified;
  27. DWORD m_dwDialInProtocolIds;
  28. BOOL m_fSetUsageToDialin;
  29. DATA_SRV_CFG m_dataSrvCfg;
  30. DATA_SRV_IP m_dataSrvIp;
  31. DATA_SRV_IPX m_dataSrvIpx;
  32. DATA_SRV_NBF m_dataSrvNbf;
  33. };
  34. struct CL2tpAnswerFileData
  35. {
  36. VOID
  37. CheckAndDefault ();
  38. HRESULT
  39. HrOpenAndRead (
  40. PCWSTR pszAnswerFile,
  41. PCWSTR pszAnswerSection);
  42. VOID
  43. SaveToRegistry (
  44. INetCfg* pnc) const;
  45. DWORD m_cMaxVcs;
  46. DWORD m_cEndpoints;
  47. BOOL m_fWriteEndpoints;
  48. };
  49. struct CPptpAnswerFileData
  50. {
  51. VOID
  52. CheckAndDefault ();
  53. DWORD
  54. GetDefaultNumberOfVpns ();
  55. HRESULT
  56. HrOpenAndRead (
  57. PCWSTR pszAnswerFile,
  58. PCWSTR pszAnswerSection);
  59. VOID
  60. SaveToRegistry (
  61. INetCfg* pnc) const;
  62. DWORD m_cVpns;
  63. };
  64. struct CPppoeAnswerFileData
  65. {
  66. VOID
  67. CheckAndDefault ();
  68. HRESULT
  69. HrOpenAndRead (
  70. PCWSTR pszAnswerFile,
  71. PCWSTR pszAnswerSection);
  72. VOID
  73. SaveToRegistry (
  74. INetCfg* pnc) const;
  75. DWORD m_cVpns;
  76. };