DirectX SDK |
The DirectMusicStyle.GetMotifCount method gets the number of motifs available in the style.
object.GetMotifCount() As Long
If the method succeeds, it returns the number of motifs in the style.
If the method fails, it raises an error, and Err.Number is set.