MIDIINCAPSW structure (mmeapi.h)
The MIDIINCAPS structure describes the capabilities of a MIDI input device.
Syntax
typedef struct tagMIDIINCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR szPname[MAXPNAMELEN];
DWORD dwSupport;
} MIDIINCAPSW, *PMIDIINCAPSW, *NPMIDIINCAPSW, *LPMIDIINCAPSW;
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[MAXPNAMELEN]
Product name in a null-terminated string.
dwSupport
Reserved; must be zero.
Remarks
Note
The mmeapi.h header defines MIDIINCAPS as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | mmeapi.h (include Windows.h) |