Important: The information in this document is obsolete and should not be used for new development.
Summary of the Message Manager
Constants and Data Types
Message Manager Gestalt Selector
#define gestaltMessageMgrVersion 'mess' /* gestalt version selector */Message Globals Inititialization Procedure
typedef void (*MessageGlobalsInitProc) (void *messageGlobals);Functions
Allocating Memory for and Disposing of Global Data
OSErr NewMessageGlobals (long msgGlobalsSize, MessageGlobalsInitProc aProc); OSErr DisposeMessageGlobals (void);Setting and Getting Global Data for Multiple Handler Instances
void *SetMessageHandlerClassContext (void *); void *GetMessageHandlerClassContext (void);Setting and Getting Global Data for a Single Handler Instance
void *SetMessageHandlerInstanceContext (void *); void *GetMessageHandlerInstanceContext (void);Sending and Forwarding Messages
OSErr SendMessage (long messageSelector...); OSErr ForwardMessage (long messageSelector, ...); OSErr ForwardThisMessage (...);Application-DefinedFunctions
Initializing Memory for Global Data
typedef void (*MessageGlobalsInitProc) (void *messageGlobals);