Carbon


AEManagerInfo

Header: AppleEvents.h Carbon status: Supported

Provides information about the version of the Apple Event Manager currently available or the number of processes that are currently recording Apple events.

OSErr AEManagerInfo (
    AEKeyword keyWord, 
    SInt32 *result
);
Parameter descriptions
keyWord

A value that determines the kind of information the function supplies in the result parameter.

Pass the value keyAERecorderCount to obtain the number of processes that are currently recording Apple events.

Pass the value keyAEVersion to obtain version information for the Apple Event Manager, in NumVersion format.

Some keyword constants are defined in “Keyword Parameter Constants”.

result

A pointer to a long value. On return, provides information that depends on what you pass in the keyword parameter.

If you pass keyAERecorderCount, result specifies the number of processes that are currently recording Apple events.

If you pass keyAEVersion, result supplies version information for the Apple Event Manager, in a format that matches the 'vers' resource.

function result

A result code.

DISCUSSION

For recordable applications, the information provided by AEManagerInfo may be useful when the application is responding to Apple events that it sends to itself.

For information on determining whether the Apple Event Manager is available, see “Apple Event Manager Gestalt Selector and Attributes”.

VERSION NOTES

The AEManagerInfo function is available only in version 1.01 and later of the Apple Event Manager.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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