MIDIPROPTEMPO structure (mmeapi.h)

The MIDIPROPTEMPO structure contains the tempo property for a stream.

Syntax

typedef struct midiproptempo_tag {
  DWORD cbStruct;
  DWORD dwTempo;
} MIDIPROPTEMPO, *LPMIDIPROPTEMPO;

Members

cbStruct

Length, in bytes, of this structure. This member must be filled in for both the MIDIPROP_SET and MIDIPROP_GET operations of the midiStreamProperty function.

dwTempo

Tempo of the stream, in microseconds per quarter note. The tempo is honored only if the time division for the stream is specified in quarter note format. This member is set in a MIDIPROP_SET operation and is filled on return from a MIDIPROP_GET operation.

Remarks

The tempo property is read or written by the midiStreamProperty function.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header mmeapi.h (include Windows.h)

See also

MIDI Structures

Musical Instrument Digital Interface (MIDI)

midiStreamProperty