MidiSynthesizer.IsSynthesizer(DeviceInformation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a particular device is an instance of the Microsoft MIDI synthesizer. When all MIDI out ports on the system are enumerated, this method can be used to identify which of them is the Microsoft MIDI synthesizer.
public:
static bool IsSynthesizer(DeviceInformation ^ midiDevice);
static bool IsSynthesizer(DeviceInformation const& midiDevice);
public static bool IsSynthesizer(DeviceInformation midiDevice);
function isSynthesizer(midiDevice)
Public Shared Function IsSynthesizer (midiDevice As DeviceInformation) As Boolean
Parameters
- midiDevice
- DeviceInformation
An object that represents the device in question.
Returns
Boolean
bool
True if the device is the Microsoft MIDI synthesizer; otherwise, false.