다음을 통해 공유


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

Send Feedback

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

  1. Open your .cec file (for example, MyItem.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(<MyItem.cec>)
       CECVersion(<CE Version>)
       GUID({<GUID Value>})
       Vendor("<My Company>")
       Description("<Sample Catalog item>")
    )
    
  3. For the Name element, type the name of your Catalog item, terminated with a .cec extension (for example, MyItem.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 created when a .cec file is imported into the Catalog, it is strongly recommended that you supply your own GUIDs for new 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.

  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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.