Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 4 - Responding to Apple Events / Reference to Responding to Apple Events
Routines for Responding to Apple Events / Requesting More Time to Respond to Apple Events


AEResetTimer

You can use the AEResetTimer function to reset the timeout value for an Apple event to its starting value.

FUNCTION AEResetTimer (reply: AppleEvent): OSErr;
reply
The default reply for an Apple event, provided by the Apple Event Manager.
DESCRIPTION
When your application calls AEResetTimer, the Apple Event Manager for the server application uses the default reply to send a Reset Timer event to the client application; the Apple Event Manager for the client application's computer intercepts this Apple event and resets the client application's timer for the Apple event. (The Reset Timer event is never dispatched to a handler, so the client application does not need a handler for it.)

RESULT CODE
noErr0No error
errAEReplyNotValid-1709AEResetTimer was passed an invalid reply

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996