MIDIPROPTEMPO

The MIDIPROPTEMPO structure contains the tempo property for a stream.

typedef struct { 
    DWORD cbStruct; 
    DWORD dwTempo; 
} MIDIPROPTEMPO; 
 

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

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

Musical Instrument Digital Interface (MIDI), MIDI Structures, midiStreamProperty