Adding a CECInfo Block to a .cec File

Once you have created a Catalog feature (.cec) file using a text editor, add a CECInfo block to provide generic metadata for the file. Subsequent blocks describe the feature. For more information, see CECInfo Block Block.

  1. Open your .cec file (for example, MyFeature.cec) in a text editor. For more information, see Creating a .cec File Using a Text Editor

  2. Enter the following information at the top of the file:

    CECInfo (
       Name(MyFeature.cec)
       CECVersion(CE Version)
       GUID(<GUID Value>)
       Vendor("My Company")
       Description("Sample feature")
    )
    
  3. For the Name element, type the name of your feature, terminated with a .cec extension, for example, MyFeature.cec.

  4. For the CECVersion element, enter the current Platform Builder version, for example, 4.20.

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

    Although GUIDs are automatically created when a .cec file is imported into the Catalog, it is strongly recommended that you supply your own GUIDs for new features to ensure consistency. You can use the GUIDGEN tool to create a new GUID. GUIDGEN.exe is located in the %_WINCEROOT%\SDK\BIN\i386 directory. For more information, see GUIDs and UUIDs.

  6. Complete the descriptive information for the remaining elements.

    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 | Reverting to an Empty Catalog | Implementation Block | Binary Image Builder File

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.