ATPreFlightEvent
ATPreFlightEvent Test all routines with specified event code
#include <AppleTalk.h> AppleTalk Manager
OSErr ATPreFlightEvent( event, cancel, intoPtr);
long event ; Event code
long cancel ; Event code
Ptr infoPtr ; Address of your custom routine
returns Error Code; 0=no error
ATPreFlightEvent calls all of the routines in the AppleTalk Transition
Queue with the AppleTalk transition event code you specify in the event
parameter. If any routine in the AppleTalk Transition Queue returns a nonzero
function result, the ATPreFlightEvent function calls each of the routines
that it has already called, this time with the AppleTalk transition event code
you specify in the cancel parameter.
event can be any 4-byte character code that starts with an uppercase
letter-that is, any value in the range 0x041 00 00 00 through
0x05A FF FF FF
cancel can be any 4-byte character code that starts with an uppercase
letter-that is, any value in the range 0x041 00 00 00 through
0x05A FF FF FF.
infoPtr point to any information that you want to make available to the
AppleTalk Transition Queue routines.
Returns: an operating system Error Code.
noErr (0) No error

Notes: You can use the infoPtr parameter to point to any information that you
want to make available to the AppleTalk Transition Queue routines. If you do
not want to pass any information to the AppleTalk Transition Queue
routines, set the infoPtr parameter to NIL.
AppleTalk transitions defined by developers might return other result
codes.