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.

418 lines
4.2 KiB

  1. /*
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. gendisp.h
  5. Abstract:
  6. This module contains prototypes for generic dispatch routines.
  7. Author:
  8. Jameel Hyder (microsoft!jameelh)
  9. Revision History:
  10. 25 Apr 1992 Initial Version
  11. Notes: Tab stop: 4
  12. --*/
  13. #ifndef _GENDISP_
  14. #define _GENDISP_
  15. extern
  16. AFPSTATUS FASTCALL
  17. AfpFsdDispInvalidFunc(
  18. IN PSDA pSda
  19. );
  20. extern
  21. AFPSTATUS FASTCALL
  22. AfpFsdDispUnsupportedFunc(
  23. IN PSDA pSda
  24. );
  25. extern
  26. AFPSTATUS FASTCALL
  27. AfpFsdDispGetSrvrParms(
  28. IN PSDA pSda
  29. );
  30. extern
  31. AFPSTATUS FASTCALL
  32. AfpFsdDispGetSrvrMsg(
  33. IN PSDA pSda
  34. );
  35. extern
  36. AFPSTATUS FASTCALL
  37. AfpFspDispGetUserInfo(
  38. IN PSDA pSda
  39. );
  40. extern
  41. AFPSTATUS FASTCALL
  42. AfpFspDispLogin(
  43. IN PSDA pSda
  44. );
  45. extern
  46. AFPSTATUS FASTCALL
  47. AfpFspDispLoginCont(
  48. IN PSDA pSda
  49. );
  50. extern
  51. AFPSTATUS FASTCALL
  52. AfpFspDispLogout(
  53. IN PSDA pSda
  54. );
  55. extern
  56. AFPSTATUS FASTCALL
  57. AfpFspDispChangePassword(
  58. IN PSDA pSda
  59. );
  60. extern
  61. AFPSTATUS FASTCALL
  62. AfpFspDispMapName(
  63. IN PSDA pSda
  64. );
  65. extern
  66. AFPSTATUS FASTCALL
  67. AfpFspDispMapId(
  68. IN PSDA pSda
  69. );
  70. extern
  71. AFPSTATUS FASTCALL
  72. AfpFsdDispOpenVol(
  73. IN PSDA pSda
  74. );
  75. extern
  76. AFPSTATUS FASTCALL
  77. AfpFspDispOpenVol(
  78. IN PSDA pSda
  79. );
  80. AFPSTATUS FASTCALL
  81. AfpFspDispGetVolParms(
  82. IN PSDA pSda
  83. );
  84. extern
  85. AFPSTATUS FASTCALL
  86. AfpFsdDispGetVolParms(
  87. IN PSDA pSda
  88. );
  89. extern
  90. AFPSTATUS FASTCALL
  91. AfpFsdDispSetVolParms(
  92. IN PSDA pSda
  93. );
  94. extern
  95. AFPSTATUS FASTCALL
  96. AfpFsdDispFlush(
  97. IN PSDA pSda
  98. );
  99. extern
  100. AFPSTATUS FASTCALL
  101. AfpFsdDispCloseVol(
  102. IN PSDA pSda
  103. );
  104. extern
  105. AFPSTATUS FASTCALL
  106. AfpFsdDispOpenDT(
  107. IN PSDA pSda
  108. );
  109. extern
  110. AFPSTATUS FASTCALL
  111. AfpFsdDispCloseDT(
  112. IN PSDA pSda
  113. );
  114. extern
  115. AFPSTATUS FASTCALL
  116. AfpFspDispAddIcon(
  117. IN PSDA pSda
  118. );
  119. extern
  120. AFPSTATUS FASTCALL
  121. AfpFspDispGetIcon(
  122. IN PSDA pSda
  123. );
  124. extern
  125. AFPSTATUS FASTCALL
  126. AfpFspDispGetIconInfo(
  127. IN PSDA pSda
  128. );
  129. extern
  130. AFPSTATUS FASTCALL
  131. AfpFspDispAddAppl(
  132. IN PSDA pSda
  133. );
  134. extern
  135. AFPSTATUS FASTCALL
  136. AfpFspDispGetAppl(
  137. IN PSDA pSda
  138. );
  139. extern
  140. AFPSTATUS FASTCALL
  141. AfpFspDispRemoveAppl(
  142. IN PSDA pSda
  143. );
  144. extern
  145. AFPSTATUS FASTCALL
  146. AfpFspDispAddComment(
  147. IN PSDA pSda
  148. );
  149. extern
  150. AFPSTATUS FASTCALL
  151. AfpFspDispGetComment(
  152. IN PSDA pSda
  153. );
  154. extern
  155. AFPSTATUS FASTCALL
  156. AfpFspDispRemoveComment(
  157. IN PSDA pSda
  158. );
  159. extern
  160. AFPSTATUS FASTCALL
  161. AfpFspDispFlushFork(
  162. IN PSDA pSda
  163. );
  164. extern
  165. AFPSTATUS FASTCALL
  166. AfpFspDispOpenFork(
  167. IN PSDA pSda
  168. );
  169. extern
  170. AFPSTATUS FASTCALL
  171. AfpFspDispCloseFork(
  172. IN PSDA pSda
  173. );
  174. extern
  175. AFPSTATUS FASTCALL
  176. AfpFspDispGetForkParms(
  177. IN PSDA pSda
  178. );
  179. extern
  180. AFPSTATUS FASTCALL
  181. AfpFspDispSetForkParms(
  182. IN PSDA pSda
  183. );
  184. extern
  185. AFPSTATUS FASTCALL
  186. AfpFspDispRead(
  187. IN PSDA pSda
  188. );
  189. extern
  190. AFPSTATUS FASTCALL
  191. AfpFspDispWrite(
  192. IN PSDA pSda
  193. );
  194. extern
  195. AFPSTATUS FASTCALL
  196. AfpFspDispByteRangeLock(
  197. IN PSDA pSda
  198. );
  199. extern
  200. AFPSTATUS FASTCALL
  201. AfpFspDispCreateFile(
  202. IN PSDA pSda
  203. );
  204. extern
  205. AFPSTATUS FASTCALL
  206. AfpFspDispSetFileParms(
  207. IN PSDA pSda
  208. );
  209. extern
  210. AFPSTATUS FASTCALL
  211. AfpFspDispCopyFile(
  212. IN PSDA pSda
  213. );
  214. extern
  215. AFPSTATUS FASTCALL
  216. AfpFspDispCreateId(
  217. IN PSDA pSda
  218. );
  219. extern
  220. AFPSTATUS FASTCALL
  221. AfpFspDispResolveId(
  222. IN PSDA pSda
  223. );
  224. extern
  225. AFPSTATUS FASTCALL
  226. AfpFspDispDeleteId(
  227. IN PSDA pSda
  228. );
  229. extern
  230. AFPSTATUS FASTCALL
  231. AfpFspDispCloseDir(
  232. IN PSDA pSda
  233. );
  234. extern
  235. AFPSTATUS FASTCALL
  236. AfpFspDispExchangeFiles(
  237. IN PSDA pSda
  238. );
  239. extern
  240. AFPSTATUS FASTCALL
  241. AfpFspDispOpenDir(
  242. IN PSDA pSda
  243. );
  244. extern
  245. AFPSTATUS FASTCALL
  246. AfpFspDispCreateDir(
  247. IN PSDA pSda
  248. );
  249. extern
  250. AFPSTATUS FASTCALL
  251. AfpFspDispEnumerate(
  252. IN PSDA pSda
  253. );
  254. extern
  255. AFPSTATUS FASTCALL
  256. AfpFspDispSetDirParms(
  257. IN PSDA pSda
  258. );
  259. extern
  260. AFPSTATUS FASTCALL
  261. AfpFspDispGetFileDirParms(
  262. IN PSDA pSda
  263. );
  264. extern
  265. AFPSTATUS FASTCALL
  266. AfpFspDispSetFileDirParms(
  267. IN PSDA pSda
  268. );
  269. extern
  270. AFPSTATUS FASTCALL
  271. AfpFspDispDelete(
  272. IN PSDA pSda
  273. );
  274. extern
  275. AFPSTATUS FASTCALL
  276. AfpFspDispRename(
  277. IN PSDA pSda
  278. );
  279. extern
  280. AFPSTATUS FASTCALL
  281. AfpFspDispMoveAndRename(
  282. IN PSDA pSda
  283. );
  284. extern
  285. AFPSTATUS FASTCALL
  286. AfpFspDispCatSearch(
  287. IN PSDA pSda
  288. );
  289. // Equates to access request and response packets
  290. #define pReqPkt ((struct _RequestPacket *)(pSda->sda_ReqBlock))
  291. #define pModPkt ((struct _ModifiedPacket *)(pSda->sda_ReqBlock))
  292. #define pRspPkt ((struct _ResponsePacket *)(pSda->sda_ReplyBuf))
  293. #define SIZE_RESPPKT sizeof(struct _ResponsePacket)
  294. #endif // _GENDISP_