MIDIPROPTIMEDIV

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

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

**  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