Share via


Adding a ComponentType Block to a .cec File (Windows CE 5.0)

Send Feedback

After you create the CECInfo block to describe a Catalog item (.cec) file, you must add a ComponentType block, which describes the Catalog item you are adding to the Catalog.

When you complete this descriptive step, you can add Implementation methods for your Catalog item. For more information, see ComponentType Block

  1. In your .cec file (for example, MyItem.cec), enter or edit the following block after the CECInfo block:

    ComponentType (
       Name("Sample")
       Description("Basic Application")
       GUID({<GUID Value>})
       Vendor("<Vendor information>")
    
  2. For the Name element, specify the name of the item.

  3. For the GUID element, enter a unique ID.

    Although GUIDs are generated for any structure that does not supply one, it is strongly recommended that you supply your own GUIDs for your Catalog items to ensure consistency.

    You can use the GUIDGEN tool to create a GUID. GUIDGEN.exe is in the %_WINCEROOT%\SDK\BIN\i386 directory. For more information, see GUIDs and UUIDs.

  4. Complete the descriptive information for the remaining elements.

    For more information about how these parameters are used, see Sample .cec Files.

See Also

Adding a .cec File to the Catalog | Removing a .cec File from the Catalog | Reverting to an Empty Catalog | Implementation Block | Binary Image Builder File

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.