Other, more specialized uses of DirectMusic are demonstrated in the sample applications provided with the SDK. For a description of these samples, see DirectMusic C++ Samples.

Note For the sake of simplicity, the tutorial applications perform minimal error checking when calling DirectX methods. Except for methods that always succeed, your code should always check the result of method calls and handle failure appropriately.