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.

66 lines
1.1 KiB

  1. #ifndef __DOMAIN_CONTROLLER_SUPPORT__
  2. #define __DOMAIN_CONTROLLER_SUPPORT__
  3. #include <ole2.h>
  4. #include <activeds.h>
  5. DFSSTATUS
  6. DfsDcInit(
  7. PBOOLEAN pIsDc );
  8. DWORD
  9. DcUpdateLoop(
  10. LPVOID lpThreadParams);
  11. DFSSTATUS
  12. GetDomainInformation(
  13. DfsDomainInformation **ppDomainInfo );
  14. DFSSTATUS
  15. DfsGenerateReferralDataFromRemoteServerNames(
  16. LPWSTR RootName,
  17. DfsReferralData **pReferralData );
  18. DFSSTATUS
  19. DfsUpdateRemoteServerName(
  20. IADs *pObject,
  21. LPWSTR ServerName,
  22. LPWSTR RemainingName,
  23. BOOLEAN Add );
  24. DFSSTATUS
  25. DfsUpdateRootRemoteServerName(
  26. LPWSTR Root,
  27. LPWSTR DcName,
  28. LPWSTR ServerName,
  29. LPWSTR RemainingName,
  30. BOOLEAN Add );
  31. DFSSTATUS
  32. DfsDcEnumerateRoots(
  33. LPWSTR DfsName,
  34. LPBYTE pBuffer,
  35. ULONG BufferSize,
  36. PULONG pEntriesRead,
  37. DWORD MaxEntriesToRead,
  38. LPDWORD pResumeHandle,
  39. PULONG pSizeRequired );
  40. BOOLEAN
  41. DfsIsSpecialDomainShare(
  42. PUNICODE_STRING pShareName );
  43. DFSSTATUS
  44. DfsIsRemoteServerNameEqual(
  45. LPWSTR RootName,
  46. PUNICODE_STRING pServerName,
  47. PBOOLEAN pIsEqual);
  48. #endif //__DOMAIN_CONTROLLER_SUPPORT__