共用方式為


MIDIPROPTEMPO structure

The MIDIPROPTEMPO structure contains the tempo property for a stream.

Syntax

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

Musical Instrument Digital Interface (MIDI)

MIDI Structures

midiStreamProperty