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.

182 lines
3.4 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. fpnwutil.hxx
  5. Abstract:
  6. Contains functions that are used by all ADS FPNW APIs
  7. Author:
  8. Ram Viswanathan (ramv) 14-May-1996
  9. Environment:
  10. User Mode -Win32
  11. Notes:
  12. Revision History:
  13. --*/
  14. typedef DWORD (*PF_NwApiBufferFree) (
  15. LPVOID pBuffer
  16. );
  17. typedef DWORD (*PF_NwServerGetInfo) (
  18. IN LPWSTR pServerName OPTIONAL,
  19. IN DWORD dwLevel,
  20. OUT PNWSERVERINFO *ppServerInfo
  21. );
  22. typedef DWORD(*PF_NwServerSetInfo) (
  23. IN LPWSTR pServerName OPTIONAL,
  24. IN DWORD dwLevel,
  25. IN PNWSERVERINFO pServerInfo
  26. );
  27. typedef DWORD (*PF_NwVolumeAdd) (
  28. IN LPWSTR pServerName OPTIONAL,
  29. IN DWORD dwLevel,
  30. IN PNWVOLUMEINFO pVolumeInfo
  31. );
  32. typedef DWORD (*PF_NwVolumeDel) (
  33. IN LPWSTR pServerName OPTIONAL,
  34. IN LPWSTR pVolumeName
  35. );
  36. typedef DWORD (*PF_NwVolumeEnum) (
  37. IN LPWSTR pServerName OPTIONAL,
  38. IN DWORD dwLevel,
  39. OUT PNWVOLUMEINFO *ppVolumeInfo,
  40. OUT PDWORD pEntriesRead,
  41. IN OUT PDWORD resumeHandle OPTIONAL
  42. );
  43. typedef DWORD (*PF_NwVolumeGetInfo) (
  44. IN LPWSTR pServerName OPTIONAL,
  45. IN LPWSTR pVolumeName,
  46. IN DWORD dwLevel,
  47. OUT PNWVOLUMEINFO *ppVolumeInfo
  48. );
  49. typedef DWORD (*PF_NwVolumeSetInfo) (
  50. IN LPWSTR pServerName OPTIONAL,
  51. IN LPWSTR pVolumeName,
  52. IN DWORD dwLevel,
  53. IN PNWVOLUMEINFO pVolumeInfo
  54. );
  55. typedef DWORD (*PF_NwConnectionEnum) (
  56. IN LPWSTR pServerName OPTIONAL,
  57. IN DWORD dwLevel,
  58. OUT PNWCONNECTIONINFO *ppConnectionInfo,
  59. OUT PDWORD pEntriesRead,
  60. IN OUT PDWORD resumeHandle OPTIONAL
  61. );
  62. typedef DWORD (*PF_NwConnectionDel) (
  63. IN LPWSTR pServerName OPTIONAL,
  64. IN DWORD dwConnectionId
  65. );
  66. typedef DWORD (*PF_NwFileEnum) (
  67. IN LPWSTR pServerName OPTIONAL,
  68. IN DWORD dwLevel,
  69. IN LPWSTR pPathName OPTIONAL,
  70. OUT PNWFILEINFO *ppFileInfo,
  71. OUT PDWORD pEntriesRead,
  72. IN OUT PDWORD resumeHandle OPTIONAL
  73. );
  74. DWORD ADsNwApiBufferFree (
  75. LPVOID pBuffer
  76. );
  77. DWORD ADsNwServerGetInfo (
  78. IN LPWSTR pServerName OPTIONAL,
  79. IN DWORD dwLevel,
  80. OUT PNWSERVERINFO *ppServerInfo
  81. );
  82. DWORD ADsNwServerSetInfo (
  83. IN LPWSTR pServerName OPTIONAL,
  84. IN DWORD dwLevel,
  85. IN PNWSERVERINFO pServerInfo
  86. );
  87. DWORD ADsNwVolumeAdd (
  88. IN LPWSTR pServerName OPTIONAL,
  89. IN DWORD dwLevel,
  90. IN PNWVOLUMEINFO pVolumeInfo
  91. );
  92. DWORD ADsNwVolumeDel (
  93. IN LPWSTR pServerName OPTIONAL,
  94. IN LPWSTR pVolumeName
  95. );
  96. DWORD ADsNwVolumeEnum (
  97. IN LPWSTR pServerName OPTIONAL,
  98. IN DWORD dwLevel,
  99. OUT PNWVOLUMEINFO *ppVolumeInfo,
  100. OUT PDWORD pEntriesRead,
  101. IN OUT PDWORD resumeHandle OPTIONAL
  102. );
  103. DWORD ADsNwVolumeGetInfo (
  104. IN LPWSTR pServerName OPTIONAL,
  105. IN LPWSTR pVolumeName,
  106. IN DWORD dwLevel,
  107. OUT PNWVOLUMEINFO *ppVolumeInfo
  108. );
  109. DWORD ADsNwVolumeSetInfo (
  110. IN LPWSTR pServerName OPTIONAL,
  111. IN LPWSTR pVolumeName,
  112. IN DWORD dwLevel,
  113. IN PNWVOLUMEINFO pVolumeInfo
  114. );
  115. DWORD ADsNwConnectionEnum (
  116. IN LPWSTR pServerName OPTIONAL,
  117. IN DWORD dwLevel,
  118. OUT PNWCONNECTIONINFO *ppConnectionInfo,
  119. OUT PDWORD pEntriesRead,
  120. IN OUT PDWORD resumeHandle OPTIONAL
  121. );
  122. DWORD ADsNwConnectionDel (
  123. IN LPWSTR pServerName OPTIONAL,
  124. IN DWORD dwConnectionId
  125. );
  126. DWORD ADsNwFileEnum (
  127. IN LPWSTR pServerName OPTIONAL,
  128. IN DWORD dwLevel,
  129. IN LPWSTR pPathName OPTIONAL,
  130. OUT PNWFILEINFO *ppFileInfo,
  131. OUT PDWORD pEntriesRead,
  132. IN OUT PDWORD resumeHandle OPTIONAL
  133. );