Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 11 - Program-to-Program Communications Toolbox / PPC Toolbox Reference
PPC Toolbox Routines / Initializing the PPC Toolbox


PPCInit

Use the PPCInit function to initialize the PPC Toolbox.

FUNCTION PPCInit: OSErr;
DESCRIPTION
After initialization, most PPC Toolbox routines can execute either synchronously or asynchronously.

Note that a noGlobalsErr result code indicates that the PPC Toolbox is not loaded properly.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the PPCInit function are
Trap macroSelector
_PPCBrowser$0000

The registers on entry and exit for this routine are
Registers on entry
D0Selector code
Registers on exit
D0Result code

RESULT CODES
noErr0No error
noGlobalsErr-904System unable to allocate memory, critical error

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996