MIDIINCAPS

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

typedef struct midiincaps_tag {
    WORD  wMid;
    WORD  wPid;
    VERSION  vDriverVersion;
    char  szPname[MAXPNAMELEN];
} MIDIINCAPS;

Fields

The MIDIINCAPS structure has the following fields:

wMid

Specifies a manufacturer ID for the device driver for the MIDI input device. Manufacturer IDs are defined in Appendix B, “Manufacturer ID and Product ID Lists.”

wPid

Specifies a product ID for the MIDI input device. Product IDs are defined in Appendix B, “Manufacturer ID and Product ID Lists.”

vDriverVersion

Specifies the 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[MAXPNAMELEN]

Specifies the product name in a NULL-terminated string.

See Also

midiInGetDevCaps