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.

88 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. ds.h
  5. Abstract:
  6. local funciton prototypes/defines
  7. Author:
  8. Mac McLain (MacM) Feb 10, 1997
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef __DS_H__
  14. #define __DS_H__
  15. DWORD
  16. DsRolepInstallDs(
  17. IN LPWSTR DnsDomainName,
  18. IN LPWSTR FlatDomainName,
  19. IN LPWSTR DnsTreeName,
  20. IN LPWSTR SiteName,
  21. IN LPWSTR DsDatabasePath,
  22. IN LPWSTR DsLogPath,
  23. IN LPWSTR RestorePath,
  24. IN LPWSTR SysVolRootPath,
  25. IN PUNICODE_STRING Bootkey,
  26. IN LPWSTR AdminAccountPassword,
  27. IN LPWSTR ParentDnsName OPTIONAL,
  28. IN LPWSTR Server OPTIONAL,
  29. IN LPWSTR Account OPTIONAL,
  30. IN LPWSTR Password OPTIONAL,
  31. IN LPWSTR SafeModePassword OPTIONAL,
  32. IN LPWSTR SourceDomain,
  33. IN ULONG Options,
  34. IN BOOLEAN Replica,
  35. IN HANDLE ImpersonateToken,
  36. OUT LPWSTR *InstalledSite,
  37. IN OUT GUID *DomainGuid,
  38. OUT PSID *NewDomainSid
  39. );
  40. DWORD
  41. DsRolepStopDs(
  42. IN BOOLEAN DsInstalled
  43. );
  44. DWORD
  45. DsRolepUninstallDs(
  46. );
  47. DWORD
  48. DsRolepDemoteDs(
  49. IN LPWSTR DnsDomainName,
  50. IN LPWSTR Account,
  51. IN LPWSTR Password,
  52. IN LPWSTR DomainAdminPassword,
  53. IN LPWSTR SupportDc,
  54. IN LPWSTR SupportDomain,
  55. IN HANDLE ImpersonateToken,
  56. IN BOOLEAN LastDcInDomain
  57. );
  58. DWORD
  59. DsRolepDemoteFlagsToNtdsFlags(
  60. DWORD Flags
  61. );
  62. DWORD
  63. WINAPI
  64. DsRolepGetDatabaseFacts(
  65. IN LPWSTR lpRestorePath,
  66. OUT LPWSTR *lpDNSDomainName,
  67. OUT PULONG State
  68. );
  69. #endif // __DS_H__