Share via


MidiSynthesizer.IsSynthesizer(DeviceInformation) Method

Definition

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.

Applies to