3LOSSAR Ccess Path: a Desc File Is Opened
Total Page:16
File Type:pdf, Size:1020Kb
,_ Apple 4t Inside Macintosh Your key to Apple's X-Ref official programming books for tbe Macintosh fl family ofcomputer s 3LOSSAR ccess path: A desc file is opened. ccess .path buffer: Job Titles Charges • •• §0 Accounts Inside Macintosh® X Ref / A ~ Addison-Wesley Publishing Company, Inc. Reading, Massachusetts Menlo Par~ California New York Don Mills, Ontario Wokingham, England Amsterdam Bonn Sydney Singapore Tokyo Madrid San Juan S APPLE COMPUTER, INC. Copyright© 1988 by Apple Computer, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any fonn or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior written pennission of Apple Computer, Inc. Printed in the United States of America. Apple, the Apple logo, AppleTalk, A/UX, HyperCard, Image Writer, MacApp, and Macintosh, are registered trademarks of Apple Computer, Inc. APDA, Apple Desktop Bus, :t::'inder, and Stackware are trademarks of Apple Computer, Inc. Helvetica and Times are registered trademarks of Linotype Co. Microsoft is a registered trademark of Microsoft Corporation. NuBus is a trademark of Texas Instruments. POSTSCRIPT is a registered trademark of Adobe Systems Incorporated. UNIX is a registered trademark of AT&T lnfonnation Systems. Simultaneously published in the United States and Canada. ISBN 0-201-13694-5 ISBN 0-201-19265-9 CDEFGH-AL-898 Third'printing, July 1988 Inside Macintosh X-Ref WARRANTY INFORMATION ALL IMPLIED WARRANTIES ON THIS MANUAL, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE LIMITED IN DURATION TO NINETY (90) DAYS FROM THE DATE OF THE ORIGINAL RETAIL PURCHASE OF THIS PRODUCT. Even though Apple has reviewed this manual, APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS MANUAL, ITS QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A RESULT, THIS MANUAL IS SOLD "AS IS," AND YOU, THE PURCHASER, ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT OR INACCURACY IN THIS MANUAL, even if advised of the possibility of such damages. THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL OR WRITTEN, EXPRESS OR IMPLIED. No Apple dealer, agent. or employee is authorized to make any modification, extension, or addition to this warranty. Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. This warranty gives you specific legal rights, and you may also have other rights which vary from state to state. Contents 1 Preface: About This Book 3 Index I: General Index 49 Index Il: Constants and Field Names 59 Appendix A: Routines That May Move or Purge Memory 63 Appendix B: System Traps 63 Sorted by Name 72 Sorted by Trap Word 83 Appendix C: Global Variables 89 Glossary This book was written, edited, and composed on a desktop publishing system using Apple® Macintosh® computers and Microsof~ Word. Proof and final pages were produced on the Apple LaserWritei4 Plus Printer. POSTSCRJPT'l'M, the LaserWriter page description language, was developed by Adobe Systems Incorporated. The text is set in Times• and the display type in Helvetica•. PREFACE: ABOUT THIS BOOK The Inside Macintoshf> X-Ref is your key to Apple's official programming books for the Macintosh family of computers. The X-Ref gives you: • a general index to eight books: all five volumes of Inside Macintosh, the Programmer's Introduction to the Macintosh Family, the Technical Introduction to the Macintosh Family, and Designing Cards and Drivers for the Macintosh II and Macintosh SE. The general index also contains references to the Macintosh Technical Notes for 1984-1987. • a complete list of routines that may move or purge memory • a list of all Macintosh system traps • a list of all Macintosh global variables • a comprehensive Macintosh glossary In addition, the Inside MacintoshX-Refcontains a new index, never before published, listing all constants and field names in Inside Macintosh. The books for which the Inside MacintoshX-Refis across-reference are published by Addison-Wesley as part of the Apple Technical Library. Macintosh Technical Notes may be ordered from APDA, the Apple Programmer's and Developer's Association. For information about APDA, see the inside back cover of this book. The text of the Inside Macintosh X-Ref is also available from APDA in the form of Macintosh text files on a 3.5-inch disk. Preface: About This Book 1 INDEX I: GENERAL INDEX The General Index lists page references for eight books plus theMacintosh Technical Notes for 1984-1987. The eight books include all five volumes of Inside Macintosh, the Programmer's Introduction to the Macintosh Family, the Technical Introduction to the Macintosh Family, and Designing Cards and Drivers for the Macintosh II and Macintosh SE. The index entries for the different books are distinguished by letter codes, as follows: Code Book Sample listing I, II, m, IV, V Inside Macintosh 11-276 =Volume II, page 276 p Programmer's Introduction to the Macintosh Family P-103 = page 103 T Technical Introduction to the Macintosh Family T-78 =page78 c Designing Cards and Drivers for the Macintosh II and Macintosh SE C8-12 = chapter 8, page 12 N Macintosh Technical Notes N2 = Technical Note 2 A acknowledgement C3-9, Cl3-8 ACount global variable 1-423 'actb' resource V-278 ABByte data type Il-276 action procedme 1-316, 324, 328 ABCallType data type 11-274 in control definition function 1-332 ABPaslntf Nl32 activate event 1-244, 279, P-33, T-37, 39, 50 ABProtoType data type 11-274 event message 1-252 ABridge low memory global N9 ActivatePaleue procedure V-162 ABRecHandle data type Il-274 active ABRecPtr data type Il-274 control 1-313 ABusRecord data type 11-274 window 1-46, 270, 284, T-49 ALAP parameters Il-276 active end IV-5 ATP parameters II-287 active-low signal C2-8 DDP parameters II-281 ADB device table V-367 NBP parameters Il-298 ADBDataBlock V-369 ABusVars global variable 11-328 ADBOp function V-368 AC specifications for line drive (NuBus card) ADBRelnit procedure V-367, N143 C6-2 'ADBS' resource V-371 access modes V-376 ADBSetlnfoBlock V-370 access path 11-83, IV-94, T-158 AddComp procedure V-147 buffer Il-84, IV-96 AddDrive function N36, N108 accesses, non-aligned C3-16 additive primary T-100 accessing AddPt procedure 1-193 files P-130 AddrBlock data type Il-281 menus/menu items P-104 AddReference N2 /ACK C2-5, C3-4, CS-6, 7, C6-2 AddResMenu procedure 1-353, V-243, P-102 acknowledge cycle Cl-8 AddResource procedure 1-124 defined C2-7 AddResponse function 11-318, V-513 Index I: Generallndex 3 Inside Macintosh X-Ref address allocatiom, Macintosh II C4-5 American National Standards Institute (ANSI) T- address/data bus, Macintosh II Cl-7 227 address/data signals C2-5, C3-4 amplitude ofa wave II-223, T-171 addressmorT-189 Analog Signal Generator (ASG) T-226 address mapping, NuBus to Macintosh II C4-5 ~estors P-147 Address Mapping Unit (AMU) Cl-6, T-206 anchor point IV-5 address mark 11-211 AngleFromSlope function 1-476 addressspace T-192,202,203 AnimateEntry procedure V-164 Macintosh SE Cl3-16 AnimatePalette procedure V-164 Macintosh II C4-2 animating colors V-156 AddSearch procedure V-147 ANS Pascal P-140 /AD31-/ADO C2-5, C3-4, C6-2 ANumber global variable 1-423 AS register N25 ApFontID global variable 1-219, IV-31 AFP See AppleTalk Filing Protocol aposttophe T-158 AFPCommand function V-542 AppendMenu procedure 1-352, V-243, P-102 ALAP See AppleTalk Link Access Protocol At>pFlle data type II-58 ALAP fmme 11-264 'APPL' resource N29 ALAP protocol type II-264 Apple DCA filter T-180 Alarm Clock N85, T-38, 78, 131 Apple Desktop Bus V-361, T-5, 200, 229, 23 alarm clock event T-38 keyboards T-232 alarm setting T-132 Manager T-22 alert 1-401, 409, P-105, 109, 167, T-56, 59 mouse T-235 bo)( 1-401, T-59 routines V-367 closing P-107 Apple Developer Services P-157, T-257 color in P-106 Apple Extended Keyboard V-190, 192 color table V-278 Apple Hard Disk 20 T-226 guidelines 1-68 Apple Hard Disk 20SC T-9 opening P-107 Apple Hard Disk40SC T-9 posting P-109 Apple Hard Disk 80SC T-9 resource format 1-426 Apple key T-38 stages 1-409 Apple menu 1-54, N85 template 1-403, 424 Apple Numerics Manual P-xviii types of P-106 Apple Personal Modem T-9 windows 1-401, 1-402 Apple Programmer's and Developer's Alert function 1-418, V-284 Association (APDA) C-xvii, P-185, AlertTemplate data type 1-424 T-256 AlertTHndl data type 1-425 Apple Sound Chip (ASC) Cl-3, T-142, 172, AlertTPtr data type 1-425 217,222,225 alias II-266 Apple symbol T-38, 232 aliasing C 1-9 Apple Tape Backup 40SC T-9 A-line instruction T-25 Apple technical documentation T-257 Allocate function IV-143 AppleLine 3270 File Transfer program T-180 high-level 11-94 AppleShare V-380, NI 14, NI 15, Nl 16, T-9 low-level 11-113 drop folders N165 allocated block 11-10, T-147 foreground applications N167 allocation block II-79, IV-89 AppleShare File Server T-180 AllocContig function IV-143 AppleTalk T-9, 116, 133, 134, 179, 228, 246 high-level IV-112 address Il-265,T-181 low-level IV-143 architecture T-181 AllocCursor procedure V-75 drivers T-169, 176 'ALRT' resource V-278 AppleTalk Filing Protocol (AFP) V-523, T-183 altDBoxProc P-92 command mapping V-541 4 Index I: General Index Index I: General Index login