Carbon


ID Constants for the AECreateAppleEvent Function

Header: AEDataModel.h

Specify values for the ID parameters of the AECreateAppleEvent function.

enum {
    kAutoGenerateReturnID = -1,
    kAnyTransactionID = 0
};

Constant descriptions

kAutoGenerateReturnID

If you pass this value for the returnID parameter of the AECreateAppleEvent function, the Apple Event Manager assigns to the created Apple event a return ID that is unique to the current session.

kAnyTransactionID

You pass this value for the transactionID parameter of the AECreateAppleEvent function if the Apple event is not one of a series of interdependent Apple events.

A transaction is a sequence of Apple events that are sent back and forth between the client and server applications, beginning with the client’s initial request for a service. All Apple events that are part of a transaction must have the same transaction ID.

You use these constants with the AECreateAppleEvent function.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)