Carbon


Component Resource Extension Flags

Header: Components.h

enum {
    componentDoAutoVersion = 1,
    componentWantsUnregister = 2,
    componentAutoVersionIncludeFlags = 4,
    componentHasMultiplePlatforms = 8,
    componentLoadResident = 16
};

Constant descriptions

componentDoAutoVersion

Specify this flag if you want the Component Manager to resolve conflicts between different versions of the same component. If you specify this flag, the Component Manager registers your component only if there is no later version available. If an older version is already registered, the Component Manager unregisters it. If a newer version of the same component is registered after yours, the Component Manager automatically unregisters your component. You can use this automatic version control feature to make sure that the most recent version of your component is registered, regardless of the number of versions that are installed

componentWantsUnregister

Specify this flag if you want your component to receive an unregister request when it is unregistered.

componentAutoVersionIncludeFlags

Specify this flag if you want the Component Manager to include the componentFlags field of the component description structure when it searches for identical components in the process of performing automatic version control for your component. If you do not specify this flag, the Component Manager searches only the componentType, componentSubType, and componentManufacturer fields.

Note that the setting of the componentAutoVersionIncludeFlags flag affects automatic version control only and does not affect the search operations performed by FindNextComponent and CountComponents.

componentHasMultiplePlatforms
componentLoadResident

These values are used in the ComponentResourceExtension structure to specify additional information about component registration.


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