NOW LOADING

MidiEndpointDeviceInformationSortOrder


Specifies the sort order to use when enumerating a static list of devices.
Namespace Microsoft.Windows.Devices.Midi2
Type Name MidiEndpointDeviceInformationSortOrder
Type WinRT Enumeration (a 32-bit unsigned or signed integer)
IDL MidiEndpointDeviceInformationSortOrderEnum.idl
Library Microsoft.Windows.Devices.Midi2.dll

Properties

Property Value Description
None 0 No sort. Return in default order
Name 1 Sort by the name of the endpoint
EndpointDeviceId 2 Sort by the id of the endpoint (the SWD id)
DeviceInstanceId 3 Sort by the device instance id
ContainerThenName 11 Sort by the container and then by name. This is helpful when you want endpoints grouped by parent.
ContainerThenEndpointDeviceId 12 Sort by the container and then by the endpoint id
ContainerThenDeviceInstanceId 13 Sort by the container and then by the device instance id
TransportCodeThenName 21 Sort by the transport abbreviation (example: “DIAG”, formerly called the mnemonic) and then by the device instance id
TransportCodeThenEndpointDeviceId 22 Sort by the transport abbreviation (formerly called the mnemonic) and then by the endpoint id
TransportCodeThenDeviceInstanceId 23 Sort by the transport abbreviation (formerly called the mnemonic) and then by the device instance id

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.