Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4427 lines
109 KiB

  1. /*
  2. File: LowMem.h
  3. Contains: Low Memory Accessor Interfaces.
  4. Version: QuickTime 7.3
  5. Copyright: (c) 2007 (c) 1993-2001 by Apple Computer, Inc., all rights reserved
  6. Bugs?: For bug reports, consult the following page on
  7. the World Wide Web:
  8. http://developer.apple.com/bugreporter/
  9. */
  10. #ifndef __LOWMEM__
  11. #define __LOWMEM__
  12. #ifndef __MACTYPES__
  13. #include <MacTypes.h>
  14. #endif
  15. #ifndef __FILES__
  16. #include <Files.h>
  17. #endif
  18. #ifndef __MACMEMORY__
  19. #include <MacMemory.h>
  20. #endif
  21. #ifndef __OSUTILS__
  22. #include <OSUtils.h>
  23. #endif
  24. #ifndef __RESOURCES__
  25. #include <Resources.h>
  26. #endif
  27. #if !OPAQUE_TOOLBOX_STRUCTS
  28. #ifndef __MACWINDOWS__
  29. #include <MacWindows.h>
  30. #endif
  31. #endif /* !OPAQUE_TOOLBOX_STRUCTS */
  32. #if PRAGMA_ONCE
  33. #pragma once
  34. #endif
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38. #if PRAGMA_IMPORT
  39. #pragma import on
  40. #endif
  41. #if PRAGMA_STRUCT_ALIGN
  42. #pragma options align=mac68k
  43. #elif PRAGMA_STRUCT_PACKPUSH
  44. #pragma pack(push, 2)
  45. #elif PRAGMA_STRUCT_PACK
  46. #pragma pack(2)
  47. #endif
  48. /**************************************************************************************
  49. SIMPLE LOWMEM ACCESSORS
  50. **************************************************************************************/
  51. /*
  52. The following functions were moved to Quickdraw.h:
  53. LMSetDeviceList
  54. LMSetLastSPExtra
  55. LMGetWidthListHand
  56. LMSetWidthListHand
  57. LMGetScrHRes
  58. LMSetScrHRes
  59. LMSetScrVRes
  60. LMGetScrVRes
  61. LMGetHiliteMode
  62. LMSetHiliteMode
  63. LMGetMainDevice
  64. LMSetMainDevice
  65. LMGetDeviceList
  66. LMGetQDColors
  67. LMSetQDColors
  68. LMGetWidthPtr
  69. LMSetWidthPtr
  70. LMGetWidthTabHandle
  71. LMSetWidthTabHandle
  72. LMGetLastSPExtra
  73. LMGetLastFOND
  74. LMSetLastFOND
  75. LMGetFractEnable
  76. LMSetFractEnable
  77. LMGetTheGDevice
  78. LMSetTheGDevice
  79. LMGetCursorNew
  80. LMSetCursorNew
  81. LMGetHiliteRGB
  82. LMSetHiliteRGB
  83. The following functions were moved to TextEdit.h:
  84. LMGetWordRedraw
  85. LMSetWordRedraw
  86. The following functions were moved to Menus.h:
  87. LMGetTheMenu
  88. The following functions were moved to Events.h:
  89. LMGetKeyRepThresh
  90. LMSetKeyRepThresh
  91. LMGetKeyThresh
  92. LMSetKeyRepThresh
  93. LMGetKbdLast
  94. LMSetKbdLast
  95. LMGetKbdType
  96. LMSetKbdType
  97. */
  98. /*
  99. * LMGetMemTop()
  100. *
  101. * Availability:
  102. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  103. * CarbonLib: in CarbonLib 1.0 and later
  104. * Mac OS X: in version 10.0 and later
  105. */
  106. EXTERN_API( Ptr ) LMGetMemTop(void) TWOWORDINLINE(0x2EB8, 0x0108);
  107. /*
  108. * LMSetMemTop()
  109. *
  110. * Availability:
  111. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  112. * CarbonLib: in CarbonLib 1.0 and later
  113. * Mac OS X: in version 10.0 and later
  114. */
  115. EXTERN_API( void ) LMSetMemTop(Ptr value) TWOWORDINLINE(0x21DF, 0x0108);
  116. /*
  117. * LMGetBufPtr()
  118. *
  119. * Availability:
  120. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  121. * CarbonLib: in CarbonLib 1.0 and later
  122. * Mac OS X: in version 10.0 and later
  123. */
  124. EXTERN_API( Ptr ) LMGetBufPtr(void) TWOWORDINLINE(0x2EB8, 0x010C);
  125. /*
  126. * LMSetBufPtr()
  127. *
  128. * Availability:
  129. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  130. * CarbonLib: in CarbonLib 1.0 and later
  131. * Mac OS X: in version 10.0 and later
  132. */
  133. EXTERN_API( void ) LMSetBufPtr(Ptr value) TWOWORDINLINE(0x21DF, 0x010C);
  134. /*
  135. * LMGetHeapEnd()
  136. *
  137. * Availability:
  138. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  139. * CarbonLib: in CarbonLib 1.0 and later
  140. * Mac OS X: in version 10.0 and later
  141. */
  142. EXTERN_API( Ptr ) LMGetHeapEnd(void) TWOWORDINLINE(0x2EB8, 0x0114);
  143. /*
  144. * LMSetHeapEnd()
  145. *
  146. * Availability:
  147. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  148. * CarbonLib: in CarbonLib 1.0 and later
  149. * Mac OS X: in version 10.0 and later
  150. */
  151. EXTERN_API( void ) LMSetHeapEnd(Ptr value) TWOWORDINLINE(0x21DF, 0x0114);
  152. #if CALL_NOT_IN_CARBON
  153. /*
  154. * LMGetTheZone()
  155. *
  156. * Availability:
  157. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  158. * CarbonLib: not available
  159. * Mac OS X: not available
  160. */
  161. EXTERN_API( THz ) LMGetTheZone(void) TWOWORDINLINE(0x2EB8, 0x0118);
  162. /*
  163. * LMSetTheZone()
  164. *
  165. * Availability:
  166. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  167. * CarbonLib: not available
  168. * Mac OS X: not available
  169. */
  170. EXTERN_API( void ) LMSetTheZone(THz value) TWOWORDINLINE(0x21DF, 0x0118);
  171. /*
  172. * LMGetUTableBase()
  173. *
  174. * Availability:
  175. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  176. * CarbonLib: not available
  177. * Mac OS X: not available
  178. */
  179. EXTERN_API( Ptr ) LMGetUTableBase(void) TWOWORDINLINE(0x2EB8, 0x011C);
  180. /*
  181. * LMSetUTableBase()
  182. *
  183. * Availability:
  184. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  185. * CarbonLib: not available
  186. * Mac OS X: not available
  187. */
  188. EXTERN_API( void ) LMSetUTableBase(Ptr value) TWOWORDINLINE(0x21DF, 0x011C);
  189. #endif /* CALL_NOT_IN_CARBON */
  190. /*
  191. * LMGetCPUFlag()
  192. *
  193. * Availability:
  194. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  195. * CarbonLib: in CarbonLib 1.0 and later
  196. * Mac OS X: in version 10.0 and later
  197. */
  198. EXTERN_API( UInt8 ) LMGetCPUFlag(void) TWOWORDINLINE(0x1EB8, 0x012F);
  199. /*
  200. * LMSetCPUFlag()
  201. *
  202. * Availability:
  203. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  204. * CarbonLib: in CarbonLib 1.0 and later
  205. * Mac OS X: in version 10.0 and later
  206. */
  207. EXTERN_API( void ) LMSetCPUFlag(UInt8 value) TWOWORDINLINE(0x11DF, 0x012F);
  208. #if CALL_NOT_IN_CARBON
  209. /*
  210. * LMGetApplLimit()
  211. *
  212. * Availability:
  213. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  214. * CarbonLib: not available
  215. * Mac OS X: not available
  216. */
  217. EXTERN_API( Ptr ) LMGetApplLimit(void) TWOWORDINLINE(0x2EB8, 0x0130);
  218. /*
  219. * LMSetApplLimit()
  220. *
  221. * Availability:
  222. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  223. * CarbonLib: not available
  224. * Mac OS X: not available
  225. */
  226. EXTERN_API( void ) LMSetApplLimit(Ptr value) TWOWORDINLINE(0x21DF, 0x0130);
  227. /*
  228. * LMGetSysEvtMask()
  229. *
  230. * Availability:
  231. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  232. * CarbonLib: not available
  233. * Mac OS X: not available
  234. */
  235. EXTERN_API( SInt16 ) LMGetSysEvtMask(void) TWOWORDINLINE(0x3EB8, 0x0144);
  236. /* Carbon Usage: use SetEventMask*/
  237. /*
  238. * LMSetSysEvtMask()
  239. *
  240. * Availability:
  241. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  242. * CarbonLib: not available
  243. * Mac OS X: not available
  244. */
  245. EXTERN_API( void ) LMSetSysEvtMask(SInt16 value) TWOWORDINLINE(0x31DF, 0x0144);
  246. #endif /* CALL_NOT_IN_CARBON */
  247. /*
  248. * LMGetRndSeed()
  249. *
  250. * Availability:
  251. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  252. * CarbonLib: in CarbonLib 1.0 and later
  253. * Mac OS X: in version 10.0 and later
  254. */
  255. EXTERN_API( SInt32 ) LMGetRndSeed(void) TWOWORDINLINE(0x2EB8, 0x0156);
  256. /*
  257. * LMSetRndSeed()
  258. *
  259. * Availability:
  260. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  261. * CarbonLib: in CarbonLib 1.0 and later
  262. * Mac OS X: in version 10.0 and later
  263. */
  264. EXTERN_API( void ) LMSetRndSeed(SInt32 value) TWOWORDINLINE(0x21DF, 0x0156);
  265. /*
  266. * LMGetSEvtEnb()
  267. *
  268. * Availability:
  269. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  270. * CarbonLib: in CarbonLib 1.0 and later
  271. * Mac OS X: in version 10.0 and later
  272. */
  273. EXTERN_API( UInt8 ) LMGetSEvtEnb(void) TWOWORDINLINE(0x1EB8, 0x015C);
  274. /*
  275. * LMSetSEvtEnb()
  276. *
  277. * Availability:
  278. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  279. * CarbonLib: in CarbonLib 1.0 and later
  280. * Mac OS X: in version 10.0 and later
  281. */
  282. EXTERN_API( void ) LMSetSEvtEnb(UInt8 value) TWOWORDINLINE(0x11DF, 0x015C);
  283. #if CALL_NOT_IN_CARBON
  284. /*
  285. * LMGetTicks()
  286. *
  287. * Availability:
  288. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  289. * CarbonLib: not available
  290. * Mac OS X: not available
  291. */
  292. EXTERN_API( UInt32 ) LMGetTicks(void) TWOWORDINLINE(0x2EB8, 0x016A);
  293. /*
  294. * LMSetTicks()
  295. *
  296. * Availability:
  297. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  298. * CarbonLib: not available
  299. * Mac OS X: not available
  300. */
  301. EXTERN_API( void ) LMSetTicks(UInt32 value) TWOWORDINLINE(0x21DF, 0x016A);
  302. /*
  303. * LMGetVIA()
  304. *
  305. * Availability:
  306. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  307. * CarbonLib: not available
  308. * Mac OS X: not available
  309. */
  310. EXTERN_API( Ptr ) LMGetVIA(void) TWOWORDINLINE(0x2EB8, 0x01D4);
  311. /*
  312. * LMSetVIA()
  313. *
  314. * Availability:
  315. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  316. * CarbonLib: not available
  317. * Mac OS X: not available
  318. */
  319. EXTERN_API( void ) LMSetVIA(Ptr value) TWOWORDINLINE(0x21DF, 0x01D4);
  320. /*
  321. * LMGetSCCRd()
  322. *
  323. * Availability:
  324. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  325. * CarbonLib: not available
  326. * Mac OS X: not available
  327. */
  328. EXTERN_API( Ptr ) LMGetSCCRd(void) TWOWORDINLINE(0x2EB8, 0x01D8);
  329. /*
  330. * LMSetSCCRd()
  331. *
  332. * Availability:
  333. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  334. * CarbonLib: not available
  335. * Mac OS X: not available
  336. */
  337. EXTERN_API( void ) LMSetSCCRd(Ptr value) TWOWORDINLINE(0x21DF, 0x01D8);
  338. /*
  339. * LMGetSCCWr()
  340. *
  341. * Availability:
  342. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  343. * CarbonLib: not available
  344. * Mac OS X: not available
  345. */
  346. EXTERN_API( Ptr ) LMGetSCCWr(void) TWOWORDINLINE(0x2EB8, 0x01DC);
  347. /*
  348. * LMSetSCCWr()
  349. *
  350. * Availability:
  351. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  352. * CarbonLib: not available
  353. * Mac OS X: not available
  354. */
  355. EXTERN_API( void ) LMSetSCCWr(Ptr value) TWOWORDINLINE(0x21DF, 0x01DC);
  356. /*
  357. * LMGetSPValid()
  358. *
  359. * Availability:
  360. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  361. * CarbonLib: not available
  362. * Mac OS X: not available
  363. */
  364. EXTERN_API( UInt8 ) LMGetSPValid(void) TWOWORDINLINE(0x1EB8, 0x01F8);
  365. /*
  366. * LMSetSPValid()
  367. *
  368. * Availability:
  369. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  370. * CarbonLib: not available
  371. * Mac OS X: not available
  372. */
  373. EXTERN_API( void ) LMSetSPValid(UInt8 value) TWOWORDINLINE(0x11DF, 0x01F8);
  374. /*
  375. * LMGetSPATalkA()
  376. *
  377. * Availability:
  378. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  379. * CarbonLib: not available
  380. * Mac OS X: not available
  381. */
  382. EXTERN_API( UInt8 ) LMGetSPATalkA(void) TWOWORDINLINE(0x1EB8, 0x01F9);
  383. /*
  384. * LMSetSPATalkA()
  385. *
  386. * Availability:
  387. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  388. * CarbonLib: not available
  389. * Mac OS X: not available
  390. */
  391. EXTERN_API( void ) LMSetSPATalkA(UInt8 value) TWOWORDINLINE(0x11DF, 0x01F9);
  392. /*
  393. * LMGetSPATalkB()
  394. *
  395. * Availability:
  396. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  397. * CarbonLib: not available
  398. * Mac OS X: not available
  399. */
  400. EXTERN_API( UInt8 ) LMGetSPATalkB(void) TWOWORDINLINE(0x1EB8, 0x01FA);
  401. /*
  402. * LMSetSPATalkB()
  403. *
  404. * Availability:
  405. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  406. * CarbonLib: not available
  407. * Mac OS X: not available
  408. */
  409. EXTERN_API( void ) LMSetSPATalkB(UInt8 value) TWOWORDINLINE(0x11DF, 0x01FA);
  410. /*
  411. * LMGetSPConfig()
  412. *
  413. * Availability:
  414. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  415. * CarbonLib: not available
  416. * Mac OS X: not available
  417. */
  418. EXTERN_API( UInt8 ) LMGetSPConfig(void) TWOWORDINLINE(0x1EB8, 0x01FB);
  419. /*
  420. * LMSetSPConfig()
  421. *
  422. * Availability:
  423. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  424. * CarbonLib: not available
  425. * Mac OS X: not available
  426. */
  427. EXTERN_API( void ) LMSetSPConfig(UInt8 value) TWOWORDINLINE(0x11DF, 0x01FB);
  428. /*
  429. * LMGetSPPortA()
  430. *
  431. * Availability:
  432. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  433. * CarbonLib: not available
  434. * Mac OS X: not available
  435. */
  436. EXTERN_API( SInt16 ) LMGetSPPortA(void) TWOWORDINLINE(0x3EB8, 0x01FC);
  437. /*
  438. * LMSetSPPortA()
  439. *
  440. * Availability:
  441. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  442. * CarbonLib: not available
  443. * Mac OS X: not available
  444. */
  445. EXTERN_API( void ) LMSetSPPortA(SInt16 value) TWOWORDINLINE(0x31DF, 0x01FC);
  446. /*
  447. * LMGetSPPortB()
  448. *
  449. * Availability:
  450. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  451. * CarbonLib: not available
  452. * Mac OS X: not available
  453. */
  454. EXTERN_API( SInt16 ) LMGetSPPortB(void) TWOWORDINLINE(0x3EB8, 0x01FE);
  455. /*
  456. * LMSetSPPortB()
  457. *
  458. * Availability:
  459. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  460. * CarbonLib: not available
  461. * Mac OS X: not available
  462. */
  463. EXTERN_API( void ) LMSetSPPortB(SInt16 value) TWOWORDINLINE(0x31DF, 0x01FE);
  464. /*
  465. * LMGetSPAlarm()
  466. *
  467. * Availability:
  468. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  469. * CarbonLib: not available
  470. * Mac OS X: not available
  471. */
  472. EXTERN_API( SInt32 ) LMGetSPAlarm(void) TWOWORDINLINE(0x2EB8, 0x0200);
  473. /*
  474. * LMSetSPAlarm()
  475. *
  476. * Availability:
  477. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  478. * CarbonLib: not available
  479. * Mac OS X: not available
  480. */
  481. EXTERN_API( void ) LMSetSPAlarm(SInt32 value) TWOWORDINLINE(0x21DF, 0x0200);
  482. /*
  483. * LMGetSPFont()
  484. *
  485. * Availability:
  486. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  487. * CarbonLib: not available
  488. * Mac OS X: not available
  489. */
  490. EXTERN_API( SInt16 ) LMGetSPFont(void) TWOWORDINLINE(0x3EB8, 0x0204);
  491. /*
  492. * LMSetSPFont()
  493. *
  494. * Availability:
  495. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  496. * CarbonLib: not available
  497. * Mac OS X: not available
  498. */
  499. EXTERN_API( void ) LMSetSPFont(SInt16 value) TWOWORDINLINE(0x31DF, 0x0204);
  500. /*
  501. * LMGetSPKbd()
  502. *
  503. * Availability:
  504. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  505. * CarbonLib: not available
  506. * Mac OS X: not available
  507. */
  508. EXTERN_API( UInt8 ) LMGetSPKbd(void) TWOWORDINLINE(0x1EB8, 0x0206);
  509. /*
  510. * LMSetSPKbd()
  511. *
  512. * Availability:
  513. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  514. * CarbonLib: not available
  515. * Mac OS X: not available
  516. */
  517. EXTERN_API( void ) LMSetSPKbd(UInt8 value) TWOWORDINLINE(0x11DF, 0x0206);
  518. /*
  519. * LMGetSPPrint()
  520. *
  521. * Availability:
  522. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  523. * CarbonLib: not available
  524. * Mac OS X: not available
  525. */
  526. EXTERN_API( UInt8 ) LMGetSPPrint(void) TWOWORDINLINE(0x1EB8, 0x0207);
  527. /*
  528. * LMSetSPPrint()
  529. *
  530. * Availability:
  531. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  532. * CarbonLib: not available
  533. * Mac OS X: not available
  534. */
  535. EXTERN_API( void ) LMSetSPPrint(UInt8 value) TWOWORDINLINE(0x11DF, 0x0207);
  536. /*
  537. * LMGetSPVolCtl()
  538. *
  539. * Availability:
  540. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  541. * CarbonLib: not available
  542. * Mac OS X: not available
  543. */
  544. EXTERN_API( UInt8 ) LMGetSPVolCtl(void) TWOWORDINLINE(0x1EB8, 0x0208);
  545. /*
  546. * LMSetSPVolCtl()
  547. *
  548. * Availability:
  549. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  550. * CarbonLib: not available
  551. * Mac OS X: not available
  552. */
  553. EXTERN_API( void ) LMSetSPVolCtl(UInt8 value) TWOWORDINLINE(0x11DF, 0x0208);
  554. /*
  555. * LMGetSPClikCaret()
  556. *
  557. * Availability:
  558. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  559. * CarbonLib: not available
  560. * Mac OS X: not available
  561. */
  562. EXTERN_API( UInt8 ) LMGetSPClikCaret(void) TWOWORDINLINE(0x1EB8, 0x0209);
  563. /*
  564. * LMSetSPClikCaret()
  565. *
  566. * Availability:
  567. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  568. * CarbonLib: not available
  569. * Mac OS X: not available
  570. */
  571. EXTERN_API( void ) LMSetSPClikCaret(UInt8 value) TWOWORDINLINE(0x11DF, 0x0209);
  572. /*
  573. * LMGetSPMisc2()
  574. *
  575. * Availability:
  576. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  577. * CarbonLib: not available
  578. * Mac OS X: not available
  579. */
  580. EXTERN_API( UInt8 ) LMGetSPMisc2(void) TWOWORDINLINE(0x1EB8, 0x020B);
  581. /*
  582. * LMSetSPMisc2()
  583. *
  584. * Availability:
  585. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  586. * CarbonLib: not available
  587. * Mac OS X: not available
  588. */
  589. EXTERN_API( void ) LMSetSPMisc2(UInt8 value) TWOWORDINLINE(0x11DF, 0x020B);
  590. /* Carbon Usage: use GetDateTime*/
  591. /*
  592. * LMGetTime()
  593. *
  594. * Availability:
  595. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  596. * CarbonLib: not available
  597. * Mac OS X: not available
  598. */
  599. EXTERN_API( SInt32 ) LMGetTime(void) TWOWORDINLINE(0x2EB8, 0x020C);
  600. /* Carbon Usage: use SetDateTime*/
  601. /*
  602. * LMSetTime()
  603. *
  604. * Availability:
  605. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  606. * CarbonLib: not available
  607. * Mac OS X: not available
  608. */
  609. EXTERN_API( void ) LMSetTime(SInt32 value) TWOWORDINLINE(0x21DF, 0x020C);
  610. #endif /* CALL_NOT_IN_CARBON */
  611. /*
  612. * LMGetBootDrive()
  613. *
  614. * Availability:
  615. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  616. * CarbonLib: in CarbonLib 1.0 and later
  617. * Mac OS X: in version 10.0 and later
  618. */
  619. EXTERN_API( SInt16 ) LMGetBootDrive(void) TWOWORDINLINE(0x3EB8, 0x0210);
  620. /*
  621. * LMSetBootDrive()
  622. *
  623. * Availability:
  624. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  625. * CarbonLib: in CarbonLib 1.0 and later
  626. * Mac OS X: in version 10.0 and later
  627. */
  628. EXTERN_API( void ) LMSetBootDrive(SInt16 value) TWOWORDINLINE(0x31DF, 0x0210);
  629. #if CALL_NOT_IN_CARBON
  630. /*
  631. * LMGetSFSaveDisk()
  632. *
  633. * Availability:
  634. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  635. * CarbonLib: not available
  636. * Mac OS X: not available
  637. */
  638. EXTERN_API( SInt16 ) LMGetSFSaveDisk(void) TWOWORDINLINE(0x3EB8, 0x0214);
  639. /*
  640. * LMSetSFSaveDisk()
  641. *
  642. * Availability:
  643. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  644. * CarbonLib: not available
  645. * Mac OS X: not available
  646. */
  647. EXTERN_API( void ) LMSetSFSaveDisk(SInt16 value) TWOWORDINLINE(0x31DF, 0x0214);
  648. #endif /* CALL_NOT_IN_CARBON */
  649. /*
  650. * LMGetMemErr()
  651. *
  652. * Availability:
  653. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  654. * CarbonLib: in CarbonLib 1.0 and later
  655. * Mac OS X: in version 10.0 and later
  656. */
  657. EXTERN_API( SInt16 ) LMGetMemErr(void) TWOWORDINLINE(0x3EB8, 0x0220);
  658. /*
  659. * LMSetMemErr()
  660. *
  661. * Availability:
  662. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  663. * CarbonLib: in CarbonLib 1.0 and later
  664. * Mac OS X: in version 10.0 and later
  665. */
  666. EXTERN_API( void ) LMSetMemErr(SInt16 value) TWOWORDINLINE(0x31DF, 0x0220);
  667. /*
  668. * LMGetSdVolume()
  669. *
  670. * Availability:
  671. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  672. * CarbonLib: in CarbonLib 1.0 and later
  673. * Mac OS X: in version 10.0 and later
  674. */
  675. EXTERN_API( UInt8 ) LMGetSdVolume(void) TWOWORDINLINE(0x1EB8, 0x0260);
  676. /*
  677. * LMSetSdVolume()
  678. *
  679. * Availability:
  680. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  681. * CarbonLib: in CarbonLib 1.0 and later
  682. * Mac OS X: in version 10.0 and later
  683. */
  684. EXTERN_API( void ) LMSetSdVolume(UInt8 value) TWOWORDINLINE(0x11DF, 0x0260);
  685. /*
  686. * LMGetSoundPtr()
  687. *
  688. * Availability:
  689. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  690. * CarbonLib: in CarbonLib 1.0 and later
  691. * Mac OS X: in version 10.0 and later
  692. */
  693. EXTERN_API( Ptr ) LMGetSoundPtr(void) TWOWORDINLINE(0x2EB8, 0x0262);
  694. /*
  695. * LMSetSoundPtr()
  696. *
  697. * Availability:
  698. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  699. * CarbonLib: in CarbonLib 1.0 and later
  700. * Mac OS X: in version 10.0 and later
  701. */
  702. EXTERN_API( void ) LMSetSoundPtr(Ptr value) TWOWORDINLINE(0x21DF, 0x0262);
  703. /*
  704. * LMGetSoundBase()
  705. *
  706. * Availability:
  707. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  708. * CarbonLib: in CarbonLib 1.0 and later
  709. * Mac OS X: in version 10.0 and later
  710. */
  711. EXTERN_API( Ptr ) LMGetSoundBase(void) TWOWORDINLINE(0x2EB8, 0x0266);
  712. /*
  713. * LMSetSoundBase()
  714. *
  715. * Availability:
  716. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  717. * CarbonLib: in CarbonLib 1.0 and later
  718. * Mac OS X: in version 10.0 and later
  719. */
  720. EXTERN_API( void ) LMSetSoundBase(Ptr value) TWOWORDINLINE(0x21DF, 0x0266);
  721. /*
  722. * LMGetSoundLevel()
  723. *
  724. * Availability:
  725. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  726. * CarbonLib: in CarbonLib 1.0 and later
  727. * Mac OS X: in version 10.0 and later
  728. */
  729. EXTERN_API( UInt8 ) LMGetSoundLevel(void) TWOWORDINLINE(0x1EB8, 0x027F);
  730. /*
  731. * LMSetSoundLevel()
  732. *
  733. * Availability:
  734. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  735. * CarbonLib: in CarbonLib 1.0 and later
  736. * Mac OS X: in version 10.0 and later
  737. */
  738. EXTERN_API( void ) LMSetSoundLevel(UInt8 value) TWOWORDINLINE(0x11DF, 0x027F);
  739. /*
  740. * LMGetCurPitch()
  741. *
  742. * Availability:
  743. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  744. * CarbonLib: in CarbonLib 1.0 and later
  745. * Mac OS X: in version 10.0 and later
  746. */
  747. EXTERN_API( SInt16 ) LMGetCurPitch(void) TWOWORDINLINE(0x3EB8, 0x0280);
  748. /*
  749. * LMSetCurPitch()
  750. *
  751. * Availability:
  752. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  753. * CarbonLib: in CarbonLib 1.0 and later
  754. * Mac OS X: in version 10.0 and later
  755. */
  756. EXTERN_API( void ) LMSetCurPitch(SInt16 value) TWOWORDINLINE(0x31DF, 0x0280);
  757. #if CALL_NOT_IN_CARBON
  758. /*
  759. * LMGetROM85()
  760. *
  761. * Availability:
  762. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  763. * CarbonLib: not available
  764. * Mac OS X: not available
  765. */
  766. EXTERN_API( SInt16 ) LMGetROM85(void) TWOWORDINLINE(0x3EB8, 0x028E);
  767. /*
  768. * LMSetROM85()
  769. *
  770. * Availability:
  771. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  772. * CarbonLib: not available
  773. * Mac OS X: not available
  774. */
  775. EXTERN_API( void ) LMSetROM85(SInt16 value) TWOWORDINLINE(0x31DF, 0x028E);
  776. /*
  777. * LMGetPortBUse()
  778. *
  779. * Availability:
  780. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  781. * CarbonLib: not available
  782. * Mac OS X: not available
  783. */
  784. EXTERN_API( UInt8 ) LMGetPortBUse(void) TWOWORDINLINE(0x1EB8, 0x0291);
  785. /*
  786. * LMSetPortBUse()
  787. *
  788. * Availability:
  789. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  790. * CarbonLib: not available
  791. * Mac OS X: not available
  792. */
  793. EXTERN_API( void ) LMSetPortBUse(UInt8 value) TWOWORDINLINE(0x11DF, 0x0291);
  794. /*
  795. * LMGetGNEFilter()
  796. *
  797. * Availability:
  798. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  799. * CarbonLib: not available
  800. * Mac OS X: not available
  801. */
  802. EXTERN_API( GetNextEventFilterUPP ) LMGetGNEFilter(void) TWOWORDINLINE(0x2EB8, 0x029A);
  803. /*
  804. * LMSetGNEFilter()
  805. *
  806. * Availability:
  807. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  808. * CarbonLib: not available
  809. * Mac OS X: not available
  810. */
  811. EXTERN_API( void ) LMSetGNEFilter(GetNextEventFilterUPP value) TWOWORDINLINE(0x21DF, 0x029A);
  812. #endif /* CALL_NOT_IN_CARBON */
  813. /*
  814. * LMGetSysZone()
  815. *
  816. * Availability:
  817. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  818. * CarbonLib: in CarbonLib 1.0 and later
  819. * Mac OS X: in version 10.0 and later
  820. */
  821. EXTERN_API( THz ) LMGetSysZone(void) TWOWORDINLINE(0x2EB8, 0x02A6);
  822. /*
  823. * LMSetSysZone()
  824. *
  825. * Availability:
  826. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  827. * CarbonLib: in CarbonLib 1.0 and later
  828. * Mac OS X: in version 10.0 and later
  829. */
  830. EXTERN_API( void ) LMSetSysZone(THz value) TWOWORDINLINE(0x21DF, 0x02A6);
  831. /*
  832. * LMGetApplZone()
  833. *
  834. * Availability:
  835. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  836. * CarbonLib: in CarbonLib 1.0 and later
  837. * Mac OS X: in version 10.0 and later
  838. */
  839. EXTERN_API( THz ) LMGetApplZone(void) TWOWORDINLINE(0x2EB8, 0x02AA);
  840. /*
  841. * LMSetApplZone()
  842. *
  843. * Availability:
  844. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  845. * CarbonLib: in CarbonLib 1.0 and later
  846. * Mac OS X: in version 10.0 and later
  847. */
  848. EXTERN_API( void ) LMSetApplZone(THz value) TWOWORDINLINE(0x21DF, 0x02AA);
  849. #if CALL_NOT_IN_CARBON
  850. /*
  851. * LMGetROMBase()
  852. *
  853. * Availability:
  854. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  855. * CarbonLib: not available
  856. * Mac OS X: not available
  857. */
  858. EXTERN_API( Ptr ) LMGetROMBase(void) TWOWORDINLINE(0x2EB8, 0x02AE);
  859. /*
  860. * LMSetROMBase()
  861. *
  862. * Availability:
  863. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  864. * CarbonLib: not available
  865. * Mac OS X: not available
  866. */
  867. EXTERN_API( void ) LMSetROMBase(Ptr value) TWOWORDINLINE(0x21DF, 0x02AE);
  868. /*
  869. * LMGetRAMBase()
  870. *
  871. * Availability:
  872. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  873. * CarbonLib: not available
  874. * Mac OS X: not available
  875. */
  876. EXTERN_API( Ptr ) LMGetRAMBase(void) TWOWORDINLINE(0x2EB8, 0x02B2);
  877. /*
  878. * LMSetRAMBase()
  879. *
  880. * Availability:
  881. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  882. * CarbonLib: not available
  883. * Mac OS X: not available
  884. */
  885. EXTERN_API( void ) LMSetRAMBase(Ptr value) TWOWORDINLINE(0x21DF, 0x02B2);
  886. /*
  887. * LMGetDSAlertTab()
  888. *
  889. * Availability:
  890. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  891. * CarbonLib: not available
  892. * Mac OS X: not available
  893. */
  894. EXTERN_API( Ptr ) LMGetDSAlertTab(void) TWOWORDINLINE(0x2EB8, 0x02BA);
  895. /*
  896. * LMSetDSAlertTab()
  897. *
  898. * Availability:
  899. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  900. * CarbonLib: not available
  901. * Mac OS X: not available
  902. */
  903. EXTERN_API( void ) LMSetDSAlertTab(Ptr value) TWOWORDINLINE(0x21DF, 0x02BA);
  904. /*
  905. NOTE: LMGetABusVars and LMSetABusVars have been removed.
  906. Their implememtation in InterfaceLib was inconsistent
  907. with their prototypes here. In InterfaceLib LMSetABusVars
  908. would copy eight bytes and LMGetABusVars would return the
  909. value 0x02D8 instead of the long at that location.
  910. Use LMGetABusGlobals/LMSetABusGlobals to get/set the
  911. long at location 0x02D8 which is a pointer to the AppleTalk
  912. globals. Use LMGetABusDCE/LMSetABusDCE to get/set the
  913. long at location 0x02DC which is the .MPP driver
  914. Device Control Entry.
  915. */
  916. /*
  917. * LMGetABusGlobals()
  918. *
  919. * Availability:
  920. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  921. * CarbonLib: not available
  922. * Mac OS X: not available
  923. */
  924. EXTERN_API( Ptr ) LMGetABusGlobals(void) TWOWORDINLINE(0x2EB8, 0x02D8);
  925. /*
  926. * LMGetABusDCE()
  927. *
  928. * Availability:
  929. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  930. * CarbonLib: not available
  931. * Mac OS X: not available
  932. */
  933. EXTERN_API( Ptr ) LMGetABusDCE(void) TWOWORDINLINE(0x2EB8, 0x02DC);
  934. /*
  935. * LMSetABusGlobals()
  936. *
  937. * Availability:
  938. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  939. * CarbonLib: not available
  940. * Mac OS X: not available
  941. */
  942. EXTERN_API( void ) LMSetABusGlobals(Ptr value) TWOWORDINLINE(0x21DF, 0x02D8);
  943. /*
  944. * LMSetABusDCE()
  945. *
  946. * Availability:
  947. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  948. * CarbonLib: not available
  949. * Mac OS X: not available
  950. */
  951. EXTERN_API( void ) LMSetABusDCE(Ptr value) TWOWORDINLINE(0x21DF, 0x02DC);
  952. /* Carbon Usage: use GetDblTime*/
  953. /*
  954. * LMGetDoubleTime()
  955. *
  956. * Availability:
  957. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  958. * CarbonLib: not available
  959. * Mac OS X: not available
  960. */
  961. EXTERN_API( UInt32 ) LMGetDoubleTime(void) TWOWORDINLINE(0x2EB8, 0x02F0);
  962. /*
  963. * LMSetDoubleTime()
  964. *
  965. * Availability:
  966. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  967. * CarbonLib: not available
  968. * Mac OS X: not available
  969. */
  970. EXTERN_API( void ) LMSetDoubleTime(UInt32 value) TWOWORDINLINE(0x21DF, 0x02F0);
  971. /* Carbon Usage: use GetCaretTime*/
  972. /*
  973. * LMGetCaretTime()
  974. *
  975. * Availability:
  976. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  977. * CarbonLib: not available
  978. * Mac OS X: not available
  979. */
  980. EXTERN_API( UInt32 ) LMGetCaretTime(void) TWOWORDINLINE(0x2EB8, 0x02F4);
  981. /*
  982. * LMSetCaretTime()
  983. *
  984. * Availability:
  985. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  986. * CarbonLib: not available
  987. * Mac OS X: not available
  988. */
  989. EXTERN_API( void ) LMSetCaretTime(UInt32 value) TWOWORDINLINE(0x21DF, 0x02F4);
  990. #endif /* CALL_NOT_IN_CARBON */
  991. /*
  992. * LMGetScrDmpEnb()
  993. *
  994. * Availability:
  995. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  996. * CarbonLib: in CarbonLib 1.0 and later
  997. * Mac OS X: in version 10.0 and later
  998. */
  999. EXTERN_API( UInt8 ) LMGetScrDmpEnb(void) TWOWORDINLINE(0x1EB8, 0x02F8);
  1000. /*
  1001. * LMSetScrDmpEnb()
  1002. *
  1003. * Availability:
  1004. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1005. * CarbonLib: in CarbonLib 1.0 and later
  1006. * Mac OS X: in version 10.0 and later
  1007. */
  1008. EXTERN_API( void ) LMSetScrDmpEnb(UInt8 value) TWOWORDINLINE(0x11DF, 0x02F8);
  1009. /*
  1010. * LMGetBufTgFNum()
  1011. *
  1012. * Availability:
  1013. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1014. * CarbonLib: in CarbonLib 1.0 and later
  1015. * Mac OS X: in version 10.0 and later
  1016. */
  1017. EXTERN_API( SInt32 ) LMGetBufTgFNum(void) TWOWORDINLINE(0x2EB8, 0x02FC);
  1018. /*
  1019. * LMSetBufTgFNum()
  1020. *
  1021. * Availability:
  1022. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1023. * CarbonLib: in CarbonLib 1.0 and later
  1024. * Mac OS X: in version 10.0 and later
  1025. */
  1026. EXTERN_API( void ) LMSetBufTgFNum(SInt32 value) TWOWORDINLINE(0x21DF, 0x02FC);
  1027. /*
  1028. * LMGetBufTgFFlg()
  1029. *
  1030. * Availability:
  1031. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1032. * CarbonLib: in CarbonLib 1.0 and later
  1033. * Mac OS X: in version 10.0 and later
  1034. */
  1035. EXTERN_API( SInt16 ) LMGetBufTgFFlg(void) TWOWORDINLINE(0x3EB8, 0x0300);
  1036. /*
  1037. * LMSetBufTgFFlg()
  1038. *
  1039. * Availability:
  1040. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1041. * CarbonLib: in CarbonLib 1.0 and later
  1042. * Mac OS X: in version 10.0 and later
  1043. */
  1044. EXTERN_API( void ) LMSetBufTgFFlg(SInt16 value) TWOWORDINLINE(0x31DF, 0x0300);
  1045. /*
  1046. * LMGetBufTgFBkNum()
  1047. *
  1048. * Availability:
  1049. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1050. * CarbonLib: in CarbonLib 1.0 and later
  1051. * Mac OS X: in version 10.0 and later
  1052. */
  1053. EXTERN_API( SInt16 ) LMGetBufTgFBkNum(void) TWOWORDINLINE(0x3EB8, 0x0302);
  1054. /*
  1055. * LMSetBufTgFBkNum()
  1056. *
  1057. * Availability:
  1058. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1059. * CarbonLib: in CarbonLib 1.0 and later
  1060. * Mac OS X: in version 10.0 and later
  1061. */
  1062. EXTERN_API( void ) LMSetBufTgFBkNum(SInt16 value) TWOWORDINLINE(0x31DF, 0x0302);
  1063. /*
  1064. * LMGetBufTgDate()
  1065. *
  1066. * Availability:
  1067. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1068. * CarbonLib: in CarbonLib 1.0 and later
  1069. * Mac OS X: in version 10.0 and later
  1070. */
  1071. EXTERN_API( SInt32 ) LMGetBufTgDate(void) TWOWORDINLINE(0x2EB8, 0x0304);
  1072. /*
  1073. * LMSetBufTgDate()
  1074. *
  1075. * Availability:
  1076. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1077. * CarbonLib: in CarbonLib 1.0 and later
  1078. * Mac OS X: in version 10.0 and later
  1079. */
  1080. EXTERN_API( void ) LMSetBufTgDate(SInt32 value) TWOWORDINLINE(0x21DF, 0x0304);
  1081. #if CALL_NOT_IN_CARBON
  1082. /*
  1083. * LMGetLo3Bytes()
  1084. *
  1085. * Availability:
  1086. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1087. * CarbonLib: not available
  1088. * Mac OS X: not available
  1089. */
  1090. EXTERN_API( SInt32 ) LMGetLo3Bytes(void) TWOWORDINLINE(0x2EB8, 0x031A);
  1091. /*
  1092. * LMSetLo3Bytes()
  1093. *
  1094. * Availability:
  1095. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1096. * CarbonLib: not available
  1097. * Mac OS X: not available
  1098. */
  1099. EXTERN_API( void ) LMSetLo3Bytes(SInt32 value) TWOWORDINLINE(0x21DF, 0x031A);
  1100. #endif /* CALL_NOT_IN_CARBON */
  1101. /*
  1102. * LMGetMinStack()
  1103. *
  1104. * Availability:
  1105. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1106. * CarbonLib: in CarbonLib 1.0 and later
  1107. * Mac OS X: in version 10.0 and later
  1108. */
  1109. EXTERN_API( SInt32 ) LMGetMinStack(void) TWOWORDINLINE(0x2EB8, 0x031E);
  1110. /*
  1111. * LMSetMinStack()
  1112. *
  1113. * Availability:
  1114. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1115. * CarbonLib: in CarbonLib 1.0 and later
  1116. * Mac OS X: in version 10.0 and later
  1117. */
  1118. EXTERN_API( void ) LMSetMinStack(SInt32 value) TWOWORDINLINE(0x21DF, 0x031E);
  1119. /*
  1120. * LMGetDefltStack()
  1121. *
  1122. * Availability:
  1123. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1124. * CarbonLib: in CarbonLib 1.0 and later
  1125. * Mac OS X: in version 10.0 and later
  1126. */
  1127. EXTERN_API( SInt32 ) LMGetDefltStack(void) TWOWORDINLINE(0x2EB8, 0x0322);
  1128. /*
  1129. * LMSetDefltStack()
  1130. *
  1131. * Availability:
  1132. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1133. * CarbonLib: in CarbonLib 1.0 and later
  1134. * Mac OS X: in version 10.0 and later
  1135. */
  1136. EXTERN_API( void ) LMSetDefltStack(SInt32 value) TWOWORDINLINE(0x21DF, 0x0322);
  1137. /*
  1138. * LMGetGZRootHnd()
  1139. *
  1140. * Availability:
  1141. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1142. * CarbonLib: in CarbonLib 1.0 and later
  1143. * Mac OS X: in version 10.0 and later
  1144. */
  1145. EXTERN_API( Handle ) LMGetGZRootHnd(void) TWOWORDINLINE(0x2EB8, 0x0328);
  1146. /*
  1147. * LMSetGZRootHnd()
  1148. *
  1149. * Availability:
  1150. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1151. * CarbonLib: in CarbonLib 1.0 and later
  1152. * Mac OS X: in version 10.0 and later
  1153. */
  1154. EXTERN_API( void ) LMSetGZRootHnd(Handle value) TWOWORDINLINE(0x21DF, 0x0328);
  1155. /*
  1156. * LMGetGZMoveHnd()
  1157. *
  1158. * Availability:
  1159. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1160. * CarbonLib: in CarbonLib 1.0 and later
  1161. * Mac OS X: in version 10.0 and later
  1162. */
  1163. EXTERN_API( Handle ) LMGetGZMoveHnd(void) TWOWORDINLINE(0x2EB8, 0x0330);
  1164. /*
  1165. * LMSetGZMoveHnd()
  1166. *
  1167. * Availability:
  1168. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1169. * CarbonLib: in CarbonLib 1.0 and later
  1170. * Mac OS X: in version 10.0 and later
  1171. */
  1172. EXTERN_API( void ) LMSetGZMoveHnd(Handle value) TWOWORDINLINE(0x21DF, 0x0330);
  1173. /*
  1174. LMGetFCBSPtr, LMSetFCBSPtr and LMSetFSFCBLen are not supported with Mac OS 9
  1175. and later. Access to information in File Control Blocks or Fork Control Blocks
  1176. (FCBs) should, if at all possible, be made with the GetFCBInfo or GetForkCBInfo
  1177. routines. See the Technote "FCBs, Now and Forever" or the Technical Q&A
  1178. "Accessing File Control Blocks" for complete information on this subject.
  1179. Direct access to FCBs is not allowed by Carbon. Non-Carbon programs that
  1180. require direct access to FCBs should use the File System Manager (FSM) FCB accessor
  1181. functions if FSM is available (use the Gestalt selector gestaltFSAttr to determine
  1182. this). Non-Carbon programs needing direct access to FCBs when FSM is not available
  1183. can define ENABLE_FCB_ARRAY_ACCESS to be true when compiling.
  1184. */
  1185. #ifndef ENABLE_FCB_ARRAY_ACCESS
  1186. #define ENABLE_FCB_ARRAY_ACCESS 0
  1187. #endif /* !defined(ENABLE_FCB_ARRAY_ACCESS) */
  1188. #if ENABLE_FCB_ARRAY_ACCESS
  1189. #if CALL_NOT_IN_CARBON
  1190. /*
  1191. * LMGetFCBSPtr()
  1192. *
  1193. * Availability:
  1194. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1195. * CarbonLib: not available
  1196. * Mac OS X: not available
  1197. */
  1198. EXTERN_API( Ptr ) LMGetFCBSPtr(void) TWOWORDINLINE(0x2EB8, 0x034E);
  1199. /*
  1200. * LMSetFCBSPtr()
  1201. *
  1202. * Availability:
  1203. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1204. * CarbonLib: not available
  1205. * Mac OS X: not available
  1206. */
  1207. EXTERN_API( void ) LMSetFCBSPtr(Ptr value) TWOWORDINLINE(0x21DF, 0x034E);
  1208. /*
  1209. * LMSetFSFCBLen()
  1210. *
  1211. * Availability:
  1212. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1213. * CarbonLib: not available
  1214. * Mac OS X: not available
  1215. */
  1216. EXTERN_API( void ) LMSetFSFCBLen(SInt16 value) TWOWORDINLINE(0x31DF, 0x03F6);
  1217. #endif /* CALL_NOT_IN_CARBON */
  1218. #endif /* ENABLE_FCB_ARRAY_ACCESS */
  1219. /*
  1220. LMGetFSFCBLen is supported only for the purpose of determining that the HFS
  1221. file system is available as documented in developer Technotes (the HFS file system
  1222. is available in System 3.2 and later). There is no documented use of FSFCBLen
  1223. other than testing it for a positive value.
  1224. */
  1225. #if CALL_NOT_IN_CARBON
  1226. /*
  1227. * LMGetFSFCBLen()
  1228. *
  1229. * Availability:
  1230. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1231. * CarbonLib: not available
  1232. * Mac OS X: not available
  1233. */
  1234. EXTERN_API( SInt16 ) LMGetFSFCBLen(void) TWOWORDINLINE(0x3EB8, 0x03F6);
  1235. /*
  1236. * LMGetDefVCBPtr()
  1237. *
  1238. * Availability:
  1239. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1240. * CarbonLib: not available
  1241. * Mac OS X: not available
  1242. */
  1243. EXTERN_API( Ptr ) LMGetDefVCBPtr(void) TWOWORDINLINE(0x2EB8, 0x0352);
  1244. /*
  1245. * LMSetDefVCBPtr()
  1246. *
  1247. * Availability:
  1248. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1249. * CarbonLib: not available
  1250. * Mac OS X: not available
  1251. */
  1252. EXTERN_API( void ) LMSetDefVCBPtr(Ptr value) TWOWORDINLINE(0x21DF, 0x0352);
  1253. /*
  1254. * LMGetCurDirStore()
  1255. *
  1256. * Availability:
  1257. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1258. * CarbonLib: not available
  1259. * Mac OS X: not available
  1260. */
  1261. EXTERN_API( SInt32 ) LMGetCurDirStore(void) TWOWORDINLINE(0x2EB8, 0x0398);
  1262. /*
  1263. * LMSetCurDirStore()
  1264. *
  1265. * Availability:
  1266. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1267. * CarbonLib: not available
  1268. * Mac OS X: not available
  1269. */
  1270. EXTERN_API( void ) LMSetCurDirStore(SInt32 value) TWOWORDINLINE(0x21DF, 0x0398);
  1271. #endif /* CALL_NOT_IN_CARBON */
  1272. /*
  1273. * LMGetToExtFS()
  1274. *
  1275. * Availability:
  1276. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1277. * CarbonLib: in CarbonLib 1.0 and later
  1278. * Mac OS X: in version 10.0 and later
  1279. */
  1280. EXTERN_API( UniversalProcPtr ) LMGetToExtFS(void) TWOWORDINLINE(0x2EB8, 0x03F2);
  1281. /*
  1282. * LMSetToExtFS()
  1283. *
  1284. * Availability:
  1285. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1286. * CarbonLib: in CarbonLib 1.0 and later
  1287. * Mac OS X: in version 10.0 and later
  1288. */
  1289. EXTERN_API( void ) LMSetToExtFS(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x03F2);
  1290. #if CALL_NOT_IN_CARBON
  1291. /*
  1292. * LMGetScrnBase()
  1293. *
  1294. * Availability:
  1295. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1296. * CarbonLib: not available
  1297. * Mac OS X: not available
  1298. */
  1299. EXTERN_API( Ptr ) LMGetScrnBase(void) TWOWORDINLINE(0x2EB8, 0x0824);
  1300. /*
  1301. * LMSetScrnBase()
  1302. *
  1303. * Availability:
  1304. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1305. * CarbonLib: not available
  1306. * Mac OS X: not available
  1307. */
  1308. EXTERN_API( void ) LMSetScrnBase(Ptr value) TWOWORDINLINE(0x21DF, 0x0824);
  1309. /*
  1310. * LMGetCrsrBusy()
  1311. *
  1312. * Availability:
  1313. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1314. * CarbonLib: not available
  1315. * Mac OS X: not available
  1316. */
  1317. EXTERN_API( UInt8 ) LMGetCrsrBusy(void) TWOWORDINLINE(0x1EB8, 0x08CD);
  1318. /*
  1319. * LMSetCrsrBusy()
  1320. *
  1321. * Availability:
  1322. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1323. * CarbonLib: not available
  1324. * Mac OS X: not available
  1325. */
  1326. EXTERN_API( void ) LMSetCrsrBusy(UInt8 value) TWOWORDINLINE(0x11DF, 0x08CD);
  1327. /*
  1328. * LMGetJournalRef()
  1329. *
  1330. * Availability:
  1331. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1332. * CarbonLib: not available
  1333. * Mac OS X: not available
  1334. */
  1335. EXTERN_API( SInt16 ) LMGetJournalRef(void) TWOWORDINLINE(0x3EB8, 0x08E8);
  1336. /*
  1337. * LMSetJournalRef()
  1338. *
  1339. * Availability:
  1340. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1341. * CarbonLib: not available
  1342. * Mac OS X: not available
  1343. */
  1344. EXTERN_API( void ) LMSetJournalRef(SInt16 value) TWOWORDINLINE(0x31DF, 0x08E8);
  1345. /*
  1346. * LMGetCrsrThresh()
  1347. *
  1348. * Availability:
  1349. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1350. * CarbonLib: not available
  1351. * Mac OS X: not available
  1352. */
  1353. EXTERN_API( SInt16 ) LMGetCrsrThresh(void) TWOWORDINLINE(0x3EB8, 0x08EC);
  1354. /*
  1355. * LMSetCrsrThresh()
  1356. *
  1357. * Availability:
  1358. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1359. * CarbonLib: not available
  1360. * Mac OS X: not available
  1361. */
  1362. EXTERN_API( void ) LMSetCrsrThresh(SInt16 value) TWOWORDINLINE(0x31DF, 0x08EC);
  1363. /*
  1364. * LMGetJFetch()
  1365. *
  1366. * Availability:
  1367. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1368. * CarbonLib: not available
  1369. * Mac OS X: not available
  1370. */
  1371. EXTERN_API( UniversalProcPtr ) LMGetJFetch(void) TWOWORDINLINE(0x2EB8, 0x08F4);
  1372. /*
  1373. * LMSetJFetch()
  1374. *
  1375. * Availability:
  1376. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1377. * CarbonLib: not available
  1378. * Mac OS X: not available
  1379. */
  1380. EXTERN_API( void ) LMSetJFetch(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x08F4);
  1381. #endif /* CALL_NOT_IN_CARBON */
  1382. /*
  1383. * LMGetJStash()
  1384. *
  1385. * Availability:
  1386. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1387. * CarbonLib: in CarbonLib 1.0 and later
  1388. * Mac OS X: in version 10.0 and later
  1389. */
  1390. EXTERN_API( UniversalProcPtr ) LMGetJStash(void) TWOWORDINLINE(0x2EB8, 0x08F8);
  1391. /*
  1392. * LMSetJStash()
  1393. *
  1394. * Availability:
  1395. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1396. * CarbonLib: in CarbonLib 1.0 and later
  1397. * Mac OS X: in version 10.0 and later
  1398. */
  1399. EXTERN_API( void ) LMSetJStash(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x08F8);
  1400. #if CALL_NOT_IN_CARBON
  1401. /*
  1402. * LMGetJIODone()
  1403. *
  1404. * Availability:
  1405. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1406. * CarbonLib: not available
  1407. * Mac OS X: not available
  1408. */
  1409. EXTERN_API( UniversalProcPtr ) LMGetJIODone(void) TWOWORDINLINE(0x2EB8, 0x08FC);
  1410. /*
  1411. * LMSetJIODone()
  1412. *
  1413. * Availability:
  1414. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1415. * CarbonLib: not available
  1416. * Mac OS X: not available
  1417. */
  1418. EXTERN_API( void ) LMSetJIODone(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x08FC);
  1419. #endif /* CALL_NOT_IN_CARBON */
  1420. /*
  1421. * LMGetCurApRefNum()
  1422. *
  1423. * Availability:
  1424. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1425. * CarbonLib: in CarbonLib 1.0 and later
  1426. * Mac OS X: in version 10.0 and later
  1427. */
  1428. EXTERN_API( SInt16 ) LMGetCurApRefNum(void) TWOWORDINLINE(0x3EB8, 0x0900);
  1429. /*
  1430. * LMSetCurApRefNum()
  1431. *
  1432. * Availability:
  1433. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1434. * CarbonLib: in CarbonLib 1.0 and later
  1435. * Mac OS X: in version 10.0 and later
  1436. */
  1437. EXTERN_API( void ) LMSetCurApRefNum(SInt16 value) TWOWORDINLINE(0x31DF, 0x0900);
  1438. #if CALL_NOT_IN_CARBON
  1439. /*
  1440. * LMGetCurrentA5()
  1441. *
  1442. * Availability:
  1443. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1444. * CarbonLib: not available
  1445. * Mac OS X: not available
  1446. */
  1447. EXTERN_API( Ptr ) LMGetCurrentA5(void) TWOWORDINLINE(0x2EB8, 0x0904);
  1448. /*
  1449. * LMSetCurrentA5()
  1450. *
  1451. * Availability:
  1452. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1453. * CarbonLib: not available
  1454. * Mac OS X: not available
  1455. */
  1456. EXTERN_API( void ) LMSetCurrentA5(Ptr value) TWOWORDINLINE(0x21DF, 0x0904);
  1457. #endif /* CALL_NOT_IN_CARBON */
  1458. /*
  1459. * LMGetCurStackBase()
  1460. *
  1461. * Availability:
  1462. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1463. * CarbonLib: in CarbonLib 1.0 and later
  1464. * Mac OS X: in version 10.0 and later
  1465. */
  1466. EXTERN_API( Ptr ) LMGetCurStackBase(void) TWOWORDINLINE(0x2EB8, 0x0908);
  1467. /*
  1468. * LMSetCurStackBase()
  1469. *
  1470. * Availability:
  1471. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1472. * CarbonLib: in CarbonLib 1.0 and later
  1473. * Mac OS X: in version 10.0 and later
  1474. */
  1475. EXTERN_API( void ) LMSetCurStackBase(Ptr value) TWOWORDINLINE(0x21DF, 0x0908);
  1476. #if CALL_NOT_IN_CARBON
  1477. /*
  1478. * LMGetCurJTOffset()
  1479. *
  1480. * Availability:
  1481. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1482. * CarbonLib: not available
  1483. * Mac OS X: not available
  1484. */
  1485. EXTERN_API( SInt16 ) LMGetCurJTOffset(void) TWOWORDINLINE(0x3EB8, 0x0934);
  1486. /*
  1487. * LMSetCurJTOffset()
  1488. *
  1489. * Availability:
  1490. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1491. * CarbonLib: not available
  1492. * Mac OS X: not available
  1493. */
  1494. EXTERN_API( void ) LMSetCurJTOffset(SInt16 value) TWOWORDINLINE(0x31DF, 0x0934);
  1495. #endif /* CALL_NOT_IN_CARBON */
  1496. /*
  1497. * LMGetCurPageOption()
  1498. *
  1499. * Availability:
  1500. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1501. * CarbonLib: in CarbonLib 1.0 and later
  1502. * Mac OS X: in version 10.0 and later
  1503. */
  1504. EXTERN_API( SInt16 ) LMGetCurPageOption(void) TWOWORDINLINE(0x3EB8, 0x0936);
  1505. /*
  1506. * LMSetCurPageOption()
  1507. *
  1508. * Availability:
  1509. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1510. * CarbonLib: in CarbonLib 1.0 and later
  1511. * Mac OS X: in version 10.0 and later
  1512. */
  1513. EXTERN_API( void ) LMSetCurPageOption(SInt16 value) TWOWORDINLINE(0x31DF, 0x0936);
  1514. /*
  1515. * LMGetPrintErr()
  1516. *
  1517. * Availability:
  1518. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1519. * CarbonLib: in CarbonLib 1.0 and later
  1520. * Mac OS X: in version 10.0 and later
  1521. */
  1522. EXTERN_API( SInt16 ) LMGetPrintErr(void) TWOWORDINLINE(0x3EB8, 0x0944);
  1523. /*
  1524. * LMSetPrintErr()
  1525. *
  1526. * Availability:
  1527. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1528. * CarbonLib: in CarbonLib 1.0 and later
  1529. * Mac OS X: in version 10.0 and later
  1530. */
  1531. EXTERN_API( void ) LMSetPrintErr(SInt16 value) TWOWORDINLINE(0x31DF, 0x0944);
  1532. /* Carbon Scrap Manager does not support low memory.*/
  1533. #if CALL_NOT_IN_CARBON
  1534. /*
  1535. * LMGetScrapSize()
  1536. *
  1537. * Availability:
  1538. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1539. * CarbonLib: not available
  1540. * Mac OS X: not available
  1541. */
  1542. EXTERN_API( SInt32 ) LMGetScrapSize(void) TWOWORDINLINE(0x2EB8, 0x0960);
  1543. /*
  1544. * LMSetScrapSize()
  1545. *
  1546. * Availability:
  1547. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1548. * CarbonLib: not available
  1549. * Mac OS X: not available
  1550. */
  1551. EXTERN_API( void ) LMSetScrapSize(SInt32 value) TWOWORDINLINE(0x21DF, 0x0960);
  1552. /*
  1553. * LMGetScrapHandle()
  1554. *
  1555. * Availability:
  1556. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1557. * CarbonLib: not available
  1558. * Mac OS X: not available
  1559. */
  1560. EXTERN_API( Handle ) LMGetScrapHandle(void) TWOWORDINLINE(0x2EB8, 0x0964);
  1561. /*
  1562. * LMSetScrapHandle()
  1563. *
  1564. * Availability:
  1565. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1566. * CarbonLib: not available
  1567. * Mac OS X: not available
  1568. */
  1569. EXTERN_API( void ) LMSetScrapHandle(Handle value) TWOWORDINLINE(0x21DF, 0x0964);
  1570. /*
  1571. * LMGetScrapCount()
  1572. *
  1573. * Availability:
  1574. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1575. * CarbonLib: not available
  1576. * Mac OS X: not available
  1577. */
  1578. EXTERN_API( SInt16 ) LMGetScrapCount(void) TWOWORDINLINE(0x3EB8, 0x0968);
  1579. /*
  1580. * LMSetScrapCount()
  1581. *
  1582. * Availability:
  1583. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1584. * CarbonLib: not available
  1585. * Mac OS X: not available
  1586. */
  1587. EXTERN_API( void ) LMSetScrapCount(SInt16 value) TWOWORDINLINE(0x31DF, 0x0968);
  1588. /*
  1589. * LMGetScrapState()
  1590. *
  1591. * Availability:
  1592. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1593. * CarbonLib: not available
  1594. * Mac OS X: not available
  1595. */
  1596. EXTERN_API( SInt16 ) LMGetScrapState(void) TWOWORDINLINE(0x3EB8, 0x096A);
  1597. /*
  1598. * LMSetScrapState()
  1599. *
  1600. * Availability:
  1601. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1602. * CarbonLib: not available
  1603. * Mac OS X: not available
  1604. */
  1605. EXTERN_API( void ) LMSetScrapState(SInt16 value) TWOWORDINLINE(0x31DF, 0x096A);
  1606. /*
  1607. * LMGetScrapName()
  1608. *
  1609. * Availability:
  1610. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1611. * CarbonLib: not available
  1612. * Mac OS X: not available
  1613. */
  1614. EXTERN_API( StringPtr ) LMGetScrapName(void) TWOWORDINLINE(0x2EB8, 0x096C);
  1615. /*
  1616. * LMSetScrapName()
  1617. *
  1618. * Availability:
  1619. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1620. * CarbonLib: not available
  1621. * Mac OS X: not available
  1622. */
  1623. EXTERN_API( void ) LMSetScrapName(StringPtr value) TWOWORDINLINE(0x21DF, 0x096C);
  1624. /*
  1625. * LMGetROMFont0()
  1626. *
  1627. * Availability:
  1628. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1629. * CarbonLib: not available
  1630. * Mac OS X: not available
  1631. */
  1632. EXTERN_API( Handle ) LMGetROMFont0(void) TWOWORDINLINE(0x2EB8, 0x0980);
  1633. /*
  1634. * LMSetROMFont0()
  1635. *
  1636. * Availability:
  1637. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1638. * CarbonLib: not available
  1639. * Mac OS X: not available
  1640. */
  1641. EXTERN_API( void ) LMSetROMFont0(Handle value) TWOWORDINLINE(0x21DF, 0x0980);
  1642. #endif /* CALL_NOT_IN_CARBON */
  1643. /*
  1644. * LMGetApFontID()
  1645. *
  1646. * Availability:
  1647. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1648. * CarbonLib: in CarbonLib 1.0 and later
  1649. * Mac OS X: in version 10.0 and later
  1650. */
  1651. EXTERN_API( SInt16 ) LMGetApFontID(void) TWOWORDINLINE(0x3EB8, 0x0984);
  1652. /*
  1653. * LMSetApFontID()
  1654. *
  1655. * Availability:
  1656. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1657. * CarbonLib: in CarbonLib 1.0 and later
  1658. * Mac OS X: in version 10.0 and later
  1659. */
  1660. EXTERN_API( void ) LMSetApFontID(SInt16 value) TWOWORDINLINE(0x31DF, 0x0984);
  1661. /* Carbon versions of the Window Manager do not support LowMem. */
  1662. /* Carbon Usage: use GetWindowList*/
  1663. #if CALL_NOT_IN_CARBON
  1664. /*
  1665. * LMGetWindowList()
  1666. *
  1667. * Availability:
  1668. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1669. * CarbonLib: not available
  1670. * Mac OS X: not available
  1671. */
  1672. EXTERN_API( WindowRef ) LMGetWindowList(void) TWOWORDINLINE(0x2EB8, 0x09D6);
  1673. /*
  1674. * LMGetSaveUpdate()
  1675. *
  1676. * Availability:
  1677. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1678. * CarbonLib: not available
  1679. * Mac OS X: not available
  1680. */
  1681. EXTERN_API( SInt16 ) LMGetSaveUpdate(void) TWOWORDINLINE(0x3EB8, 0x09DA);
  1682. /*
  1683. * LMSetSaveUpdate()
  1684. *
  1685. * Availability:
  1686. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1687. * CarbonLib: not available
  1688. * Mac OS X: not available
  1689. */
  1690. EXTERN_API( void ) LMSetSaveUpdate(SInt16 value) TWOWORDINLINE(0x31DF, 0x09DA);
  1691. /*
  1692. * LMGetPaintWhite()
  1693. *
  1694. * Availability:
  1695. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1696. * CarbonLib: not available
  1697. * Mac OS X: not available
  1698. */
  1699. EXTERN_API( SInt16 ) LMGetPaintWhite(void) TWOWORDINLINE(0x3EB8, 0x09DC);
  1700. /* Carbon Usage : use InstallWindowContentPaintProc*/
  1701. /*
  1702. * LMSetPaintWhite()
  1703. *
  1704. * Availability:
  1705. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1706. * CarbonLib: not available
  1707. * Mac OS X: not available
  1708. */
  1709. EXTERN_API( void ) LMSetPaintWhite(SInt16 value) TWOWORDINLINE(0x31DF, 0x09DC);
  1710. /*
  1711. * LMGetWMgrPort()
  1712. *
  1713. * Availability:
  1714. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1715. * CarbonLib: not available
  1716. * Mac OS X: not available
  1717. */
  1718. EXTERN_API( GrafPtr ) LMGetWMgrPort(void) TWOWORDINLINE(0x2EB8, 0x09DE);
  1719. /*
  1720. * LMSetWMgrPort()
  1721. *
  1722. * Availability:
  1723. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1724. * CarbonLib: not available
  1725. * Mac OS X: not available
  1726. */
  1727. EXTERN_API( void ) LMSetWMgrPort(GrafPtr value) TWOWORDINLINE(0x21DF, 0x09DE);
  1728. /* Carbon Usage: use GetGrayRgn*/
  1729. /*
  1730. * LMGetGrayRgn()
  1731. *
  1732. * Availability:
  1733. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1734. * CarbonLib: not available
  1735. * Mac OS X: not available
  1736. */
  1737. EXTERN_API( RgnHandle ) LMGetGrayRgn(void) TWOWORDINLINE(0x2EB8, 0x09EE);
  1738. /*
  1739. * LMGetDragHook()
  1740. *
  1741. * Availability:
  1742. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1743. * CarbonLib: not available
  1744. * Mac OS X: not available
  1745. */
  1746. EXTERN_API( DragGrayRgnUPP ) LMGetDragHook(void) TWOWORDINLINE(0x2EB8, 0x09F6);
  1747. /*
  1748. * LMSetDragHook()
  1749. *
  1750. * Availability:
  1751. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1752. * CarbonLib: not available
  1753. * Mac OS X: not available
  1754. */
  1755. EXTERN_API( void ) LMSetDragHook(DragGrayRgnUPP value) TWOWORDINLINE(0x21DF, 0x09F6);
  1756. /*
  1757. * LMSetWindowList()
  1758. *
  1759. * Availability:
  1760. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1761. * CarbonLib: not available
  1762. * Mac OS X: not available
  1763. */
  1764. EXTERN_API( void ) LMSetWindowList(WindowRef value) TWOWORDINLINE(0x21DF, 0x09D6);
  1765. /*
  1766. * LMGetGhostWindow()
  1767. *
  1768. * Availability:
  1769. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1770. * CarbonLib: not available
  1771. * Mac OS X: not available
  1772. */
  1773. EXTERN_API( WindowRef ) LMGetGhostWindow(void) TWOWORDINLINE(0x2EB8, 0x0A84);
  1774. /*
  1775. * LMSetGhostWindow()
  1776. *
  1777. * Availability:
  1778. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1779. * CarbonLib: not available
  1780. * Mac OS X: not available
  1781. */
  1782. EXTERN_API( void ) LMSetGhostWindow(WindowRef value) TWOWORDINLINE(0x21DF, 0x0A84);
  1783. #endif /* CALL_NOT_IN_CARBON */
  1784. #if !OPAQUE_TOOLBOX_STRUCTS
  1785. #if CALL_NOT_IN_CARBON
  1786. /*
  1787. * LMGetAuxWinHead()
  1788. *
  1789. * Availability:
  1790. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1791. * CarbonLib: not available
  1792. * Mac OS X: not available
  1793. */
  1794. EXTERN_API( AuxWinHandle ) LMGetAuxWinHead(void) TWOWORDINLINE(0x2EB8, 0x0CD0);
  1795. /*
  1796. * LMSetAuxWinHead()
  1797. *
  1798. * Availability:
  1799. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1800. * CarbonLib: not available
  1801. * Mac OS X: not available
  1802. */
  1803. EXTERN_API( void ) LMSetAuxWinHead(AuxWinHandle value) TWOWORDINLINE(0x21DF, 0x0CD0);
  1804. #endif /* CALL_NOT_IN_CARBON */
  1805. #endif /* !OPAQUE_TOOLBOX_STRUCTS */
  1806. #if CALL_NOT_IN_CARBON
  1807. /*
  1808. * LMGetCurActivate()
  1809. *
  1810. * Availability:
  1811. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1812. * CarbonLib: not available
  1813. * Mac OS X: not available
  1814. */
  1815. EXTERN_API( WindowRef ) LMGetCurActivate(void) TWOWORDINLINE(0x2EB8, 0x0A64);
  1816. /*
  1817. * LMSetCurActivate()
  1818. *
  1819. * Availability:
  1820. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1821. * CarbonLib: not available
  1822. * Mac OS X: not available
  1823. */
  1824. EXTERN_API( void ) LMSetCurActivate(WindowRef value) TWOWORDINLINE(0x21DF, 0x0A64);
  1825. /*
  1826. * LMGetCurDeactive()
  1827. *
  1828. * Availability:
  1829. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1830. * CarbonLib: not available
  1831. * Mac OS X: not available
  1832. */
  1833. EXTERN_API( WindowRef ) LMGetCurDeactive(void) TWOWORDINLINE(0x2EB8, 0x0A68);
  1834. /*
  1835. * LMSetCurDeactive()
  1836. *
  1837. * Availability:
  1838. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1839. * CarbonLib: not available
  1840. * Mac OS X: not available
  1841. */
  1842. EXTERN_API( void ) LMSetCurDeactive(WindowRef value) TWOWORDINLINE(0x21DF, 0x0A68);
  1843. /*
  1844. * LMGetOldStructure()
  1845. *
  1846. * Availability:
  1847. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1848. * CarbonLib: not available
  1849. * Mac OS X: not available
  1850. */
  1851. EXTERN_API( RgnHandle ) LMGetOldStructure(void) TWOWORDINLINE(0x2EB8, 0x09E6);
  1852. /*
  1853. * LMSetOldStructure()
  1854. *
  1855. * Availability:
  1856. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1857. * CarbonLib: not available
  1858. * Mac OS X: not available
  1859. */
  1860. EXTERN_API( void ) LMSetOldStructure(RgnHandle value) TWOWORDINLINE(0x21DF, 0x09E6);
  1861. /*
  1862. * LMGetOldContent()
  1863. *
  1864. * Availability:
  1865. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1866. * CarbonLib: not available
  1867. * Mac OS X: not available
  1868. */
  1869. EXTERN_API( RgnHandle ) LMGetOldContent(void) TWOWORDINLINE(0x2EB8, 0x09EA);
  1870. /*
  1871. * LMSetOldContent()
  1872. *
  1873. * Availability:
  1874. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1875. * CarbonLib: not available
  1876. * Mac OS X: not available
  1877. */
  1878. EXTERN_API( void ) LMSetOldContent(RgnHandle value) TWOWORDINLINE(0x21DF, 0x09EA);
  1879. /*
  1880. * LMSetGrayRgn()
  1881. *
  1882. * Availability:
  1883. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1884. * CarbonLib: not available
  1885. * Mac OS X: not available
  1886. */
  1887. EXTERN_API( void ) LMSetGrayRgn(RgnHandle value) TWOWORDINLINE(0x21DF, 0x09EE);
  1888. /*
  1889. * LMGetSaveVisRgn()
  1890. *
  1891. * Availability:
  1892. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1893. * CarbonLib: not available
  1894. * Mac OS X: not available
  1895. */
  1896. EXTERN_API( RgnHandle ) LMGetSaveVisRgn(void) TWOWORDINLINE(0x2EB8, 0x09F2);
  1897. /*
  1898. * LMSetSaveVisRgn()
  1899. *
  1900. * Availability:
  1901. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1902. * CarbonLib: not available
  1903. * Mac OS X: not available
  1904. */
  1905. EXTERN_API( void ) LMSetSaveVisRgn(RgnHandle value) TWOWORDINLINE(0x21DF, 0x09F2);
  1906. #endif /* CALL_NOT_IN_CARBON */
  1907. /*
  1908. * LMGetOneOne()
  1909. *
  1910. * Availability:
  1911. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1912. * CarbonLib: in CarbonLib 1.0 and later
  1913. * Mac OS X: in version 10.0 and later
  1914. */
  1915. EXTERN_API( SInt32 ) LMGetOneOne(void) TWOWORDINLINE(0x2EB8, 0x0A02);
  1916. /*
  1917. * LMSetOneOne()
  1918. *
  1919. * Availability:
  1920. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1921. * CarbonLib: in CarbonLib 1.0 and later
  1922. * Mac OS X: in version 10.0 and later
  1923. */
  1924. EXTERN_API( void ) LMSetOneOne(SInt32 value) TWOWORDINLINE(0x21DF, 0x0A02);
  1925. /*
  1926. * LMGetMinusOne()
  1927. *
  1928. * Availability:
  1929. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1930. * CarbonLib: in CarbonLib 1.0 and later
  1931. * Mac OS X: in version 10.0 and later
  1932. */
  1933. EXTERN_API( SInt32 ) LMGetMinusOne(void) TWOWORDINLINE(0x2EB8, 0x0A06);
  1934. /*
  1935. * LMSetMinusOne()
  1936. *
  1937. * Availability:
  1938. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1939. * CarbonLib: in CarbonLib 1.0 and later
  1940. * Mac OS X: in version 10.0 and later
  1941. */
  1942. EXTERN_API( void ) LMSetMinusOne(SInt32 value) TWOWORDINLINE(0x21DF, 0x0A06);
  1943. /* Carbon Usage: use GetMenuTrackingData*/
  1944. #if CALL_NOT_IN_CARBON
  1945. /*
  1946. * LMGetTopMenuItem()
  1947. *
  1948. * Availability:
  1949. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1950. * CarbonLib: not available
  1951. * Mac OS X: not available
  1952. */
  1953. EXTERN_API( SInt16 ) LMGetTopMenuItem(void) TWOWORDINLINE(0x3EB8, 0x0A0A);
  1954. /* Carbon Usage: replaced by MDEF messages and GetMenuTrackingData API*/
  1955. /*
  1956. * LMSetTopMenuItem()
  1957. *
  1958. * Availability:
  1959. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1960. * CarbonLib: not available
  1961. * Mac OS X: not available
  1962. */
  1963. EXTERN_API( void ) LMSetTopMenuItem(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A0A);
  1964. /* Carbon Usage: use GetMenuTrackingData*/
  1965. /*
  1966. * LMGetAtMenuBottom()
  1967. *
  1968. * Availability:
  1969. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1970. * CarbonLib: not available
  1971. * Mac OS X: not available
  1972. */
  1973. EXTERN_API( SInt16 ) LMGetAtMenuBottom(void) TWOWORDINLINE(0x3EB8, 0x0A0C);
  1974. /* Carbon Usage: replaced by MDEF messages and GetMenuTrackingData API*/
  1975. /*
  1976. * LMSetAtMenuBottom()
  1977. *
  1978. * Availability:
  1979. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1980. * CarbonLib: not available
  1981. * Mac OS X: not available
  1982. */
  1983. EXTERN_API( void ) LMSetAtMenuBottom(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A0C);
  1984. /*
  1985. Carbon usage: use GetMenuBar (which returns a newly allocated handle in
  1986. the same format as that returned by LMGetMenuList; dispose with DisposeMenuBar)
  1987. or GetRootMenu.
  1988. */
  1989. /*
  1990. * LMGetMenuList()
  1991. *
  1992. * Availability:
  1993. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  1994. * CarbonLib: not available
  1995. * Mac OS X: not available
  1996. */
  1997. EXTERN_API( Handle ) LMGetMenuList(void) TWOWORDINLINE(0x2EB8, 0x0A1C);
  1998. /*
  1999. * LMSetMenuList()
  2000. *
  2001. * Availability:
  2002. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2003. * CarbonLib: not available
  2004. * Mac OS X: not available
  2005. */
  2006. EXTERN_API( void ) LMSetMenuList(Handle value) TWOWORDINLINE(0x21DF, 0x0A1C);
  2007. /* Carbon usage: no replacement*/
  2008. /*
  2009. * LMGetMBarEnable()
  2010. *
  2011. * Availability:
  2012. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2013. * CarbonLib: not available
  2014. * Mac OS X: not available
  2015. */
  2016. EXTERN_API( SInt16 ) LMGetMBarEnable(void) TWOWORDINLINE(0x3EB8, 0x0A20);
  2017. /*
  2018. * LMSetMBarEnable()
  2019. *
  2020. * Availability:
  2021. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2022. * CarbonLib: not available
  2023. * Mac OS X: not available
  2024. */
  2025. EXTERN_API( void ) LMSetMBarEnable(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A20);
  2026. /* Carbon usage: no replacement*/
  2027. /*
  2028. * LMGetMenuFlash()
  2029. *
  2030. * Availability:
  2031. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2032. * CarbonLib: not available
  2033. * Mac OS X: not available
  2034. */
  2035. EXTERN_API( SInt16 ) LMGetMenuFlash(void) TWOWORDINLINE(0x3EB8, 0x0A24);
  2036. /*
  2037. * LMSetMenuFlash()
  2038. *
  2039. * Availability:
  2040. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2041. * CarbonLib: not available
  2042. * Mac OS X: not available
  2043. */
  2044. EXTERN_API( void ) LMSetMenuFlash(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A24);
  2045. /* LMGetTheMenu() moved to Menus.h */
  2046. /*
  2047. * LMSetTheMenu()
  2048. *
  2049. * Availability:
  2050. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2051. * CarbonLib: not available
  2052. * Mac OS X: not available
  2053. */
  2054. EXTERN_API( void ) LMSetTheMenu(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A26);
  2055. /*
  2056. * LMGetMBarHook()
  2057. *
  2058. * Availability:
  2059. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2060. * CarbonLib: not available
  2061. * Mac OS X: not available
  2062. */
  2063. EXTERN_API( MBarHookUPP ) LMGetMBarHook(void) TWOWORDINLINE(0x2EB8, 0x0A2C);
  2064. /*
  2065. * LMSetMBarHook()
  2066. *
  2067. * Availability:
  2068. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2069. * CarbonLib: not available
  2070. * Mac OS X: not available
  2071. */
  2072. EXTERN_API( void ) LMSetMBarHook(MBarHookUPP value) TWOWORDINLINE(0x21DF, 0x0A2C);
  2073. /*
  2074. * LMGetMenuHook()
  2075. *
  2076. * Availability:
  2077. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2078. * CarbonLib: not available
  2079. * Mac OS X: not available
  2080. */
  2081. EXTERN_API( MenuHookUPP ) LMGetMenuHook(void) TWOWORDINLINE(0x2EB8, 0x0A30);
  2082. /*
  2083. * LMSetMenuHook()
  2084. *
  2085. * Availability:
  2086. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2087. * CarbonLib: not available
  2088. * Mac OS X: not available
  2089. */
  2090. EXTERN_API( void ) LMSetMenuHook(MenuHookUPP value) TWOWORDINLINE(0x21DF, 0x0A30);
  2091. /*
  2092. * LMGetTopMapHndl()
  2093. *
  2094. * Availability:
  2095. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2096. * CarbonLib: not available
  2097. * Mac OS X: not available
  2098. */
  2099. EXTERN_API( Handle ) LMGetTopMapHndl(void) TWOWORDINLINE(0x2EB8, 0x0A50);
  2100. /*
  2101. * LMSetTopMapHndl()
  2102. *
  2103. * Availability:
  2104. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2105. * CarbonLib: not available
  2106. * Mac OS X: not available
  2107. */
  2108. EXTERN_API( void ) LMSetTopMapHndl(Handle value) TWOWORDINLINE(0x21DF, 0x0A50);
  2109. /*
  2110. * LMGetSysMapHndl()
  2111. *
  2112. * Availability:
  2113. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2114. * CarbonLib: not available
  2115. * Mac OS X: not available
  2116. */
  2117. EXTERN_API( Handle ) LMGetSysMapHndl(void) TWOWORDINLINE(0x2EB8, 0x0A54);
  2118. /*
  2119. * LMSetSysMapHndl()
  2120. *
  2121. * Availability:
  2122. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2123. * CarbonLib: not available
  2124. * Mac OS X: not available
  2125. */
  2126. EXTERN_API( void ) LMSetSysMapHndl(Handle value) TWOWORDINLINE(0x21DF, 0x0A54);
  2127. #endif /* CALL_NOT_IN_CARBON */
  2128. /*
  2129. * LMGetSysMap()
  2130. *
  2131. * Availability:
  2132. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2133. * CarbonLib: in CarbonLib 1.0 and later
  2134. * Mac OS X: in version 10.0 and later
  2135. */
  2136. EXTERN_API( SInt16 ) LMGetSysMap(void) TWOWORDINLINE(0x3EB8, 0x0A58);
  2137. /*
  2138. * LMSetSysMap()
  2139. *
  2140. * Availability:
  2141. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2142. * CarbonLib: in CarbonLib 1.0 and later
  2143. * Mac OS X: in version 10.0 and later
  2144. */
  2145. EXTERN_API( void ) LMSetSysMap(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A58);
  2146. #if CALL_NOT_IN_CARBON
  2147. /*
  2148. * LMGetCurMap()
  2149. *
  2150. * Availability:
  2151. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2152. * CarbonLib: not available
  2153. * Mac OS X: not available
  2154. */
  2155. EXTERN_API( SInt16 ) LMGetCurMap(void) TWOWORDINLINE(0x3EB8, 0x0A5A);
  2156. /*
  2157. * LMSetCurMap()
  2158. *
  2159. * Availability:
  2160. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2161. * CarbonLib: not available
  2162. * Mac OS X: not available
  2163. */
  2164. EXTERN_API( void ) LMSetCurMap(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A5A);
  2165. #endif /* CALL_NOT_IN_CARBON */
  2166. /*
  2167. * LMGetResLoad()
  2168. *
  2169. * Availability:
  2170. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2171. * CarbonLib: in CarbonLib 1.0 and later
  2172. * Mac OS X: in version 10.0 and later
  2173. */
  2174. EXTERN_API( UInt8 ) LMGetResLoad(void) TWOWORDINLINE(0x1EB8, 0x0A5E);
  2175. /*
  2176. * LMSetResLoad()
  2177. *
  2178. * Availability:
  2179. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2180. * CarbonLib: in CarbonLib 1.0 and later
  2181. * Mac OS X: in version 10.0 and later
  2182. */
  2183. EXTERN_API( void ) LMSetResLoad(UInt8 value) TWOWORDINLINE(0x11DF, 0x0A5E);
  2184. /*
  2185. * LMGetResErr()
  2186. *
  2187. * Availability:
  2188. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2189. * CarbonLib: in CarbonLib 1.0 and later
  2190. * Mac OS X: in version 10.0 and later
  2191. */
  2192. EXTERN_API( SInt16 ) LMGetResErr(void) TWOWORDINLINE(0x3EB8, 0x0A60);
  2193. /*
  2194. * LMSetResErr()
  2195. *
  2196. * Availability:
  2197. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2198. * CarbonLib: in CarbonLib 1.0 and later
  2199. * Mac OS X: in version 10.0 and later
  2200. */
  2201. EXTERN_API( void ) LMSetResErr(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A60);
  2202. #if CALL_NOT_IN_CARBON
  2203. /*
  2204. * LMGetFScaleDisable()
  2205. *
  2206. * Availability:
  2207. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2208. * CarbonLib: not available
  2209. * Mac OS X: not available
  2210. */
  2211. EXTERN_API( UInt8 ) LMGetFScaleDisable(void) TWOWORDINLINE(0x1EB8, 0x0A63);
  2212. /*
  2213. * LMSetFScaleDisable()
  2214. *
  2215. * Availability:
  2216. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2217. * CarbonLib: not available
  2218. * Mac OS X: not available
  2219. */
  2220. EXTERN_API( void ) LMSetFScaleDisable(UInt8 value) TWOWORDINLINE(0x11DF, 0x0A63);
  2221. /*
  2222. * LMGetDeskHook()
  2223. *
  2224. * Availability:
  2225. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2226. * CarbonLib: not available
  2227. * Mac OS X: not available
  2228. */
  2229. EXTERN_API( UniversalProcPtr ) LMGetDeskHook(void) TWOWORDINLINE(0x2EB8, 0x0A6C);
  2230. /*
  2231. * LMSetDeskHook()
  2232. *
  2233. * Availability:
  2234. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2235. * CarbonLib: not available
  2236. * Mac OS X: not available
  2237. */
  2238. EXTERN_API( void ) LMSetDeskHook(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0A6C);
  2239. /* Carbon Usage: Use TEGetDoTextHook.*/
  2240. /*
  2241. * LMGetTEDoText()
  2242. *
  2243. * Availability:
  2244. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2245. * CarbonLib: not available
  2246. * Mac OS X: not available
  2247. */
  2248. EXTERN_API( UniversalProcPtr ) LMGetTEDoText(void) TWOWORDINLINE(0x2EB8, 0x0A70);
  2249. /* Carbon Usage: Use TESetDoTextHook.*/
  2250. /*
  2251. * LMSetTEDoText()
  2252. *
  2253. * Availability:
  2254. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2255. * CarbonLib: not available
  2256. * Mac OS X: not available
  2257. */
  2258. EXTERN_API( void ) LMSetTEDoText(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0A70);
  2259. /* Carbon Usage: Use TEGetRecalcHook.*/
  2260. /*
  2261. * LMGetTERecal()
  2262. *
  2263. * Availability:
  2264. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2265. * CarbonLib: not available
  2266. * Mac OS X: not available
  2267. */
  2268. EXTERN_API( UniversalProcPtr ) LMGetTERecal(void) TWOWORDINLINE(0x2EB8, 0x0A74);
  2269. /* Carbon Usage: Use TESetRecalcHook.*/
  2270. /*
  2271. * LMSetTERecal()
  2272. *
  2273. * Availability:
  2274. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2275. * CarbonLib: not available
  2276. * Mac OS X: not available
  2277. */
  2278. EXTERN_API( void ) LMSetTERecal(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0A74);
  2279. /*
  2280. * LMGetResumeProc()
  2281. *
  2282. * Availability:
  2283. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2284. * CarbonLib: not available
  2285. * Mac OS X: not available
  2286. */
  2287. EXTERN_API( UniversalProcPtr ) LMGetResumeProc(void) TWOWORDINLINE(0x2EB8, 0x0A8C);
  2288. /*
  2289. * LMSetResumeProc()
  2290. *
  2291. * Availability:
  2292. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2293. * CarbonLib: not available
  2294. * Mac OS X: not available
  2295. */
  2296. EXTERN_API( void ) LMSetResumeProc(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0A8C);
  2297. /*
  2298. * LMGetANumber()
  2299. *
  2300. * Availability:
  2301. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2302. * CarbonLib: not available
  2303. * Mac OS X: not available
  2304. */
  2305. EXTERN_API( SInt16 ) LMGetANumber(void) TWOWORDINLINE(0x3EB8, 0x0A98);
  2306. /*
  2307. * LMSetANumber()
  2308. *
  2309. * Availability:
  2310. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2311. * CarbonLib: not available
  2312. * Mac OS X: not available
  2313. */
  2314. EXTERN_API( void ) LMSetANumber(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A98);
  2315. /* Carbon Usage: Use GetAlertStage.*/
  2316. /*
  2317. * LMGetACount()
  2318. *
  2319. * Availability:
  2320. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2321. * CarbonLib: not available
  2322. * Mac OS X: not available
  2323. */
  2324. EXTERN_API( SInt16 ) LMGetACount(void) TWOWORDINLINE(0x3EB8, 0x0A9A);
  2325. /* Carbon Usage: Use ResetAlertStage.*/
  2326. /*
  2327. * LMSetACount()
  2328. *
  2329. * Availability:
  2330. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2331. * CarbonLib: not available
  2332. * Mac OS X: not available
  2333. */
  2334. EXTERN_API( void ) LMSetACount(SInt16 value) TWOWORDINLINE(0x31DF, 0x0A9A);
  2335. /*
  2336. * LMGetDABeeper()
  2337. *
  2338. * Availability:
  2339. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2340. * CarbonLib: not available
  2341. * Mac OS X: not available
  2342. */
  2343. EXTERN_API( UniversalProcPtr ) LMGetDABeeper(void) TWOWORDINLINE(0x2EB8, 0x0A9C);
  2344. /*
  2345. * LMSetDABeeper()
  2346. *
  2347. * Availability:
  2348. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2349. * CarbonLib: not available
  2350. * Mac OS X: not available
  2351. */
  2352. EXTERN_API( void ) LMSetDABeeper(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0A9C);
  2353. /* Carbon Usage: use TEGetScrapLength*/
  2354. /*
  2355. * LMGetTEScrpLength()
  2356. *
  2357. * Availability:
  2358. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2359. * CarbonLib: not available
  2360. * Mac OS X: not available
  2361. */
  2362. EXTERN_API( UInt16 ) LMGetTEScrpLength(void) TWOWORDINLINE(0x3EB8, 0x0AB0);
  2363. /* Carbon Usage: use TESetScrapLength*/
  2364. /*
  2365. * LMSetTEScrpLength()
  2366. *
  2367. * Availability:
  2368. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2369. * CarbonLib: not available
  2370. * Mac OS X: not available
  2371. */
  2372. EXTERN_API( void ) LMSetTEScrpLength(UInt16 value) TWOWORDINLINE(0x31DF, 0x0AB0);
  2373. /* Carbon Usage: use TEGetScrapHandle*/
  2374. /*
  2375. * LMGetTEScrpHandle()
  2376. *
  2377. * Availability:
  2378. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2379. * CarbonLib: not available
  2380. * Mac OS X: not available
  2381. */
  2382. EXTERN_API( Handle ) LMGetTEScrpHandle(void) TWOWORDINLINE(0x2EB8, 0x0AB4);
  2383. /* Carbon Usage: use TESetScrapHandle*/
  2384. /*
  2385. * LMSetTEScrpHandle()
  2386. *
  2387. * Availability:
  2388. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2389. * CarbonLib: not available
  2390. * Mac OS X: not available
  2391. */
  2392. EXTERN_API( void ) LMSetTEScrpHandle(Handle value) TWOWORDINLINE(0x21DF, 0x0AB4);
  2393. /*
  2394. * LMGetAppParmHandle()
  2395. *
  2396. * Availability:
  2397. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2398. * CarbonLib: not available
  2399. * Mac OS X: not available
  2400. */
  2401. EXTERN_API( Handle ) LMGetAppParmHandle(void) TWOWORDINLINE(0x2EB8, 0x0AEC);
  2402. /*
  2403. * LMSetAppParmHandle()
  2404. *
  2405. * Availability:
  2406. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2407. * CarbonLib: not available
  2408. * Mac OS X: not available
  2409. */
  2410. EXTERN_API( void ) LMSetAppParmHandle(Handle value) TWOWORDINLINE(0x21DF, 0x0AEC);
  2411. /*
  2412. * LMGetDSErrCode()
  2413. *
  2414. * Availability:
  2415. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2416. * CarbonLib: not available
  2417. * Mac OS X: not available
  2418. */
  2419. EXTERN_API( SInt16 ) LMGetDSErrCode(void) TWOWORDINLINE(0x3EB8, 0x0AF0);
  2420. /*
  2421. * LMSetDSErrCode()
  2422. *
  2423. * Availability:
  2424. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2425. * CarbonLib: not available
  2426. * Mac OS X: not available
  2427. */
  2428. EXTERN_API( void ) LMSetDSErrCode(SInt16 value) TWOWORDINLINE(0x31DF, 0x0AF0);
  2429. /*
  2430. * LMGetResErrProc()
  2431. *
  2432. * Availability:
  2433. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2434. * CarbonLib: not available
  2435. * Mac OS X: not available
  2436. */
  2437. EXTERN_API( ResErrUPP ) LMGetResErrProc(void) TWOWORDINLINE(0x2EB8, 0x0AF2);
  2438. /*
  2439. * LMSetResErrProc()
  2440. *
  2441. * Availability:
  2442. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2443. * CarbonLib: not available
  2444. * Mac OS X: not available
  2445. */
  2446. EXTERN_API( void ) LMSetResErrProc(ResErrUPP value) TWOWORDINLINE(0x21DF, 0x0AF2);
  2447. /*
  2448. * LMGetDlgFont()
  2449. *
  2450. * Availability:
  2451. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2452. * CarbonLib: not available
  2453. * Mac OS X: not available
  2454. */
  2455. EXTERN_API( SInt16 ) LMGetDlgFont(void) TWOWORDINLINE(0x3EB8, 0x0AFA);
  2456. /* Carbon Usage: use SetDialogFont*/
  2457. /*
  2458. * LMSetDlgFont()
  2459. *
  2460. * Availability:
  2461. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2462. * CarbonLib: not available
  2463. * Mac OS X: not available
  2464. */
  2465. EXTERN_API( void ) LMSetDlgFont(SInt16 value) TWOWORDINLINE(0x31DF, 0x0AFA);
  2466. /*
  2467. * LMGetATalkHk2()
  2468. *
  2469. * Availability:
  2470. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2471. * CarbonLib: not available
  2472. * Mac OS X: not available
  2473. */
  2474. EXTERN_API( Ptr ) LMGetATalkHk2(void) TWOWORDINLINE(0x2EB8, 0x0B18);
  2475. /*
  2476. * LMSetATalkHk2()
  2477. *
  2478. * Availability:
  2479. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2480. * CarbonLib: not available
  2481. * Mac OS X: not available
  2482. */
  2483. EXTERN_API( void ) LMSetATalkHk2(Ptr value) TWOWORDINLINE(0x21DF, 0x0B18);
  2484. /*
  2485. * LMGetHWCfgFlags()
  2486. *
  2487. * Availability:
  2488. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2489. * CarbonLib: not available
  2490. * Mac OS X: not available
  2491. */
  2492. EXTERN_API( SInt16 ) LMGetHWCfgFlags(void) TWOWORDINLINE(0x3EB8, 0x0B22);
  2493. /*
  2494. * LMSetHWCfgFlags()
  2495. *
  2496. * Availability:
  2497. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2498. * CarbonLib: not available
  2499. * Mac OS X: not available
  2500. */
  2501. EXTERN_API( void ) LMSetHWCfgFlags(SInt16 value) TWOWORDINLINE(0x31DF, 0x0B22);
  2502. /* Carbon Usage: use GetMenuTrackingData*/
  2503. /*
  2504. * LMGetMenuDisable()
  2505. *
  2506. * Availability:
  2507. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2508. * CarbonLib: not available
  2509. * Mac OS X: not available
  2510. */
  2511. EXTERN_API( SInt32 ) LMGetMenuDisable(void) TWOWORDINLINE(0x2EB8, 0x0B54);
  2512. /* Carbon Usage: use new MDEF messages*/
  2513. /*
  2514. * LMSetMenuDisable()
  2515. *
  2516. * Availability:
  2517. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2518. * CarbonLib: not available
  2519. * Mac OS X: not available
  2520. */
  2521. EXTERN_API( void ) LMSetMenuDisable(SInt32 value) TWOWORDINLINE(0x21DF, 0x0B54);
  2522. /*
  2523. * LMGetROMMapInsert()
  2524. *
  2525. * Availability:
  2526. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2527. * CarbonLib: not available
  2528. * Mac OS X: not available
  2529. */
  2530. EXTERN_API( UInt8 ) LMGetROMMapInsert(void) TWOWORDINLINE(0x1EB8, 0x0B9E);
  2531. /*
  2532. * LMSetROMMapInsert()
  2533. *
  2534. * Availability:
  2535. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2536. * CarbonLib: not available
  2537. * Mac OS X: not available
  2538. */
  2539. EXTERN_API( void ) LMSetROMMapInsert(UInt8 value) TWOWORDINLINE(0x11DF, 0x0B9E);
  2540. #endif /* CALL_NOT_IN_CARBON */
  2541. /*
  2542. * LMGetTmpResLoad()
  2543. *
  2544. * Availability:
  2545. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2546. * CarbonLib: in CarbonLib 1.0 and later
  2547. * Mac OS X: in version 10.0 and later
  2548. */
  2549. EXTERN_API( UInt8 ) LMGetTmpResLoad(void) TWOWORDINLINE(0x1EB8, 0x0B9F);
  2550. /*
  2551. * LMSetTmpResLoad()
  2552. *
  2553. * Availability:
  2554. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2555. * CarbonLib: in CarbonLib 1.0 and later
  2556. * Mac OS X: in version 10.0 and later
  2557. */
  2558. EXTERN_API( void ) LMSetTmpResLoad(UInt8 value) TWOWORDINLINE(0x11DF, 0x0B9F);
  2559. /*
  2560. * LMGetIntlSpec()
  2561. *
  2562. * Availability:
  2563. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2564. * CarbonLib: in CarbonLib 1.0 and later
  2565. * Mac OS X: in version 10.0 and later
  2566. */
  2567. EXTERN_API( Ptr ) LMGetIntlSpec(void) TWOWORDINLINE(0x2EB8, 0x0BA0);
  2568. /*
  2569. * LMSetIntlSpec()
  2570. *
  2571. * Availability:
  2572. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2573. * CarbonLib: in CarbonLib 1.0 and later
  2574. * Mac OS X: in version 10.0 and later
  2575. */
  2576. EXTERN_API( void ) LMSetIntlSpec(Ptr value) TWOWORDINLINE(0x21DF, 0x0BA0);
  2577. /* LMGetWordRedraw and LMSetWordRedraw moved to TextEdit.h */
  2578. /*
  2579. * LMGetSysFontFam()
  2580. *
  2581. * Availability:
  2582. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2583. * CarbonLib: in CarbonLib 1.0 and later
  2584. * Mac OS X: in version 10.0 and later
  2585. */
  2586. EXTERN_API( SInt16 ) LMGetSysFontFam(void) TWOWORDINLINE(0x3EB8, 0x0BA6);
  2587. /*
  2588. * LMSetSysFontFam()
  2589. *
  2590. * Availability:
  2591. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2592. * CarbonLib: in CarbonLib 1.0 and later
  2593. * Mac OS X: in version 10.0 and later
  2594. */
  2595. EXTERN_API( void ) LMSetSysFontFam(SInt16 value) TWOWORDINLINE(0x31DF, 0x0BA6);
  2596. /*
  2597. * LMGetSysFontSize()
  2598. *
  2599. * Availability:
  2600. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2601. * CarbonLib: in CarbonLib 1.0 and later
  2602. * Mac OS X: in version 10.0 and later
  2603. */
  2604. EXTERN_API( SInt16 ) LMGetSysFontSize(void) TWOWORDINLINE(0x3EB8, 0x0BA8);
  2605. /*
  2606. * LMSetSysFontSize()
  2607. *
  2608. * Availability:
  2609. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2610. * CarbonLib: in CarbonLib 1.0 and later
  2611. * Mac OS X: in version 10.0 and later
  2612. */
  2613. EXTERN_API( void ) LMSetSysFontSize(SInt16 value) TWOWORDINLINE(0x31DF, 0x0BA8);
  2614. /* Carbon Usge: use GetMBarHeight*/
  2615. #if CALL_NOT_IN_CARBON
  2616. /*
  2617. * LMGetMBarHeight()
  2618. *
  2619. * Availability:
  2620. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2621. * CarbonLib: not available
  2622. * Mac OS X: not available
  2623. */
  2624. EXTERN_API( SInt16 ) LMGetMBarHeight(void) TWOWORDINLINE(0x3EB8, 0x0BAA);
  2625. /* Carbon Usage: use Hide/ShowMenuBar*/
  2626. /*
  2627. * LMSetMBarHeight()
  2628. *
  2629. * Availability:
  2630. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2631. * CarbonLib: not available
  2632. * Mac OS X: not available
  2633. */
  2634. EXTERN_API( void ) LMSetMBarHeight(SInt16 value) TWOWORDINLINE(0x31DF, 0x0BAA);
  2635. /*
  2636. * LMGetTESysJust()
  2637. *
  2638. * Availability:
  2639. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2640. * CarbonLib: not available
  2641. * Mac OS X: not available
  2642. */
  2643. EXTERN_API( SInt16 ) LMGetTESysJust(void) TWOWORDINLINE(0x3EB8, 0x0BAC);
  2644. /*
  2645. * LMSetTESysJust()
  2646. *
  2647. * Availability:
  2648. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2649. * CarbonLib: not available
  2650. * Mac OS X: not available
  2651. */
  2652. EXTERN_API( void ) LMSetTESysJust(SInt16 value) TWOWORDINLINE(0x31DF, 0x0BAC);
  2653. /*
  2654. * LMGetMMU32Bit()
  2655. *
  2656. * Availability:
  2657. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2658. * CarbonLib: not available
  2659. * Mac OS X: not available
  2660. */
  2661. EXTERN_API( UInt8 ) LMGetMMU32Bit(void) TWOWORDINLINE(0x1EB8, 0x0CB2);
  2662. /*
  2663. * LMSetMMU32Bit()
  2664. *
  2665. * Availability:
  2666. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2667. * CarbonLib: not available
  2668. * Mac OS X: not available
  2669. */
  2670. EXTERN_API( void ) LMSetMMU32Bit(UInt8 value) TWOWORDINLINE(0x11DF, 0x0CB2);
  2671. /*
  2672. * LMGetDeskCPat()
  2673. *
  2674. * Availability:
  2675. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2676. * CarbonLib: not available
  2677. * Mac OS X: not available
  2678. */
  2679. EXTERN_API( PixPatHandle ) LMGetDeskCPat(void) TWOWORDINLINE(0x2EB8, 0x0CD8);
  2680. /*
  2681. * LMSetDeskCPat()
  2682. *
  2683. * Availability:
  2684. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2685. * CarbonLib: not available
  2686. * Mac OS X: not available
  2687. */
  2688. EXTERN_API( void ) LMSetDeskCPat(PixPatHandle value) TWOWORDINLINE(0x21DF, 0x0CD8);
  2689. /*
  2690. * LMGetTimeDBRA()
  2691. *
  2692. * Availability:
  2693. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2694. * CarbonLib: not available
  2695. * Mac OS X: not available
  2696. */
  2697. EXTERN_API( SInt16 ) LMGetTimeDBRA(void) TWOWORDINLINE(0x3EB8, 0x0D00);
  2698. /*
  2699. * LMSetTimeDBRA()
  2700. *
  2701. * Availability:
  2702. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2703. * CarbonLib: not available
  2704. * Mac OS X: not available
  2705. */
  2706. EXTERN_API( void ) LMSetTimeDBRA(SInt16 value) TWOWORDINLINE(0x31DF, 0x0D00);
  2707. /*
  2708. * LMGetTimeSCCDB()
  2709. *
  2710. * Availability:
  2711. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2712. * CarbonLib: not available
  2713. * Mac OS X: not available
  2714. */
  2715. EXTERN_API( SInt16 ) LMGetTimeSCCDB(void) TWOWORDINLINE(0x3EB8, 0x0D02);
  2716. /*
  2717. * LMSetTimeSCCDB()
  2718. *
  2719. * Availability:
  2720. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2721. * CarbonLib: not available
  2722. * Mac OS X: not available
  2723. */
  2724. EXTERN_API( void ) LMSetTimeSCCDB(SInt16 value) TWOWORDINLINE(0x31DF, 0x0D02);
  2725. /*
  2726. * LMGetJVBLTask()
  2727. *
  2728. * Availability:
  2729. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2730. * CarbonLib: not available
  2731. * Mac OS X: not available
  2732. */
  2733. EXTERN_API( UniversalProcPtr ) LMGetJVBLTask(void) TWOWORDINLINE(0x2EB8, 0x0D28);
  2734. /*
  2735. * LMSetJVBLTask()
  2736. *
  2737. * Availability:
  2738. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2739. * CarbonLib: not available
  2740. * Mac OS X: not available
  2741. */
  2742. EXTERN_API( void ) LMSetJVBLTask(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0D28);
  2743. /*
  2744. * LMGetSynListHandle()
  2745. *
  2746. * Availability:
  2747. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2748. * CarbonLib: not available
  2749. * Mac OS X: not available
  2750. */
  2751. EXTERN_API( Handle ) LMGetSynListHandle(void) TWOWORDINLINE(0x2EB8, 0x0D32);
  2752. /*
  2753. * LMSetSynListHandle()
  2754. *
  2755. * Availability:
  2756. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2757. * CarbonLib: not available
  2758. * Mac OS X: not available
  2759. */
  2760. EXTERN_API( void ) LMSetSynListHandle(Handle value) TWOWORDINLINE(0x21DF, 0x0D32);
  2761. /*
  2762. * LMGetMenuCInfo()
  2763. *
  2764. * Availability:
  2765. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2766. * CarbonLib: not available
  2767. * Mac OS X: not available
  2768. */
  2769. EXTERN_API( MCTableHandle ) LMGetMenuCInfo(void) TWOWORDINLINE(0x2EB8, 0x0D50);
  2770. /*
  2771. * LMSetMenuCInfo()
  2772. *
  2773. * Availability:
  2774. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2775. * CarbonLib: not available
  2776. * Mac OS X: not available
  2777. */
  2778. EXTERN_API( void ) LMSetMenuCInfo(MCTableHandle value) TWOWORDINLINE(0x21DF, 0x0D50);
  2779. /*
  2780. * LMGetJDTInstall()
  2781. *
  2782. * Availability:
  2783. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2784. * CarbonLib: not available
  2785. * Mac OS X: not available
  2786. */
  2787. EXTERN_API( UniversalProcPtr ) LMGetJDTInstall(void) TWOWORDINLINE(0x2EB8, 0x0D9C);
  2788. /*
  2789. * LMSetJDTInstall()
  2790. *
  2791. * Availability:
  2792. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2793. * CarbonLib: not available
  2794. * Mac OS X: not available
  2795. */
  2796. EXTERN_API( void ) LMSetJDTInstall(UniversalProcPtr value) TWOWORDINLINE(0x21DF, 0x0D9C);
  2797. /*
  2798. * LMGetTimeSCSIDB()
  2799. *
  2800. * Availability:
  2801. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2802. * CarbonLib: not available
  2803. * Mac OS X: not available
  2804. */
  2805. EXTERN_API( SInt16 ) LMGetTimeSCSIDB(void) TWOWORDINLINE(0x3EB8, 0x0B24);
  2806. /*
  2807. * LMSetTimeSCSIDB()
  2808. *
  2809. * Availability:
  2810. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2811. * CarbonLib: not available
  2812. * Mac OS X: not available
  2813. */
  2814. EXTERN_API( void ) LMSetTimeSCSIDB(SInt16 value) TWOWORDINLINE(0x31DF, 0x0B24);
  2815. /**************************************************************************************
  2816. MORE COMPLEX LOWMEM ACCESSORS
  2817. **************************************************************************************/
  2818. #endif /* CALL_NOT_IN_CARBON */
  2819. #if TARGET_CPU_68K && !TARGET_RT_MAC_CFM
  2820. /**************************************************************************************
  2821. "BIG DATA"
  2822. These lowmem accessors access big (> 4 bytes) values.
  2823. **************************************************************************************/
  2824. #define LMGetDSAlertRect(dsAlertRectValue) (*(dsAlertRectValue) = * (Rect*) 0x03F8)
  2825. #define LMSetDSAlertRect(dsAlertRectValue) ((* (Rect *) 0x03F8) = *(dsAlertRectValue))
  2826. #define LMGetDragPattern(dragPatternValue) (*(dragPatternValue) = * (Pattern *) 0x0A34)
  2827. #define LMSetDragPattern(dragPatternValue) ((* (Pattern *) 0x0A34) = *(dragPatternValue))
  2828. #define LMGetDeskPattern(deskPatternValue) (*(deskPatternValue) = * (Pattern *) 0x0A3C)
  2829. #define LMSetDeskPattern(deskPatternValue) ((* (Pattern *) 0x0A3C) = *(deskPatternValue))
  2830. #define LMGetEventQueue() ( (QHdrPtr) 0x014A)
  2831. #define LMSetEventQueue(eventQueueValue) ((* (QHdrPtr) 0x014A) = *(QHdrPtr)(eventQueueValue))
  2832. #define LMGetVBLQueue() ( (QHdrPtr) 0x0160)
  2833. #define LMSetVBLQueue(vblQueueValue) ((* (QHdrPtr) 0x0160) = *(QHdrPtr)(vblQueueValue))
  2834. #define LMGetDrvQHdr() ( (QHdrPtr) 0x0308)
  2835. #define LMSetDrvQHdr(drvQHdrValue) ((* (QHdrPtr) 0x0308) = *(QHdrPtr)(drvQHdrValue))
  2836. #define LMGetVCBQHdr() ( (QHdrPtr) 0x0356)
  2837. #define LMSetVCBQHdr(vcbQHdrValue) ((* (QHdrPtr) 0x0356) = *(QHdrPtr)(vcbQHdrValue))
  2838. #define LMGetDTQueue() ( (QHdrPtr) 0x0D92)
  2839. #define LMSetDTQueue(dtQueueValue) ((* (QHdrPtr) 0x0D92) = *(QHdrPtr)(dtQueueValue))
  2840. #define LMGetFSQHdr() ( (QHdrPtr) 0x0360)
  2841. /**************************************************************************************
  2842. "BLOCKMOVE ACCESSORS"
  2843. These lowmem accessors use the BlockMove to set
  2844. **************************************************************************************/
  2845. #define LMGetCurApName() ((StringPtr) 0x0910)
  2846. #define LMSetCurApName(curApNameValue) (BlockMoveData((Ptr)(curApNameValue), (Ptr)0x0910, sizeof(Str31)))
  2847. #define LMGetSysResName() ( (StringPtr) 0x0AD8)
  2848. #define LMSetSysResName(sysResNameValue) (BlockMoveData((Ptr)(sysResNameValue), (Ptr)0x0AD8, sizeof(Str15)))
  2849. #define LMGetFinderName() ((StringPtr)0x02E0)
  2850. #define LMSetFinderName(finderName) (BlockMoveData((Ptr)(finderName), (Ptr)0x02E0, sizeof(Str15)))
  2851. #define LMGetScratch20() ((Ptr) 0x01E4)
  2852. #define LMSetScratch20(scratch20Value) (BlockMoveData((Ptr) (scratch20Value), (Ptr) 0x01E4, 20))
  2853. #define LMGetToolScratch() ((Ptr) 0x09CE)
  2854. #define LMSetToolScratch(toolScratchValue) (BlockMoveData((Ptr)(toolScratchValue), (Ptr) 0x09CE, 8))
  2855. #define LMGetApplScratch() ((Ptr) 0x0A78)
  2856. #define LMSetApplScratch(applScratchValue) (BlockMoveData((Ptr) (applScratchValue), (Ptr) 0x0A78, 12))
  2857. /**************************************************************************************
  2858. "INDEXED ACCESSORS"
  2859. These lowmem accessors take an index parameter to get/set an indexed
  2860. lowmem global.
  2861. **************************************************************************************/
  2862. /*************************************************************************************
  2863. The DAString accessors are gone with Carbon. Please use ParamText and
  2864. GetParamText instead.
  2865. **************************************************************************************/
  2866. #define LMGetDAStrings(whichString) ( ((StringHandle*)0x0AA0)[whichString] )
  2867. #define LMSetDAStrings(stringsValue, whichString) ( ((StringHandle*)0x0AA0)[whichString] = (stringsValue) )
  2868. #define LMGetLvl2DT(vectorNumber) ( ((UniversalProcPtr*)0x01B2)[vectorNumber] )
  2869. #define LMSetLvl2DT(lvl2DTValue, vectorNumber) ( ((UniversalProcPtr*)0x01B2)[vectorNumber] = (lvl2DTValue) )
  2870. #define LMGetExtStsDT(vectorNumber) ( ((UniversalProcPtr*)0x02BE)[vectorNumber] )
  2871. #define LMSetExtStsDT(extStsDTValue, vectorNumber) ( ((UniversalProcPtr*)0x02BE)[vectorNumber] = (extStsDTValue) )
  2872. #else
  2873. /**************************************************************************************
  2874. "BIG DATA"
  2875. These lowmem accessors access big (> 4 bytes) values.
  2876. **************************************************************************************/
  2877. #if CALL_NOT_IN_CARBON
  2878. /*
  2879. * LMGetDSAlertRect()
  2880. *
  2881. * Availability:
  2882. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2883. * CarbonLib: not available
  2884. * Mac OS X: not available
  2885. */
  2886. EXTERN_API( void ) LMGetDSAlertRect(Rect * dsAlertRectValue);
  2887. /*
  2888. * LMSetDSAlertRect()
  2889. *
  2890. * Availability:
  2891. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2892. * CarbonLib: not available
  2893. * Mac OS X: not available
  2894. */
  2895. EXTERN_API( void ) LMSetDSAlertRect(const Rect * dsAlertRectValue);
  2896. /*
  2897. * LMGetDragPattern()
  2898. *
  2899. * Availability:
  2900. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2901. * CarbonLib: not available
  2902. * Mac OS X: not available
  2903. */
  2904. EXTERN_API( void ) LMGetDragPattern(Pattern * dragPatternValue);
  2905. /*
  2906. * LMSetDragPattern()
  2907. *
  2908. * Availability:
  2909. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2910. * CarbonLib: not available
  2911. * Mac OS X: not available
  2912. */
  2913. EXTERN_API( void ) LMSetDragPattern(const Pattern * dragPatternValue);
  2914. /*
  2915. * LMGetDeskPattern()
  2916. *
  2917. * Availability:
  2918. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2919. * CarbonLib: not available
  2920. * Mac OS X: not available
  2921. */
  2922. EXTERN_API( void ) LMGetDeskPattern(Pattern * deskPatternValue);
  2923. /*
  2924. * LMSetDeskPattern()
  2925. *
  2926. * Availability:
  2927. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2928. * CarbonLib: not available
  2929. * Mac OS X: not available
  2930. */
  2931. EXTERN_API( void ) LMSetDeskPattern(const Pattern * deskPatternValue);
  2932. /*
  2933. * LMGetEventQueue()
  2934. *
  2935. * Availability:
  2936. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2937. * CarbonLib: not available
  2938. * Mac OS X: not available
  2939. */
  2940. EXTERN_API( QHdrPtr ) LMGetEventQueue(void);
  2941. /*
  2942. * LMSetEventQueue()
  2943. *
  2944. * Availability:
  2945. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2946. * CarbonLib: not available
  2947. * Mac OS X: not available
  2948. */
  2949. EXTERN_API( void ) LMSetEventQueue(QHdrPtr eventQueueValue);
  2950. /*
  2951. * LMGetVBLQueue()
  2952. *
  2953. * Availability:
  2954. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2955. * CarbonLib: not available
  2956. * Mac OS X: not available
  2957. */
  2958. EXTERN_API( QHdrPtr ) LMGetVBLQueue(void);
  2959. /*
  2960. * LMSetVBLQueue()
  2961. *
  2962. * Availability:
  2963. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2964. * CarbonLib: not available
  2965. * Mac OS X: not available
  2966. */
  2967. EXTERN_API( void ) LMSetVBLQueue(QHdrPtr vblQueueValue);
  2968. /*
  2969. * LMGetDrvQHdr()
  2970. *
  2971. * Availability:
  2972. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2973. * CarbonLib: not available
  2974. * Mac OS X: not available
  2975. */
  2976. EXTERN_API( QHdrPtr ) LMGetDrvQHdr(void);
  2977. /*
  2978. * LMSetDrvQHdr()
  2979. *
  2980. * Availability:
  2981. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2982. * CarbonLib: not available
  2983. * Mac OS X: not available
  2984. */
  2985. EXTERN_API( void ) LMSetDrvQHdr(QHdrPtr drvQHdrValue);
  2986. /*
  2987. * LMGetVCBQHdr()
  2988. *
  2989. * Availability:
  2990. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  2991. * CarbonLib: not available
  2992. * Mac OS X: not available
  2993. */
  2994. EXTERN_API( QHdrPtr ) LMGetVCBQHdr(void);
  2995. /*
  2996. * LMSetVCBQHdr()
  2997. *
  2998. * Availability:
  2999. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3000. * CarbonLib: not available
  3001. * Mac OS X: not available
  3002. */
  3003. EXTERN_API( void ) LMSetVCBQHdr(QHdrPtr vcbQHdrValue);
  3004. /*
  3005. * LMGetDTQueue()
  3006. *
  3007. * Availability:
  3008. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3009. * CarbonLib: not available
  3010. * Mac OS X: not available
  3011. */
  3012. EXTERN_API( QHdrPtr ) LMGetDTQueue(void);
  3013. /*
  3014. * LMSetDTQueue()
  3015. *
  3016. * Availability:
  3017. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3018. * CarbonLib: not available
  3019. * Mac OS X: not available
  3020. */
  3021. EXTERN_API( void ) LMSetDTQueue(QHdrPtr dtQueueValue);
  3022. /*
  3023. * LMGetFSQHdr()
  3024. *
  3025. * Availability:
  3026. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3027. * CarbonLib: not available
  3028. * Mac OS X: not available
  3029. */
  3030. EXTERN_API( QHdrPtr ) LMGetFSQHdr(void);
  3031. /**************************************************************************************
  3032. "BLOCKMOVE ACCESSORS"
  3033. These lowmem accessors use the BlockMove to set
  3034. **************************************************************************************/
  3035. #endif /* CALL_NOT_IN_CARBON */
  3036. /*
  3037. * LMGetCurApName()
  3038. *
  3039. * Availability:
  3040. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3041. * CarbonLib: in CarbonLib 1.0 and later
  3042. * Mac OS X: in version 10.0 and later
  3043. */
  3044. EXTERN_API( StringPtr ) LMGetCurApName(void);
  3045. /*
  3046. * LMSetCurApName()
  3047. *
  3048. * Availability:
  3049. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3050. * CarbonLib: in CarbonLib 1.0 and later
  3051. * Mac OS X: in version 10.0 and later
  3052. */
  3053. EXTERN_API( void ) LMSetCurApName(ConstStr31Param curApNameValue);
  3054. /*
  3055. * LMGetSysResName()
  3056. *
  3057. * Availability:
  3058. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3059. * CarbonLib: in CarbonLib 1.0 and later
  3060. * Mac OS X: in version 10.0 and later
  3061. */
  3062. EXTERN_API( StringPtr ) LMGetSysResName(void);
  3063. /*
  3064. * LMSetSysResName()
  3065. *
  3066. * Availability:
  3067. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3068. * CarbonLib: in CarbonLib 1.0 and later
  3069. * Mac OS X: in version 10.0 and later
  3070. */
  3071. EXTERN_API( void ) LMSetSysResName(ConstStr15Param sysResNameValue);
  3072. /*
  3073. * LMGetFinderName()
  3074. *
  3075. * Availability:
  3076. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3077. * CarbonLib: in CarbonLib 1.0 and later
  3078. * Mac OS X: in version 10.0 and later
  3079. */
  3080. EXTERN_API( StringPtr ) LMGetFinderName(void);
  3081. /*
  3082. * LMSetFinderName()
  3083. *
  3084. * Availability:
  3085. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3086. * CarbonLib: in CarbonLib 1.0 and later
  3087. * Mac OS X: in version 10.0 and later
  3088. */
  3089. EXTERN_API( void ) LMSetFinderName(ConstStr15Param finderNameValue);
  3090. #if CALL_NOT_IN_CARBON
  3091. /*
  3092. * LMGetScratch20()
  3093. *
  3094. * Availability:
  3095. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3096. * CarbonLib: not available
  3097. * Mac OS X: not available
  3098. */
  3099. EXTERN_API( Ptr ) LMGetScratch20(void);
  3100. /*
  3101. * LMSetScratch20()
  3102. *
  3103. * Availability:
  3104. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3105. * CarbonLib: not available
  3106. * Mac OS X: not available
  3107. */
  3108. EXTERN_API( void ) LMSetScratch20(const void * scratch20Value);
  3109. #endif /* CALL_NOT_IN_CARBON */
  3110. /*
  3111. * LMGetToolScratch()
  3112. *
  3113. * Availability:
  3114. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3115. * CarbonLib: in CarbonLib 1.0 and later
  3116. * Mac OS X: in version 10.0 and later
  3117. */
  3118. EXTERN_API( Ptr ) LMGetToolScratch(void);
  3119. /*
  3120. * LMSetToolScratch()
  3121. *
  3122. * Availability:
  3123. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3124. * CarbonLib: in CarbonLib 1.0 and later
  3125. * Mac OS X: in version 10.0 and later
  3126. */
  3127. EXTERN_API( void ) LMSetToolScratch(const void * toolScratchValue);
  3128. #if CALL_NOT_IN_CARBON
  3129. /*
  3130. * LMGetApplScratch()
  3131. *
  3132. * Availability:
  3133. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3134. * CarbonLib: not available
  3135. * Mac OS X: not available
  3136. */
  3137. EXTERN_API( Ptr ) LMGetApplScratch(void);
  3138. /*
  3139. * LMSetApplScratch()
  3140. *
  3141. * Availability:
  3142. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3143. * CarbonLib: not available
  3144. * Mac OS X: not available
  3145. */
  3146. EXTERN_API( void ) LMSetApplScratch(const void * applScratchValue);
  3147. /**************************************************************************************
  3148. "INDEXED ACCESSORS"
  3149. These lowmem accessors take an index parameter to get/set an indexed
  3150. lowmem global.
  3151. **************************************************************************************/
  3152. /* Carbon Usage: use GetParamText*/
  3153. /*
  3154. * LMGetDAStrings()
  3155. *
  3156. * Availability:
  3157. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3158. * CarbonLib: not available
  3159. * Mac OS X: not available
  3160. */
  3161. EXTERN_API( StringHandle ) LMGetDAStrings(short whichString);
  3162. /* Carbon Usage: use ParamText*/
  3163. /*
  3164. * LMSetDAStrings()
  3165. *
  3166. * Availability:
  3167. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3168. * CarbonLib: not available
  3169. * Mac OS X: not available
  3170. */
  3171. EXTERN_API( void ) LMSetDAStrings(StringHandle stringsValue, short whichString);
  3172. #endif /* CALL_NOT_IN_CARBON */
  3173. /*
  3174. * LMGetLvl2DT()
  3175. *
  3176. * Availability:
  3177. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3178. * CarbonLib: in CarbonLib 1.0 and later
  3179. * Mac OS X: in version 10.0 and later
  3180. */
  3181. EXTERN_API( UniversalProcPtr ) LMGetLvl2DT(short vectorNumber);
  3182. /*
  3183. * LMSetLvl2DT()
  3184. *
  3185. * Availability:
  3186. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3187. * CarbonLib: in CarbonLib 1.0 and later
  3188. * Mac OS X: in version 10.0 and later
  3189. */
  3190. EXTERN_API( void ) LMSetLvl2DT(UniversalProcPtr Lvl2DTValue, short vectorNumber);
  3191. #if CALL_NOT_IN_CARBON
  3192. /*
  3193. * LMGetExtStsDT()
  3194. *
  3195. * Availability:
  3196. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3197. * CarbonLib: not available
  3198. * Mac OS X: not available
  3199. */
  3200. EXTERN_API( UniversalProcPtr ) LMGetExtStsDT(short vectorNumber);
  3201. /*
  3202. * LMSetExtStsDT()
  3203. *
  3204. * Availability:
  3205. * Non-Carbon CFM: in InterfaceLib 7.1 and later
  3206. * CarbonLib: not available
  3207. * Mac OS X: not available
  3208. */
  3209. EXTERN_API( void ) LMSetExtStsDT(UniversalProcPtr ExtStsDTValue, short vectorNumber);
  3210. #endif /* CALL_NOT_IN_CARBON */
  3211. #endif /* TARGET_CPU_68K && !TARGET_RT_MAC_CFM */
  3212. /**************************************************************************************
  3213. "Missing Accessors"
  3214. These lowmem accessors are not in the original InterfaceLib. They were
  3215. added to InterfaceLib in Mac OS 8.5. In Universal Interfaces 3.2 they
  3216. were defined via a macro. In you want to use these functions on a pre-8.5
  3217. systems, you must write your own macros to override the function prototype
  3218. or write your own implementation.
  3219. **************************************************************************************/
  3220. #if CALL_NOT_IN_CARBON
  3221. /*
  3222. * LMSetMouseTemp()
  3223. *
  3224. * Availability:
  3225. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3226. * CarbonLib: not available
  3227. * Mac OS X: not available
  3228. */
  3229. EXTERN_API( void ) LMSetMouseTemp(Point value) TWOWORDINLINE(0x21DF, 0x0828);
  3230. /* accesses "MTemp"*/
  3231. /*
  3232. * LMGetMouseTemp()
  3233. *
  3234. * Availability:
  3235. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3236. * CarbonLib: not available
  3237. * Mac OS X: not available
  3238. */
  3239. EXTERN_API( Point ) LMGetMouseTemp(void) TWOWORDINLINE(0x2EB8, 0x0828);
  3240. /*
  3241. accesses "MBState"
  3242. Carbon Usage: use Button()
  3243. */
  3244. /*
  3245. * LMGetMouseButtonState()
  3246. *
  3247. * Availability:
  3248. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3249. * CarbonLib: not available
  3250. * Mac OS X: not available
  3251. */
  3252. EXTERN_API( UInt8 ) LMGetMouseButtonState(void) TWOWORDINLINE(0x1EB8, 0x0172);
  3253. /*
  3254. * LMSetMouseButtonState()
  3255. *
  3256. * Availability:
  3257. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3258. * CarbonLib: not available
  3259. * Mac OS X: not available
  3260. */
  3261. EXTERN_API( void ) LMSetMouseButtonState(UInt8 value) TWOWORDINLINE(0x11DF, 0x0172);
  3262. /*
  3263. accesses "RawMouse"
  3264. Carbon Usage: use GetGlobalMouse
  3265. */
  3266. /*
  3267. * LMGetRawMouseLocation()
  3268. *
  3269. * Availability:
  3270. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3271. * CarbonLib: not available
  3272. * Mac OS X: not available
  3273. */
  3274. EXTERN_API( Point ) LMGetRawMouseLocation(void) TWOWORDINLINE(0x2EB8, 0x082C);
  3275. /* Carbon Usage: use GetGlobalMouse*/
  3276. /*
  3277. * LMSetRawMouseLocation()
  3278. *
  3279. * Availability:
  3280. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3281. * CarbonLib: not available
  3282. * Mac OS X: not available
  3283. */
  3284. EXTERN_API( void ) LMSetRawMouseLocation(Point value) TWOWORDINLINE(0x21DF, 0x082C);
  3285. /*
  3286. accesses "Mouse"
  3287. Carbon Usage: use GetGlobalMouse
  3288. */
  3289. /*
  3290. * LMGetMouseLocation()
  3291. *
  3292. * Availability:
  3293. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3294. * CarbonLib: not available
  3295. * Mac OS X: not available
  3296. */
  3297. EXTERN_API( Point ) LMGetMouseLocation(void) TWOWORDINLINE(0x2EB8, 0x0830);
  3298. /*
  3299. * LMSetMouseLocation()
  3300. *
  3301. * Availability:
  3302. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3303. * CarbonLib: not available
  3304. * Mac OS X: not available
  3305. */
  3306. EXTERN_API( void ) LMSetMouseLocation(Point value) TWOWORDINLINE(0x21DF, 0x0830);
  3307. /* accesses "TheCrsr"*/
  3308. /*
  3309. * LMGetTheCursor()
  3310. *
  3311. * Availability:
  3312. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3313. * CarbonLib: not available
  3314. * Mac OS X: not available
  3315. */
  3316. EXTERN_API_C( void ) LMGetTheCursor(Cursor * currentCursor);
  3317. /*
  3318. * LMSetTheCursor()
  3319. *
  3320. * Availability:
  3321. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3322. * CarbonLib: not available
  3323. * Mac OS X: not available
  3324. */
  3325. EXTERN_API_C( void ) LMSetTheCursor(const Cursor * newCursor);
  3326. /* accesses "HiHeapMark"*/
  3327. #endif /* CALL_NOT_IN_CARBON */
  3328. /*
  3329. * LMGetHighHeapMark()
  3330. *
  3331. * Availability:
  3332. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3333. * CarbonLib: in CarbonLib 1.0 and later
  3334. * Mac OS X: in version 10.0 and later
  3335. */
  3336. EXTERN_API( Ptr ) LMGetHighHeapMark(void) TWOWORDINLINE(0x2EB8, 0x0BAE);
  3337. /*
  3338. * LMSetHighHeapMark()
  3339. *
  3340. * Availability:
  3341. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3342. * CarbonLib: in CarbonLib 1.0 and later
  3343. * Mac OS X: in version 10.0 and later
  3344. */
  3345. EXTERN_API( void ) LMSetHighHeapMark(Ptr value) TWOWORDINLINE(0x21DF, 0x0BAE);
  3346. /* accesses "StkLowPt"*/
  3347. /*
  3348. * LMGetStackLowPoint()
  3349. *
  3350. * Availability:
  3351. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3352. * CarbonLib: in CarbonLib 1.0 and later
  3353. * Mac OS X: in version 10.0 and later
  3354. */
  3355. EXTERN_API( Ptr ) LMGetStackLowPoint(void) TWOWORDINLINE(0x2EB8, 0x0110);
  3356. /*
  3357. * LMSetStackLowPoint()
  3358. *
  3359. * Availability:
  3360. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3361. * CarbonLib: in CarbonLib 1.0 and later
  3362. * Mac OS X: in version 10.0 and later
  3363. */
  3364. EXTERN_API( void ) LMSetStackLowPoint(Ptr value) TWOWORDINLINE(0x21DF, 0x0110);
  3365. /* accesses "ROMMapHndl"*/
  3366. #if CALL_NOT_IN_CARBON
  3367. /*
  3368. * LMGetROMMapHandle()
  3369. *
  3370. * Availability:
  3371. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3372. * CarbonLib: not available
  3373. * Mac OS X: not available
  3374. */
  3375. EXTERN_API( Handle ) LMGetROMMapHandle(void) TWOWORDINLINE(0x2EB8, 0x0B06);
  3376. /*
  3377. * LMSetROMMapHandle()
  3378. *
  3379. * Availability:
  3380. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3381. * CarbonLib: not available
  3382. * Mac OS X: not available
  3383. */
  3384. EXTERN_API( void ) LMSetROMMapHandle(Handle value) TWOWORDINLINE(0x21DF, 0x0B06);
  3385. /* accesses "UnitNtryCnt"*/
  3386. /*
  3387. * LMGetUnitTableEntryCount()
  3388. *
  3389. * Availability:
  3390. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3391. * CarbonLib: not available
  3392. * Mac OS X: not available
  3393. */
  3394. EXTERN_API( short ) LMGetUnitTableEntryCount(void) TWOWORDINLINE(0x3EB8, 0x01D2);
  3395. /*
  3396. * LMSetUnitTableEntryCount()
  3397. *
  3398. * Availability:
  3399. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3400. * CarbonLib: not available
  3401. * Mac OS X: not available
  3402. */
  3403. EXTERN_API( void ) LMSetUnitTableEntryCount(short value) TWOWORDINLINE(0x31DF, 0x01D2);
  3404. /* accesses "FmtDefaults"*/
  3405. #endif /* CALL_NOT_IN_CARBON */
  3406. /*
  3407. * LMGetDiskFormatingHFSDefaults()
  3408. *
  3409. * Availability:
  3410. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3411. * CarbonLib: in CarbonLib 1.0 and later
  3412. * Mac OS X: in version 10.0 and later
  3413. */
  3414. EXTERN_API( Ptr ) LMGetDiskFormatingHFSDefaults(void) TWOWORDINLINE(0x2EB8, 0x039E);
  3415. /*
  3416. * LMSetDiskFormatingHFSDefaults()
  3417. *
  3418. * Availability:
  3419. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3420. * CarbonLib: in CarbonLib 1.0 and later
  3421. * Mac OS X: in version 10.0 and later
  3422. */
  3423. EXTERN_API( void ) LMSetDiskFormatingHFSDefaults(Ptr value) TWOWORDINLINE(0x21DF, 0x039E);
  3424. /* accesses "PortAUse"*/
  3425. #if CALL_NOT_IN_CARBON
  3426. /*
  3427. * LMGetPortAInfo()
  3428. *
  3429. * Availability:
  3430. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3431. * CarbonLib: not available
  3432. * Mac OS X: not available
  3433. */
  3434. EXTERN_API( UInt8 ) LMGetPortAInfo(void) TWOWORDINLINE(0x1EB8, 0x0290);
  3435. /*
  3436. * LMSetPortAInfo()
  3437. *
  3438. * Availability:
  3439. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3440. * CarbonLib: not available
  3441. * Mac OS X: not available
  3442. */
  3443. EXTERN_API( void ) LMSetPortAInfo(UInt8 value) TWOWORDINLINE(0x11DF, 0x0290);
  3444. /*
  3445. * LMGetMBTicks()
  3446. *
  3447. * Availability:
  3448. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3449. * CarbonLib: not available
  3450. * Mac OS X: not available
  3451. */
  3452. EXTERN_API( long ) LMGetMBTicks(void) TWOWORDINLINE(0x2EB8, 0x016E);
  3453. /*
  3454. * LMSetMBTicks()
  3455. *
  3456. * Availability:
  3457. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3458. * CarbonLib: not available
  3459. * Mac OS X: not available
  3460. */
  3461. EXTERN_API( void ) LMSetMBTicks(long value) TWOWORDINLINE(0x21DF, 0x016E);
  3462. /*
  3463. * LMGetKeyTime()
  3464. *
  3465. * Availability:
  3466. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3467. * CarbonLib: not available
  3468. * Mac OS X: not available
  3469. */
  3470. EXTERN_API( long ) LMGetKeyTime(void) TWOWORDINLINE(0x2EB8, 0x0186);
  3471. /*
  3472. * LMSetKeyTime()
  3473. *
  3474. * Availability:
  3475. * Non-Carbon CFM: in InterfaceLib 8.5 and later
  3476. * CarbonLib: not available
  3477. * Mac OS X: not available
  3478. */
  3479. EXTERN_API( void ) LMSetKeyTime(long value) TWOWORDINLINE(0x21DF, 0x0186);
  3480. #endif /* CALL_NOT_IN_CARBON */
  3481. #if PRAGMA_STRUCT_ALIGN
  3482. #pragma options align=reset
  3483. #elif PRAGMA_STRUCT_PACKPUSH
  3484. #pragma pack(pop)
  3485. #elif PRAGMA_STRUCT_PACK
  3486. #pragma pack()
  3487. #endif
  3488. #ifdef PRAGMA_IMPORT_OFF
  3489. #pragma import off
  3490. #elif PRAGMA_IMPORT
  3491. #pragma import reset
  3492. #endif
  3493. #ifdef __cplusplus
  3494. }
  3495. #endif
  3496. #endif /* __LOWMEM__ */