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: More Macintosh Toolbox /
Chapter 6 - Component Manager / Component Manager Reference
Routines for Components / Managing Component Connections


GetComponentInstanceA5

You can use the GetComponentInstanceA5 function to retrieve the value of the A5 register for a specified connection. Your component sets the A5 register by calling the SetComponentInstanceA5 function, as previously described. The Component Manager then sets the A5 register for your component each time the client requests service on this connection. If your component has been registered globally and you have not set an A5 value, the A5 register is set to 0. In this case you should use your client's A5 value.

FUNCTION GetComponentInstanceA5 
         (aComponentInstance: ComponentInstance): LongInt;
aComponentInstance
The connection for which to retrieve the A5 value. The Component Manager provides a component instance to your component when the connection is opened.
DESCRIPTION
The GetComponentInstanceA5 function returns the value of the A5 register for the connection.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996