Platform SDK: DirectX |
The DirectMusicPerformance.IsPlaying method determines whether a particular segment or segment state is currently playing at the speakers.
object.IsPlaying(segment As DirectMusicSegment, _ segmentState As DirectMusicSegmentState) As Boolean
If the method succeeds and the requested segment or segment state is playing, the return value is True. If neither is playing, or only one was requested and it is not playing, the return value is False.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DMUS_E_NO_MASTER_CLOCK |