Platform SDK: Windows Multimedia

MIDIINCAPS

The MIDIINCAPS structure describes the capabilities of a MIDI input device.

typedef struct { 
    WORD      wMid; 
    WORD      wPid; 
    MMVERSION vDriverVersion; 
    CHAR      szPname[MAXPNAMELEN]; 
    DWORD     dwSupport; 
} MIDIINCAPS; 
 

Members

wMid
Manufacturer identifier of the device driver for the MIDI input device. Manufacturer identifiers are defined in Manufacturer and Product Identifiers.
wPid
Product identifier of the MIDI input device. Product identifiers are defined in Manufacturer and Product Identifiers.
vDriverVersion
Version number of the device driver for the MIDI input device. The high-order byte is the major version number, and the low-order byte is the minor version number.
szPname
Product name in a null-terminated string.
dwSupport
Reserved; must be zero.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Mmsystem.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Musical Instrument Digital Interface (MIDI) Overview, MIDI Structures