DRVM_REMOVE_THRU

Sent to a MIDI input device driver to remove a given device from the list of output devices that receive MIDI throughput data. This message is sent to a device driver when an application calls the midiDisconnect function.

MMSYSERR_NOTENABLED The driver failed to load or initialize.
MIDIERR_NOTREADY The MIDI hardware is busy with other data.

DWORD dwParam1
Specifies the handle of the MIDI output device to be removed from the throughput list.
DWORD dwParam2
Address of user-instance data. This parameter can be NULL.

See Also

DRVM_ADD_THRU, DRVM_IOCTL