Carbon


Register Component Resource flags

Header: Components.h

enum {
    registerComponentGlobal = 1,
    registerComponentNoDuplicates = 2,
    registerComponentAfterExisting = 4,
    registerComponentAliasesOnly = 8
};

Constant descriptions

registerComponentGlobal

Specify this flag to indicate that this component should be made available to other applications and clients as well as the one performing the registration. If you do not specify this flag, the component is available for use only by the registering application or component (that is, the component is local to the A5 world of the registering program).

registerComponentNoDuplicates

Specify this flag to indicate that if a component with identical characteristics to the one being registered already exists, then the new one should not be registered (RegisterComponent returns 0 in this situation). If you do not specify this flag, the component is registered even if a component with identical characteristics to the one being registered already exists.

registerComponentAfterExisting

Specify this flag to indicate that this component should be registered after all other components with the same component type. Usually components are registered before others with identical descriptions; specifying this flag overrides that behavior.

registerComponentAliasesOnly

The functions RegisterComponent, RegisterComponentResource, and RegisterComponentResourceFile use these flags in the global parameter.


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