This structure is passed to the IDirectMusicStyle::GetTimeSignature method to retrieve information about a style's time signature. It is also used in the DMUS_RHYTHM_PARAM structure and in the various GetParam methods when the rguidType parameter is GUID_TimeSignature and the track is a time signature or style track.

typedef struct _DMUS_TIMESIGNATURE {
  MUSIC_TIME mtTime;
  BYTE bBeatsPerMeasure;
  BYTE bBeat;
  WORD wGridsPerBeat;


  • mtTime
    Music time at which this time signature occurs.
  • bBeatsPerMeasure
    Top of time signature.
  • bBeat
    Bottom of time signature.
  • wGridsPerBeat
    Grids (subdivisions) per beat. This value determines the timing resolution for certain music events — for example, segments cued with the DMUS_SEGF_GRID flag. For more information, see DMUS_SEGF_FLAGS.


OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.

See Also

DMUS_SEGF_FLAGS | IDirectMusicPerformance::GetParam | IDirectMusicPerformance::SetParam | IDirectMusicSegment::GetParam | IDirectMusicSegment::SetParam | IDirectMusicStyle::GetTimeSignature | IDirectMusicTrack::GetParam | IDirectMusicTrack::SetParam | DMUS_RHYTHM_PARAM | DMUS_TIMESIG_PMSG

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.