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.

42 lines
998 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1996, Microsoft Corporation
  4. //
  5. // File: dominfo.h
  6. //
  7. // Contents: Code to figure out domain dfs addresses
  8. //
  9. // Classes: None
  10. //
  11. // History: Feb 7, 1996 Milans created
  12. //
  13. //-----------------------------------------------------------------------------
  14. #ifndef _DOMINFO_
  15. #define _DOMINFO_
  16. typedef struct _DFS_TRUSTED_DOMAIN_INFO {
  17. UNICODE_STRING FlatName;
  18. UNICODE_STRING DnsName;
  19. ULONG TrustDirection;
  20. ULONG TrustType;
  21. ULONG TrustAttributes;
  22. } DFS_TRUSTED_DOMAIN_INFO, *PDFS_TRUSTED_DOMAIN_INFO;
  23. typedef struct _DFS_DOMAIN_INFO {
  24. ULONG cDomains;
  25. UNICODE_STRING ustrThisDomain;
  26. UNICODE_STRING ustrThisDomainFlat;
  27. PDFS_TRUSTED_DOMAIN_INFO rgustrDomains;
  28. ULONG cbNameBuffer;
  29. PWSTR wszNameBuffer;
  30. } DFS_DOMAIN_INFO, *PDFS_DOMAIN_INFO;
  31. VOID
  32. DfsInitDomainList();
  33. DWORD
  34. DfspIsThisADomainName(
  35. LPWSTR wszName);
  36. #endif // _DOMINFO_