How to Add a Media File to a Run-time Image (Windows CE 5.0)

If your run-time image includes multimedia playback support, you can include playable content, such as entertainment, training, or advertising media, as part of your default OS design.

Use Platform Builder to add such files to a run-time image.

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 run-time image.

Hardware and Software Assumptions

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

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

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

If you do not have your own files, you can use one of the sample files. The samples files are located in your Windows CE installation directory. For example, %_WINCEROOT%\Public\DirectX\Oak\Files\Kelsyville_av32.wmv

Adding a File to a Run-time Image
4. (Optional) Create a desktop shortcut for one of your files. Not applicable.
5. (Optional) Add the desktop shortcut that you created in Step 4 to your run-time image. Adding a File to a Run-time Image
6. (Optional) Organize the media files in the run-time image file system. Organizing Files Within a Run-time Image
7. Build the run-time image. Building a Run-Time Image
8. Download the run-time image to your target device. Downloading a Run-Time Image
9. Play the media files.

After the run-time image is loaded onto your target device, from the Start menu, choose Programs, and then choose Windows Explorer.

Navigate through the file system on your target device to find your media files, the movie file and its shortcut, in the \Windows directory. These files are stored in ROM and are therefore hidden from normal view in Windows Explorer. To make these files visible, from the View menu, choose Options to reveal the Folder Options dialog box.

The \Media Library\Video Links directory contains a copy of the shortcut and the \Media Library\Video Files directory contains a full copy of the movie.

Not applicable

See Also

How-to Topics

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.