MIDIINCAPS

See also MIDM_GETDEVCAPS


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

Describes the capabilities of a MIDI input device.

wMid

Specifies a manufacturer ID for the device driver for the MIDI input device. Manufacturer IDs are defined in the Multimedia Programmer's Reference in the Microsoft Windows Software Development Kit.

wPid

Specifies a product ID for the MIDI input device. Product IDs are defined in the Multimedia Programmer's Reference manual in the Microsoft Windows Software Development Kit.

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. The numbering is up to the driver developer but should be changed with each driver release.

szPname[MAXPNAMELEN]

Specifies the product name in a NULL-terminated string.