Carbon


AEGetInteractionAllowed

Header: AEInteraction.h Carbon status: Supported

Gets your application’s current user interaction preferences for responding to an Apple event as a server application.

OSErr AEGetInteractionAllowed (
    AEInteractAllowed *level
);
level

A pointer to an interaction level variable. On return, the variable specifies the current user interaction level, matching one of the values described in “User Interaction Level Constants”.

function result

A result code.

DISCUSSION

The current user interaction preference for responding to an Apple event is set either by default (to kAEInteractWithLocal) or by a previous call to AESetInteractionAllowed.

For additional information on interaction level, see “AESend” and “Preferences Constants for the AESend Function”.

See also AEInteractWithUser.

AVAILABILITY

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


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)