Platform and OS Directories
When you install Microsoft® Windows® CE .NET 4.2 with Microsoft Platform Builder 4.2 on your development workstation, a hierarchy of directories is created. If you installed the Windows CE operating system (OS) in the default directory, the topmost directory for the Windows CE OS is WINCE420.
Platform Builder creates some directories when you install Platform Builder, and the rest when you build a platform. The directory structure varies, depending on which components you have included in your platform.
The following table shows the directories included in the Wince420 directory.
Directory | Description |
---|---|
Others | Run-time files, binary files for building OS image files, registry files, and batch files that are used to add files to an OS image. |
Platform | Device-specific files and directories. |
Private | Source code for the Windows CE OS. |
Public | Directories for the Windows CE OS configurations. |
SDK | Tools and libraries in the Windows CE software development kits (SDKs) that support Platform Builder. For information on the Windows CE SDKs, see the documentation included with those products. |
The directory structure for Platform Builder allows multiple development projects to coexist within a single tree. Also, each OS tree can support multiple CPUs. This is important because Platform Builder uses the Platform and Public directories to store source code for device-specific projects. When you install Platform Builder, hardware-specific source code files are created under the Platform directory for each processor type you specify. For example, if you install hardware support for ARM, MIPS, and CEPC BSPs, and then create a new BSP called MyMIPS, the Platform directory structure appears as follows:
%_WINCEROOT%\Platform\ARM
%_WINCEROOT%\Platform\MIPS
%_WINCEROOT%\Platform\CEPC
%_WINCEROOT%\Platform\MyMIPS
These source files are used to support the targeted devices you choose when building a new OS image.
The Public directory contains source code for the Windows CE OS configurations, including build tools, drivers, and library source files common to all platforms. When you create a new platform configuration using the New Platform Wizard, a corresponding directory is create under the Public tree. For example, if you create a new platform called MyHandheld, the following directory is created:
%_WINCEROOT%\Public\MyHandheld
For more information about source code, and related tools and tasks, see the following topics:
- Source Code Control
- Shared Source Code
- Source Code Browsing
- Driver Development
- Platform Development
- Application Development
- Driver Development Tools
- Command-Line Tools
See Also
Others Directory | Platform Directory | Public Directory | Windows CE Projects | SDK Directory | Platform and OS Directories Changes | Platform Builder Sample Code
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.