ComponentType Block (Windows CE 5.0)
The component type block is the basic block, which contains all Catalog item information to be imported into the Catalog.
The following code example shows a component type block.
ComponentType(
Name( <string> )
GUID( <GUID Value> )
Group( <string> )
Description( <string> )
Vendor( <string> )
Implementations(
Implementation( ... )
Implementation( ... )
)
)
The following table shows the elements of component type subblocks.
Element | Description |
---|---|
Name | Identifies the name of the component type as it appears in the catalog. |
GUID | (Optional) Supplies the GUID for component types, implementations, and build methods.
If a value is not present, it is created when the .cec file is imported into the Catalog. |
Description | (Optional) Describes the Catalog item.
The default is none. The description must be enclosed in quotation marks; for example, |
Group | (Optional) Names the file folder where your Catalog item is placed when it is added to the Catalog.
The folder name must be enclosed in quotation marks. For example,
|
Vendor | (Optional) Provides vendor information. |
Implementations | Groups of implementations. |
Implementation | A Catalog item implementation within a group of implementations. |
MaxResolvedImpsAllowed | (Optional) Specifies the maximum number of implementations of the same type that can exist in an OS design. |
RequiredCEModules | (Optional) Lists modules that are required for this type to be added to the OS design.
|
ExcludeWhenSet | (Optional) Lists a set of variables that, when set in the OS design, causes all implementations of this type to be excluded from build.
|
HelpID | (Optional) Contains the help identifier used for component type lookup in the Platform Builder Help. |
To see examples of how a ComponentType block is formed, examine the default .cec files that are installed with Platform Builder. These files are installed in the %_WINCEROOT%\Public\Common\Oak\Catalog\Cec directory.
See Also
Catalog Item Files | Catalog Item Migration
Send Feedback on this topic to the authors