MODM_PROPERTIES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// mmddk.h

DWORD modMessage(
   UINT      uDeviceID,
   UINT      uMsg,
   DWORD_PTR dwUser,
   DWORD_PTR dwParam1,
   DWORD_PTR dwParam2
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (modm-properties)

MODM_PROPERTIES function

WINMM sends the MODM_PROPERTIES message to the modMessage function of a MIDI output driver to change the properties of the output stream.

Parameters

Flag Meaning
MIDIPROP_SET Tells the driver to set the specified property.
MIDIPROP_GET Tells the driver to read (get) the specified property.

Return value

The modMessage function returns MMSYSERR_NOERROR if the operation is successful. Otherwise, it returns one of the error messages in the following table.

Return code Description
MMSYSERR_NOTENABLED The driver failed to load or initialize.
MMSYSERR_INVALIDPARAM The specified property or property value is invalid.

Remarks

For more information about the properties of a MIDI data stream, see midiStreamProperties. Also see MIDIPROPTEMPO.

Requirements

Target platform Desktop
Version Available in Windows XP and later Windows operating systems.
Header Mmddk.h (include Mmddk.h, Mmsystem.h, or Windows.h)

See also

modMessage

midiStreamProperties

MIDIPROPTIMEDIV

MIDIPROPTEMPO