![]() |
ComponentParameters |
Header: Components.h |
struct ComponentParameters { UInt8 flags; UInt8 paramSize; SInt16 what; SInt32 params[1]; };
Reserved for use by Apple.
Specifies the number of bytes of parameter data for this request. The actual parameters are stored in the params field.
Specifies the type of request. Component designers define the meaning of positive values and assign them to requests that are supported by components of a given type. Negative values are reserved for definition by Apple. See Result Codes for Apple-defined request code values.
An array that contains the parameters specified by the application that called your component. You can use the CallComponentRoutine or CallComponentRoutineWithStorage function to convert this array into a Pascal-style invocation of a subroutine in your component.
The Component Manager uses the component parameters structure to pass information to your component about a request from an application. Functions which use this data type are CallComponentFunction, CallComponentFunctionWithStorage, and DelegateComponentCall.The information in this structure completely defines the request. Your component services the request as appropriate.
The ComponentParameters data type defines the component parameters structure.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)