MMRESULT midiOutGetID(hMidiOut, lpwDeviceID) | |||
HMIDIOUT hMidiOut; | |||
PUINT lpwDeviceID; |
The midiOutGetID function gets the device ID for a MIDI output device.
hMidiOut
Specifies the handle to the MIDI output device.
lpwDeviceID
Specifies a pointer to the UINT-sized memory location to be filled with the device ID.
Returns MMSYSERR_NOERROR if successful. Otherwise, returns an error number. Possible error returns are:
Value | Meaning |
MMSYSERR_INVALHANDLE | The hMidiOut parameter specifies an invalid handle. |
VOID.refpage midiOutGetNumDevs
UINT midiOutGetNumDevs() |
The midiOutGetNumDevs function retrieves the number of MIDI output devices present in the system.
Returns the number of MIDI output devices present in the system.
midiOutGetDevCaps