NOW LOADING

MidiVirtualDeviceCreationConfig


Information supplied when creating a new virtual device
Namespace Microsoft.Windows.Devices.Midi2.Endpoints.Virtual
Type Name MidiVirtualDeviceCreationConfig
Type WinRT Runtime Class
IDL MidiVirtualDeviceCreationConfig.idl
Library Microsoft.Windows.Devices.Midi2.dll

The MidiVirtualDeviceCreationConfig class specifies, in an easy to use format, the responses for endpoint discovery as well as the properties to use when constructing the device endpoint.

Properties

Property Description
AssociationId Returns the id which links the device and client endpoints
Name The transport-supplied name to use for this device
Description The transport-supplied description to use for this device
Manufacturer The transport-supplied manufacturer name to use for this device
DeclaredDeviceIdentity The MidiDeclaredDeviceIdentity to use for responding to MIDI 2.0 endpoint discovery
DeclaredEndpointInfo The MidiDeclaredEndpointInfo to use for responding to MIDI 2.0 endpoint discovery
UserSuppliedInfo Any user-supplied information for this endpoint
FunctionBlocks The set of function blocks to be declared for this endpoint
CreateOnlyUmpEndpoints True if only UMP endpoints should be created for this endpoint (no WinMM or WinRT MIDI 1.0 Ports)

Methods

Name Description
MidiVirtualDeviceCreationConfig (name, description, manufacturer, declaredEndpointInfo) Create a virtual device with the specified information
MidiVirtualDeviceCreationConfig (name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity) Create a virtual device with the specified information
MidiVirtualDeviceCreationConfig (name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity, userSuppliedInfo) Create a virtual device with the specified information

Examples

C++ Sample C# Sample

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.