MODM_GETDEVCAPS

Sent to a MIDI output driver to request the capabilities of a specific MIDI output device.

MMSYSERR_NOTENABLED

The driver failed to load or initialize.


DWORD dwParam1

For Plug and Play drivers, specifies a pointer to an MDEVICECAPSEX structure. The driver fills this structure with the capabilities of the device.

For non-Plug and Play drivers, specifies a far pointer to a MIDIOUTCAPS data structure. The driver fills this structure with the capabilities of the device.

DWORD dwParam2

For Plug and Play drivers, specifies a device node.

For non-Plug and Play drivers, specifies the size of the MIDIOUTCAPS structure in bytes.

For non-Plug and Play drivers, the driver should only write dwParam2 or less bytes to the location pointed to by dwParam1.