Platform SDK: DirectX

DirectMusicStyle.GetMotifCount

The DirectMusicStyle.GetMotifCount method gets the number of motifs available in the style.

object.GetMotifCount() As Long

Parameters

object
Object expression that resolves to a DirectMusicStyle object.

Return Values

If the method succeeds, it returns the number of motifs in the style.

Error Codes

If the method fails, it raises an error, and Err.Number is set.