Sample .cec Files (Windows CE 5.0)
The following code examples show sample .cec files.
For more examples of .cec files, examine the default .cec files that are installed in the %_WINCEROOT%\Public\Common\Oak\Catalog\Cec directory.
Sample 1
The following code example shows all important keywords known to the .cec parser:
CECInfo (
Name(test2.cec)
CECVersion(4.00)
GUID({EBA7FFA0-87EB-11d3-9930-00105AC7264F})
Vendor("Dens computer company")
Description("Dens test cec file")
)
ComponentType (
Name("Dens Child Comp")
Description("Dens Child Feature")
GUID( {EBA7FFA0-87EB-11d3-9930-00105AC7264F} )
Vendor("Dens computer company")
Implementations (
Implementation (
Name("Dens Child xxxx")
Description("Dens Child xxxx Feature")
GUID( {24E94E20-87EC-11d3-9930-00105AC7264F} )
Vendor("Dens computer company")
Date("10/21/99")
BuildMethods (
BuildMethod (
Step ( BSP )
CPU ( DEFAULT )
)
)
)
)
)
ComponentType (
Name("Dens comps")
Description("Dens Features")
Group("\Dens")
GUID( {01FA62A0-858D-11d3-992E-00105AC7264F} )
Vendor("Dens computer company")
Implementations (
Implementation (
Name("Dens i486")
Description("Dens i486 Feature")
GUID( {B0325830-858D-11d3-992E-00105AC7264F} )
Vendor("Dens i486 company")
Date("10/19/99")
Children( "Dens Child Comp" )
BuildMethods (
BuildMethod (
Step ( BSP )
CPU ( x86 )
CPU ( Emulator )
)
)
)
Implementation (
Name("Dens SH4")
Description("Dens SH4 Feature")
GUID( {B0325831-858D-11d3-992E-00105AC7264F} )
Vendor("Dens computer company")
Date("October 20,1999")
)
Implementation (
Name("Dens Default")
Description("Dens default Feature")
GUID( {B0325832-858D-11d3-992E-00105AC7264F} )
Vendor("Dens computer company")
Date("October 21,1999")
)
Implementation (
Name("Dens mixed")
Description("Dens mixed Feature")
GUID( {43DBF740-9C71-11d3-9941-00105AC7264F} )
Vendor("Dens computer company")
Date("November 16,1999")
BuildMethods (
BuildMethod (
Step ( BSP )
CPU ( DEFAULT )
)
)
)
) // end implementations
) // end componentType
Sample 2
The following code example shows a full code sample of a .cec file:
// The necessary CECInfo block
CECInfo (
Name(example.cec)
CECVersion(4.00)
Vendor("Johnnys company")
Description("Example CEC for cec.doc")
)
// CEPC - video drivers ("ddi_s3v" and "ddi_vga8")...
//
ComponentType (
Name( display )
GUID( {B3509B51-F1E4-11d2-85F6-004005365450} )
Description( "CEPC Video Drivers" )
Group( "\Device Drivers" )
Implementations(
Implementation(
Name( ddi_s3v )
Description( "S3ViRGE driver" )
BSPPlatformDir( "CEPC" )
GUID( {B3509B57-F1E4-11d2-85F6-004005365450} )
BuildMethods (
BuildMethod (
Step ( BSP )
CPU ( x86 )
)
)
)
Implementation(
Name( ddi_vga8 )
Description( "VGA 8BPP driver" )
BSPPlatformDir( "CEPC" )
GUID( {B3509B59-F1E4-11d2-85F6-004005365450} )
BuildMethods (
BuildMethod (
Step ( BSP )
CPU ( x86 )
)
)
)
)
)
// CEPC - wavedev...
//
ComponentType (
Name( Wavedev )
GUID ( {14C1DB2A-3DEE-4851-ABEA-C60DCB9D2ADD} )
Description( "Wavedev" )
Group( "\Device Drivers" )
Implementations(
Implementation(
Name( Wavedev )
Description( "Wavedev driver" )
BSPPlatformDir( "CEPC" )
GUID ( {20469435-4124-41c0-9C96-632BF395E0DF} )
BuildMethods (
BuildMethod (
Step ( BSP )
CPU ( x86 )
)
)
)
)
)
See Also
Send Feedback on this topic to the authors