Important: The information in this document is obsolete and should not be used for new development.
Application Parameters Record
You specify an application parameters record in thelaunchAppParameters
field of the launch parameter block whose address is passed to theLaunchApplication
function. This record specifies the first high-level event to be sent to the newly launched application. The application parameters record is defined by theAppParameters
data type.
TYPE AppParameters = RECORD theMsgEvent: EventRecord; {event (high-level)} eventRefCon: LongInt; {reference constant} messageLength: LongInt; {length of buffer} messageBuffer: ARRAY [0..0] OF SignedByte; END;
Field Description
theMsgEvent
- The event record 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.
messageBuffer
- A buffer of data. The nature of this data varies according to the event being sent.