Platform SDK: DirectX |
The DirectMusicStyle.GetBand method gets a band object by name.
object.GetBand(name As String) As DirectMusicBand
If the method succeeds, it returns a DirectMusicBand object.
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_FAIL.
DirectMusicStyle.GetBandName, DirectMusicStyle.GetDefaultBand