Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.17 KB

File metadata and controls

53 lines (36 loc) · 1.17 KB

Home

Function name : midiOutGetDevCaps

Group: Windows Multimedia - Library: winmm


Queries a specified MIDI output device to determine its capabilities.


Code examples:

Enumerating MIDI output devices

Declaration:

MMRESULT midiOutGetDevCaps(
  UINT_PTR      uDeviceID,
  LPMIDIOUTCAPS lpMidiOutCaps,
  UINT          cbMidiOutCaps
);  

FoxPro declaration:

DECLARE INTEGER midiOutGetDevCaps IN Winmm;
	INTEGER uDeviceID,;
	STRING @lpMidiOutCaps,;
	INTEGER cbMidiOutCaps  

Parameters:

uDeviceID Identifier of the MIDI output device. The device identifier specified by this parameter varies from zero to one less than the number of devices present. The MIDI_MAPPER constant is also a valid device identifier.

lpMidiOutCaps Pointer to a MIDIOUTCAPS structure.

cbMidiOutCaps Size, in bytes, of the MIDIOUTCAPS structure.


Return value:

Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.