Microsoft DirectX 8.1 (Visual Basic)

DirectMusicLoader8

The DirectMusicLoader8 class is used to find and load objects that represent musical and instrument data.

The object is obtained by using the DirectX8.DirectMusicLoaderCreate method.

Objects referred to by other objects are loaded automatically. For example, a style may contain references to bands and collections in other files, and these are loaded, if possible, when the DirectMusicLoader8.LoadStyle method is called.

The DirectMusicLoader8 interface has the following methods.

Method Description
LoadBand Loads a band from a file.
LoadBandFromResource Loads a band from a resource.
LoadChordMap Loads a chordmap from a file.
LoadChordMapFromResource Loads a chordmap from a resource.
LoadCollection Loads a collection from a file.
LoadCollectionFromResource Loads a collection from a resource.
LoadSegment Loads a segment from a file.
LoadSegmentFromResource Loads a segment from a resource.
LoadStyle Loads a style from a file.
LoadStyleFromResource Loads a style from a resource.
SetSearchDirectory Sets the directory to be searched by the methods that load objects from a file.