DirectX SDK

PlayPrimary Sample

[Visual Basic]

This topic pertains only to application development in C and C++. See DirectMusic Visual Basic Samples.

[C++]

Description

The PlayPrimary sample shows how to play a primary segment based on an authored music section.

Path

Source: (SDK root)\Samples\Multimedia\Dmusic\Src\PlayPri

Executable: (SDK root)\Samples\Multimedia\DMusic\Bin

User's Guide

Click Close to quit the program.

Programming Notes

The program uses the registry key set up by the DirectX SDK setup to find the media file path.