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.

73 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. trustdom.h
  5. Abstract:
  6. Routines to manage trusts during promotion/demotion
  7. Author:
  8. Mac McLain (MacM) Feb 10, 1997
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef __TRUSTDOM_H__
  14. #define __TRUSTDOM_H__
  15. DWORD
  16. DsRolepCreateTrustedDomainObjects(
  17. IN HANDLE CallerToken,
  18. IN LPWSTR ParentDc,
  19. IN LPWSTR DnsDomainName,
  20. IN PPOLICY_DNS_DOMAIN_INFO ParentDnsDomainInfo,
  21. IN ULONG Options
  22. );
  23. NTSTATUS
  24. DsRolepCreateParentTrustObject(
  25. IN HANDLE CallerToken,
  26. IN LSA_HANDLE ParentLsa,
  27. IN PPOLICY_DNS_DOMAIN_INFO ChildDnsInfo,
  28. IN ULONG Options,
  29. IN PTRUSTED_DOMAIN_AUTH_INFORMATION AuthInfoEx,
  30. OUT PLSA_HANDLE TrustedDomainHandle
  31. );
  32. DWORD
  33. DsRolepDeleteParentTrustObject(
  34. IN HANDLE CallerToken,
  35. IN LPWSTR ParentDc,
  36. IN PPOLICY_DNS_DOMAIN_INFO ChildDomainInfo
  37. );
  38. NTSTATUS
  39. DsRolepCreateChildTrustObject(
  40. IN HANDLE CallerToken,
  41. IN LSA_HANDLE ParentLsa,
  42. IN LSA_HANDLE ChildLsa,
  43. IN PPOLICY_DNS_DOMAIN_INFO ParentDnsInfo,
  44. IN PPOLICY_DNS_DOMAIN_INFO ChildDnsInfo,
  45. IN PTRUSTED_DOMAIN_AUTH_INFORMATION AuthInfoEx,
  46. IN ULONG Options
  47. );
  48. DWORD
  49. DsRolepRemoveTrustedDomainObjects(
  50. IN HANDLE CallerToken,
  51. IN LPWSTR ParentDc,
  52. IN PPOLICY_DNS_DOMAIN_INFO ParentDnsDomainInfo,
  53. IN ULONG Options
  54. );
  55. #endif // __TRUSTDOM_H__