Once the number of instances is determined, the application can call MIDIQueryInstanceList to obtain a list of all the current instances.