共用方式為


MIDIINCAPS structure

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

Syntax

typedef struct {
  WORD      wMid;
  WORD      wPid;
  MMVERSION vDriverVersion;
  TCHAR     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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

Musical Instrument Digital Interface (MIDI)

MIDI Structures