MODM_PROPERTIES

Sent to a MIDI output device driver to change properties of the output stream.

MMSYSERR_NOTENABLED The driver failed to load or initialize.
MMSYSERR_INVALPARAM The property or property value was invalid.

dwParam1
Contains a far pointer to a structure containing information about the stream.
dwParam2
Contains flags specifying the operation and property. The property flags are set in the low 30 bits of the value. These property bits are combined with one of the following, using the logical OR operator:
MIDIPROP_SET Tells the driver to set the given property.
MIDIPROP_GET Tells the driver to read the given property.

For a description of the stream properties, see the documentation for the midiStreamProperties function, and the MIDIPROPTIMEDIV, MIDIPROPTEMPO, and MIDIPROPCBTIMEOUT structures in the MIDI SDK documentation

See Also

MODM_UNPREPARE