-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270 from microsoft/pete-dev
Plumbing changes for loopback and runtime config
- Loading branch information
Showing
139 changed files
with
3,485 additions
and
1,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<Include> | ||
<?define SetupVersionName="Developer Preview 5" ?> | ||
<?define SetupVersionNumber="1.0.24041.0202" ?> | ||
<?define SetupVersionNumber="1.0.24043.0221" ?> | ||
</Include> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...ocs/Windows.Devices.Midi2/service/MidiServiceConfigurationResponseStatusEnum.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
layout: api_page | ||
title: MidiServiceConfigurationResponseStatus | ||
parent: Service | ||
grand_parent: Windows.Devices.Midi2 API | ||
has_children: false | ||
--- | ||
|
||
# MidiServiceConfigurationResponseStatus Enumeration | ||
|
||
Indicates success or failure mode for configuring an endpoint or message processing plugin in the service. | ||
|
||
## Properties | ||
|
||
| Property | Value | Description | | ||
| -------- | ------- | ------ | | ||
| `Success` | `0` | The entire operation succeeded | | ||
| `ErrorTargetNotFound` | `404` | The target of the change was not found. This could be the plugin itself, or if the configuration requires an endpoint, the endpoint instance. | | ||
| `ErrorJsonNullOrEmpty` | `600` | The supplied JSON was null or empty. | | ||
| `ErrorProcessingJson` | `601` | The supplied JSON was invalid in some way. It could be malformed or have missing required data or keys. | | ||
| `ErrorNotImplemented` | `2600` | One or more of the requests are not implemented by the service or by the plugin. | | ||
| `ErrorOther` | `9999` | All other errors | | ||
|
||
## IDL | ||
|
||
[MidiServiceConfigurationResponseStatus IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceConfigurationResponseStatusEnum.idl) |
24 changes: 24 additions & 0 deletions
24
docs/developer-docs/Windows.Devices.Midi2/service/MidiServiceEndpointDefinition.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: api_page | ||
title: MidiServiceLoopbackEndpointDefinition | ||
parent: Service | ||
grand_parent: Windows.Devices.Midi2 API | ||
has_children: false | ||
--- | ||
|
||
# MidiServiceLoopbackEndpointDefinition | ||
|
||
This class defines the properties of an endpoint which can be created at runtime. For example, a loopback endpoint. | ||
|
||
## Properties | ||
|
||
| Property | Description | | ||
|---|---| | ||
| `Name` | The name of the endpoint. | | ||
| `UniqueId` | A short unique identifier for this endpoint. This is used in creating the id. Keep to 32 characters or fewer (32 characters is the length of a no-symbols GUID). If, when combined with the generated loopback A/B differentiator prefix, this id is not unique among all loopback endpoints, endpoint creation will fail. | | ||
| `Description` | Optional description for the endpoint | | ||
|
||
## IDL | ||
|
||
[MidiServiceLoopbackEndpointDefinition IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceLoopbackEndpointDefinition.idl) | ||
|
25 changes: 25 additions & 0 deletions
25
...docs/Windows.Devices.Midi2/service/MidiServiceLoopbackEndpointCreationResult.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
layout: api_page | ||
title: MidiServiceLoopbackEndpointCreationResult | ||
parent: Service | ||
grand_parent: Windows.Devices.Midi2 API | ||
has_children: false | ||
--- | ||
|
||
# MidiServiceLoopbackEndpointCreationResult | ||
|
||
This class represents the results of an attempt to create runtime loopback endpoints | ||
|
||
## Properties | ||
|
||
| Property | Description | | ||
|---|---| | ||
| `Success` | True if the creation of both endpoints was a success | | ||
| `AssociatioNId` | The GUID which associatiates the two endpoints. Provided during creation time. | | ||
| `EndpointDeviceIdA` | The full endpoint device id `\\SWD\...` for the endpoint identified as the "A" side of the loopback | | ||
| `EndpointDeviceIdB` | The full endpoint device id `\\SWD\...` for the endpoint identified as the "B" side of the loopback | | ||
|
||
## IDL | ||
|
||
[MidiServiceLoopbackEndpointCreationResult IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceLoopbackEndpointCreationResult.idl) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
docs/developer-docs/endpoint-ids.md → docs/endpoints/endpoint-ids.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.