NOW LOADING

MidiNetworkClientConnectErrorCode


Error codes returned when connecting to a remote Network MIDI 2.0 host
Namespace Windows.Devices.Midi2.Transports.Network
Type Name MidiNetworkClientConnectErrorCode
Type WinRT Enumeration (a 32-bit unsigned or signed integer)
IDL MidiNetworkClientConnectErrorCodeEnum.idl

Returned in MidiNetworkClientConnectResponse.ErrorCode.

Values

Value Numeric Value Description
NoErrorInformationAvailable 0x00000000 No additional error information is available
UnrecognizedCommand 0x00000001 The service didn’t recognize the command
InvalidJson 0x00000011 The configuration sent to the service wasn’t valid JSON
InvalidOrMissingEntryIdentifier 0x00000031 ClientId was missing
MalformedEntryIdentifier 0x00000032 ClientId wasn’t a valid GUID
InvalidOrMissingRemoteAddress 0x00000061 The remote address was missing for a direct connection
InvalidOrMissingRemotePort 0x00000062 The remote port was missing for a direct connection
RemotePortOutOfRange 0x00000063 The remote port wasn’t a valid port number
InvalidOrMissingMatchCriteria 0x00000064 Neither a device id nor a direct address was supplied
InvalidNetworkProtocol 0x00000044 That network protocol isn’t supported. Only UDP is
NoReplyToInvitation 0x00000071 The remote host never answered the invitation
InvitationNotApproved 0x00000072 The remote host asked this PC to wait, and the request was never approved
InvalidArgument 0x11000055 Your code passed an argument that isn’t valid
ClientApiException 0x11002011 An exception happened in the client API

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.