Carbon


ResourceSpec

Header: Components.h

struct ResourceSpec {
    OSType resType; 
    SInt16 resID;
};

Field descriptions

resType

The type of the resource.

resID

The ID of the resource.

The ComponentResource structure uses the resource specification structure, defined by the ResourceSpec data type, to describe the component’s code, name, information string, or icon. The resources specified by the resource specification structures must reside in the same resource file as the component resource itself.


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