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
bool
True if the device is the Microsoft MIDI synthesizer; otherwise, false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for