Platform SDK: DirectX

DirectMusicStyle.GetBand

DirectMusicStyle.GetBand メソッドは、名前を使ってバンド オブジェクトを取得する。

object.GetBand(name As String) As DirectMusicBand

パラメータ

object
DirectMusicStyle オブジェクトを表すオブジェクト式。
name
スタイルの作成者によってバンドに割り当てられた名前。

戻り値

成功すれば DirectMusicBand オブジェクトを返す。

エラー コード

失敗すればエラーが発生し、Err.NumberDMUS_E_FAIL が設定される。

参照

DirectMusicStyle.GetBandNameDirectMusicStyle.GetDefaultBand