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.

36 lines
874 B

  1. // Copyright (C) 1998 Microsoft Corporation
  2. //
  3. // DNS installation and configuration code
  4. //
  5. // 6-16-98 sburns
  6. #ifndef DNSSETUP_HPP_INCLUDED
  7. #define DNSSETUP_HPP_INCLUDED
  8. // Installs and configures the DNS service on the machine. Returns true if
  9. // successful, false if not. Only valid in new forest, new tree, or new
  10. // child (i.e. first dc in new domain) scenarios.
  11. //
  12. // progressDialog - in, reference to the ProgressDialog to which status
  13. // message updates will be posted.
  14. //
  15. // domainDNSName - in, the DNS name of domain being installed.
  16. //
  17. // isFirstDcInForest - in, true if the scenario is first dc in a new forest,
  18. // false otherwise.
  19. bool
  20. InstallAndConfigureDns(
  21. ProgressDialog& progressDialog,
  22. const String& domainDNSName,
  23. bool isFirstDcInForest);
  24. #endif // DNSSETUP_HPP_INCLUDED