Files.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:276k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. EXTERN_API( OSErr ) PBOpenRFSync(ParmBlkPtr paramBlock)                                     ONEWORDINLINE(0xA00A);
  2. #endif  /* CALL_NOT_IN_CARBON */
  3. #endif  /* CALL_NOT_IN_CARBON */
  4. #if CALL_NOT_IN_CARBON
  5. #if CALL_NOT_IN_CARBON
  6.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  7.                                                                                             #pragma parameter __D0 PBOpenRFAsync(__A0)
  8.                                                                                             #endif
  9. EXTERN_API( OSErr ) PBOpenRFAsync(ParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA40A);
  10. #endif  /* CALL_NOT_IN_CARBON */
  11. #endif  /* CALL_NOT_IN_CARBON */
  12. #if CALL_NOT_IN_CARBON
  13. #if CALL_NOT_IN_CARBON
  14.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  15.                                                                                             #pragma parameter __D0 PBRenameSync(__A0)
  16.                                                                                             #endif
  17. EXTERN_API( OSErr ) PBRenameSync(ParmBlkPtr paramBlock)                                     ONEWORDINLINE(0xA00B);
  18. #endif  /* CALL_NOT_IN_CARBON */
  19. #endif  /* CALL_NOT_IN_CARBON */
  20. #if CALL_NOT_IN_CARBON
  21. #if CALL_NOT_IN_CARBON
  22.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  23.                                                                                             #pragma parameter __D0 PBRenameAsync(__A0)
  24.                                                                                             #endif
  25. EXTERN_API( OSErr ) PBRenameAsync(ParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA40B);
  26. #endif  /* CALL_NOT_IN_CARBON */
  27. #endif  /* CALL_NOT_IN_CARBON */
  28. #if CALL_NOT_IN_CARBON
  29. #if CALL_NOT_IN_CARBON
  30.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  31.                                                                                             #pragma parameter __D0 PBGetFInfoSync(__A0)
  32.                                                                                             #endif
  33. EXTERN_API( OSErr ) PBGetFInfoSync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA00C);
  34. #endif  /* CALL_NOT_IN_CARBON */
  35. #endif  /* CALL_NOT_IN_CARBON */
  36. #if CALL_NOT_IN_CARBON
  37. #if CALL_NOT_IN_CARBON
  38.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  39.                                                                                             #pragma parameter __D0 PBGetFInfoAsync(__A0)
  40.                                                                                             #endif
  41. EXTERN_API( OSErr ) PBGetFInfoAsync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA40C);
  42. #endif  /* CALL_NOT_IN_CARBON */
  43. #endif  /* CALL_NOT_IN_CARBON */
  44. #if CALL_NOT_IN_CARBON
  45. #if CALL_NOT_IN_CARBON
  46.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  47.                                                                                             #pragma parameter __D0 PBSetFInfoSync(__A0)
  48.                                                                                             #endif
  49. EXTERN_API( OSErr ) PBSetFInfoSync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA00D);
  50. #endif  /* CALL_NOT_IN_CARBON */
  51. #endif  /* CALL_NOT_IN_CARBON */
  52. #if CALL_NOT_IN_CARBON
  53. #if CALL_NOT_IN_CARBON
  54.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  55.                                                                                             #pragma parameter __D0 PBSetFInfoAsync(__A0)
  56.                                                                                             #endif
  57. EXTERN_API( OSErr ) PBSetFInfoAsync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA40D);
  58. #endif  /* CALL_NOT_IN_CARBON */
  59. #endif  /* CALL_NOT_IN_CARBON */
  60. #if CALL_NOT_IN_CARBON
  61. #if CALL_NOT_IN_CARBON
  62.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  63.                                                                                             #pragma parameter __D0 PBSetFLockSync(__A0)
  64.                                                                                             #endif
  65. EXTERN_API( OSErr ) PBSetFLockSync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA041);
  66. #endif  /* CALL_NOT_IN_CARBON */
  67. #endif  /* CALL_NOT_IN_CARBON */
  68. #if CALL_NOT_IN_CARBON
  69. #if CALL_NOT_IN_CARBON
  70.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  71.                                                                                             #pragma parameter __D0 PBSetFLockAsync(__A0)
  72.                                                                                             #endif
  73. EXTERN_API( OSErr ) PBSetFLockAsync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA441);
  74. #endif  /* CALL_NOT_IN_CARBON */
  75. #endif  /* CALL_NOT_IN_CARBON */
  76. #if CALL_NOT_IN_CARBON
  77. #if CALL_NOT_IN_CARBON
  78.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  79.                                                                                             #pragma parameter __D0 PBRstFLockSync(__A0)
  80.                                                                                             #endif
  81. EXTERN_API( OSErr ) PBRstFLockSync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA042);
  82. #endif  /* CALL_NOT_IN_CARBON */
  83. #endif  /* CALL_NOT_IN_CARBON */
  84. #if CALL_NOT_IN_CARBON
  85. #if CALL_NOT_IN_CARBON
  86.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  87.                                                                                             #pragma parameter __D0 PBRstFLockAsync(__A0)
  88.                                                                                             #endif
  89. EXTERN_API( OSErr ) PBRstFLockAsync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA442);
  90. #endif  /* CALL_NOT_IN_CARBON */
  91. #endif  /* CALL_NOT_IN_CARBON */
  92. #if CALL_NOT_IN_CARBON
  93. #if CALL_NOT_IN_CARBON
  94.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  95.                                                                                             #pragma parameter __D0 PBSetFVersSync(__A0)
  96.                                                                                             #endif
  97. EXTERN_API( OSErr ) PBSetFVersSync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA043);
  98. #endif  /* CALL_NOT_IN_CARBON */
  99. #endif  /* CALL_NOT_IN_CARBON */
  100. #if CALL_NOT_IN_CARBON
  101. #if CALL_NOT_IN_CARBON
  102.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  103.                                                                                             #pragma parameter __D0 PBSetFVersAsync(__A0)
  104.                                                                                             #endif
  105. EXTERN_API( OSErr ) PBSetFVersAsync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA443);
  106. #endif  /* CALL_NOT_IN_CARBON */
  107. #endif  /* CALL_NOT_IN_CARBON */
  108.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  109.                                                                                             #pragma parameter __D0 PBAllocateSync(__A0)
  110.                                                                                             #endif
  111. EXTERN_API( OSErr ) PBAllocateSync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA010);
  112.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  113.                                                                                             #pragma parameter __D0 PBAllocateAsync(__A0)
  114.                                                                                             #endif
  115. EXTERN_API( OSErr ) PBAllocateAsync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA410);
  116.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  117.                                                                                             #pragma parameter __D0 PBGetEOFSync(__A0)
  118.                                                                                             #endif
  119. EXTERN_API( OSErr ) PBGetEOFSync(ParmBlkPtr paramBlock)                                     ONEWORDINLINE(0xA011);
  120.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  121.                                                                                             #pragma parameter __D0 PBGetEOFAsync(__A0)
  122.                                                                                             #endif
  123. EXTERN_API( OSErr ) PBGetEOFAsync(ParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA411);
  124.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  125.                                                                                             #pragma parameter __D0 PBSetEOFSync(__A0)
  126.                                                                                             #endif
  127. EXTERN_API( OSErr ) PBSetEOFSync(ParmBlkPtr paramBlock)                                     ONEWORDINLINE(0xA012);
  128.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  129.                                                                                             #pragma parameter __D0 PBSetEOFAsync(__A0)
  130.                                                                                             #endif
  131. EXTERN_API( OSErr ) PBSetEOFAsync(ParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA412);
  132.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  133.                                                                                             #pragma parameter __D0 PBGetFPosSync(__A0)
  134.                                                                                             #endif
  135. EXTERN_API( OSErr ) PBGetFPosSync(ParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA018);
  136.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  137.                                                                                             #pragma parameter __D0 PBGetFPosAsync(__A0)
  138.                                                                                             #endif
  139. EXTERN_API( OSErr ) PBGetFPosAsync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA418);
  140.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  141.                                                                                             #pragma parameter __D0 PBSetFPosSync(__A0)
  142.                                                                                             #endif
  143. EXTERN_API( OSErr ) PBSetFPosSync(ParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA044);
  144.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  145.                                                                                             #pragma parameter __D0 PBSetFPosAsync(__A0)
  146.                                                                                             #endif
  147. EXTERN_API( OSErr ) PBSetFPosAsync(ParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA444);
  148.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  149.                                                                                             #pragma parameter __D0 PBFlushFileSync(__A0)
  150.                                                                                             #endif
  151. EXTERN_API( OSErr ) PBFlushFileSync(ParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA045);
  152.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  153.                                                                                             #pragma parameter __D0 PBFlushFileAsync(__A0)
  154.                                                                                             #endif
  155. EXTERN_API( OSErr ) PBFlushFileAsync(ParmBlkPtr paramBlock)                                 ONEWORDINLINE(0xA445);
  156.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  157.                                                                                             #pragma parameter __D0 PBMountVol(__A0)
  158.                                                                                             #endif
  159. EXTERN_API( OSErr ) PBMountVol(ParmBlkPtr paramBlock)                                       ONEWORDINLINE(0xA00F);
  160.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  161.                                                                                             #pragma parameter __D0 PBUnmountVol(__A0)
  162.                                                                                             #endif
  163. EXTERN_API( OSErr ) PBUnmountVol(ParmBlkPtr paramBlock)                                     ONEWORDINLINE(0xA00E);
  164.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  165.                                                                                             #pragma parameter __D0 PBUnmountVolImmed(__A0)
  166.                                                                                             #endif
  167. EXTERN_API( OSErr ) PBUnmountVolImmed(ParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA20E);
  168.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  169.                                                                                             #pragma parameter __D0 PBEject(__A0)
  170.                                                                                             #endif
  171. EXTERN_API( OSErr ) PBEject(ParmBlkPtr paramBlock)                                          ONEWORDINLINE(0xA017);
  172.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  173.                                                                                             #pragma parameter __D0 PBOffLine(__A0)
  174.                                                                                             #endif
  175. EXTERN_API( OSErr ) PBOffLine(ParmBlkPtr paramBlock)                                        ONEWORDINLINE(0xA035);
  176.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  177.                                                                                             #pragma parameter __D0 PBCatSearchSync(__A0)
  178.                                                                                             #endif
  179. EXTERN_API( OSErr ) PBCatSearchSync(CSParamPtr paramBlock)                                  TWOWORDINLINE(0x7018, 0xA260);
  180.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  181.                                                                                             #pragma parameter __D0 PBCatSearchAsync(__A0)
  182.                                                                                             #endif
  183. EXTERN_API( OSErr ) PBCatSearchAsync(CSParamPtr paramBlock)                                 TWOWORDINLINE(0x7018, 0xA660);
  184. #if CALL_NOT_IN_CARBON
  185. #if CALL_NOT_IN_CARBON
  186. EXTERN_API( OSErr )
  187. SetVol                          (ConstStr63Param        volName, /* can be NULL */
  188.                                  short                  vRefNum);
  189. #endif  /* CALL_NOT_IN_CARBON */
  190. #endif  /* CALL_NOT_IN_CARBON */
  191. EXTERN_API( OSErr )
  192. UnmountVol                      (ConstStr63Param        volName, /* can be NULL */
  193.                                  short                  vRefNum);
  194. EXTERN_API( OSErr )
  195. Eject                           (ConstStr63Param        volName, /* can be NULL */
  196.                                  short                  vRefNum);
  197. EXTERN_API( OSErr )
  198. FlushVol                        (ConstStr63Param        volName, /* can be NULL */
  199.                                  short                  vRefNum);
  200. EXTERN_API( OSErr )
  201. HSetVol                         (ConstStr63Param        volName, /* can be NULL */
  202.                                  short                  vRefNum,
  203.                                  long                   dirID);
  204. /* AddDrive() was moved to Devices.h*/
  205. #if CALL_NOT_IN_CARBON
  206. #if CALL_NOT_IN_CARBON
  207. EXTERN_API( OSErr )
  208. FSOpen                          (ConstStr255Param       fileName,
  209.                                  short                  vRefNum,
  210.                                  short *                refNum);
  211. #endif  /* CALL_NOT_IN_CARBON */
  212. #endif  /* CALL_NOT_IN_CARBON */
  213. #if CALL_NOT_IN_CARBON
  214. #if CALL_NOT_IN_CARBON
  215. EXTERN_API( OSErr )
  216. OpenDF                          (ConstStr255Param       fileName,
  217.                                  short                  vRefNum,
  218.                                  short *                refNum);
  219. #endif  /* CALL_NOT_IN_CARBON */
  220. #endif  /* CALL_NOT_IN_CARBON */
  221. EXTERN_API( OSErr )
  222. FSClose                         (short                  refNum);
  223. EXTERN_API( OSErr )
  224. FSRead                          (short                  refNum,
  225.                                  long *                 count,
  226.                                  void *                 buffPtr);
  227. EXTERN_API( OSErr )
  228. FSWrite                         (short                  refNum,
  229.                                  long *                 count,
  230.                                  const void *           buffPtr);
  231. #if CALL_NOT_IN_CARBON
  232. #if CALL_NOT_IN_CARBON
  233. EXTERN_API( OSErr )
  234. GetVInfo                        (short                  drvNum,
  235.                                  StringPtr              volName,
  236.                                  short *                vRefNum,
  237.                                  long *                 freeBytes);
  238. #endif  /* CALL_NOT_IN_CARBON */
  239. #endif  /* CALL_NOT_IN_CARBON */
  240. #if CALL_NOT_IN_CARBON
  241. #if CALL_NOT_IN_CARBON
  242. EXTERN_API( OSErr )
  243. GetFInfo                        (ConstStr255Param       fileName,
  244.                                  short                  vRefNum,
  245.                                  FInfo *                fndrInfo);
  246. #endif  /* CALL_NOT_IN_CARBON */
  247. #endif  /* CALL_NOT_IN_CARBON */
  248. #if CALL_NOT_IN_CARBON
  249. #if CALL_NOT_IN_CARBON
  250. EXTERN_API( OSErr )
  251. GetVol                          (StringPtr              volName,
  252.                                  short *                vRefNum);
  253. #endif  /* CALL_NOT_IN_CARBON */
  254. #endif  /* CALL_NOT_IN_CARBON */
  255. #if CALL_NOT_IN_CARBON
  256. #if CALL_NOT_IN_CARBON
  257. EXTERN_API( OSErr )
  258. Create                          (ConstStr255Param       fileName,
  259.                                  short                  vRefNum,
  260.                                  OSType                 creator,
  261.                                  OSType                 fileType);
  262. #endif  /* CALL_NOT_IN_CARBON */
  263. #endif  /* CALL_NOT_IN_CARBON */
  264. #if CALL_NOT_IN_CARBON
  265. #if CALL_NOT_IN_CARBON
  266. EXTERN_API( OSErr )
  267. FSDelete                        (ConstStr255Param       fileName,
  268.                                  short                  vRefNum);
  269. #endif  /* CALL_NOT_IN_CARBON */
  270. #endif  /* CALL_NOT_IN_CARBON */
  271. #if CALL_NOT_IN_CARBON
  272. #if CALL_NOT_IN_CARBON
  273. EXTERN_API( OSErr )
  274. OpenRF                          (ConstStr255Param       fileName,
  275.                                  short                  vRefNum,
  276.                                  short *                refNum);
  277. #endif  /* CALL_NOT_IN_CARBON */
  278. #endif  /* CALL_NOT_IN_CARBON */
  279. #if CALL_NOT_IN_CARBON
  280. #if CALL_NOT_IN_CARBON
  281. EXTERN_API( OSErr )
  282. Rename                          (ConstStr255Param       oldName,
  283.                                  short                  vRefNum,
  284.                                  ConstStr255Param       newName);
  285. #endif  /* CALL_NOT_IN_CARBON */
  286. #endif  /* CALL_NOT_IN_CARBON */
  287. #if CALL_NOT_IN_CARBON
  288. #if CALL_NOT_IN_CARBON
  289. EXTERN_API( OSErr )
  290. SetFInfo                        (ConstStr255Param       fileName,
  291.                                  short                  vRefNum,
  292.                                  const FInfo *          fndrInfo);
  293. #endif  /* CALL_NOT_IN_CARBON */
  294. #endif  /* CALL_NOT_IN_CARBON */
  295. #if CALL_NOT_IN_CARBON
  296. #if CALL_NOT_IN_CARBON
  297. EXTERN_API( OSErr )
  298. SetFLock                        (ConstStr255Param       fileName,
  299.                                  short                  vRefNum);
  300. #endif  /* CALL_NOT_IN_CARBON */
  301. #endif  /* CALL_NOT_IN_CARBON */
  302. #if CALL_NOT_IN_CARBON
  303. #if CALL_NOT_IN_CARBON
  304. EXTERN_API( OSErr )
  305. RstFLock                        (ConstStr255Param       fileName,
  306.                                  short                  vRefNum);
  307. #endif  /* CALL_NOT_IN_CARBON */
  308. #endif  /* CALL_NOT_IN_CARBON */
  309. EXTERN_API( OSErr )
  310. Allocate                        (short                  refNum,
  311.                                  long *                 count);
  312. EXTERN_API( OSErr )
  313. GetEOF                          (short                  refNum,
  314.                                  long *                 logEOF);
  315. EXTERN_API( OSErr )
  316. SetEOF                          (short                  refNum,
  317.                                  long                   logEOF);
  318. EXTERN_API( OSErr )
  319. GetFPos                         (short                  refNum,
  320.                                  long *                 filePos);
  321. EXTERN_API( OSErr )
  322. SetFPos                         (short                  refNum,
  323.                                  short                  posMode,
  324.                                  long                   posOff);
  325. EXTERN_API( OSErr )
  326. GetVRefNum                      (short                  fileRefNum,
  327.                                  short *                vRefNum);
  328. #if CALL_NOT_IN_CARBON
  329. #if CALL_NOT_IN_CARBON
  330. EXTERN_API_C( OSErr )
  331. fsopen                          (const char *           fileName,
  332.                                  short                  vRefNum,
  333.                                  short *                refNum);
  334. #endif  /* CALL_NOT_IN_CARBON */
  335. #endif  /* CALL_NOT_IN_CARBON */
  336. #if CALL_NOT_IN_CARBON
  337. #if CALL_NOT_IN_CARBON
  338. EXTERN_API_C( OSErr )
  339. getvinfo                        (short                  drvNum,
  340.                                  char *                 volName,
  341.                                  short *                vRefNum,
  342.                                  long *                 freeBytes);
  343. #endif  /* CALL_NOT_IN_CARBON */
  344. #endif  /* CALL_NOT_IN_CARBON */
  345. #if CALL_NOT_IN_CARBON
  346. #if CALL_NOT_IN_CARBON
  347. EXTERN_API_C( OSErr )
  348. getfinfo                        (const char *           fileName,
  349.                                  short                  vRefNum,
  350.                                  FInfo *                fndrInfo);
  351. #endif  /* CALL_NOT_IN_CARBON */
  352. #endif  /* CALL_NOT_IN_CARBON */
  353. #if CALL_NOT_IN_CARBON
  354. #if CALL_NOT_IN_CARBON
  355. EXTERN_API_C( OSErr )
  356. getvol                          (char *                 volName,
  357.                                  short *                vRefNum);
  358. #endif  /* CALL_NOT_IN_CARBON */
  359. #endif  /* CALL_NOT_IN_CARBON */
  360. #if CALL_NOT_IN_CARBON
  361. #if CALL_NOT_IN_CARBON
  362. EXTERN_API_C( OSErr )
  363. setvol                          (const char *           volName,
  364.                                  short                  vRefNum);
  365. #endif  /* CALL_NOT_IN_CARBON */
  366. #endif  /* CALL_NOT_IN_CARBON */
  367. #if CALL_NOT_IN_CARBON
  368. #if CALL_NOT_IN_CARBON
  369. EXTERN_API_C( OSErr )
  370. unmountvol                      (const char *           volName,
  371.                                  short                  vRefNum);
  372. #endif  /* CALL_NOT_IN_CARBON */
  373. #endif  /* CALL_NOT_IN_CARBON */
  374. #if CALL_NOT_IN_CARBON
  375. #if CALL_NOT_IN_CARBON
  376. EXTERN_API_C( OSErr )
  377. eject                           (const char *           volName,
  378.                                  short                  vRefNum);
  379. #endif  /* CALL_NOT_IN_CARBON */
  380. #endif  /* CALL_NOT_IN_CARBON */
  381. #if CALL_NOT_IN_CARBON
  382. #if CALL_NOT_IN_CARBON
  383. EXTERN_API_C( OSErr )
  384. flushvol                        (const char *           volName,
  385.                                  short                  vRefNum);
  386. #endif  /* CALL_NOT_IN_CARBON */
  387. #endif  /* CALL_NOT_IN_CARBON */
  388. #if CALL_NOT_IN_CARBON
  389. #if CALL_NOT_IN_CARBON
  390. EXTERN_API_C( OSErr )
  391. create                          (const char *           fileName,
  392.                                  short                  vRefNum,
  393.                                  OSType                 creator,
  394.                                  OSType                 fileType);
  395. #endif  /* CALL_NOT_IN_CARBON */
  396. #endif  /* CALL_NOT_IN_CARBON */
  397. #if CALL_NOT_IN_CARBON
  398. #if CALL_NOT_IN_CARBON
  399. EXTERN_API_C( OSErr )
  400. fsdelete                        (const char *           fileName,
  401.                                  short                  vRefNum);
  402. #endif  /* CALL_NOT_IN_CARBON */
  403. #endif  /* CALL_NOT_IN_CARBON */
  404. #if CALL_NOT_IN_CARBON
  405. #if CALL_NOT_IN_CARBON
  406. EXTERN_API_C( OSErr )
  407. openrf                          (const char *           fileName,
  408.                                  short                  vRefNum,
  409.                                  short *                refNum);
  410. #endif  /* CALL_NOT_IN_CARBON */
  411. #endif  /* CALL_NOT_IN_CARBON */
  412. #if CALL_NOT_IN_CARBON
  413. #if CALL_NOT_IN_CARBON
  414. EXTERN_API_C( OSErr )
  415. fsrename                        (const char *           oldName,
  416.                                  short                  vRefNum,
  417.                                  const char *           newName);
  418. #endif  /* CALL_NOT_IN_CARBON */
  419. #endif  /* CALL_NOT_IN_CARBON */
  420. #if CALL_NOT_IN_CARBON
  421. #if CALL_NOT_IN_CARBON
  422. EXTERN_API_C( OSErr )
  423. setfinfo                        (const char *           fileName,
  424.                                  short                  vRefNum,
  425.                                  const FInfo *          fndrInfo);
  426. #endif  /* CALL_NOT_IN_CARBON */
  427. #endif  /* CALL_NOT_IN_CARBON */
  428. #if CALL_NOT_IN_CARBON
  429. #if CALL_NOT_IN_CARBON
  430. EXTERN_API_C( OSErr )
  431. setflock                        (const char *           fileName,
  432.                                  short                  vRefNum);
  433. #endif  /* CALL_NOT_IN_CARBON */
  434. #endif  /* CALL_NOT_IN_CARBON */
  435. #if CALL_NOT_IN_CARBON
  436. #if CALL_NOT_IN_CARBON
  437. EXTERN_API_C( OSErr )
  438. rstflock                        (const char *           fileName,
  439.                                  short                  vRefNum);
  440. #endif  /* CALL_NOT_IN_CARBON */
  441. #endif  /* CALL_NOT_IN_CARBON */
  442. #if CALL_NOT_IN_CARBON
  443. #if CALL_NOT_IN_CARBON
  444.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  445.                                                                                             #pragma parameter __D0 PBOpenWDSync(__A0)
  446.                                                                                             #endif
  447. EXTERN_API( OSErr ) PBOpenWDSync(WDPBPtr paramBlock)                                        TWOWORDINLINE(0x7001, 0xA260);
  448. #endif  /* CALL_NOT_IN_CARBON */
  449. #endif  /* CALL_NOT_IN_CARBON */
  450. #if CALL_NOT_IN_CARBON
  451. #if CALL_NOT_IN_CARBON
  452.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  453.                                                                                             #pragma parameter __D0 PBOpenWDAsync(__A0)
  454.                                                                                             #endif
  455. EXTERN_API( OSErr ) PBOpenWDAsync(WDPBPtr paramBlock)                                       TWOWORDINLINE(0x7001, 0xA660);
  456. #endif  /* CALL_NOT_IN_CARBON */
  457. #endif  /* CALL_NOT_IN_CARBON */
  458. #if CALL_NOT_IN_CARBON
  459. #if CALL_NOT_IN_CARBON
  460.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  461.                                                                                             #pragma parameter __D0 PBCloseWDSync(__A0)
  462.                                                                                             #endif
  463. EXTERN_API( OSErr ) PBCloseWDSync(WDPBPtr paramBlock)                                       TWOWORDINLINE(0x7002, 0xA260);
  464. #endif  /* CALL_NOT_IN_CARBON */
  465. #endif  /* CALL_NOT_IN_CARBON */
  466. #if CALL_NOT_IN_CARBON
  467. #if CALL_NOT_IN_CARBON
  468.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  469.                                                                                             #pragma parameter __D0 PBCloseWDAsync(__A0)
  470.                                                                                             #endif
  471. EXTERN_API( OSErr ) PBCloseWDAsync(WDPBPtr paramBlock)                                      TWOWORDINLINE(0x7002, 0xA660);
  472. #endif  /* CALL_NOT_IN_CARBON */
  473. #endif  /* CALL_NOT_IN_CARBON */
  474.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  475.                                                                                             #pragma parameter __D0 PBHSetVolSync(__A0)
  476.                                                                                             #endif
  477. EXTERN_API( OSErr ) PBHSetVolSync(WDPBPtr paramBlock)                                       ONEWORDINLINE(0xA215);
  478.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  479.                                                                                             #pragma parameter __D0 PBHSetVolAsync(__A0)
  480.                                                                                             #endif
  481. EXTERN_API( OSErr ) PBHSetVolAsync(WDPBPtr paramBlock)                                      ONEWORDINLINE(0xA615);
  482.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  483.                                                                                             #pragma parameter __D0 PBHGetVolSync(__A0)
  484.                                                                                             #endif
  485. EXTERN_API( OSErr ) PBHGetVolSync(WDPBPtr paramBlock)                                       ONEWORDINLINE(0xA214);
  486.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  487.                                                                                             #pragma parameter __D0 PBHGetVolAsync(__A0)
  488.                                                                                             #endif
  489. EXTERN_API( OSErr ) PBHGetVolAsync(WDPBPtr paramBlock)                                      ONEWORDINLINE(0xA614);
  490.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  491.                                                                                             #pragma parameter __D0 PBCatMoveSync(__A0)
  492.                                                                                             #endif
  493. EXTERN_API( OSErr ) PBCatMoveSync(CMovePBPtr paramBlock)                                    TWOWORDINLINE(0x7005, 0xA260);
  494.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  495.                                                                                             #pragma parameter __D0 PBCatMoveAsync(__A0)
  496.                                                                                             #endif
  497. EXTERN_API( OSErr ) PBCatMoveAsync(CMovePBPtr paramBlock)                                   TWOWORDINLINE(0x7005, 0xA660);
  498.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  499.                                                                                             #pragma parameter __D0 PBDirCreateSync(__A0)
  500.                                                                                             #endif
  501. EXTERN_API( OSErr ) PBDirCreateSync(HParmBlkPtr paramBlock)                                 TWOWORDINLINE(0x7006, 0xA260);
  502.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  503.                                                                                             #pragma parameter __D0 PBDirCreateAsync(__A0)
  504.                                                                                             #endif
  505. EXTERN_API( OSErr ) PBDirCreateAsync(HParmBlkPtr paramBlock)                                TWOWORDINLINE(0x7006, 0xA660);
  506. #if CALL_NOT_IN_CARBON
  507. #if CALL_NOT_IN_CARBON
  508.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  509.                                                                                             #pragma parameter __D0 PBGetWDInfoSync(__A0)
  510.                                                                                             #endif
  511. EXTERN_API( OSErr ) PBGetWDInfoSync(WDPBPtr paramBlock)                                     TWOWORDINLINE(0x7007, 0xA260);
  512. #endif  /* CALL_NOT_IN_CARBON */
  513. #endif  /* CALL_NOT_IN_CARBON */
  514. #if CALL_NOT_IN_CARBON
  515. #if CALL_NOT_IN_CARBON
  516.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  517.                                                                                             #pragma parameter __D0 PBGetWDInfoAsync(__A0)
  518.                                                                                             #endif
  519. EXTERN_API( OSErr ) PBGetWDInfoAsync(WDPBPtr paramBlock)                                    TWOWORDINLINE(0x7007, 0xA660);
  520. #endif  /* CALL_NOT_IN_CARBON */
  521. #endif  /* CALL_NOT_IN_CARBON */
  522.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  523.                                                                                             #pragma parameter __D0 PBGetFCBInfoSync(__A0)
  524.                                                                                             #endif
  525. EXTERN_API( OSErr ) PBGetFCBInfoSync(FCBPBPtr paramBlock)                                   TWOWORDINLINE(0x7008, 0xA260);
  526.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  527.                                                                                             #pragma parameter __D0 PBGetFCBInfoAsync(__A0)
  528.                                                                                             #endif
  529. EXTERN_API( OSErr ) PBGetFCBInfoAsync(FCBPBPtr paramBlock)                                  TWOWORDINLINE(0x7008, 0xA660);
  530.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  531.                                                                                             #pragma parameter __D0 PBGetCatInfoSync(__A0)
  532.                                                                                             #endif
  533. EXTERN_API( OSErr ) PBGetCatInfoSync(CInfoPBPtr paramBlock)                                 TWOWORDINLINE(0x7009, 0xA260);
  534.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  535.                                                                                             #pragma parameter __D0 PBGetCatInfoAsync(__A0)
  536.                                                                                             #endif
  537. EXTERN_API( OSErr ) PBGetCatInfoAsync(CInfoPBPtr paramBlock)                                TWOWORDINLINE(0x7009, 0xA660);
  538.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  539.                                                                                             #pragma parameter __D0 PBSetCatInfoSync(__A0)
  540.                                                                                             #endif
  541. EXTERN_API( OSErr ) PBSetCatInfoSync(CInfoPBPtr paramBlock)                                 TWOWORDINLINE(0x700A, 0xA260);
  542.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  543.                                                                                             #pragma parameter __D0 PBSetCatInfoAsync(__A0)
  544.                                                                                             #endif
  545. EXTERN_API( OSErr ) PBSetCatInfoAsync(CInfoPBPtr paramBlock)                                TWOWORDINLINE(0x700A, 0xA660);
  546.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  547.                                                                                             #pragma parameter __D0 PBAllocContigSync(__A0)
  548.                                                                                             #endif
  549. EXTERN_API( OSErr ) PBAllocContigSync(ParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA210);
  550.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  551.                                                                                             #pragma parameter __D0 PBAllocContigAsync(__A0)
  552.                                                                                             #endif
  553. EXTERN_API( OSErr ) PBAllocContigAsync(ParmBlkPtr paramBlock)                               ONEWORDINLINE(0xA610);
  554.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  555.                                                                                             #pragma parameter __D0 PBLockRangeSync(__A0)
  556.                                                                                             #endif
  557. EXTERN_API( OSErr ) PBLockRangeSync(ParmBlkPtr paramBlock)                                  TWOWORDINLINE(0x7010, 0xA260);
  558.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  559.                                                                                             #pragma parameter __D0 PBLockRangeAsync(__A0)
  560.                                                                                             #endif
  561. EXTERN_API( OSErr ) PBLockRangeAsync(ParmBlkPtr paramBlock)                                 TWOWORDINLINE(0x7010, 0xA660);
  562.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  563.                                                                                             #pragma parameter __D0 PBUnlockRangeSync(__A0)
  564.                                                                                             #endif
  565. EXTERN_API( OSErr ) PBUnlockRangeSync(ParmBlkPtr paramBlock)                                TWOWORDINLINE(0x7011, 0xA260);
  566.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  567.                                                                                             #pragma parameter __D0 PBUnlockRangeAsync(__A0)
  568.                                                                                             #endif
  569. EXTERN_API( OSErr ) PBUnlockRangeAsync(ParmBlkPtr paramBlock)                               TWOWORDINLINE(0x7011, 0xA660);
  570.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  571.                                                                                             #pragma parameter __D0 PBSetVInfoSync(__A0)
  572.                                                                                             #endif
  573. EXTERN_API( OSErr ) PBSetVInfoSync(HParmBlkPtr paramBlock)                                  TWOWORDINLINE(0x700B, 0xA260);
  574.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  575.                                                                                             #pragma parameter __D0 PBSetVInfoAsync(__A0)
  576.                                                                                             #endif
  577. EXTERN_API( OSErr ) PBSetVInfoAsync(HParmBlkPtr paramBlock)                                 TWOWORDINLINE(0x700B, 0xA660);
  578.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  579.                                                                                             #pragma parameter __D0 PBHGetVInfoSync(__A0)
  580.                                                                                             #endif
  581. EXTERN_API( OSErr ) PBHGetVInfoSync(HParmBlkPtr paramBlock)                                 ONEWORDINLINE(0xA207);
  582.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  583.                                                                                             #pragma parameter __D0 PBHGetVInfoAsync(__A0)
  584.                                                                                             #endif
  585. EXTERN_API( OSErr ) PBHGetVInfoAsync(HParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA607);
  586.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  587.                                                                                             #pragma parameter __D0 PBHOpenSync(__A0)
  588.                                                                                             #endif
  589. EXTERN_API( OSErr ) PBHOpenSync(HParmBlkPtr paramBlock)                                     ONEWORDINLINE(0xA200);
  590.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  591.                                                                                             #pragma parameter __D0 PBHOpenAsync(__A0)
  592.                                                                                             #endif
  593. EXTERN_API( OSErr ) PBHOpenAsync(HParmBlkPtr paramBlock)                                    ONEWORDINLINE(0xA600);
  594.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  595.                                                                                             #pragma parameter __D0 PBHOpenRFSync(__A0)
  596.                                                                                             #endif
  597. EXTERN_API( OSErr ) PBHOpenRFSync(HParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA20A);
  598.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  599.                                                                                             #pragma parameter __D0 PBHOpenRFAsync(__A0)
  600.                                                                                             #endif
  601. EXTERN_API( OSErr ) PBHOpenRFAsync(HParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA60A);
  602.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  603.                                                                                             #pragma parameter __D0 PBHOpenDFSync(__A0)
  604.                                                                                             #endif
  605. EXTERN_API( OSErr ) PBHOpenDFSync(HParmBlkPtr paramBlock)                                   TWOWORDINLINE(0x701A, 0xA260);
  606.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  607.                                                                                             #pragma parameter __D0 PBHOpenDFAsync(__A0)
  608.                                                                                             #endif
  609. EXTERN_API( OSErr ) PBHOpenDFAsync(HParmBlkPtr paramBlock)                                  TWOWORDINLINE(0x701A, 0xA660);
  610.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  611.                                                                                             #pragma parameter __D0 PBHCreateSync(__A0)
  612.                                                                                             #endif
  613. EXTERN_API( OSErr ) PBHCreateSync(HParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA208);
  614.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  615.                                                                                             #pragma parameter __D0 PBHCreateAsync(__A0)
  616.                                                                                             #endif
  617. EXTERN_API( OSErr ) PBHCreateAsync(HParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA608);
  618.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  619.                                                                                             #pragma parameter __D0 PBHDeleteSync(__A0)
  620.                                                                                             #endif
  621. EXTERN_API( OSErr ) PBHDeleteSync(HParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA209);
  622.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  623.                                                                                             #pragma parameter __D0 PBHDeleteAsync(__A0)
  624.                                                                                             #endif
  625. EXTERN_API( OSErr ) PBHDeleteAsync(HParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA609);
  626.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  627.                                                                                             #pragma parameter __D0 PBHRenameSync(__A0)
  628.                                                                                             #endif
  629. EXTERN_API( OSErr ) PBHRenameSync(HParmBlkPtr paramBlock)                                   ONEWORDINLINE(0xA20B);
  630.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  631.                                                                                             #pragma parameter __D0 PBHRenameAsync(__A0)
  632.                                                                                             #endif
  633. EXTERN_API( OSErr ) PBHRenameAsync(HParmBlkPtr paramBlock)                                  ONEWORDINLINE(0xA60B);
  634.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  635.                                                                                             #pragma parameter __D0 PBHRstFLockSync(__A0)
  636.                                                                                             #endif
  637. EXTERN_API( OSErr ) PBHRstFLockSync(HParmBlkPtr paramBlock)                                 ONEWORDINLINE(0xA242);
  638.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  639.                                                                                             #pragma parameter __D0 PBHRstFLockAsync(__A0)
  640.                                                                                             #endif
  641. EXTERN_API( OSErr ) PBHRstFLockAsync(HParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA642);
  642.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  643.                                                                                             #pragma parameter __D0 PBHSetFLockSync(__A0)
  644.                                                                                             #endif
  645. EXTERN_API( OSErr ) PBHSetFLockSync(HParmBlkPtr paramBlock)                                 ONEWORDINLINE(0xA241);
  646.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  647.                                                                                             #pragma parameter __D0 PBHSetFLockAsync(__A0)
  648.                                                                                             #endif
  649. EXTERN_API( OSErr ) PBHSetFLockAsync(HParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA641);
  650.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  651.                                                                                             #pragma parameter __D0 PBHGetFInfoSync(__A0)
  652.                                                                                             #endif
  653. EXTERN_API( OSErr ) PBHGetFInfoSync(HParmBlkPtr paramBlock)                                 ONEWORDINLINE(0xA20C);
  654.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  655.                                                                                             #pragma parameter __D0 PBHGetFInfoAsync(__A0)
  656.                                                                                             #endif
  657. EXTERN_API( OSErr ) PBHGetFInfoAsync(HParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA60C);
  658.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  659.                                                                                             #pragma parameter __D0 PBHSetFInfoSync(__A0)
  660.                                                                                             #endif
  661. EXTERN_API( OSErr ) PBHSetFInfoSync(HParmBlkPtr paramBlock)                                 ONEWORDINLINE(0xA20D);
  662.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  663.                                                                                             #pragma parameter __D0 PBHSetFInfoAsync(__A0)
  664.                                                                                             #endif
  665. EXTERN_API( OSErr ) PBHSetFInfoAsync(HParmBlkPtr paramBlock)                                ONEWORDINLINE(0xA60D);
  666.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  667.                                                                                             #pragma parameter __D0 PBMakeFSSpecSync(__A0)
  668.                                                                                             #endif
  669. EXTERN_API( OSErr ) PBMakeFSSpecSync(HParmBlkPtr paramBlock)                                TWOWORDINLINE(0x701B, 0xA260);
  670.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  671.                                                                                             #pragma parameter __D0 PBMakeFSSpecAsync(__A0)
  672.                                                                                             #endif
  673. EXTERN_API( OSErr ) PBMakeFSSpecAsync(HParmBlkPtr paramBlock)                               TWOWORDINLINE(0x701B, 0xA660);
  674. #if CALL_NOT_IN_CARBON
  675. #if CALL_NOT_IN_CARBON
  676. EXTERN_API( void ) FInitQueue(void )                                                             ONEWORDINLINE(0xA016);
  677. #endif  /* CALL_NOT_IN_CARBON */
  678. #endif  /* CALL_NOT_IN_CARBON */
  679. #if CALL_NOT_IN_CARBON
  680. #if CALL_NOT_IN_CARBON
  681. EXTERN_API( QHdrPtr )
  682. GetFSQHdr                       (void)                                                      THREEWORDINLINE(0x2EBC, 0x0000, 0x0360);
  683. #endif  /* CALL_NOT_IN_CARBON */
  684. #endif  /* CALL_NOT_IN_CARBON */
  685. EXTERN_API( QHdrPtr )
  686. GetVCBQHdr                      (void)                                                      THREEWORDINLINE(0x2EBC, 0x0000, 0x0356);
  687. /* GetDrvQHdr was moved to Devices.h*/
  688. EXTERN_API( OSErr )
  689. HGetVol                         (StringPtr              volName,
  690.                                  short *                vRefNum,
  691.                                  long *                 dirID);
  692. EXTERN_API( OSErr )
  693. HOpen                           (short                  vRefNum,
  694.                                  long                   dirID,
  695.                                  ConstStr255Param       fileName,
  696.                                  SInt8                  permission,
  697.                                  short *                refNum);
  698. EXTERN_API( OSErr )
  699. HOpenDF                         (short                  vRefNum,
  700.                                  long                   dirID,
  701.                                  ConstStr255Param       fileName,
  702.                                  SInt8                  permission,
  703.                                  short *                refNum);
  704. EXTERN_API( OSErr )
  705. HOpenRF                         (short                  vRefNum,
  706.                                  long                   dirID,
  707.                                  ConstStr255Param       fileName,
  708.                                  SInt8                  permission,
  709.                                  short *                refNum);
  710. EXTERN_API( OSErr )
  711. AllocContig                     (short                  refNum,
  712.                                  long *                 count);
  713. EXTERN_API( OSErr )
  714. HCreate                         (short                  vRefNum,
  715.                                  long                   dirID,
  716.                                  ConstStr255Param       fileName,
  717.                                  OSType                 creator,
  718.                                  OSType                 fileType);
  719. EXTERN_API( OSErr )
  720. DirCreate                       (short                  vRefNum,
  721.                                  long                   parentDirID,
  722.                                  ConstStr255Param       directoryName,
  723.                                  long *                 createdDirID);
  724. EXTERN_API( OSErr )
  725. HDelete                         (short                  vRefNum,
  726.                                  long                   dirID,
  727.                                  ConstStr255Param       fileName);
  728. EXTERN_API( OSErr )
  729. HGetFInfo                       (short                  vRefNum,
  730.                                  long                   dirID,
  731.                                  ConstStr255Param       fileName,
  732.                                  FInfo *                fndrInfo);
  733. EXTERN_API( OSErr )
  734. HSetFInfo                       (short                  vRefNum,
  735.                                  long                   dirID,
  736.                                  ConstStr255Param       fileName,
  737.                                  const FInfo *          fndrInfo);
  738. EXTERN_API( OSErr )
  739. HSetFLock                       (short                  vRefNum,
  740.                                  long                   dirID,
  741.                                  ConstStr255Param       fileName);
  742. EXTERN_API( OSErr )
  743. HRstFLock                       (short                  vRefNum,
  744.                                  long                   dirID,
  745.                                  ConstStr255Param       fileName);
  746. EXTERN_API( OSErr )
  747. HRename                         (short                  vRefNum,
  748.                                  long                   dirID,
  749.                                  ConstStr255Param       oldName,
  750.                                  ConstStr255Param       newName);
  751. EXTERN_API( OSErr )
  752. CatMove                         (short                  vRefNum,
  753.                                  long                   dirID,
  754.                                  ConstStr255Param       oldName,
  755.                                  long                   newDirID,
  756.                                  ConstStr255Param       newName);
  757. #if CALL_NOT_IN_CARBON
  758. #if CALL_NOT_IN_CARBON
  759. EXTERN_API( OSErr )
  760. OpenWD                          (short                  vRefNum,
  761.                                  long                   dirID,
  762.                                  long                   procID,
  763.                                  short *                wdRefNum);
  764. #endif  /* CALL_NOT_IN_CARBON */
  765. #endif  /* CALL_NOT_IN_CARBON */
  766. #if CALL_NOT_IN_CARBON
  767. #if CALL_NOT_IN_CARBON
  768. EXTERN_API( OSErr )
  769. CloseWD                         (short                  wdRefNum);
  770. #endif  /* CALL_NOT_IN_CARBON */
  771. #endif  /* CALL_NOT_IN_CARBON */
  772. #if CALL_NOT_IN_CARBON
  773. #if CALL_NOT_IN_CARBON
  774. EXTERN_API( OSErr )
  775. GetWDInfo                       (short                  wdRefNum,
  776.                                  short *                vRefNum,
  777.                                  long *                 dirID,
  778.                                  long *                 procID);
  779. #endif  /* CALL_NOT_IN_CARBON */
  780. #endif  /* CALL_NOT_IN_CARBON */
  781. /*  shared environment  */
  782.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  783.                                                                                             #pragma parameter __D0 PBHGetVolParmsSync(__A0)
  784.                                                                                             #endif
  785. EXTERN_API( OSErr ) PBHGetVolParmsSync(HParmBlkPtr paramBlock)                              TWOWORDINLINE(0x7030, 0xA260);
  786.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  787.                                                                                             #pragma parameter __D0 PBHGetVolParmsAsync(__A0)
  788.                                                                                             #endif
  789. EXTERN_API( OSErr ) PBHGetVolParmsAsync(HParmBlkPtr paramBlock)                             TWOWORDINLINE(0x7030, 0xA660);
  790.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  791.                                                                                             #pragma parameter __D0 PBHGetLogInInfoSync(__A0)
  792.                                                                                             #endif
  793. EXTERN_API( OSErr ) PBHGetLogInInfoSync(HParmBlkPtr paramBlock)                             TWOWORDINLINE(0x7031, 0xA260);
  794.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  795.                                                                                             #pragma parameter __D0 PBHGetLogInInfoAsync(__A0)
  796.                                                                                             #endif
  797. EXTERN_API( OSErr ) PBHGetLogInInfoAsync(HParmBlkPtr paramBlock)                            TWOWORDINLINE(0x7031, 0xA660);
  798.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  799.                                                                                             #pragma parameter __D0 PBHGetDirAccessSync(__A0)
  800.                                                                                             #endif
  801. EXTERN_API( OSErr ) PBHGetDirAccessSync(HParmBlkPtr paramBlock)                             TWOWORDINLINE(0x7032, 0xA260);
  802.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  803.                                                                                             #pragma parameter __D0 PBHGetDirAccessAsync(__A0)
  804.                                                                                             #endif
  805. EXTERN_API( OSErr ) PBHGetDirAccessAsync(HParmBlkPtr paramBlock)                            TWOWORDINLINE(0x7032, 0xA660);
  806.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  807.                                                                                             #pragma parameter __D0 PBHSetDirAccessSync(__A0)
  808.                                                                                             #endif
  809. EXTERN_API( OSErr ) PBHSetDirAccessSync(HParmBlkPtr paramBlock)                             TWOWORDINLINE(0x7033, 0xA260);
  810.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  811.                                                                                             #pragma parameter __D0 PBHSetDirAccessAsync(__A0)
  812.                                                                                             #endif
  813. EXTERN_API( OSErr ) PBHSetDirAccessAsync(HParmBlkPtr paramBlock)                            TWOWORDINLINE(0x7033, 0xA660);
  814.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  815.                                                                                             #pragma parameter __D0 PBHMapIDSync(__A0)
  816.                                                                                             #endif
  817. EXTERN_API( OSErr ) PBHMapIDSync(HParmBlkPtr paramBlock)                                    TWOWORDINLINE(0x7034, 0xA260);
  818.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  819.                                                                                             #pragma parameter __D0 PBHMapIDAsync(__A0)
  820.                                                                                             #endif
  821. EXTERN_API( OSErr ) PBHMapIDAsync(HParmBlkPtr paramBlock)                                   TWOWORDINLINE(0x7034, 0xA660);
  822.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  823.                                                                                             #pragma parameter __D0 PBHMapNameSync(__A0)
  824.                                                                                             #endif
  825. EXTERN_API( OSErr ) PBHMapNameSync(HParmBlkPtr paramBlock)                                  TWOWORDINLINE(0x7035, 0xA260);
  826.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  827.                                                                                             #pragma parameter __D0 PBHMapNameAsync(__A0)
  828.                                                                                             #endif
  829. EXTERN_API( OSErr ) PBHMapNameAsync(HParmBlkPtr paramBlock)                                 TWOWORDINLINE(0x7035, 0xA660);
  830.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  831.                                                                                             #pragma parameter __D0 PBHCopyFileSync(__A0)
  832.                                                                                             #endif
  833. EXTERN_API( OSErr ) PBHCopyFileSync(HParmBlkPtr paramBlock)                                 TWOWORDINLINE(0x7036, 0xA260);
  834.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  835.                                                                                             #pragma parameter __D0 PBHCopyFileAsync(__A0)
  836.                                                                                             #endif
  837. EXTERN_API( OSErr ) PBHCopyFileAsync(HParmBlkPtr paramBlock)                                TWOWORDINLINE(0x7036, 0xA660);
  838.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  839.                                                                                             #pragma parameter __D0 PBHMoveRenameSync(__A0)
  840.                                                                                             #endif
  841. EXTERN_API( OSErr ) PBHMoveRenameSync(HParmBlkPtr paramBlock)                               TWOWORDINLINE(0x7037, 0xA260);
  842.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  843.                                                                                             #pragma parameter __D0 PBHMoveRenameAsync(__A0)
  844.                                                                                             #endif
  845. EXTERN_API( OSErr ) PBHMoveRenameAsync(HParmBlkPtr paramBlock)                              TWOWORDINLINE(0x7037, 0xA660);
  846.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  847.                                                                                             #pragma parameter __D0 PBHOpenDenySync(__A0)
  848.                                                                                             #endif
  849. EXTERN_API( OSErr ) PBHOpenDenySync(HParmBlkPtr paramBlock)                                 TWOWORDINLINE(0x7038, 0xA260);
  850.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  851.                                                                                             #pragma parameter __D0 PBHOpenDenyAsync(__A0)
  852.                                                                                             #endif
  853. EXTERN_API( OSErr ) PBHOpenDenyAsync(HParmBlkPtr paramBlock)                                TWOWORDINLINE(0x7038, 0xA660);
  854.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  855.                                                                                             #pragma parameter __D0 PBHOpenRFDenySync(__A0)
  856.                                                                                             #endif
  857. EXTERN_API( OSErr ) PBHOpenRFDenySync(HParmBlkPtr paramBlock)                               TWOWORDINLINE(0x7039, 0xA260);
  858.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  859.                                                                                             #pragma parameter __D0 PBHOpenRFDenyAsync(__A0)
  860.                                                                                             #endif
  861. EXTERN_API( OSErr ) PBHOpenRFDenyAsync(HParmBlkPtr paramBlock)                              TWOWORDINLINE(0x7039, 0xA660);
  862.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  863.                                                                                             #pragma parameter __D0 PBGetXCatInfoSync(__A0)
  864.                                                                                             #endif
  865. EXTERN_API( OSErr ) PBGetXCatInfoSync(XCInfoPBPtr paramBlock)                               TWOWORDINLINE(0x703A, 0xA260);
  866.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  867.                                                                                             #pragma parameter __D0 PBGetXCatInfoAsync(__A0)
  868.                                                                                             #endif
  869. EXTERN_API( OSErr ) PBGetXCatInfoAsync(XCInfoPBPtr paramBlock)                              TWOWORDINLINE(0x703A, 0xA660);
  870.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  871.                                                                                             #pragma parameter __D0 PBExchangeFilesSync(__A0)
  872.                                                                                             #endif
  873. EXTERN_API( OSErr ) PBExchangeFilesSync(HParmBlkPtr paramBlock)                             TWOWORDINLINE(0x7017, 0xA260);
  874.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  875.                                                                                             #pragma parameter __D0 PBExchangeFilesAsync(__A0)
  876.                                                                                             #endif
  877. EXTERN_API( OSErr ) PBExchangeFilesAsync(HParmBlkPtr paramBlock)                            TWOWORDINLINE(0x7017, 0xA660);
  878.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  879.                                                                                             #pragma parameter __D0 PBCreateFileIDRefSync(__A0)
  880.                                                                                             #endif
  881. EXTERN_API( OSErr ) PBCreateFileIDRefSync(HParmBlkPtr paramBlock)                           TWOWORDINLINE(0x7014, 0xA260);
  882.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  883.                                                                                             #pragma parameter __D0 PBCreateFileIDRefAsync(__A0)
  884.                                                                                             #endif
  885. EXTERN_API( OSErr ) PBCreateFileIDRefAsync(HParmBlkPtr paramBlock)                          TWOWORDINLINE(0x7014, 0xA660);
  886.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  887.                                                                                             #pragma parameter __D0 PBResolveFileIDRefSync(__A0)
  888.                                                                                             #endif
  889. EXTERN_API( OSErr ) PBResolveFileIDRefSync(HParmBlkPtr paramBlock)                          TWOWORDINLINE(0x7016, 0xA260);
  890.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  891.                                                                                             #pragma parameter __D0 PBResolveFileIDRefAsync(__A0)
  892.                                                                                             #endif
  893. EXTERN_API( OSErr ) PBResolveFileIDRefAsync(HParmBlkPtr paramBlock)                         TWOWORDINLINE(0x7016, 0xA660);
  894.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  895.                                                                                             #pragma parameter __D0 PBDeleteFileIDRefSync(__A0)
  896.                                                                                             #endif
  897. EXTERN_API( OSErr ) PBDeleteFileIDRefSync(HParmBlkPtr paramBlock)                           TWOWORDINLINE(0x7015, 0xA260);
  898.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  899.                                                                                             #pragma parameter __D0 PBDeleteFileIDRefAsync(__A0)
  900.                                                                                             #endif
  901. EXTERN_API( OSErr ) PBDeleteFileIDRefAsync(HParmBlkPtr paramBlock)                          TWOWORDINLINE(0x7015, 0xA660);
  902.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  903.                                                                                             #pragma parameter __D0 PBGetForeignPrivsSync(__A0)
  904.                                                                                             #endif
  905. EXTERN_API( OSErr ) PBGetForeignPrivsSync(HParmBlkPtr paramBlock)                           TWOWORDINLINE(0x7060, 0xA260);
  906.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  907.                                                                                             #pragma parameter __D0 PBGetForeignPrivsAsync(__A0)
  908.                                                                                             #endif
  909. EXTERN_API( OSErr ) PBGetForeignPrivsAsync(HParmBlkPtr paramBlock)                          TWOWORDINLINE(0x7060, 0xA660);
  910.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  911.                                                                                             #pragma parameter __D0 PBSetForeignPrivsSync(__A0)
  912.                                                                                             #endif
  913. EXTERN_API( OSErr ) PBSetForeignPrivsSync(HParmBlkPtr paramBlock)                           TWOWORDINLINE(0x7061, 0xA260);
  914.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  915.                                                                                             #pragma parameter __D0 PBSetForeignPrivsAsync(__A0)
  916.                                                                                             #endif
  917. EXTERN_API( OSErr ) PBSetForeignPrivsAsync(HParmBlkPtr paramBlock)                          TWOWORDINLINE(0x7061, 0xA660);
  918. /*  Desktop Manager  */
  919.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  920.                                                                                             #pragma parameter __D0 PBDTGetPath(__A0)
  921.                                                                                             #endif
  922. EXTERN_API( OSErr ) PBDTGetPath(DTPBPtr paramBlock)                                         TWOWORDINLINE(0x7020, 0xA260);
  923.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  924.                                                                                             #pragma parameter __D0 PBDTCloseDown(__A0)
  925.                                                                                             #endif
  926. EXTERN_API( OSErr ) PBDTCloseDown(DTPBPtr paramBlock)                                       TWOWORDINLINE(0x7021, 0xA260);
  927.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  928.                                                                                             #pragma parameter __D0 PBDTAddIconSync(__A0)
  929.                                                                                             #endif
  930. EXTERN_API( OSErr ) PBDTAddIconSync(DTPBPtr paramBlock)                                     TWOWORDINLINE(0x7022, 0xA260);
  931.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  932.                                                                                             #pragma parameter __D0 PBDTAddIconAsync(__A0)
  933.                                                                                             #endif
  934. EXTERN_API( OSErr ) PBDTAddIconAsync(DTPBPtr paramBlock)                                    TWOWORDINLINE(0x7022, 0xA660);
  935.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  936.                                                                                             #pragma parameter __D0 PBDTGetIconSync(__A0)
  937.                                                                                             #endif
  938. EXTERN_API( OSErr ) PBDTGetIconSync(DTPBPtr paramBlock)                                     TWOWORDINLINE(0x7023, 0xA260);
  939.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  940.                                                                                             #pragma parameter __D0 PBDTGetIconAsync(__A0)
  941.                                                                                             #endif
  942. EXTERN_API( OSErr ) PBDTGetIconAsync(DTPBPtr paramBlock)                                    TWOWORDINLINE(0x7023, 0xA660);
  943.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  944.                                                                                             #pragma parameter __D0 PBDTGetIconInfoSync(__A0)
  945.                                                                                             #endif
  946. EXTERN_API( OSErr ) PBDTGetIconInfoSync(DTPBPtr paramBlock)                                 TWOWORDINLINE(0x7024, 0xA260);
  947.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  948.                                                                                             #pragma parameter __D0 PBDTGetIconInfoAsync(__A0)
  949.                                                                                             #endif
  950. EXTERN_API( OSErr ) PBDTGetIconInfoAsync(DTPBPtr paramBlock)                                TWOWORDINLINE(0x7024, 0xA660);
  951.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  952.                                                                                             #pragma parameter __D0 PBDTAddAPPLSync(__A0)
  953.                                                                                             #endif
  954. EXTERN_API( OSErr ) PBDTAddAPPLSync(DTPBPtr paramBlock)                                     TWOWORDINLINE(0x7025, 0xA260);
  955.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  956.                                                                                             #pragma parameter __D0 PBDTAddAPPLAsync(__A0)
  957.                                                                                             #endif
  958. EXTERN_API( OSErr ) PBDTAddAPPLAsync(DTPBPtr paramBlock)                                    TWOWORDINLINE(0x7025, 0xA660);
  959.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  960.                                                                                             #pragma parameter __D0 PBDTRemoveAPPLSync(__A0)
  961.                                                                                             #endif
  962. EXTERN_API( OSErr ) PBDTRemoveAPPLSync(DTPBPtr paramBlock)                                  TWOWORDINLINE(0x7026, 0xA260);
  963.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  964.                                                                                             #pragma parameter __D0 PBDTRemoveAPPLAsync(__A0)
  965.                                                                                             #endif
  966. EXTERN_API( OSErr ) PBDTRemoveAPPLAsync(DTPBPtr paramBlock)                                 TWOWORDINLINE(0x7026, 0xA660);
  967.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  968.                                                                                             #pragma parameter __D0 PBDTGetAPPLSync(__A0)
  969.                                                                                             #endif
  970. EXTERN_API( OSErr ) PBDTGetAPPLSync(DTPBPtr paramBlock)                                     TWOWORDINLINE(0x7027, 0xA260);
  971.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  972.                                                                                             #pragma parameter __D0 PBDTGetAPPLAsync(__A0)
  973.                                                                                             #endif
  974. EXTERN_API( OSErr ) PBDTGetAPPLAsync(DTPBPtr paramBlock)                                    TWOWORDINLINE(0x7027, 0xA660);
  975.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  976.                                                                                             #pragma parameter __D0 PBDTSetCommentSync(__A0)
  977.                                                                                             #endif
  978. EXTERN_API( OSErr ) PBDTSetCommentSync(DTPBPtr paramBlock)                                  TWOWORDINLINE(0x7028, 0xA260);
  979.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  980.                                                                                             #pragma parameter __D0 PBDTSetCommentAsync(__A0)
  981.                                                                                             #endif
  982. EXTERN_API( OSErr ) PBDTSetCommentAsync(DTPBPtr paramBlock)                                 TWOWORDINLINE(0x7028, 0xA660);
  983.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  984.                                                                                             #pragma parameter __D0 PBDTRemoveCommentSync(__A0)
  985.                                                                                             #endif
  986. EXTERN_API( OSErr ) PBDTRemoveCommentSync(DTPBPtr paramBlock)                               TWOWORDINLINE(0x7029, 0xA260);
  987.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  988.                                                                                             #pragma parameter __D0 PBDTRemoveCommentAsync(__A0)
  989.                                                                                             #endif
  990. EXTERN_API( OSErr ) PBDTRemoveCommentAsync(DTPBPtr paramBlock)                              TWOWORDINLINE(0x7029, 0xA660);
  991.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  992.                                                                                             #pragma parameter __D0 PBDTGetCommentSync(__A0)
  993.                                                                                             #endif
  994. EXTERN_API( OSErr ) PBDTGetCommentSync(DTPBPtr paramBlock)                                  TWOWORDINLINE(0x702A, 0xA260);
  995.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  996.                                                                                             #pragma parameter __D0 PBDTGetCommentAsync(__A0)
  997.                                                                                             #endif
  998. EXTERN_API( OSErr ) PBDTGetCommentAsync(DTPBPtr paramBlock)                                 TWOWORDINLINE(0x702A, 0xA660);
  999.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1000.                                                                                             #pragma parameter __D0 PBDTFlushSync(__A0)
  1001.                                                                                             #endif
  1002. EXTERN_API( OSErr ) PBDTFlushSync(DTPBPtr paramBlock)                                       TWOWORDINLINE(0x702B, 0xA260);
  1003.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1004.                                                                                             #pragma parameter __D0 PBDTFlushAsync(__A0)
  1005.                                                                                             #endif
  1006. EXTERN_API( OSErr ) PBDTFlushAsync(DTPBPtr paramBlock)                                      TWOWORDINLINE(0x702B, 0xA660);
  1007.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1008.                                                                                             #pragma parameter __D0 PBDTResetSync(__A0)
  1009.                                                                                             #endif
  1010. EXTERN_API( OSErr ) PBDTResetSync(DTPBPtr paramBlock)                                       TWOWORDINLINE(0x702C, 0xA260);
  1011.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1012.                                                                                             #pragma parameter __D0 PBDTResetAsync(__A0)
  1013.                                                                                             #endif
  1014. EXTERN_API( OSErr ) PBDTResetAsync(DTPBPtr paramBlock)                                      TWOWORDINLINE(0x702C, 0xA660);
  1015.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1016.                                                                                             #pragma parameter __D0 PBDTGetInfoSync(__A0)
  1017.                                                                                             #endif
  1018. EXTERN_API( OSErr ) PBDTGetInfoSync(DTPBPtr paramBlock)                                     TWOWORDINLINE(0x702D, 0xA260);
  1019.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1020.                                                                                             #pragma parameter __D0 PBDTGetInfoAsync(__A0)
  1021.                                                                                             #endif
  1022. EXTERN_API( OSErr ) PBDTGetInfoAsync(DTPBPtr paramBlock)                                    TWOWORDINLINE(0x702D, 0xA660);
  1023.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1024.                                                                                             #pragma parameter __D0 PBDTOpenInform(__A0)
  1025.                                                                                             #endif
  1026. EXTERN_API( OSErr ) PBDTOpenInform(DTPBPtr paramBlock)                                      TWOWORDINLINE(0x702E, 0xA060);
  1027.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1028.                                                                                             #pragma parameter __D0 PBDTDeleteSync(__A0)
  1029.                                                                                             #endif
  1030. EXTERN_API( OSErr ) PBDTDeleteSync(DTPBPtr paramBlock)                                      TWOWORDINLINE(0x702F, 0xA060);
  1031.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1032.                                                                                             #pragma parameter __D0 PBDTDeleteAsync(__A0)
  1033.                                                                                             #endif
  1034. EXTERN_API( OSErr ) PBDTDeleteAsync(DTPBPtr paramBlock)                                     TWOWORDINLINE(0x702F, 0xA460);
  1035. /*  VolumeMount traps  */
  1036.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1037.                                                                                             #pragma parameter __D0 PBGetVolMountInfoSize(__A0)
  1038.                                                                                             #endif
  1039. EXTERN_API( OSErr ) PBGetVolMountInfoSize(ParmBlkPtr paramBlock)                            TWOWORDINLINE(0x703F, 0xA260);
  1040.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1041.                                                                                             #pragma parameter __D0 PBGetVolMountInfo(__A0)
  1042.                                                                                             #endif
  1043. EXTERN_API( OSErr ) PBGetVolMountInfo(ParmBlkPtr paramBlock)                                TWOWORDINLINE(0x7040, 0xA260);
  1044.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1045.                                                                                             #pragma parameter __D0 PBVolumeMount(__A0)
  1046.                                                                                             #endif
  1047. EXTERN_API( OSErr ) PBVolumeMount(ParmBlkPtr paramBlock)                                    TWOWORDINLINE(0x7041, 0xA260);
  1048. /*  FSp traps  */
  1049. EXTERN_API( OSErr )
  1050. FSMakeFSSpec                    (short                  vRefNum,
  1051.                                  long                   dirID,
  1052.                                  ConstStr255Param       fileName,
  1053.                                  FSSpec *               spec)                               TWOWORDINLINE(0x7001, 0xAA52);
  1054. EXTERN_API( OSErr )
  1055. FSpOpenDF                       (const FSSpec *         spec,
  1056.                                  SInt8                  permission,
  1057.                                  short *                refNum)                             TWOWORDINLINE(0x7002, 0xAA52);
  1058. EXTERN_API( OSErr )
  1059. FSpOpenRF                       (const FSSpec *         spec,
  1060.                                  SInt8                  permission,
  1061.                                  short *                refNum)                             TWOWORDINLINE(0x7003, 0xAA52);
  1062. EXTERN_API( OSErr )
  1063. FSpCreate                       (const FSSpec *         spec,
  1064.                                  OSType                 creator,
  1065.                                  OSType                 fileType,
  1066.                                  ScriptCode             scriptTag)                          TWOWORDINLINE(0x7004, 0xAA52);
  1067. EXTERN_API( OSErr )
  1068. FSpDirCreate                    (const FSSpec *         spec,
  1069.                                  ScriptCode             scriptTag,
  1070.                                  long *                 createdDirID)                       TWOWORDINLINE(0x7005, 0xAA52);
  1071. EXTERN_API( OSErr )
  1072. FSpDelete                       (const FSSpec *         spec)                               TWOWORDINLINE(0x7006, 0xAA52);
  1073. EXTERN_API( OSErr )
  1074. FSpGetFInfo                     (const FSSpec *         spec,
  1075.                                  FInfo *                fndrInfo)                           TWOWORDINLINE(0x7007, 0xAA52);
  1076. EXTERN_API( OSErr )
  1077. FSpSetFInfo                     (const FSSpec *         spec,
  1078.                                  const FInfo *          fndrInfo)                           TWOWORDINLINE(0x7008, 0xAA52);
  1079. EXTERN_API( OSErr )
  1080. FSpSetFLock                     (const FSSpec *         spec)                               TWOWORDINLINE(0x7009, 0xAA52);
  1081. EXTERN_API( OSErr )
  1082. FSpRstFLock                     (const FSSpec *         spec)                               TWOWORDINLINE(0x700A, 0xAA52);
  1083. EXTERN_API( OSErr )
  1084. FSpRename                       (const FSSpec *         spec,
  1085.                                  ConstStr255Param       newName)                            TWOWORDINLINE(0x700B, 0xAA52);
  1086. EXTERN_API( OSErr )
  1087. FSpCatMove                      (const FSSpec *         source,
  1088.                                  const FSSpec *         dest)                               TWOWORDINLINE(0x700C, 0xAA52);
  1089. EXTERN_API( OSErr )
  1090. FSpExchangeFiles                (const FSSpec *         source,
  1091.                                  const FSSpec *         dest)                               TWOWORDINLINE(0x700F, 0xAA52);
  1092.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1093.                                                                                             #pragma parameter __D0 PBShareSync(__A0)
  1094.                                                                                             #endif
  1095. EXTERN_API( OSErr ) PBShareSync(HParmBlkPtr paramBlock)                                     TWOWORDINLINE(0x7042, 0xA260);
  1096.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1097.                                                                                             #pragma parameter __D0 PBShareAsync(__A0)
  1098.                                                                                             #endif
  1099. EXTERN_API( OSErr ) PBShareAsync(HParmBlkPtr paramBlock)                                    TWOWORDINLINE(0x7042, 0xA660);
  1100.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1101.                                                                                             #pragma parameter __D0 PBUnshareSync(__A0)
  1102.                                                                                             #endif
  1103. EXTERN_API( OSErr ) PBUnshareSync(HParmBlkPtr paramBlock)                                   TWOWORDINLINE(0x7043, 0xA260);
  1104.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1105.                                                                                             #pragma parameter __D0 PBUnshareAsync(__A0)
  1106.                                                                                             #endif
  1107. EXTERN_API( OSErr ) PBUnshareAsync(HParmBlkPtr paramBlock)                                  TWOWORDINLINE(0x7043, 0xA660);
  1108.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1109.                                                                                             #pragma parameter __D0 PBGetUGEntrySync(__A0)
  1110.                                                                                             #endif
  1111. EXTERN_API( OSErr ) PBGetUGEntrySync(HParmBlkPtr paramBlock)                                TWOWORDINLINE(0x7044, 0xA260);
  1112.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1113.                                                                                             #pragma parameter __D0 PBGetUGEntryAsync(__A0)
  1114.                                                                                             #endif
  1115. EXTERN_API( OSErr ) PBGetUGEntryAsync(HParmBlkPtr paramBlock)                               TWOWORDINLINE(0x7044, 0xA660);
  1116. #if TARGET_CPU_68K
  1117. /*
  1118.     PBGetAltAccess and PBSetAltAccess are obsolete and will not be supported 
  1119.     on PowerPC. Equivalent functionality is provided by the routines 
  1120.     PBGetForeignPrivs and PBSetForeignPrivs.
  1121. */
  1122. #if CALL_NOT_IN_CARBON
  1123.                                                                                             #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  1124.                                                                                             #pragma parameter __D0 PBGetAltAccessSync(__A0)