How to Add a Media File to an Operating System

If your operating system (OS) includes multimedia playback support, you can include playable content, such as entertainment, training, or advertising media, as part of your default configuration. Use Platform Builder to add such files to an OS.

Although this topic deals specifically with media files, the general techniques used in this topic can be applied to make any file part of the OS for a device.

Hardware and Software Assumptions

  • A Windows CE-based device with a supported sound and display hardware
  • Speakers for your device

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Create a simple Windows CE OS that supports Windows Media playback. Creating a Simple OS for Windows Media
2. Verify that your OS includes the proper sound and display driver support for your device. Determining Platform Audio and Display Driver Support
3. Add media files to the OS.

If you do not have your own files, you can use the following files, located in your original Windows CE installation:

  • %_WINCEROOT%\Public\DirectX\Oak\Files\Kelsyville_av32.wmv
  • %_WINCEROOT%\Public\DirectX\Oak\Files\Kelsyville_av100.wmv
Adding a File to an Operating System
4. Create a desktop shortcut for one of your files and add it to your OS. Creating a Shortcut File and Adding It to the OS
5. Organize the media files in the OS file system. Organizing Files Within an OS
6. Build the OS image. Building a Platform
7. Download the OS image to your device. Downloading an OS Image to a Target Device
8. Play the media files. Once the OS image is loaded onto your device, from the Start menu, choose Programs, and then choose Windows Explorer. Navigate through the file system on your device to find all three of your media files, the two movies and the shortcut, in the Windows directory. The Media Library\Video Links directory contains a copy of the shortcut and the Media Library\Video Files directory contains a copy of the larger movie. Not applicable

See Also

Platform Development How-to Topics

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.