Jump to content

MIDIINSTANCEINFO

From EDM2

This structure contains fields for the MIDIQueryInstanceList function. It provides detailed information about a specific MIDI instance, including its relationship to a class, its name, and its connectivity attributes within the MIDI subsystem.

 typedef struct _MIDIINSTANCEINFO {
   ULONG         ulStructLength;                     /*  Structure length. */
   MINSTANCE     minstance;                          /*  Instance number. */
   ULONG         ulClassNumber;                      /*  Class number. */
   CHAR          szmInstanceName[MIDI_NAME_LENGTH];  /*  Instance name. */
   ULONG         ulNumLinks;                         /*  Number of links. */
   ULONG         ulAttributes;                       /*  Instance attributes. */
 } MIDIINSTANCEINFO;
 
 typedef   MIDIINSTANCEINFO   * PMIDIINSTANCEINFO ;
Fields
  • **ulStructLength**: The length of the structure in bytes.
  • **minstance**: The unique identifier for this specific MIDI instance.
  • **ulClassNumber**: The class number to which this instance belongs (referencing a MIDICLASSINFO structure).
  • **szmInstanceName**: A null-terminated string containing the descriptive name of the MIDI instance.
  • **ulNumLinks**: The current number of active links or connections associated with this instance.
  • **ulAttributes**: Flags defining specific characteristics or capabilities of the instance.