MIDIPROPTIMEDIV structure

The MIDIPROPTIMEDIV structure contains the time division property for a stream.

Syntax

typedef struct {
  DWORD cbStruct;
  DWORD dwTimeDiv;
} MIDIPROPTIMEDIV;

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.

  • dwTimeDiv
    Time division for this stream, in the format specified in the Standard MIDI Files 1.0 specification. The low 16 bits of this DWORD value contain the time division. This member is set in a MIDIPROP_SET operation and is filled on return from a MIDIPROP_GET operation.

Remarks

The time division 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