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

Send Feedback

After you create basic information for a Catalog item by adding the ComponentType block to a Catalog item (.cec) file, you must define instances of the item by adding an Implementation block.

Implementation blocks are nested within ComponentType blocks. A ComponentType block can have multiple implementation blocks. For more information, see Implementation Block.

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

      Implementations(
        Implementation(
            Name(MyItem)
            GUID({<GUID Value>})
            FeatureVariable(SYSGEN_<CatalogItem>, "1")
    
  2. For the Name element, type a string that identifies the name of this specific implementation.

  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. For the FeatureVariable element, associate this implementation with your Catalog item by passing the Sysgen variable for the application you created.

    Note   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 | Sample .cec Files | 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.