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: Processes
Chapter 5 - Notification Manager / Notification Manager Reference
Application-Defined Routine / Notification Response Procedures


MyResponse

If desired, you can specify the address of a completion or response procedure that is executed as the last stage in a notification. The response procedure should have this syntax:

PROCEDURE MyResponse (nmReqPtr: NMRecPtr);
nmReqPtr
A pointer to a notification record.
DESCRIPTION
The nmResp field of the notification record contains the address of a response procedure executed as the final stage of a notification. If no processing is necessary in response to the notification, then you can supply the value NIL in that field. If you supply the address of your own response procedure in the nmResp field, the Notification Manager passes it one parameter, a pointer to your notification record.

SEE ALSO
For more details on a response procedure, see "Defining a Response Procedure" on page 5-9.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUN 1996