Carbon


AppParameters

Header: Processes.h

struct AppParameters {
    EventRecord theMsgEvent; 
    UInt32 eventRefCon; 
    UInt32 messageLength;
};
typedef AppParameters AppParametersPtr;

Field descriptions

theMsgEvent

The event structure specifying the first high-level event to be sent to the launched application.

eventRefCon

A reference constant. Your application can use this field for its own purposes.

messageLength

The length of the buffer specified by the messageBuffer field.

You specify an application parameters structure in the launchAppParameters field of the launch parameter block, LaunchParamBlockRec, whose address is passed to the LaunchApplication function. This structure specifies the first high-level event to be sent to the newly launched application. The application parameters structure is defined by the AppParameters data type.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)