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.

146 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation.
  3. Module Name:
  4. header.h
  5. Abstract:
  6. This module contains the main infrastructure for mup data structures.
  7. Revision History:
  8. Uday Hegde (udayh) 02\06\2001
  9. NOTES:
  10. */
  11. #ifndef __DFS_SERVER_LIBRARY_H__
  12. #define __DFS_SERVER_LIBRARY_H__
  13. typedef DWORD DFSSTATUS;
  14. DFSSTATUS
  15. DfsAdd(
  16. LPWSTR DfsPathName,
  17. LPWSTR ServerName,
  18. LPWSTR ShareName,
  19. LPWSTR Comment,
  20. DWORD Flags );
  21. DFSSTATUS
  22. DfsRemove(
  23. LPWSTR DfsPathName,
  24. LPWSTR ServerName,
  25. LPWSTR ShareName );
  26. DFSSTATUS
  27. DfsEnumerate(
  28. LPWSTR DfsPathName,
  29. DWORD Level,
  30. DWORD PrefMaxLen,
  31. LPBYTE pBuffer,
  32. LONG BufferSize,
  33. LPDWORD pEntriesRead,
  34. LPDWORD pResumeHandle,
  35. PLONG pNextSizeRequired );
  36. DFSSTATUS
  37. DfsGetInfo(
  38. LPWSTR DfsPathName,
  39. DWORD Level,
  40. LPBYTE pBuffer,
  41. LONG BufferSize,
  42. PLONG pSizeRequired );
  43. DFSSTATUS
  44. DfsSetInfo(
  45. LPWSTR DfsPathName,
  46. LPWSTR Server,
  47. LPWSTR Share,
  48. DWORD Level,
  49. LPBYTE pBuffer );
  50. DFSSTATUS
  51. DfsAddStandaloneRoot(
  52. LPWSTR MachineName,
  53. LPWSTR ShareName,
  54. LPWSTR Comment,
  55. ULONG Flags );
  56. DFSSTATUS
  57. DfsDeleteStandaloneRoot(
  58. LPWSTR ShareName );
  59. DFSSTATUS
  60. DfsEnumerateRoots(
  61. LPWSTR DfsName,
  62. LPBYTE pBuffer,
  63. ULONG BufferSize,
  64. PULONG pEntriesRead,
  65. LPDWORD pResumeHandle,
  66. PULONG pSizeRequired );
  67. DFSSTATUS
  68. DfsAddHandledNamespace(
  69. LPWSTR Name,
  70. BOOLEAN Migrate );
  71. DFSSTATUS
  72. DfsServerInitialize( ULONG Flags);
  73. DFSSTATUS
  74. DfsDeleteADBlobRoot(
  75. LPWSTR MachineName,
  76. LPWSTR DcName,
  77. LPWSTR ShareName,
  78. LPWSTR LogicalShare,
  79. DWORD Flags,
  80. PVOID ppList );
  81. DFSSTATUS
  82. DfsAddADBlobRoot(
  83. LPWSTR MachineName,
  84. LPWSTR DcName,
  85. LPWSTR ShareName,
  86. LPWSTR LogicalShare,
  87. LPWSTR Comment,
  88. BOOLEAN NewFtDfs,
  89. DWORD Flags,
  90. PVOID ppList );
  91. DFSSTATUS
  92. DfsSetupRpcImpersonation();
  93. DFSSTATUS
  94. DfsDisableRpcImpersonation();
  95. DFSSTATUS
  96. DfsReEnableRpcImpersonation();
  97. DFSSTATUS
  98. DfsTeardownRpcImpersonation();
  99. #define DFS_LOCAL_NAMESPACE 1
  100. #define DFS_CREATE_DIRECTORIES 2
  101. #define DFS_MIGRATE 4
  102. #endif // __DFS_SERVER_LIBRARY_H__