Windows Media Player Mobile Code Samples

    The two Windows Media Player Mobile code samples included in this package demonstrate how to embed Windows Media Player 10 Mobile in an HTML page and in a C++ application.
    • Version:


      File Name:


      Date Published:


      File Size:

      1.6 MB

        The two Windows Media Player Mobile code samples included in this package demonstrate how to embed Windows Media Player 10 Mobile in an HTML page and in a C++ application. The samples are named Web App and CEWMPHostML.

        The purpose of the Web App sample is to show you what events are being fired when a media item is played back by displaying WMPPlayState enumeration values in a text box. These enumeration values correspond to various states such as buffering, stopping, playing, and so on. For more information about these enumeration values, see the Windows Media Player 10 SDK.

        Note The default media location specified in the HTML file points to \storage card\Web App\. If you are installing it in any location other than the storage card, you must edit the HTML source code before the sample will behave properly.

        The purpose of the CEWMPHostML sample is to show you how to retrieve valid Windows Media Player Mobile interface pointers and properties of a media item. The sample also shows you how to programmatically search through items in your media library and add new items to a playlist. This sample is based on the WMPHost and WMPML code samples that ship with the Windows Media Player 10 SDK.

        Note The Pocket PC and Smartphone executables have a dependency on the atlce400.dll file (found in the Pocket PC 2003 and Smartphone 2003 SDKs), so this .dll must be registered on the device or placed in the same directory as the executable.
    • Supported Operating System

      Windows Mobile 2003 software for Pocket PCs , Windows Mobile 2003 software for Smartphone

        • Pocket PC 2003 SDK

        • Smartphone 2003 SDK

        • Microsoft® Windows Media® Player 10 SDK

        • Microsoft® eMbedded Visual C++ 4.0 with Service Pack 4

        1. Click the Download link to start the download.

        2. Do one of the following:

          • To start the installation immediately, click Open or Run this program from its current location.

          • To copy the download to your computer for installation at a later time, click Save or Save this program to disk.

    Popular downloads

      • 01

        DirectX End-User Runtime Web Installer

        The Microsoft DirectX® End-User Runtime provides updates to 9.0c and previous versions of DirectX — the core Windows® technology that drives high-speed multimedia and games on the PC.

      • 03

        Malicious Software Removal Tool

        This tool checks your computer for infection by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps to remove the infection if it is found. Microsoft will release an updated version of this tool on the second Tuesday of each month.

      • 04

        Windows 7 Upgrade Advisor

        Download and run the Windows 7 Upgrade Advisor to see if your PC is ready for Windows 7. It scans your hardware, devices, and installed programs for known compatibility issues, gives you guidance on how to resolve potential issues found, and recommends what to do before you upgrade.

      • 05

        Microsoft Security Essentials

        Microsoft Security Essentials provides real-time protection for your home or small business PC that guards against viruses, spyware, and other malicious software.

    Loading your results, please wait...

    Free PC updates

    • Security patches
    • Software updates
    • Service packs
    • Hardware drivers

    Microsoft Suggests

    Windows 10. The best Windows ever.
    Windows 10
    The best Windows ever.
    Upgrade for free*