This function returns a sequential list of all relevant instance data for all instances in the node network.
#include <mididll.h>
ULONG ulNumInstances; /* Number of instances. */
PMIDIINSTANCEINFO paInstanceInfo; /* Pointer to array of structures. */
ULONG ulFlag; /* Not used. */
ULONG rc; /* Return code. */
rc = MIDIQueryInstanceList(ulNumInstances,
paInstanceInfo, ulFlag);