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.

51 lines
1.0 KiB

  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. // Functions: DfsGetDomainReferral
  12. //
  13. // History: Feb 7, 1996 Milans created
  14. //
  15. //-----------------------------------------------------------------------------
  16. #ifndef _DOMINFO_
  17. #define _DOMINFO_
  18. VOID
  19. DfsInitDomainList();
  20. NTSTATUS
  21. DfsGetDomainReferral(
  22. LPWSTR wszDomainName,
  23. LPWSTR wszShareName);
  24. NTSTATUS
  25. DfsGetDCName(
  26. ULONG Flags,
  27. BOOLEAN *DcNameFailed);
  28. NTSTATUS
  29. DfsFsctl(
  30. IN HANDLE DfsHandle,
  31. IN ULONG FsControlCode,
  32. IN PVOID InputBuffer OPTIONAL,
  33. IN ULONG InputBufferLength,
  34. OUT PVOID OutputBuffer OPTIONAL,
  35. IN ULONG OutputBufferLength);
  36. NTSTATUS
  37. DfsOpen(
  38. IN OUT PHANDLE DfsHandle,
  39. IN PUNICODE_STRING DfsName OPTIONAL);
  40. HANDLE
  41. CreateMupEvent(
  42. VOID);
  43. #endif // _DOMINFO_