Carbon


AEAddressDesc

Header: AEDataModel.h

A descriptor record that contains the address of an application. Typically used to describe the target application for an Apple event.

typedef AEDesc AEAddressDesc;

An address descriptor record is identical to a descriptor record of data type AEDesc; however, the data for an address descriptor record must always consist of the address of an application.

Every Apple event includes an attribute specifying the address of the target application. The address in an address descriptor record can be specified as one of these four basic types (or as any other descriptor type you define that can be coerced to one of these types): typeApplSignature, typeSessionID, typeTargetID, or typeProcessSerialNumber. These constants are described in “Descriptor Type Constants”.

If your application sends Apple events to itself using a typeProcessSerialNumber address descriptor record with the lowLongOfPSN field set to kCurrentProcess (and the highLongOfPSN field set to 0), the Apple Event Manager jumps directly to the appropriate Apple event handler without going through the normal event-processing sequence.


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