diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.dll index e70570afa..cd32f5924 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 1fa35ceac..1330d4afb 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.dll index b7a23dbb8..91b731c8a 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 12a8de124..3ec3bf415 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.dll index af70049f0..661b603cb 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 6dcb9b9bd..a6672a0fe 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.dll index 9dabac27d..410c2ca87 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index e97d295dd..686535059 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.dll index 22aac98cf..7f8530a07 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd index fa9a0361d..61a87865f 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.dll index 6584f5799..7f0c748e1 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd index 885759693..626d4a166 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.dll index 66b1efd88..b89b99675 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 5fc5dd99b..7dc39cedd 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll index 35a4e4e9f..dbf0e5ff9 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd index 28ec69100..cc0b45d34 100644 Binary files a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/build/staging/app-sdk/Arm64EC/mididiag.exe b/build/staging/app-sdk/Arm64EC/mididiag.exe index 15c86c532..321cbebfa 100644 Binary files a/build/staging/app-sdk/Arm64EC/mididiag.exe and b/build/staging/app-sdk/Arm64EC/mididiag.exe differ diff --git a/build/staging/version/BundleInfo.wxi b/build/staging/version/BundleInfo.wxi index c438fa0c5..e50981ccd 100644 --- a/build/staging/version/BundleInfo.wxi +++ b/build/staging/version/BundleInfo.wxi @@ -1,4 +1,4 @@ - + diff --git a/docs/developer-how-to/how-to-check-for-windows-midi-services.md b/docs/developer-how-to/how-to-check-for-windows-midi-services.md index 17c1804bc..04c9b9a3b 100644 --- a/docs/developer-how-to/how-to-check-for-windows-midi-services.md +++ b/docs/developer-how-to/how-to-check-for-windows-midi-services.md @@ -46,11 +46,11 @@ else ### How this works -The Windows Service is triggered to start via a specific call, which triggers an ETL event. The ETL event is what the service watches for to spin up. Typically, this takes only a second or two to happen. +The Windows Service is triggered to start via `EnsureServiceAvailable()`, which calls the service interface and triggers an ETL event. The ETL event is what the service watches for to spin up. Typically, this takes only a second or two to happen. -Once the service is started, all the devices it is responsible for begin to be enumerated. +Once the service hass started, all the devices it is responsible for begin to be enumerated. It will remain running until manually shut down or the PC is rebooted. -Once the service is demand-started, it remains running until manually shut down or the next reboot. +> Musicians may want to set the service to auto-start with Windows. It adds a little bit of time to Windows startup, but the devices will be available when needed. ## Bootstrap the Windows MIDI Services SDK runtime (Desktop apps only) @@ -58,17 +58,16 @@ For desktop apps, other than the initializer, the rest of the SDK is installed c Because the SDK is shipped out-of-band from Windows itself, and is restricted to specific versions of Windows and devices (no current support on Xbox and Hololens, for example) the SDK must be bootstrapped/initialized so the application can find the WinRT types contained within. -Internally, the initializer uses a combination of Registration-free WinRT and the Detours library to hook into type resolution. To support the use of the initializer, the application must include a manifest file, named `AppName.exe.manifest` where "AppName" is the name of the executable. +Internally, the initializer uses a combination of Registration-free WinRT and the Detours library to hook into type resolution and activation. To support the use of the initializer, the application must include an entry in the application manifest file, named `AppName.exe.manifest` where "AppName" is the name of the executable. Manifest contents: ```xml - + - - + ``` @@ -89,18 +88,17 @@ In addition to the manifest, the application must include the `Microsoft.Windows If the runtime is not present, but the service is present, the application can either prompt the user to download and install the runtime. That is an application-specific decision. ```cpp -auto uri = (MidiServicesInitializer::GetLatestRuntimeReleaseInstallerUri()) +auto uri = MidiServicesInitializer::GetLatestRuntimeReleaseInstallerUri(); ``` -> Your desktop application installer can also include code to download and install the latest Windows MIDI Services runtime, rather than doing this after the application has already started. +> Your desktop application's installer can also include code to download and install the latest Windows MIDI Services runtime, rather than doing this after the application has already started. ## Use the SDK from packaged (Store etc.) apps -If the app is packaged using MSIX, the bootstrapper is not used. Instead, the app must declare all Windows MIDI Services WinRT types in its manifest. It must also declare a dependency on ... TODO - - -## Sample Code +If the app is packaged using MSIX, the bootstrapper is not used. Instead, the app must declare all Windows MIDI Services WinRT types in its manifest. It must also declare a dependency on ... TODO +## Sample Code +The existing samples are in the process of being updated with this new bootstrapping code. diff --git a/docs/developer-how-to/how-to-create-loopback-endpoints.md b/docs/developer-how-to/how-to-create-loopback-endpoints.md index 1124cb806..7df37b0bf 100644 --- a/docs/developer-how-to/how-to-create-loopback-endpoints.md +++ b/docs/developer-how-to/how-to-create-loopback-endpoints.md @@ -1,17 +1,12 @@ --- layout: page -title: Create Loopback Endpoints= Pairs +title: Create Loopback Endpoint Pairs parent: Developer How-to has_children: false --- # How to create simple Loopback Endpoint Pairs at runtime -## How the Loopback Endpoint Pair works - - -## How to create a Loopback Endpoint Pair - We'll assume here you've already initialized Windows MIDI Services and created a session. First, you define the two sides of the loopback. Because UMP endpoints are bidirectional, the loopback works from either direction: Messages set out on A arrive in on B, and those sent out on B arrive in on A. @@ -31,7 +26,7 @@ definitionB.Description = L"The second description is optional, but is displayed definitionB.UniqueId = L"3263827-OU812-5150"; // can be the same as the first one, but doesn't need to be. ``` -Next, create the transient (meaning they are not in the config file and recreated after a reboot) loopback endpoint pair using the above definitions +Next, create the transient (meaning they are not in the config file and therefore are not recreated after a reboot) loopback endpoint pair using the above definitions ```cpp MidiLoopbackEndpointCreationConfig creationConfig(m_associationId, definitionA, definitionB); @@ -40,7 +35,7 @@ auto response = MidiLoopbackEndpointManager::CreateTransientLoopbackEndpoints(cr if (response.Success) { - std::wcout << L"Endpoints created successfully" << std::endl << std::endl; + std::cout << "Endpoints created successfully" << std::endl << std::endl; std::cout << "Loopback Endpoint A: " << std::endl @@ -60,18 +55,15 @@ else // failed to create the loopback pair. It may be that the unique // Ids are already in use. } - ``` -One thing you may have noticed in the listing above is the use of an association Id. This identifier is just a GUID you generate to associate the endpoint pairs together. This is what establishes the relationship between them. +One thing you may have noticed in the listing above is the use of an **association Id**. This identifier is a GUID you generate and then use to associate the endpoint pairs together. This is what establishes the relationship between the two endpoints. ```cpp winrt::guid m_associationId = winrt::Windows::Foundation::GuidHelper::CreateNewGuid(); ``` -That's all that's needed. You can connect to either endpoint and use it as you would any other. - -> Note: Loopback Endpoint Pairs are not currently visible to the WinMM MIDI 1.0 API. There are complexities with that API when devices are added and removed at runtime. It's possible these devices will never be visibile to WinMM MIDI 1.0. For full functionality, we recommend using the new Windows MIDI Services SDK. +That's all that's needed. You can connect to and open either endpoint and use it as you would any other. ## Sample Code diff --git a/docs/developer-how-to/how-to-create-virtual-ump-device.md b/docs/developer-how-to/how-to-create-virtual-ump-device.md index 3f4ed28ec..5b83129bf 100644 --- a/docs/developer-how-to/how-to-create-virtual-ump-device.md +++ b/docs/developer-how-to/how-to-create-virtual-ump-device.md @@ -5,35 +5,145 @@ parent: Developer How-to has_children: false --- -# How to Create Virtual UMP Devices at Runtime +# How to Create Virtual Devices at Runtime If you develop an application which should appear as a new MIDI device to other applications on Windows, you want to create a Virtual UMP Device. Your app may be a controller app, a sound generator/synthesizer, or a bridge to accessibility or other controllers. Anything a hardware MIDI device can do is open to you here. +## How Virtual Devices work + +A virtual device enables an application to appear as a UMP Endpoint to other applications. + +[More information on how Virtual Devices work may be found here](../endpoints/virtual-device-app.md). + ## Steps to Create a Virtual Device -1. Create a MIDI session -2. Define the Virtual MIDI Device, its function blocks, and other properties -3. Create the Device and get the `EndpointDeviceId` for the device application -4. Connect to the Device like any other MIDI connection -5. Wire up event handlers for message received and optionally for protocol negotiation -6. Open the connection -7. Respond to any protocol negotiation or message received events -8. When the application no longer needs to expose the virtual device, close the connection. +1. [Check for and bootstrap Windows MIDI Services](./how-to-check-for-windows-midi-services.md) +2. Create a MIDI session +3. Define the Virtual MIDI Device, its function blocks, and other properties +4. Create the Device and get the `EndpointDeviceId` for the device-side application endpoint +5. Connect to the Device like any other MIDI connection +6. Wire up event handlers for message received and optionally for stream configuration +7. Open the connection +8. Respond to any protocol negotiation or message received events +9. When the application no longer needs to expose the virtual device, close the connection. On the service-side, the Virtual Device works like any other native UMP MIDI 2.0 device, including for endpoint metadata capture and protocol negotiation. -More details available in the Endpoints documentation. +## Code -### Example +We'll assume you've already performed the [Windows MIDI Services bootstrapping steps](./how-to-check-for-windows-midi-services.md). -TODO +The first step is to define the virtual device by creating the different metadata declarations and then assemble them together using the `MidiVirtualDeviceCreationConfig` type. +This information is all required so that the virtual device responder can handle the MIDI 2.0 endpoint discovery and protocol negotiation messages on your behalf. This removes the complexity of message parsing and (in the case of names and ids) message assembly. +> When creating the device's software device id (SWD) only the first 32 characters of the `ProductInstanceId` are used. This must be unique among all **virtual UMP devices** currently running in Windows MIDI Services, or else the device creation will fail. One recommendation for uniqueness is to use a GUID with all non-alphanumeric characters removed. Another would be to use the app name and an internal index or differentiator. +```cpp +// endpoint information returned from endpoint discovery +midi2::MidiDeclaredEndpointInfo declaredEndpointInfo{ }; +declaredEndpointInfo.Name = endpointSuppliedName; +declaredEndpointInfo.ProductInstanceId = L"PMB_APP2_3263827"; // must be unique +declaredEndpointInfo.SpecificationVersionMajor = 1; // see latest MIDI 2 UMP spec +declaredEndpointInfo.SpecificationVersionMinor = 1; // see latest MIDI 2 UMP spec +declaredEndpointInfo.SupportsMidi10Protocol = true; +declaredEndpointInfo.SupportsMidi20Protocol = true; +declaredEndpointInfo.SupportsReceivingJitterReductionTimestamps = false; +declaredEndpointInfo.SupportsSendingJitterReductionTimestamps = false; +declaredEndpointInfo.HasStaticFunctionBlocks = true; -## Sample Code +midi2::MidiDeclaredDeviceIdentity declaredDeviceIdentity{ }; +// todo: set any device identity values if you want. This is optional + +midi2::MidiEndpointUserSuppliedInfo userSuppliedInfo{ }; +userSuppliedInfo.Name = userSuppliedName; // for names, this will bubble to the top in priority +userSuppliedInfo.Description = userSuppliedDescription; + +// create the config type to aggregate all this info +virt::MidiVirtualDeviceCreationConfig config( + transportSuppliedName, // this could be a different "transport-supplied" name value here + transportSuppliedDescription, // transport-supplied description + transportSuppliedManufacturerName, // transport-supplied company name + declaredEndpointInfo, // for endpoint discovery + declaredDeviceIdentity, // for endpoint discovery + userSuppliedInfo +); +``` + +We're not quite done yet, however. The config type is also where you'll set function blocks. At least one function block is needed. + +```cpp +// Function blocks. The MIDI 2 UMP specification covers the meanings of these values +midi2::MidiFunctionBlock block1{ }; +block1.Number(0); +block1.Name(L"Pads Output"); +block1.IsActive(true); +block1.UIHint(midi2::MidiFunctionBlockUIHint::Sender); +block1.FirstGroupIndex(0); +block1.GroupCount(1); +block1.Direction(midi2::MidiFunctionBlockDirection::Bidirectional); +block1.RepresentsMidi10Connection(midi2::MidiFunctionBlockRepresentsMidi10Connection::Not10); +block1.MaxSystemExclusive8Streams(0); +block1.MidiCIMessageVersionFormat(0); + +config.FunctionBlocks().Append(block1); + +midi2::MidiFunctionBlock block2{ }; +block2.Number(1); +block2.Name(L"A Function Block"); +block2.IsActive(true); +block2.UIHint(midi2::MidiFunctionBlockUIHint::Sender); +block2.FirstGroupIndex(1); +block2.GroupCount(2); +block2.Direction(midi2::MidiFunctionBlockDirection::Bidirectional); +block2.RepresentsMidi10Connection(midi2::MidiFunctionBlockRepresentsMidi10Connection::Not10); +block2.MaxSystemExclusive8Streams(0); +block2.MidiCIMessageVersionFormat(0); + +config.FunctionBlocks().Append(block2); +``` + +Now, the virtual device is fully defined. The next step is to open a session and then actually create the device in the service. -* [C# Sample](https://github.com/microsoft/MIDI/tree/main/samples/csharp-net/app-to-app-midi-cs) +```cpp +// create the session. The name here is just convenience. +m_session = midi2::MidiSession::Create(config.Name()); +if (m_session == nullptr) return; // return if unable to create session + +// create the virtual device, so we can get the endpoint device id to connect to +m_virtualDevice = virt::MidiVirtualDeviceManager::CreateVirtualDevice(config); + +if (m_virtualDevice == nullptr) return; // return if unable to create virtual device + +// create the endpoint connection to the device-side endpoint +// to prevent confusion, this endpoint is not enumerated to +// apps when using the standard set of enumeration filters +m_connection = m_session.CreateEndpointConnection( + m_virtualDevice.DeviceEndpointDeviceId()); + +// add the virtual device as a message processing plugin so it receives the messages +m_connection.AddMessageProcessingPlugin(m_virtualDevice); + +// wire up the stream configuration request received handler +auto streamEventToken = m_virtualDevice.StreamConfigRequestReceived( + { this, &MainWindow::OnStreamConfigurationRequestReceived }); + +// wire up the message received handler on the connection itself +auto messageEventToken = m_connection.MessageReceived( + { this, &MainWindow::OnMidiMessageReceived }); + +// the client-side endpoint will become visible to other apps once Open() completes +m_connection.Open(); +``` + +From there, you may send and receive messages just like with any other endpoint. + +## Troubleshooting + +What can cause a failure in virtual device creation? Assuming the service is installed and working properly, the main thing to check will be to ensure that the unique Id provided is actually unique. The unique Id is used as the differentiator in the SWD Id, without any additional hashing or obfuscation, so it must be unique among all virtual devices currently running. When in doubt, one practice to ensure uniqueness is to use a GUID by formatting as string and removing all non alpha-numeric characters. The unique Id is just large enough to hold that string. + +## Sample Code -> Note: Virtual UMP devices are not currently visible to the WinMM MIDI 1.0 API (the API used by most MIDI 1.0 apps on Windows). There are enumeration complexities with that API when devices are added and removed at runtime, which is part of why we needed to create a new API anyway. It's possible these devices will never be visibile to WinMM MIDI 1.0. For full functionality, we recommend using the new Windows MIDI Services SDK. +* [C++ WinUI Sample](https://github.com/microsoft/MIDI/tree/main/samples/cpp-winrt/virtual-device-app-winui) +* [C# WinUI Sample](https://github.com/microsoft/MIDI/tree/main/samples/csharp-net/virtual-device-app-winui) diff --git a/docs/developer-how-to/how-to-enumerate-endpoints.md b/docs/developer-how-to/how-to-enumerate-endpoints.md index b29489349..21fd0704b 100644 --- a/docs/developer-how-to/how-to-enumerate-endpoints.md +++ b/docs/developer-how-to/how-to-enumerate-endpoints.md @@ -20,7 +20,7 @@ That is the equivalent of passing in a sort order of the name, and a filter of t ```cpp auto endpointList = MidiEndpointDeviceInformation::FindAll( MidiEndpointDeviceInformationSortOrder::Name, - MidiEndpointDeviceInformationFilters::AllTypicalEndpoints + MidiEndpointDeviceInformationFilters::AllStandardEndpoints ); ``` @@ -30,7 +30,7 @@ The application may then iterate through the list, reading the properties as nee Windows MIDI Services has a very rich set of properties available for a UMP Endpoint. This information includes hardware and other transport information, parent device information, user-supplied information, and in the case of a MIDI 2.0 UMP Endpoint, declared information from endpoint discovery and protocol negotiation carried out within the Windows service. -For more details, see the `MidiEndpointDeviceInformation` class documentation. You may also use the MIDI Console application to see all of the properties (including the raw property data if you choose to) for an endpoint. +For more details, see the [`MidiEndpointDeviceInformation`](../sdk-winrt-core/enumeration/MidiEndpointDeviceInformation.md) class documentation. You may also use the [MIDI Console application](../console/midi-console.md) to see all of the properties (including the raw property data if you choose to) for an endpoint. ## Sample Code diff --git a/docs/developer-how-to/how-to-watch-endpoints.md b/docs/developer-how-to/how-to-watch-endpoints.md index 4e64b85f5..ef6541899 100644 --- a/docs/developer-how-to/how-to-watch-endpoints.md +++ b/docs/developer-how-to/how-to-watch-endpoints.md @@ -15,7 +15,7 @@ In Windows MIDI Services, we've provided a specialized version of the device wat ## Events -To use the `MidiEndpointDeviceWatcher`, first wire up handlers for the `Added`, `Removed`, and `Updated` events. Optionally, you may wire up handlers for the `EnumerationCompleted` event to be notified when initial enumeration has finished, and the `Stopped` event to know when the watcher has been stopped by a call to the `Stop` method. +To use the [`MidiEndpointDeviceWatcher`](../sdk-winrt-core/enumeration/MidiEndpointDeviceWatcher.md), first wire up handlers for the `Added`, `Removed`, and `Updated` events. Optionally, you may wire up handlers for the `EnumerationCompleted` event to be notified when initial enumeration has finished, and the `Stopped` event to know when the watcher has been stopped by a call to the `Stop` method. Once the event handlers have been wired up, create the watcher using the static `Create` function. @@ -26,16 +26,16 @@ auto watcher = MidiEndpointDeviceWatcher::Create(); If you wish to use a filter list that differs from the default (the default is appropriate for most applications, as it filters out diagnostics and other endpoints not typically shown to end users) you may use the overloaded Create function. For example, to show only native UMP endpoints, not translated MIDI 1.0 devices, you would do this: ```cpp -auto watcher = MidiEndpointDeviceWatcher::Create(MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative); +auto watcher = MidiEndpointDeviceWatcher::Create(MidiEndpointDeviceInformationFilters::StandardNativeUniversalMidiPacketFormat); ``` And, conversely, to show only up-converted MIDI 1.0 byte format endpoints: ```cpp -auto watcher = MidiEndpointDeviceWatcher::Create(MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative); +auto watcher = MidiEndpointDeviceWatcher::Create(MidiEndpointDeviceInformationFilters::StandardNativeMidi1ByteFormat); ``` -The default is to include both, which is also represented by `MidiEndpointDeviceInformationFilters::AllTypicalEndpoints`. +The default is to include both, which is also represented by `MidiEndpointDeviceInformationFilters::AllStandardEndpoints`. ## Accessing the list diff --git a/docs/endpoints/virtual-device-app.md b/docs/endpoints/virtual-device-app.md index 09799fd14..ff5aafa23 100644 --- a/docs/endpoints/virtual-device-app.md +++ b/docs/endpoints/virtual-device-app.md @@ -21,10 +21,12 @@ Another approach is to allow applications to create and publish an endpoint whic In addition, MIDI 2.0 has additional requirements for endpoints. They need to be able to participate in the MIDI Endpoint Discovery process, and respond with appropriate endpoint capabilities and preferred settings. The Virtual Device App makes that configuration simple for application developers and musicians. +![Virtual Device](virtual-device.png) + ### Lifetime -* The Virtual UMP Device includes two endpoints: one is just for the application creating the device, the other is for all other applications to connect to. -* The lifetime of the Virtual UMP Device is controlled by the lifetime of the application's connection. Once the owning application disconnects from the endpoint, the Virtual UMP Device is torn down. +* The Virtual UMP Device includes two endpoints: one is just for the application creating the device (the "device side"), the other is for all other applications to connect to. +* The lifetime of the Virtual Device is controlled by the lifetime of the application's connection. Once the owning application disconnects from the endpoint, the Virtual UMP Device is torn down. ## Suggested Uses @@ -39,9 +41,11 @@ The best experience for Windows MIDI Services will be with applications using th | API | Compatible App User | Compatible App Host | Notes | | --- | ---------- | ---------- | ----- | | Windows MIDI Services Native | Yes | Yes | This provides the best experience for applications. | -| WinRT MIDI 1.0 | Yes | No | Any applications using the WinRT MIDI 1.0 API we shipped with Windows 10/11 will be able to see these devices. Note that they can only send/receive MIDI 1.0 messages, and will not see any MIDI 2.0-specific messages that cannot be translated, including stream messages. | -| WinMM MIDI 1.0 | No | No | There are challenges with the port indexes with the WinMM API. For the forseeable future, we will not surface these virtual devices with the WinMM API. This means that most MIDI 1.0 applications will not recognize these devices. | +| WinRT MIDI 1.0 | Yes | No | Any applications using the WinRT MIDI 1.0 API we shipped with Windows 10/11 will be able to see these devices and connect to them. Note that they can only send/receive MIDI 1.0 messages, and will not see any MIDI 2.0-specific messages that cannot be translated, including stream messages. | +| WinMM MIDI 1.0 | No | No | There are challenges with the port indexes with the WinMM API. For the forseeable future, we will not surface these virtual devices to the WinMM API. This means that most MIDI 1.0 applications will not recognize these virtual devices. | ## Configuration -Because this type of endpoint is tied to the runtime of an application, it can be created only through the API by creating a `MidiVirtualDeviceDefinition` and calling the appropriate `MidiSession` methods to create and open the endpoint. This is not something that a MIDI user will pre-create in the settings app or configuration file. +Virtual Devices cannot be specified in the configuration file. Instead, applications must create them through code. + +For developer information on how to set up a Virtual Device, see the [developer how-to](../developer-how-to/how-to-create-virtual-ump-device.md). diff --git a/docs/endpoints/virtual-device.png b/docs/endpoints/virtual-device.png new file mode 100644 index 000000000..8c23b5184 Binary files /dev/null and b/docs/endpoints/virtual-device.png differ diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md index 405db626f..8330f6486 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md @@ -6,7 +6,7 @@ grand_parent: Midi2 core has_children: false --- -# MidiEndpointDeviceInformationFilter Enumeration +# MidiEndpointDeviceInformationFilters Enumeration When enumerating devices, it is helpful to be able to filter for different types of devices. For example, an application providing diagnostic or development services may want to enumerate the diagnostic loopback endpoints. A Digital Audio Workstation, on the other hand, would only want to enumerate the normal UMP and Byte Stream native endpoints. @@ -14,12 +14,12 @@ When enumerating devices, it is helpful to be able to filter for different types | Property | Value | Description | | --------------- | ---------- | ----------- | -| `IncludeClientUmpNative` | `0x00000001` | Include endpoints which are MIDI UMP endpoints natively. These are typically considered MIDI 2.0 devices even if they only send MIDI 1.0 messages in UMP. | -| `IncludeClientByteStreamNative` | `0x00000002` | Include endpoints which are MIDI 1.0 byte stream endpoints natively. These are converted to UMP internally in Windows MIDI Services. | -| `IncludeVirtualDeviceResponder` | `0x00000100` | Include endpoints which are virtual devices. Note that this is the device side of the endpoint, not the side available to other applications. Typically, you would not use this. | -| `IncludeDiagnosticLoopback` | `0x00010000` | Use this value only when providing development, test, or diagnostic services for MIDI. | -| `IncludeDiagnosticPing` | `0x00020000` | You would not normally include this in an enumeration. This endpoint is internal. | -| `AllTypicalEndpoints` | `IncludeClientUmpNative | IncludeClientByteStreamNative` | This is the value most applications should use, and is the default. | +| `StandardNativeUniversalMidiPacketFormat` | `0x00000001` | Include endpoints which are MIDI UMP endpoints natively. These are typically considered MIDI 2.0 devices even if they only send MIDI 1.0 messages in UMP. | +| `StandardNativeMidi1ByteFormat` | `0x00000002` | Include endpoints which are MIDI 1.0 byte stream endpoints natively. These are converted to UMP internally in Windows MIDI Services. | +| `VirtualDeviceResponder` | `0x00000100` | Include endpoints which are virtual devices. Note that this is the device side of the endpoint, not the side available to other applications. Typically, you would not use this. | +| `DiagnosticLoopback` | `0x00010000` | Use this value only when providing development, test, or diagnostic services for MIDI. | +| `DiagnosticPing` | `0x00020000` | You would not normally include this in an enumeration. This endpoint is internal. | +| `AllStandardEndpoints` | `StandardNativeUniversalMidiPacketFormat` plus `StandardNativeMidi1ByteFormat` | This is the value most applications should use, and is the default. | ## IDL diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md b/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md index 95d855272..0781b0c06 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md @@ -13,7 +13,7 @@ has_children: false | Property | Value | Description | | --------------- | ---------- | ----------- | | `Unknown` | `0` | Unknown native data format | -| `ByteFormat` | `0` | The native data format is the MIDI 1.0 byte message format | +| `Midi1ByteFormat` | `0` | The native data format is the MIDI 1.0 byte message format | | `UniversalMidiPacketFormat` | `0` | The native data format is the Universal MIDI Packet data format | ## IDL diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 1fa35ceac..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 12a8de124..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 6dcb9b9bd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index e97d295dd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 885759693..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 5fc5dd99b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index 28ec69100..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 1fa35ceac..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 12a8de124..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 6dcb9b9bd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index e97d295dd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 885759693..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 5fc5dd99b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index 28ec69100..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 7fe83395a..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 13ddb6a25..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 2b1aa5c4b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index be3e131b5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd deleted file mode 100644 index 290e2d6c7..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 43a8b1d39..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 0d897d0a4..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index fb3647fa5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 7fe83395a..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 13ddb6a25..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 2b1aa5c4b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index be3e131b5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd deleted file mode 100644 index 290e2d6c7..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 43a8b1d39..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 0d897d0a4..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index fb3647fa5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 1fa35ceac..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 12a8de124..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 6dcb9b9bd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index e97d295dd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 885759693..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 5fc5dd99b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index 28ec69100..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 1fa35ceac..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 12a8de124..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 6dcb9b9bd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index e97d295dd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 885759693..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 5fc5dd99b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index 28ec69100..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 7fe83395a..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 13ddb6a25..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 2b1aa5c4b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index be3e131b5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd deleted file mode 100644 index 290e2d6c7..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 43a8b1d39..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 0d897d0a4..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index fb3647fa5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 7fe83395a..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 13ddb6a25..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 2b1aa5c4b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index be3e131b5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd deleted file mode 100644 index 290e2d6c7..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 43a8b1d39..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 0d897d0a4..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index fb3647fa5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h deleted file mode 100644 index 225cbc82e..000000000 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h +++ /dev/null @@ -1,516 +0,0 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 - -#pragma once -#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_H -#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_H -#include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.240405.15" -#include "winrt/Microsoft.Windows.Devices.Midi2.h" -#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" -#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" -#include "winrt/impl/Windows.Foundation.2.h" -#include "winrt/impl/Windows.Foundation.Collections.2.h" -#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h" -namespace winrt::impl -{ - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::Timestamp() const - { - uint64_t value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_Timestamp(&value)); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::PreferredMidiProtocol() const - { - winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_PreferredMidiProtocol(reinterpret_cast(&value))); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::RequestEndpointTransmitJitterReductionTimestamps() const - { - bool value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_RequestEndpointTransmitJitterReductionTimestamps(&value)); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::RequestEndpointReceiveJitterReductionTimestamps() const - { - bool value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_RequestEndpointReceiveJitterReductionTimestamps(&value)); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::DeviceEndpointDeviceId() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); - return hstring{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::ClientEndpointDeviceId() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_ClientEndpointDeviceId(&value)); - return hstring{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_FunctionBlocks(&value)); - return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const - { - bool result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->UpdateFunctionBlock(*(void**)(&block), &result)); - return result; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::UpdateEndpointName(param::hstring const& name) const - { - bool result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->UpdateEndpointName(*(void**)(&name), &result)); - return result; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::SuppressHandledMessages() const - { - bool value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_SuppressHandledMessages(&value)); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::SuppressHandledMessages(bool value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->put_SuppressHandledMessages(value)); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const - { - winrt::event_token token{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->add_StreamConfigRequestReceived(*(void**)(&handler), put_abi(token))); - return token; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const - { - return impl::make_event_revoker(this, StreamConfigRequestReceived(handler)); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(winrt::event_token const& token) const noexcept - { - WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->remove_StreamConfigRequestReceived(impl::bind_in(token)); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Name() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Name(&value)); - return hstring{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Name(param::hstring const& value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Name(*(void**)(&value))); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Description() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Description(&value)); - return hstring{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Description(param::hstring const& value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Description(*(void**)(&value))); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Manufacturer() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Manufacturer(&value)); - return hstring{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Manufacturer(param::hstring const& value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Manufacturer(*(void**)(&value))); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity() const - { - winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_DeclaredDeviceIdentity(put_abi(value))); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_DeclaredDeviceIdentity(impl::bind_in(value))); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredEndpointInfo() const - { - winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_DeclaredEndpointInfo(put_abi(value))); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredEndpointInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_DeclaredEndpointInfo(impl::bind_in(value))); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::UserSuppliedInfo() const - { - winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_UserSuppliedInfo(put_abi(value))); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::UserSuppliedInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& value) const - { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_UserSuppliedInfo(impl::bind_in(value))); - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::FunctionBlocks() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_FunctionBlocks(&value)); - return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), &value)); - return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance2(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance2(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), impl::bind_in(declaredDeviceIdentity), &value)); - return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance3(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance3(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), impl::bind_in(declaredDeviceIdentity), impl::bind_in(userSuppliedInfo), &value)); - return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::IsTransportAvailable() const - { - bool value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->get_IsTransportAvailable(&value)); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::AbstractionId() const - { - winrt::guid value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->get_AbstractionId(put_abi(value))); - return value; - } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const - { - winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationResult result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), put_abi(result))); - return result; - } -#ifndef WINRT_LEAN_AND_MEAN - template - struct produce : produce_base - { - int32_t __stdcall get_Timestamp(uint64_t* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Timestamp()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_PreferredMidiProtocol(int32_t* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().PreferredMidiProtocol()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_RequestEndpointTransmitJitterReductionTimestamps(bool* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().RequestEndpointTransmitJitterReductionTimestamps()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_RequestEndpointReceiveJitterReductionTimestamps(bool* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().RequestEndpointReceiveJitterReductionTimestamps()); - return 0; - } - catch (...) { return to_hresult(); } - }; -#endif -#ifndef WINRT_LEAN_AND_MEAN - template - struct produce : produce_base - { - int32_t __stdcall get_DeviceEndpointDeviceId(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().DeviceEndpointDeviceId()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_ClientEndpointDeviceId(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().ClientEndpointDeviceId()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from>(this->shim().FunctionBlocks()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall UpdateFunctionBlock(void* block, bool* result) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().UpdateFunctionBlock(*reinterpret_cast(&block))); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall UpdateEndpointName(void* name, bool* result) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().UpdateEndpointName(*reinterpret_cast(&name))); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_SuppressHandledMessages(bool* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().SuppressHandledMessages()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_SuppressHandledMessages(bool value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().SuppressHandledMessages(value); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall add_StreamConfigRequestReceived(void* handler, winrt::event_token* token) noexcept final try - { - zero_abi(token); - typename D::abi_guard guard(this->shim()); - *token = detach_from(this->shim().StreamConfigRequestReceived(*reinterpret_cast const*>(&handler))); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall remove_StreamConfigRequestReceived(winrt::event_token token) noexcept final - { - typename D::abi_guard guard(this->shim()); - this->shim().StreamConfigRequestReceived(*reinterpret_cast(&token)); - return 0; - } - }; -#endif -#ifndef WINRT_LEAN_AND_MEAN - template - struct produce : produce_base - { - int32_t __stdcall get_Name(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Name()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_Name(void* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().Name(*reinterpret_cast(&value)); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_Description(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Description()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_Description(void* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().Description(*reinterpret_cast(&value)); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_Manufacturer(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Manufacturer()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_Manufacturer(void* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().Manufacturer(*reinterpret_cast(&value)); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity* value) noexcept final try - { - zero_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().DeclaredDeviceIdentity()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().DeclaredDeviceIdentity(*reinterpret_cast(&value)); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo* value) noexcept final try - { - zero_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().DeclaredEndpointInfo()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().DeclaredEndpointInfo(*reinterpret_cast(&value)); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo* value) noexcept final try - { - zero_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().UserSuppliedInfo()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall put_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - this->shim().UserSuppliedInfo(*reinterpret_cast(&value)); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from>(this->shim().FunctionBlocks()); - return 0; - } - catch (...) { return to_hresult(); } - }; -#endif -#ifndef WINRT_LEAN_AND_MEAN - template - struct produce : produce_base - { - int32_t __stdcall CreateInstance(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo))); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall CreateInstance2(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity declaredDeviceIdentity, void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().CreateInstance2(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo), *reinterpret_cast(&declaredDeviceIdentity))); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall CreateInstance3(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity declaredDeviceIdentity, struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo userSuppliedInfo, void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().CreateInstance3(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo), *reinterpret_cast(&declaredDeviceIdentity), *reinterpret_cast(&userSuppliedInfo))); - return 0; - } - catch (...) { return to_hresult(); } - }; -#endif -#ifndef WINRT_LEAN_AND_MEAN - template - struct produce : produce_base - { - }; -#endif -#ifndef WINRT_LEAN_AND_MEAN - template - struct produce : produce_base - { - int32_t __stdcall get_IsTransportAvailable(bool* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().IsTransportAvailable()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall get_AbstractionId(winrt::guid* value) noexcept final try - { - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().AbstractionId()); - return 0; - } - catch (...) { return to_hresult(); } - int32_t __stdcall CreateVirtualDevice(void* creationConfig, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult* result) noexcept final try - { - zero_abi(result); - typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); - return 0; - } - catch (...) { return to_hresult(); } - }; -#endif -} -WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual -{ - inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) : - MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance(name, description, manufacturer, declaredEndpointInfo); })) - { - } - inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) : - MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance2(name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity); })) - { - } - inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) : - MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance3(name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity, userSuppliedInfo); })) - { - } - inline auto MidiVirtualDeviceManager::IsTransportAvailable() - { - return impl::call_factory_cast([](IMidiVirtualDeviceManagerStatics const& f) { return f.IsTransportAvailable(); }); - } - inline auto MidiVirtualDeviceManager::AbstractionId() - { - return impl::call_factory_cast([](IMidiVirtualDeviceManagerStatics const& f) { return f.AbstractionId(); }); - } - inline auto MidiVirtualDeviceManager::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) - { - return impl::call_factory([&](IMidiVirtualDeviceManagerStatics const& f) { return f.CreateVirtualDevice(creationConfig); }); - } -} -namespace std -{ -#ifndef WINRT_LEAN_AND_MEAN - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; - template<> struct hash : winrt::impl::hash_base {}; -#endif -#ifdef __cpp_lib_format -#endif -} -#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h deleted file mode 100644 index 08e41736d..000000000 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h +++ /dev/null @@ -1,1524 +0,0 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 - -#pragma once -#ifndef WINRT_Microsoft_Windows_Devices_Midi2_0_H -#define WINRT_Microsoft_Windows_Devices_Midi2_0_H -WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration -{ - struct DeviceInformation; - struct DeviceInformationUpdate; - enum class DeviceWatcherStatus : int32_t; -} -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - struct EventRegistrationToken; - struct IMemoryBuffer; - template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; -} -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template struct WINRT_IMPL_EMPTY_BASES IIterable; - template struct WINRT_IMPL_EMPTY_BASES IVector; -} -WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 -{ - enum class MidiEndpointDeviceInformationFilters : uint32_t - { - IncludeClientUmpFormatNative = 0x1, - IncludeClientByteFormatNative = 0x2, - IncludeVirtualDeviceResponder = 0x100, - IncludeDiagnosticLoopback = 0x10000, - IncludeDiagnosticPing = 0x20000, - AllTypicalEndpoints = 0x3, - }; - enum class MidiEndpointDeviceInformationSortOrder : int32_t - { - None = 0, - Name = 1, - EndpointDeviceId = 2, - DeviceInstanceId = 3, - ContainerThenName = 11, - ContainerThenEndpointDeviceId = 12, - ContainerThenDeviceInstanceId = 13, - TransportMnemonicThenName = 21, - TransportMnemonicThenEndpointDeviceId = 22, - TransportMnemonicThenDeviceInstanceId = 23, - }; - enum class MidiEndpointDevicePurpose : int32_t - { - NormalMessageEndpoint = 0, - VirtualDeviceResponder = 100, - InBoxGeneralMidiSynth = 400, - DiagnosticLoopback = 500, - DiagnosticPing = 510, - }; - enum class MidiEndpointNativeDataFormat : int32_t - { - Unknown = 0, - ByteStream = 1, - UniversalMidiPacket = 2, - }; - enum class MidiFunctionBlockDirection : int32_t - { - Undefined = 0, - BlockInput = 1, - BlockOutput = 2, - Bidirectional = 3, - }; - enum class MidiFunctionBlockRepresentsMidi10Connection : int32_t - { - Not10 = 0, - YesBandwidthUnrestricted = 1, - YesBandwidthRestricted = 2, - Reserved = 3, - }; - enum class MidiFunctionBlockUIHint : int32_t - { - Unknown = 0, - Receiver = 1, - Sender = 2, - Bidirectional = 3, - }; - enum class MidiGroupTerminalBlockDirection : int32_t - { - Bidirectional = 0, - BlockInput = 1, - BlockOutput = 2, - }; - enum class MidiGroupTerminalBlockProtocol : int32_t - { - Unknown = 0, - Midi1Message64 = 1, - Midi1Message64WithJitterReduction = 2, - Midi1Message128 = 3, - Midi1Message128WithJitterReduction = 4, - Midi2 = 17, - Midi2WithJitterReduction = 18, - }; - enum class MidiMessageType : int32_t - { - UtilityMessage32 = 0, - SystemCommon32 = 1, - Midi1ChannelVoice32 = 2, - DataMessage64 = 3, - Midi2ChannelVoice64 = 4, - DataMessage128 = 5, - FutureReserved632 = 6, - FutureReserved732 = 7, - FutureReserved864 = 8, - FutureReserved964 = 9, - FutureReservedA64 = 10, - FutureReservedB96 = 11, - FutureReservedC96 = 12, - FlexData128 = 13, - FutureReservedE128 = 14, - Stream128 = 15, - }; - enum class MidiPacketType : int32_t - { - UnknownOrInvalid = 0, - UniversalMidiPacket32 = 1, - UniversalMidiPacket64 = 2, - UniversalMidiPacket96 = 3, - UniversalMidiPacket128 = 4, - }; - enum class MidiProtocol : int32_t - { - Default = 0, - Midi1 = 1, - Midi2 = 2, - }; - enum class MidiSendMessageResults : uint32_t - { - Succeeded = 0x80000000, - Failed = 0x10000000, - BufferFull = 0x10000, - EndpointConnectionClosedOrInvalid = 0x40000, - InvalidMessageTypeForWordCount = 0x100000, - InvalidMessageOther = 0x200000, - DataIndexOutOfRange = 0x400000, - TimestampOutOfRange = 0x800000, - MessageListPartiallyProcessed = 0xf00000, - }; - struct IMidiChannel; - struct IMidiChannelFactory; - struct IMidiChannelStatics; - struct IMidiClock; - struct IMidiClockStatics; - struct IMidiEndpointConnection; - struct IMidiEndpointConnectionSettings; - struct IMidiEndpointConnectionSource; - struct IMidiEndpointConnectionStatics; - struct IMidiEndpointDeviceInformation; - struct IMidiEndpointDeviceInformationAddedEventArgs; - struct IMidiEndpointDeviceInformationRemovedEventArgs; - struct IMidiEndpointDeviceInformationStatics; - struct IMidiEndpointDeviceInformationUpdatedEventArgs; - struct IMidiEndpointDeviceWatcher; - struct IMidiEndpointDeviceWatcherStatics; - struct IMidiEndpointMessageProcessingPlugin; - struct IMidiFunctionBlock; - struct IMidiGroup; - struct IMidiGroupFactory; - struct IMidiGroupStatics; - struct IMidiGroupTerminalBlock; - struct IMidiMessage128; - struct IMidiMessage128Factory; - struct IMidiMessage128Statics; - struct IMidiMessage32; - struct IMidiMessage32Factory; - struct IMidiMessage32Statics; - struct IMidiMessage64; - struct IMidiMessage64Factory; - struct IMidiMessage64Statics; - struct IMidiMessage96; - struct IMidiMessage96Factory; - struct IMidiMessage96Statics; - struct IMidiMessageReceivedEventArgs; - struct IMidiMessageReceivedEventSource; - struct IMidiSession; - struct IMidiSessionStatics; - struct IMidiUniversalPacket; - struct MidiChannel; - struct MidiClock; - struct MidiEndpointConnection; - struct MidiEndpointDeviceInformation; - struct MidiEndpointDeviceInformationAddedEventArgs; - struct MidiEndpointDeviceInformationRemovedEventArgs; - struct MidiEndpointDeviceInformationUpdatedEventArgs; - struct MidiEndpointDeviceWatcher; - struct MidiFunctionBlock; - struct MidiGroup; - struct MidiGroupTerminalBlock; - struct MidiMessage128; - struct MidiMessage32; - struct MidiMessage64; - struct MidiMessage96; - struct MidiMessageReceivedEventArgs; - struct MidiSession; - struct MidiDeclaredDeviceIdentity; - struct MidiDeclaredEndpointInfo; - struct MidiDeclaredStreamConfiguration; - struct MidiEndpointTransportSuppliedInfo; - struct MidiEndpointUserSuppliedInfo; - struct MidiMessageStruct; -} -namespace winrt::impl -{ - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = enum_category; }; - template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiChannel"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiClock"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointConnection"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformation"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationAddedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationRemovedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationUpdatedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceWatcher"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlock"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroup"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlock"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage128"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage32"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage64"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage96"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageReceivedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiSession"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationFilters"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationSortOrder"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDevicePurpose"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointNativeDataFormat"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockDirection"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockRepresentsMidi10Connection"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockUIHint"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlockDirection"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlockProtocol"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageType"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiPacketType"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiProtocol"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiSendMessageResults"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredDeviceIdentity"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredEndpointInfo"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredStreamConfiguration"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointTransportSuppliedInfo"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointUserSuppliedInfo"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageStruct"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannel"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannelFactory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannelStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiClock"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiClockStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnection"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionSettings"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionSource"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformation"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationAddedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationRemovedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationUpdatedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceWatcher"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceWatcherStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointMessageProcessingPlugin"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiFunctionBlock"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroup"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupFactory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupTerminalBlock"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128Factory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128Statics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32Factory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32Statics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64Factory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64Statics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96Factory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96Statics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessageReceivedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessageReceivedEventSource"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiSession"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiSessionStatics"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiUniversalPacket"; - template <> inline constexpr guid guid_v{ 0x34DC7F81,0xF0C2,0x50D4,{ 0xBE,0xDF,0x42,0xFA,0xB9,0xA1,0xCE,0xF8 } }; // 34DC7F81-F0C2-50D4-BEDF-42FAB9A1CEF8 - template <> inline constexpr guid guid_v{ 0x02A0FF18,0xFE96,0x5193,{ 0x98,0xEF,0xD9,0x67,0x58,0xCD,0x68,0xD4 } }; // 02A0FF18-FE96-5193-98EF-D96758CD68D4 - template <> inline constexpr guid guid_v{ 0xEC86B553,0xADB5,0x5330,{ 0x99,0x60,0x1D,0x8B,0x3A,0x35,0xB0,0xC6 } }; // EC86B553-ADB5-5330-9960-1D8B3A35B0C6 - template <> inline constexpr guid guid_v{ 0xF065F78B,0xE4DC,0x55A7,{ 0x96,0x97,0x63,0x59,0xD0,0xEC,0xD7,0x3A } }; // F065F78B-E4DC-55A7-9697-6359D0ECD73A - template <> inline constexpr guid guid_v{ 0xF672B9EB,0xD41D,0x5CDD,{ 0xAF,0x7B,0x64,0x29,0x94,0x0B,0xE3,0xE7 } }; // F672B9EB-D41D-5CDD-AF7B-6429940BE3E7 - template <> inline constexpr guid guid_v{ 0x452EECE5,0x4FB8,0x5C0C,{ 0xB8,0xDA,0x46,0x70,0x30,0xBD,0xAC,0xE2 } }; // 452EECE5-4FB8-5C0C-B8DA-467030BDACE2 - template <> inline constexpr guid guid_v{ 0x65736736,0x35F3,0x421C,{ 0xA6,0x83,0x3A,0x03,0x4A,0xD0,0xDC,0xC2 } }; // 65736736-35F3-421C-A683-3A034AD0DCC2 - template <> inline constexpr guid guid_v{ 0x44385CDD,0xB64C,0x4195,{ 0x8F,0xAA,0x8A,0x61,0xFC,0x95,0x2A,0x23 } }; // 44385CDD-B64C-4195-8FAA-8A61FC952A23 - template <> inline constexpr guid guid_v{ 0x99355145,0xBC11,0x5B85,{ 0x9B,0x23,0x1B,0x58,0x26,0x6F,0x46,0x30 } }; // 99355145-BC11-5B85-9B23-1B58266F4630 - template <> inline constexpr guid guid_v{ 0xFB4A1253,0x4429,0x5765,{ 0x99,0xDE,0xFF,0x76,0xBB,0xED,0x58,0x8B } }; // FB4A1253-4429-5765-99DE-FF76BBED588B - template <> inline constexpr guid guid_v{ 0xECF028D0,0xEECC,0x5F99,{ 0x8A,0xDF,0x8F,0x29,0xB7,0x0B,0x29,0x6C } }; // ECF028D0-EECC-5F99-8ADF-8F29B70B296C - template <> inline constexpr guid guid_v{ 0x84D3DDE4,0xE6F8,0x5BA5,{ 0x97,0xB4,0xB8,0xD4,0xC5,0x0A,0xFD,0x9F } }; // 84D3DDE4-E6F8-5BA5-97B4-B8D4C50AFD9F - template <> inline constexpr guid guid_v{ 0x1D2C9C0A,0x428E,0x5F75,{ 0x89,0xD5,0x00,0xC3,0xA3,0x79,0x4D,0x88 } }; // 1D2C9C0A-428E-5F75-89D5-00C3A3794D88 - template <> inline constexpr guid guid_v{ 0xAA4B1E3A,0x04B6,0x5560,{ 0xBC,0x2B,0xCF,0xD1,0x64,0xC0,0xF1,0xDE } }; // AA4B1E3A-04B6-5560-BC2B-CFD164C0F1DE - template <> inline constexpr guid guid_v{ 0x5CBF4CAC,0x3409,0x5A57,{ 0x9C,0x47,0xFC,0xA8,0x3C,0x69,0xDB,0xE3 } }; // 5CBF4CAC-3409-5A57-9C47-FCA83C69DBE3 - template <> inline constexpr guid guid_v{ 0xF28F646C,0x6BE6,0x5E13,{ 0x8A,0x78,0x7F,0xD1,0xB8,0x5A,0x7E,0x95 } }; // F28F646C-6BE6-5E13-8A78-7FD1B85A7E95 - template <> inline constexpr guid guid_v{ 0x198D5EF2,0x313F,0x41AF,{ 0x92,0x59,0xA4,0x29,0x97,0xE0,0x60,0xF0 } }; // 198D5EF2-313F-41AF-9259-A42997E060F0 - template <> inline constexpr guid guid_v{ 0xEB43C123,0x5382,0x5C71,{ 0x8D,0x1B,0x22,0x3B,0x8F,0x76,0xC2,0x3B } }; // EB43C123-5382-5C71-8D1B-223B8F76C23B - template <> inline constexpr guid guid_v{ 0xD2FE009D,0x8542,0x5AE7,{ 0xA8,0xF8,0x4F,0x28,0x14,0x5E,0x3A,0x8F } }; // D2FE009D-8542-5AE7-A8F8-4F28145E3A8F - template <> inline constexpr guid guid_v{ 0xEC11AC98,0x616B,0x545C,{ 0xA0,0x6C,0x95,0xB3,0x91,0x5A,0xDB,0x41 } }; // EC11AC98-616B-545C-A06C-95B3915ADB41 - template <> inline constexpr guid guid_v{ 0x08071F7E,0xBA0B,0x5020,{ 0x8E,0x23,0xBC,0x81,0x9B,0x24,0xA4,0xE2 } }; // 08071F7E-BA0B-5020-8E23-BC819B24A4E2 - template <> inline constexpr guid guid_v{ 0x3DBA035F,0xE298,0x5F22,{ 0xB0,0x0B,0x51,0xC7,0x2D,0xCF,0xF7,0x1F } }; // 3DBA035F-E298-5F22-B00B-51C72DCFF71F - template <> inline constexpr guid guid_v{ 0xEFB9C9BB,0x4397,0x538A,{ 0xB1,0x7F,0xBC,0x83,0x00,0x12,0xE1,0xEA } }; // EFB9C9BB-4397-538A-B17F-BC830012E1EA - template <> inline constexpr guid guid_v{ 0x6FB629DF,0xE277,0x5EE8,{ 0xB7,0xB8,0x13,0xA3,0x52,0x8B,0xA2,0x55 } }; // 6FB629DF-E277-5EE8-B7B8-13A3528BA255 - template <> inline constexpr guid guid_v{ 0x722B7533,0x8EFB,0x5CA9,{ 0x93,0x99,0x74,0xEE,0x2D,0x8D,0x53,0x8C } }; // 722B7533-8EFB-5CA9-9399-74EE2D8D538C - template <> inline constexpr guid guid_v{ 0x1C2EC0A7,0xE093,0x5FF0,{ 0xA0,0x9B,0x77,0x68,0x6A,0x75,0x64,0x18 } }; // 1C2EC0A7-E093-5FF0-A09B-77686A756418 - template <> inline constexpr guid guid_v{ 0x47D7FD0F,0x7945,0x5283,{ 0xB1,0x1B,0xA4,0xF5,0xCF,0xBB,0xF6,0xF2 } }; // 47D7FD0F-7945-5283-B11B-A4F5CFBBF6F2 - template <> inline constexpr guid guid_v{ 0x52D01ECA,0x60AC,0x5229,{ 0xAA,0xC2,0xAF,0xA7,0x2E,0xF1,0x40,0x45 } }; // 52D01ECA-60AC-5229-AAC2-AFA72EF14045 - template <> inline constexpr guid guid_v{ 0x62885C57,0x325C,0x5A7C,{ 0xB1,0x8F,0xDE,0x36,0x0A,0xC3,0x77,0xBD } }; // 62885C57-325C-5A7C-B18F-DE360AC377BD - template <> inline constexpr guid guid_v{ 0x10B85E46,0xC6B8,0x593A,{ 0x93,0x85,0x11,0xAE,0x2F,0xCE,0xB9,0xF1 } }; // 10B85E46-C6B8-593A-9385-11AE2FCEB9F1 - template <> inline constexpr guid guid_v{ 0xA75E98A2,0xC6AC,0x5333,{ 0x89,0x65,0x97,0xCD,0xA8,0x80,0x85,0x2E } }; // A75E98A2-C6AC-5333-8965-97CDA880852E - template <> inline constexpr guid guid_v{ 0x82B6C4F8,0xC292,0x50DA,{ 0xBD,0xDF,0xC1,0x18,0x6D,0x3B,0x9E,0xE6 } }; // 82B6C4F8-C292-50DA-BDDF-C1186D3B9EE6 - template <> inline constexpr guid guid_v{ 0x4AC4FE62,0x41C9,0x5605,{ 0x9D,0xB8,0xDE,0xD7,0xCB,0x44,0xB8,0x59 } }; // 4AC4FE62-41C9-5605-9DB8-DED7CB44B859 - template <> inline constexpr guid guid_v{ 0x80451AFD,0xE703,0x5790,{ 0x9C,0xF7,0x4A,0x17,0xAD,0x1E,0x47,0x3B } }; // 80451AFD-E703-5790-9CF7-4A17AD1E473B - template <> inline constexpr guid guid_v{ 0x190C0204,0x845B,0x5A20,{ 0xB9,0x5E,0x91,0x78,0xA8,0xDD,0xAF,0xC6 } }; // 190C0204-845B-5A20-B95E-9178A8DDAFC6 - template <> inline constexpr guid guid_v{ 0x101CEB4B,0xCCA4,0x48A1,{ 0xB9,0x1E,0x60,0x02,0xB9,0x28,0x61,0x3C } }; // 101CEB4B-CCA4-48A1-B91E-6002B928613C - template <> inline constexpr guid guid_v{ 0x47D3E2F0,0xB352,0x5D13,{ 0x88,0x37,0xE4,0x8F,0xF4,0x84,0x5F,0xA0 } }; // 47D3E2F0-B352-5D13-8837-E48FF4845FA0 - template <> inline constexpr guid guid_v{ 0x8678C907,0x163D,0x5D86,{ 0xBF,0xC7,0xFE,0x80,0x04,0x63,0x61,0x86 } }; // 8678C907-163D-5D86-BFC7-FE8004636186 - template <> inline constexpr guid guid_v{ 0x2EB5DF8A,0xD751,0x4997,{ 0xBF,0x96,0xBA,0x9A,0x53,0x1F,0xD5,0xFF } }; // 2EB5DF8A-D751-4997-BF96-BA9A531FD5FF - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiClock; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiSession; }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Index(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_Index(uint8_t) noexcept = 0; - virtual int32_t __stdcall get_DisplayValue(uint8_t*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(uint8_t, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; - virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; - virtual int32_t __stdcall IsValidIndex(uint8_t, bool*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Now(uint64_t*) noexcept = 0; - virtual int32_t __stdcall get_TimestampConstantSendImmediately(uint64_t*) noexcept = 0; - virtual int32_t __stdcall get_TimestampFrequency(uint64_t*) noexcept = 0; - virtual int32_t __stdcall ConvertTimestampTicksToNanoseconds(uint64_t, double*) noexcept = 0; - virtual int32_t __stdcall ConvertTimestampTicksToMicroseconds(uint64_t, double*) noexcept = 0; - virtual int32_t __stdcall ConvertTimestampTicksToMilliseconds(uint64_t, double*) noexcept = 0; - virtual int32_t __stdcall ConvertTimestampTicksToSeconds(uint64_t, double*) noexcept = 0; - virtual int32_t __stdcall OffsetTimestampByTicks(uint64_t, int64_t, uint64_t*) noexcept = 0; - virtual int32_t __stdcall OffsetTimestampByMicroseconds(uint64_t, int64_t, uint64_t*) noexcept = 0; - virtual int32_t __stdcall OffsetTimestampByMilliseconds(uint64_t, int64_t, uint64_t*) noexcept = 0; - virtual int32_t __stdcall OffsetTimestampBySeconds(uint64_t, int64_t, uint64_t*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_ConnectionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall get_ConnectedEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_Tag(void**) noexcept = 0; - virtual int32_t __stdcall put_Tag(void*) noexcept = 0; - virtual int32_t __stdcall get_LogMessageDataValidationErrorDetails(bool*) noexcept = 0; - virtual int32_t __stdcall put_LogMessageDataValidationErrorDetails(bool) noexcept = 0; - virtual int32_t __stdcall get_Settings(void**) noexcept = 0; - virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; - virtual int32_t __stdcall Open(bool*) noexcept = 0; - virtual int32_t __stdcall get_IsAutoReconnectEnabled(bool*) noexcept = 0; - virtual int32_t __stdcall get_MessageProcessingPlugins(void**) noexcept = 0; - virtual int32_t __stdcall AddMessageProcessingPlugin(void*) noexcept = 0; - virtual int32_t __stdcall RemoveMessageProcessingPlugin(winrt::guid) noexcept = 0; - virtual int32_t __stdcall SendSingleMessagePacket(void*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageStruct(uint64_t, uint8_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct const&, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageWordArray(uint64_t, uint32_t, uint8_t, uint32_t, uint32_t*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageWords(uint64_t, uint32_t, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageWords2(uint64_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageWords3(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageWords4(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendSingleMessageBuffer(uint64_t, uint32_t, uint8_t, void*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendMultipleMessagesWordList(uint64_t, void*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendMultipleMessagesWordArray(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendMultipleMessagesPacketList(void*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendMultipleMessagesStructList(uint64_t, void*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendMultipleMessagesStructArray(uint64_t, uint32_t, uint32_t, uint32_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct*, uint32_t*) noexcept = 0; - virtual int32_t __stdcall SendMultipleMessagesBuffer(uint64_t, uint32_t, uint32_t, void*, uint32_t*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_SettingsJson(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall add_EndpointDeviceDisconnected(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_EndpointDeviceDisconnected(winrt::event_token) noexcept = 0; - virtual int32_t __stdcall add_EndpointDeviceReconnected(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_EndpointDeviceReconnected(winrt::event_token) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; - virtual int32_t __stdcall SendMessageSucceeded(uint32_t, bool*) noexcept = 0; - virtual int32_t __stdcall SendMessageFailed(uint32_t, bool*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall get_ContainerId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall get_DeviceInstanceId(void**) noexcept = 0; - virtual int32_t __stdcall get_EndpointPurpose(int32_t*) noexcept = 0; - virtual int32_t __stdcall GetDeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; - virtual int32_t __stdcall get_DeclaredEndpointInfoLastUpdateTime(int64_t*) noexcept = 0; - virtual int32_t __stdcall GetDeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; - virtual int32_t __stdcall get_DeclaredDeviceIdentityLastUpdateTime(int64_t*) noexcept = 0; - virtual int32_t __stdcall GetDeclaredStreamConfiguration(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration*) noexcept = 0; - virtual int32_t __stdcall get_DeclaredStreamConfigurationLastUpdateTime(int64_t*) noexcept = 0; - virtual int32_t __stdcall GetDeclaredFunctionBlocks(void**) noexcept = 0; - virtual int32_t __stdcall get_DeclaredFunctionBlocksLastUpdateTime(int64_t*) noexcept = 0; - virtual int32_t __stdcall GetGroupTerminalBlocks(void**) noexcept = 0; - virtual int32_t __stdcall GetUserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo*) noexcept = 0; - virtual int32_t __stdcall GetTransportSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo*) noexcept = 0; - virtual int32_t __stdcall GetParentDeviceInformation(void**) noexcept = 0; - virtual int32_t __stdcall GetContainerDeviceInformation(void**) noexcept = 0; - virtual int32_t __stdcall get_Properties(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_AddedDevice(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateFromEndpointDeviceId(void*, void**) noexcept = 0; - virtual int32_t __stdcall FindAll(void**) noexcept = 0; - virtual int32_t __stdcall FindAll2(int32_t, void**) noexcept = 0; - virtual int32_t __stdcall FindAll3(int32_t, uint32_t, void**) noexcept = 0; - virtual int32_t __stdcall get_EndpointInterfaceClass(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall GetAdditionalPropertiesList(void**) noexcept = 0; - virtual int32_t __stdcall DeviceMatchesFilter(void*, uint32_t, bool*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_IsNameUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_IsEndpointInformationUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_IsDeviceIdentityUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_IsStreamConfigurationUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_AreFunctionBlocksUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_IsUserMetadataUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_AreAdditionalCapabilitiesUpdated(bool*) noexcept = 0; - virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall Start() noexcept = 0; - virtual int32_t __stdcall Stop() noexcept = 0; - virtual int32_t __stdcall get_EnumeratedEndpointDevices(void**) noexcept = 0; - virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; - virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; - virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; - virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; - virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; - virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall Create(void**) noexcept = 0; - virtual int32_t __stdcall Create2(uint32_t, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall put_Name(void*) noexcept = 0; - virtual int32_t __stdcall get_Tag(void**) noexcept = 0; - virtual int32_t __stdcall put_Tag(void*) noexcept = 0; - virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; - virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; - virtual int32_t __stdcall Initialize(void*) noexcept = 0; - virtual int32_t __stdcall OnEndpointConnectionOpened() noexcept = 0; - virtual int32_t __stdcall ProcessIncomingMessage(void*, bool*, bool*) noexcept = 0; - virtual int32_t __stdcall Cleanup() noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; - virtual int32_t __stdcall get_Number(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_Number(uint8_t) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall put_Name(void*) noexcept = 0; - virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; - virtual int32_t __stdcall put_IsActive(bool) noexcept = 0; - virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; - virtual int32_t __stdcall put_Direction(int32_t) noexcept = 0; - virtual int32_t __stdcall get_UIHint(int32_t*) noexcept = 0; - virtual int32_t __stdcall put_UIHint(int32_t) noexcept = 0; - virtual int32_t __stdcall get_RepresentsMidi10Connection(int32_t*) noexcept = 0; - virtual int32_t __stdcall put_RepresentsMidi10Connection(int32_t) noexcept = 0; - virtual int32_t __stdcall get_FirstGroupIndex(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_FirstGroupIndex(uint8_t) noexcept = 0; - virtual int32_t __stdcall get_GroupCount(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_GroupCount(uint8_t) noexcept = 0; - virtual int32_t __stdcall IncludesGroup(void*, bool*) noexcept = 0; - virtual int32_t __stdcall get_MidiCIMessageVersionFormat(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_MidiCIMessageVersionFormat(uint8_t) noexcept = 0; - virtual int32_t __stdcall get_MaxSystemExclusive8Streams(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_MaxSystemExclusive8Streams(uint8_t) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Index(uint8_t*) noexcept = 0; - virtual int32_t __stdcall put_Index(uint8_t) noexcept = 0; - virtual int32_t __stdcall get_DisplayValue(uint8_t*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(uint8_t, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; - virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; - virtual int32_t __stdcall IsValidIndex(uint8_t, bool*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Number(uint8_t*) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; - virtual int32_t __stdcall get_Protocol(int32_t*) noexcept = 0; - virtual int32_t __stdcall get_FirstGroupIndex(uint8_t*) noexcept = 0; - virtual int32_t __stdcall get_GroupCount(uint8_t*) noexcept = 0; - virtual int32_t __stdcall IncludesGroup(void*, bool*) noexcept = 0; - virtual int32_t __stdcall get_MaxDeviceInputBandwidthIn4KBitsPerSecondUnits(uint16_t*) noexcept = 0; - virtual int32_t __stdcall get_MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits(uint16_t*) noexcept = 0; - virtual int32_t __stdcall get_CalculatedMaxDeviceInputBandwidthBitsPerSecond(uint32_t*) noexcept = 0; - virtual int32_t __stdcall get_CalculatedMaxDeviceOutputBandwidthBitsPerSecond(uint32_t*) noexcept = 0; - virtual int32_t __stdcall AsEquivalentFunctionBlock(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; - virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; - virtual int32_t __stdcall get_Word2(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word2(uint32_t) noexcept = 0; - virtual int32_t __stdcall get_Word3(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word3(uint32_t) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, void*, void**, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; - virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; - virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; - virtual int32_t __stdcall get_Word2(uint32_t*) noexcept = 0; - virtual int32_t __stdcall put_Word2(uint32_t) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; - virtual int32_t __stdcall get_PacketType(int32_t*) noexcept = 0; - virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; - virtual int32_t __stdcall PeekFirstWord(uint32_t*) noexcept = 0; - virtual int32_t __stdcall GetMessagePacket(void**) noexcept = 0; - virtual int32_t __stdcall FillWords(uint32_t*, uint32_t*, uint32_t*, uint32_t*, uint8_t*) noexcept = 0; - virtual int32_t __stdcall FillMessageStruct(struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct*, uint8_t*) noexcept = 0; - virtual int32_t __stdcall FillMessage32(void*, bool*) noexcept = 0; - virtual int32_t __stdcall FillMessage64(void*, bool*) noexcept = 0; - virtual int32_t __stdcall FillMessage96(void*, bool*) noexcept = 0; - virtual int32_t __stdcall FillMessage128(void*, bool*) noexcept = 0; - virtual int32_t __stdcall FillWordArray(uint32_t, uint32_t, uint32_t*, uint8_t*) noexcept = 0; - virtual int32_t __stdcall FillByteArray(uint32_t, uint32_t, uint8_t*, uint8_t*) noexcept = 0; - virtual int32_t __stdcall FillBuffer(uint32_t, void*, uint8_t*) noexcept = 0; - virtual int32_t __stdcall AppendWordsToList(void*, uint8_t*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; - virtual int32_t __stdcall get_Connections(void**) noexcept = 0; - virtual int32_t __stdcall CreateEndpointConnection(void*, void**) noexcept = 0; - virtual int32_t __stdcall CreateEndpointConnection2(void*, bool, void**) noexcept = 0; - virtual int32_t __stdcall CreateEndpointConnection3(void*, bool, void*, void**) noexcept = 0; - virtual int32_t __stdcall DisconnectEndpointConnection(winrt::guid) noexcept = 0; - virtual int32_t __stdcall UpdateName(void*, bool*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall Create(void*, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; - virtual int32_t __stdcall put_Timestamp(uint64_t) noexcept = 0; - virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; - virtual int32_t __stdcall put_MessageType(int32_t) noexcept = 0; - virtual int32_t __stdcall get_PacketType(int32_t*) noexcept = 0; - virtual int32_t __stdcall PeekFirstWord(uint32_t*) noexcept = 0; - virtual int32_t __stdcall GetAllWords(void**) noexcept = 0; - virtual int32_t __stdcall AppendAllMessageWordsToList(void*, uint8_t*) noexcept = 0; - virtual int32_t __stdcall FillBuffer(uint32_t, void*, uint8_t*) noexcept = 0; - }; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannel - { - [[nodiscard]] auto Index() const; - auto Index(uint8_t value) const; - [[nodiscard]] auto DisplayValue() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannel; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory - { - auto CreateInstance(uint8_t index) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics - { - [[nodiscard]] auto ShortLabel() const; - [[nodiscard]] auto LongLabel() const; - auto IsValidIndex(uint8_t index) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiClock - { - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiClock; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics - { - [[nodiscard]] auto Now() const; - [[nodiscard]] auto TimestampConstantSendImmediately() const; - [[nodiscard]] auto TimestampFrequency() const; - auto ConvertTimestampTicksToNanoseconds(uint64_t timestampValue) const; - auto ConvertTimestampTicksToMicroseconds(uint64_t timestampValue) const; - auto ConvertTimestampTicksToMilliseconds(uint64_t timestampValue) const; - auto ConvertTimestampTicksToSeconds(uint64_t timestampValue) const; - auto OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks) const; - auto OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds) const; - auto OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds) const; - auto OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection - { - [[nodiscard]] auto ConnectionId() const; - [[nodiscard]] auto ConnectedEndpointDeviceId() const; - [[nodiscard]] auto Tag() const; - auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] auto LogMessageDataValidationErrorDetails() const; - auto LogMessageDataValidationErrorDetails(bool value) const; - [[nodiscard]] auto Settings() const; - [[nodiscard]] auto IsOpen() const; - auto Open() const; - [[nodiscard]] auto IsAutoReconnectEnabled() const; - [[nodiscard]] auto MessageProcessingPlugins() const; - auto AddMessageProcessingPlugin(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin const& plugin) const; - auto RemoveMessageProcessingPlugin(winrt::guid const& id) const; - auto SendSingleMessagePacket(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket const& message) const; - auto SendSingleMessageStruct(uint64_t timestamp, uint8_t wordCount, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; - auto SendSingleMessageWordArray(uint64_t timestamp, uint32_t startIndex, uint8_t wordCount, array_view words) const; - auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0) const; - auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1) const; - auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2) const; - auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3) const; - auto SendSingleMessageBuffer(uint64_t timestamp, uint32_t byteOffset, uint8_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; - auto SendMultipleMessagesWordList(uint64_t timestamp, param::iterable const& words) const; - auto SendMultipleMessagesWordArray(uint64_t timestamp, uint32_t startIndex, uint32_t wordCount, array_view words) const; - auto SendMultipleMessagesPacketList(param::iterable const& messages) const; - auto SendMultipleMessagesStructList(uint64_t timestamp, param::iterable const& messages) const; - auto SendMultipleMessagesStructArray(uint64_t timestamp, uint32_t startIndex, uint32_t messageCount, array_view messages) const; - auto SendMultipleMessagesBuffer(uint64_t timestamp, uint32_t byteOffset, uint32_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings - { - [[nodiscard]] auto SettingsJson() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource - { - auto EndpointDeviceDisconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using EndpointDeviceDisconnected_revoker = impl::event_revoker::remove_EndpointDeviceDisconnected>; - [[nodiscard]] auto EndpointDeviceDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto EndpointDeviceDisconnected(winrt::event_token const& token) const noexcept; - auto EndpointDeviceReconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using EndpointDeviceReconnected_revoker = impl::event_revoker::remove_EndpointDeviceReconnected>; - [[nodiscard]] auto EndpointDeviceReconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto EndpointDeviceReconnected(winrt::event_token const& token) const noexcept; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics - { - auto GetDeviceSelector() const; - auto SendMessageSucceeded(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const; - auto SendMessageFailed(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation - { - [[nodiscard]] auto EndpointDeviceId() const; - [[nodiscard]] auto Name() const; - [[nodiscard]] auto ContainerId() const; - [[nodiscard]] auto DeviceInstanceId() const; - [[nodiscard]] auto EndpointPurpose() const; - auto GetDeclaredEndpointInfo() const; - [[nodiscard]] auto DeclaredEndpointInfoLastUpdateTime() const; - auto GetDeclaredDeviceIdentity() const; - [[nodiscard]] auto DeclaredDeviceIdentityLastUpdateTime() const; - auto GetDeclaredStreamConfiguration() const; - [[nodiscard]] auto DeclaredStreamConfigurationLastUpdateTime() const; - auto GetDeclaredFunctionBlocks() const; - [[nodiscard]] auto DeclaredFunctionBlocksLastUpdateTime() const; - auto GetGroupTerminalBlocks() const; - auto GetUserSuppliedInfo() const; - auto GetTransportSuppliedInfo() const; - auto GetParentDeviceInformation() const; - auto GetContainerDeviceInformation() const; - [[nodiscard]] auto Properties() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs - { - [[nodiscard]] auto AddedDevice() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs - { - [[nodiscard]] auto EndpointDeviceId() const; - [[nodiscard]] auto DeviceInformationUpdate() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics - { - auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) const; - auto FindAll() const; - auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) const; - auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; - [[nodiscard]] auto EndpointInterfaceClass() const; - auto GetAdditionalPropertiesList() const; - auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs - { - [[nodiscard]] auto EndpointDeviceId() const; - [[nodiscard]] auto IsNameUpdated() const; - [[nodiscard]] auto IsEndpointInformationUpdated() const; - [[nodiscard]] auto IsDeviceIdentityUpdated() const; - [[nodiscard]] auto IsStreamConfigurationUpdated() const; - [[nodiscard]] auto AreFunctionBlocksUpdated() const; - [[nodiscard]] auto IsUserMetadataUpdated() const; - [[nodiscard]] auto AreAdditionalCapabilitiesUpdated() const; - [[nodiscard]] auto DeviceInformationUpdate() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher - { - auto Start() const; - auto Stop() const; - [[nodiscard]] auto EnumeratedEndpointDevices() const; - [[nodiscard]] auto Status() const; - auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using Added_revoker = impl::event_revoker::remove_Added>; - [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto Added(winrt::event_token const& token) const noexcept; - auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using Removed_revoker = impl::event_revoker::remove_Removed>; - [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto Removed(winrt::event_token const& token) const noexcept; - auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using Updated_revoker = impl::event_revoker::remove_Updated>; - [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto Updated(winrt::event_token const& token) const noexcept; - auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; - [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto EnumerationCompleted(winrt::event_token const& token) const noexcept; - auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using Stopped_revoker = impl::event_revoker::remove_Stopped>; - [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto Stopped(winrt::event_token const& token) const noexcept; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics - { - auto Create() const; - auto Create(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin - { - [[nodiscard]] auto Id() const; - [[nodiscard]] auto Name() const; - auto Name(param::hstring const& value) const; - [[nodiscard]] auto Tag() const; - auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; - [[nodiscard]] auto IsEnabled() const; - auto IsEnabled(bool value) const; - auto Initialize(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource const& endpointConnection) const; - auto OnEndpointConnectionOpened() const; - auto ProcessIncomingMessage(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageReceivedEventArgs const& args, bool& skipFurtherListeners, bool& skipMainMessageReceivedEvent) const; - auto Cleanup() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock - { - [[nodiscard]] auto IsReadOnly() const; - [[nodiscard]] auto Number() const; - auto Number(uint8_t value) const; - [[nodiscard]] auto Name() const; - auto Name(param::hstring const& value) const; - [[nodiscard]] auto IsActive() const; - auto IsActive(bool value) const; - [[nodiscard]] auto Direction() const; - auto Direction(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& value) const; - [[nodiscard]] auto UIHint() const; - auto UIHint(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& value) const; - [[nodiscard]] auto RepresentsMidi10Connection() const; - auto RepresentsMidi10Connection(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& value) const; - [[nodiscard]] auto FirstGroupIndex() const; - auto FirstGroupIndex(uint8_t value) const; - [[nodiscard]] auto GroupCount() const; - auto GroupCount(uint8_t value) const; - auto IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const; - [[nodiscard]] auto MidiCIMessageVersionFormat() const; - auto MidiCIMessageVersionFormat(uint8_t value) const; - [[nodiscard]] auto MaxSystemExclusive8Streams() const; - auto MaxSystemExclusive8Streams(uint8_t value) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroup - { - [[nodiscard]] auto Index() const; - auto Index(uint8_t value) const; - [[nodiscard]] auto DisplayValue() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroup; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory - { - auto CreateInstance(uint8_t index) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics - { - [[nodiscard]] auto ShortLabel() const; - [[nodiscard]] auto LongLabel() const; - auto IsValidIndex(uint8_t index) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock - { - [[nodiscard]] auto Number() const; - [[nodiscard]] auto Name() const; - [[nodiscard]] auto Direction() const; - [[nodiscard]] auto Protocol() const; - [[nodiscard]] auto FirstGroupIndex() const; - [[nodiscard]] auto GroupCount() const; - auto IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const; - [[nodiscard]] auto MaxDeviceInputBandwidthIn4KBitsPerSecondUnits() const; - [[nodiscard]] auto MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits() const; - [[nodiscard]] auto CalculatedMaxDeviceInputBandwidthBitsPerSecond() const; - [[nodiscard]] auto CalculatedMaxDeviceOutputBandwidthBitsPerSecond() const; - auto AsEquivalentFunctionBlock() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128 - { - [[nodiscard]] auto Word0() const; - auto Word0(uint32_t value) const; - [[nodiscard]] auto Word1() const; - auto Word1(uint32_t value) const; - [[nodiscard]] auto Word2() const; - auto Word2(uint32_t value) const; - [[nodiscard]] auto Word3() const; - auto Word3(uint32_t value) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory - { - auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics - { - auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32 - { - [[nodiscard]] auto Word0() const; - auto Word0(uint32_t value) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory - { - auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance2(uint64_t timestamp, uint32_t word0, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics - { - auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64 - { - [[nodiscard]] auto Word0() const; - auto Word0(uint32_t value) const; - [[nodiscard]] auto Word1() const; - auto Word1(uint32_t value) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory - { - auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics - { - auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96 - { - [[nodiscard]] auto Word0() const; - auto Word0(uint32_t value) const; - [[nodiscard]] auto Word1() const; - auto Word1(uint32_t value) const; - [[nodiscard]] auto Word2() const; - auto Word2(uint32_t value) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory - { - auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics - { - auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs - { - [[nodiscard]] auto Timestamp() const; - [[nodiscard]] auto PacketType() const; - [[nodiscard]] auto MessageType() const; - auto PeekFirstWord() const; - auto GetMessagePacket() const; - auto FillWords(uint32_t& word0, uint32_t& word1, uint32_t& word2, uint32_t& word3) const; - auto FillMessageStruct(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct& message) const; - auto FillMessage32(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32 const& message) const; - auto FillMessage64(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64 const& message) const; - auto FillMessage96(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96 const& message) const; - auto FillMessage128(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128 const& message) const; - auto FillWordArray(uint32_t startIndex, array_view words) const; - auto FillByteArray(uint32_t startIndex, array_view bytes) const; - auto FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; - auto AppendWordsToList(param::vector const& wordList) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource - { - auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; - [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto MessageReceived(winrt::event_token const& token) const noexcept; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiSession - { - [[nodiscard]] auto SessionId() const; - [[nodiscard]] auto Name() const; - [[nodiscard]] auto IsOpen() const; - [[nodiscard]] auto Connections() const; - auto CreateEndpointConnection(param::hstring const& endpointDeviceId) const; - auto CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect) const; - auto CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect, winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSettings const& settings) const; - auto DisconnectEndpointConnection(winrt::guid const& endpointConnectionId) const; - auto UpdateName(param::hstring const& newName) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiSession; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics - { - auto Create(param::hstring const& sessionName) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket - { - [[nodiscard]] auto Timestamp() const; - auto Timestamp(uint64_t value) const; - [[nodiscard]] auto MessageType() const; - auto MessageType(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& value) const; - [[nodiscard]] auto PacketType() const; - auto PeekFirstWord() const; - auto GetAllWords() const; - auto AppendAllMessageWordsToList(param::vector const& targetList) const; - auto FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket; - }; - struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity - { - uint8_t SystemExclusiveIdByte1; - uint8_t SystemExclusiveIdByte2; - uint8_t SystemExclusiveIdByte3; - uint8_t DeviceFamilyLsb; - uint8_t DeviceFamilyMsb; - uint8_t DeviceFamilyModelNumberLsb; - uint8_t DeviceFamilyModelNumberMsb; - uint8_t SoftwareRevisionLevelByte1; - uint8_t SoftwareRevisionLevelByte2; - uint8_t SoftwareRevisionLevelByte3; - uint8_t SoftwareRevisionLevelByte4; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity; - }; - struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo - { - void* Name; - void* ProductInstanceId; - bool SupportsMidi10Protocol; - bool SupportsMidi20Protocol; - bool SupportsReceivingJitterReductionTimestamps; - bool SupportsSendingJitterReductionTimestamps; - bool HasStaticFunctionBlocks; - uint8_t DeclaredFunctionBlockCount; - uint8_t SpecificationVersionMajor; - uint8_t SpecificationVersionMinor; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo; - }; - struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration - { - int32_t Protocol; - bool ReceiveJitterReductionTimestamps; - bool SendJitterReductionTimestamps; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration; - }; - struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo - { - void* Name; - void* Description; - void* SerialNumber; - uint16_t VendorId; - uint16_t ProductId; - void* ManufacturerName; - bool SupportsMultiClient; - int32_t NativeDataFormat; - winrt::guid TransportId; - void* TransportAbbreviation; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo; - }; - struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo - { - void* Name; - void* Description; - void* LargeImagePath; - void* SmallImagePath; - bool RequiresNoteOffTranslation; - uint16_t RecommendedControlChangeAutomationIntervalMilliseconds; - bool SupportsMidiPolyphonicExpression; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo; - }; - struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct - { - uint32_t Word0; - uint32_t Word1; - uint32_t Word2; - uint32_t Word3; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct; - }; -} -#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h deleted file mode 100644 index 2d6bba913..000000000 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h +++ /dev/null @@ -1,242 +0,0 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 - -#pragma once -#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_0_H -#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_0_H -WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 -{ - struct MidiDeclaredDeviceIdentity; - struct MidiDeclaredEndpointInfo; - struct MidiEndpointUserSuppliedInfo; - struct MidiFunctionBlock; - enum class MidiProtocol : int32_t; -} -WINRT_EXPORT namespace winrt::Windows::Foundation -{ - struct EventRegistrationToken; - template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; -} -WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual -{ - struct IMidiStreamConfigRequestReceivedEventArgs; - struct IMidiVirtualDevice; - struct IMidiVirtualDeviceCreationConfig; - struct IMidiVirtualDeviceCreationConfigFactory; - struct IMidiVirtualDeviceManager; - struct IMidiVirtualDeviceManagerStatics; - struct MidiStreamConfigRequestReceivedEventArgs; - struct MidiVirtualDevice; - struct MidiVirtualDeviceCreationConfig; - struct MidiVirtualDeviceManager; - struct MidiStreamConfigRequestedSettings; - struct MidiVirtualDeviceCreationResult; -} -namespace winrt::impl -{ - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = interface_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = class_category; }; - template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationResult"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfigFactory"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; - template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 - template <> inline constexpr guid guid_v{ 0x2DFFD69C,0x79E9,0x5155,{ 0xBA,0x19,0x55,0x45,0x4E,0x1A,0xDF,0x6D } }; // 2DFFD69C-79E9-5155-BA19-55454E1ADF6D - template <> inline constexpr guid guid_v{ 0xF6B40477,0x006F,0x575B,{ 0xBE,0xEA,0xFD,0x72,0x9E,0x84,0xDD,0xF7 } }; // F6B40477-006F-575B-BEEA-FD729E84DDF7 - template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 - template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C - template <> inline constexpr guid guid_v{ 0x07B07404,0x03A3,0x59A4,{ 0xAB,0x49,0xFD,0x22,0x11,0xBC,0x38,0x04 } }; // 07B07404-03A3-59A4-AB49-FD2211BC3804 - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; - template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager; }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; - virtual int32_t __stdcall get_PreferredMidiProtocol(int32_t*) noexcept = 0; - virtual int32_t __stdcall get_RequestEndpointTransmitJitterReductionTimestamps(bool*) noexcept = 0; - virtual int32_t __stdcall get_RequestEndpointReceiveJitterReductionTimestamps(bool*) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_ClientEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; - virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; - virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; - virtual int32_t __stdcall get_SuppressHandledMessages(bool*) noexcept = 0; - virtual int32_t __stdcall put_SuppressHandledMessages(bool) noexcept = 0; - virtual int32_t __stdcall add_StreamConfigRequestReceived(void*, winrt::event_token*) noexcept = 0; - virtual int32_t __stdcall remove_StreamConfigRequestReceived(winrt::event_token) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall put_Name(void*) noexcept = 0; - virtual int32_t __stdcall get_Description(void**) noexcept = 0; - virtual int32_t __stdcall put_Description(void*) noexcept = 0; - virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; - virtual int32_t __stdcall put_Manufacturer(void*) noexcept = 0; - virtual int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; - virtual int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity) noexcept = 0; - virtual int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; - virtual int32_t __stdcall put_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo) noexcept = 0; - virtual int32_t __stdcall get_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo*) noexcept = 0; - virtual int32_t __stdcall put_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo) noexcept = 0; - virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall CreateInstance(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance2(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity, void**) noexcept = 0; - virtual int32_t __stdcall CreateInstance3(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity, struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo, void**) noexcept = 0; - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - }; - }; - template <> struct abi - { - struct WINRT_IMPL_NOVTABLE type : inspectable_abi - { - virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; - virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall CreateVirtualDevice(void*, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult*) noexcept = 0; - }; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs - { - [[nodiscard]] auto Timestamp() const; - [[nodiscard]] auto PreferredMidiProtocol() const; - [[nodiscard]] auto RequestEndpointTransmitJitterReductionTimestamps() const; - [[nodiscard]] auto RequestEndpointReceiveJitterReductionTimestamps() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice - { - [[nodiscard]] auto DeviceEndpointDeviceId() const; - [[nodiscard]] auto ClientEndpointDeviceId() const; - [[nodiscard]] auto FunctionBlocks() const; - auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; - auto UpdateEndpointName(param::hstring const& name) const; - [[nodiscard]] auto SuppressHandledMessages() const; - auto SuppressHandledMessages(bool value) const; - auto StreamConfigRequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; - using StreamConfigRequestReceived_revoker = impl::event_revoker::remove_StreamConfigRequestReceived>; - [[nodiscard]] auto StreamConfigRequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; - auto StreamConfigRequestReceived(winrt::event_token const& token) const noexcept; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig - { - [[nodiscard]] auto Name() const; - auto Name(param::hstring const& value) const; - [[nodiscard]] auto Description() const; - auto Description(param::hstring const& value) const; - [[nodiscard]] auto Manufacturer() const; - auto Manufacturer(param::hstring const& value) const; - [[nodiscard]] auto DeclaredDeviceIdentity() const; - auto DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const; - [[nodiscard]] auto DeclaredEndpointInfo() const; - auto DeclaredEndpointInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& value) const; - [[nodiscard]] auto UserSuppliedInfo() const; - auto UserSuppliedInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& value) const; - [[nodiscard]] auto FunctionBlocks() const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory - { - auto CreateInstance(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) const; - auto CreateInstance2(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) const; - auto CreateInstance3(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManager - { - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManager; - }; - template - struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics - { - [[nodiscard]] auto IsTransportAvailable() const; - [[nodiscard]] auto AbstractionId() const; - auto CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const; - }; - template <> struct consume - { - template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics; - }; - struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings - { - uint8_t SpecificationVersionMajor; - uint8_t SpecificationVersionMinor; - int32_t PreferredMidiProtocol; - bool RequestEndpointTransmitJitterReductionTimestamps; - bool RequestEndpointReceiveJitterReductionTimestamps; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; - }; - struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult - { - bool Success; - void* DeviceSideEndpointDeviceId; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult; - }; -} -#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h deleted file mode 100644 index 1377c3c57..000000000 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h +++ /dev/null @@ -1,69 +0,0 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 - -#pragma once -#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_2_H -#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_2_H -#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" -#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" -#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h" -WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual -{ - struct MidiStreamConfigRequestedSettings - { - uint8_t SpecificationVersionMajor; - uint8_t SpecificationVersionMinor; - winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol PreferredMidiProtocol; - bool RequestEndpointTransmitJitterReductionTimestamps; - bool RequestEndpointReceiveJitterReductionTimestamps; - }; - inline bool operator==(MidiStreamConfigRequestedSettings const& left, MidiStreamConfigRequestedSettings const& right) noexcept - { - return left.SpecificationVersionMajor == right.SpecificationVersionMajor && left.SpecificationVersionMinor == right.SpecificationVersionMinor && left.PreferredMidiProtocol == right.PreferredMidiProtocol && left.RequestEndpointTransmitJitterReductionTimestamps == right.RequestEndpointTransmitJitterReductionTimestamps && left.RequestEndpointReceiveJitterReductionTimestamps == right.RequestEndpointReceiveJitterReductionTimestamps; - } - inline bool operator!=(MidiStreamConfigRequestedSettings const& left, MidiStreamConfigRequestedSettings const& right) noexcept - { - return !(left == right); - } - struct MidiVirtualDeviceCreationResult - { - bool Success; - hstring DeviceSideEndpointDeviceId; - }; - inline bool operator==(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return left.Success == right.Success && left.DeviceSideEndpointDeviceId == right.DeviceSideEndpointDeviceId; - } - inline bool operator!=(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return !(left == right); - } - struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs - { - MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} - MidiStreamConfigRequestReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs(ptr, take_ownership_from_abi) {} - }; - struct WINRT_IMPL_EMPTY_BASES MidiVirtualDevice : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice, - impl::require - { - MidiVirtualDevice(std::nullptr_t) noexcept {} - MidiVirtualDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice(ptr, take_ownership_from_abi) {} - }; - struct WINRT_IMPL_EMPTY_BASES MidiVirtualDeviceCreationConfig : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig, - impl::require - { - MidiVirtualDeviceCreationConfig(std::nullptr_t) noexcept {} - MidiVirtualDeviceCreationConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig(ptr, take_ownership_from_abi) {} - MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo); - MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity); - MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo); - }; - struct WINRT_IMPL_EMPTY_BASES MidiVirtualDeviceManager : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager - { - MidiVirtualDeviceManager(std::nullptr_t) noexcept {} - MidiVirtualDeviceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager(ptr, take_ownership_from_abi) {} - [[nodiscard]] static auto IsTransportAvailable(); - [[nodiscard]] static auto AbstractionId(); - static auto CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig); - }; -} -#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 1fa35ceac..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 12a8de124..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 6dcb9b9bd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index e97d295dd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 885759693..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 5fc5dd99b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index 28ec69100..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 1fa35ceac..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 12a8de124..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 6dcb9b9bd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index e97d295dd..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index fa9a0361d..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 885759693..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 5fc5dd99b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index 28ec69100..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 7fe83395a..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 13ddb6a25..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 2b1aa5c4b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index be3e131b5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd deleted file mode 100644 index 290e2d6c7..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 43a8b1d39..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 0d897d0a4..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index fb3647fa5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll deleted file mode 100644 index 1a508bd3e..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd deleted file mode 100644 index 7fe83395a..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd deleted file mode 100644 index 13ddb6a25..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd deleted file mode 100644 index 2b1aa5c4b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd deleted file mode 100644 index be3e131b5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd deleted file mode 100644 index cb529386b..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd deleted file mode 100644 index 290e2d6c7..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd deleted file mode 100644 index 43a8b1d39..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd deleted file mode 100644 index 0d897d0a4..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd deleted file mode 100644 index fb3647fa5..000000000 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd and /dev/null differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/README.md similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/README.md rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/README.md diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h index 225cbc82e..ebc82f88f 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -44,12 +44,6 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::ClientEndpointDeviceId() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_ClientEndpointDeviceId(&value)); - return hstring{ value, take_ownership_from_abi }; - } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const { void* value{}; @@ -190,9 +184,9 @@ namespace winrt::impl } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const { - winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationResult result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), put_abi(result))); - return result; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDevice{ result, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template @@ -240,14 +234,6 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_ClientEndpointDeviceId(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().ClientEndpointDeviceId()); - return 0; - } - catch (...) { return to_hresult(); } int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try { clear_abi(value); @@ -458,11 +444,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall CreateVirtualDevice(void* creationConfig, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult* result) noexcept final try + int32_t __stdcall CreateVirtualDevice(void* creationConfig, void** result) noexcept final try { - zero_abi(result); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); + *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); return 0; } catch (...) { return to_hresult(); } diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h index 08e41736d..ed9a955bf 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h @@ -55,8 +55,8 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 enum class MidiEndpointNativeDataFormat : int32_t { Unknown = 0, - ByteStream = 1, - UniversalMidiPacket = 2, + ByteFormat = 1, + UniversalMidiPacketFormat = 2, }; enum class MidiFunctionBlockDirection : int32_t { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h similarity index 93% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h index 2d6bba913..39d0cdbd2 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -29,7 +29,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir struct MidiVirtualDeviceCreationConfig; struct MidiVirtualDeviceManager; struct MidiStreamConfigRequestedSettings; - struct MidiVirtualDeviceCreationResult; } namespace winrt::impl { @@ -44,13 +43,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; @@ -58,11 +55,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 - template <> inline constexpr guid guid_v{ 0x2DFFD69C,0x79E9,0x5155,{ 0xBA,0x19,0x55,0x45,0x4E,0x1A,0xDF,0x6D } }; // 2DFFD69C-79E9-5155-BA19-55454E1ADF6D + template <> inline constexpr guid guid_v{ 0x6C667B8A,0x8A6F,0x59EC,{ 0xAB,0x80,0x25,0xF6,0xE5,0x62,0x93,0x4F } }; // 6C667B8A-8A6F-59EC-AB80-25F6E562934F template <> inline constexpr guid guid_v{ 0xF6B40477,0x006F,0x575B,{ 0xBE,0xEA,0xFD,0x72,0x9E,0x84,0xDD,0xF7 } }; // F6B40477-006F-575B-BEEA-FD729E84DDF7 template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C - template <> inline constexpr guid guid_v{ 0x07B07404,0x03A3,0x59A4,{ 0xAB,0x49,0xFD,0x22,0x11,0xBC,0x38,0x04 } }; // 07B07404-03A3-59A4-AB49-FD2211BC3804 + template <> inline constexpr guid guid_v{ 0xA3C905C1,0x56B5,0x58CE,{ 0xAD,0x79,0x82,0x66,0xE5,0x0A,0x1C,0x0C } }; // A3C905C1-56B5-58CE-AD79-8266E50A1C0C template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; @@ -82,7 +79,6 @@ namespace winrt::impl struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_ClientEndpointDeviceId(void**) noexcept = 0; virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; @@ -132,7 +128,7 @@ namespace winrt::impl { virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall CreateVirtualDevice(void*, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult*) noexcept = 0; + virtual int32_t __stdcall CreateVirtualDevice(void*, void**) noexcept = 0; }; }; template @@ -151,7 +147,6 @@ namespace winrt::impl struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice { [[nodiscard]] auto DeviceEndpointDeviceId() const; - [[nodiscard]] auto ClientEndpointDeviceId() const; [[nodiscard]] auto FunctionBlocks() const; auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; auto UpdateEndpointName(param::hstring const& name) const; @@ -229,14 +224,5 @@ namespace winrt::impl { using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; }; - struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult - { - bool Success; - void* DeviceSideEndpointDeviceId; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult; - }; } #endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h similarity index 90% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h index 1377c3c57..7838b2613 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -24,19 +24,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir { return !(left == right); } - struct MidiVirtualDeviceCreationResult - { - bool Success; - hstring DeviceSideEndpointDeviceId; - }; - inline bool operator==(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return left.Success == right.Success && left.DeviceSideEndpointDeviceId == right.DeviceSideEndpointDeviceId; - } - inline bool operator!=(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return !(left == right); - } struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs { MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 1fa35ceac..9f04cb3b7 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 12a8de124..9f6fbd35a 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 6dcb9b9bd..f6661a4d4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..2e35b702d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..ad453f7b6 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd index 885759693..350a04aed 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 5fc5dd99b..7dc39cedd 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd index 28ec69100..3992c2ade 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..c568bcbd5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 1fa35ceac..9f04cb3b7 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 12a8de124..9f6fbd35a 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 6dcb9b9bd..f6661a4d4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..2e35b702d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..ad453f7b6 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd index 885759693..350a04aed 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 5fc5dd99b..7dc39cedd 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd index 28ec69100..3992c2ade 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 7fe83395a..7fa3f53a0 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 13ddb6a25..ce1286d12 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 2b1aa5c4b..ed9db7ba8 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index be3e131b5..d94c28773 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..17a5d258e Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd index 290e2d6c7..25f462d84 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd index 43a8b1d39..6a4532ab4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 0d897d0a4..17d899219 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd index fb3647fa5..62c9803bc 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..c568bcbd5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 7fe83395a..7fa3f53a0 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 13ddb6a25..ce1286d12 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 2b1aa5c4b..ed9db7ba8 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index be3e131b5..d94c28773 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..17a5d258e Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd index 290e2d6c7..25f462d84 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd index 43a8b1d39..6a4532ab4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 0d897d0a4..17d899219 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd index fb3647fa5..62c9803bc 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2018-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/README.md similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/README.md rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/README.md diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h index 225cbc82e..ebc82f88f 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -44,12 +44,6 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::ClientEndpointDeviceId() const - { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_ClientEndpointDeviceId(&value)); - return hstring{ value, take_ownership_from_abi }; - } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const { void* value{}; @@ -190,9 +184,9 @@ namespace winrt::impl } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const { - winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationResult result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), put_abi(result))); - return result; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDevice{ result, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template @@ -240,14 +234,6 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_ClientEndpointDeviceId(void** value) noexcept final try - { - clear_abi(value); - typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().ClientEndpointDeviceId()); - return 0; - } - catch (...) { return to_hresult(); } int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try { clear_abi(value); @@ -458,11 +444,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall CreateVirtualDevice(void* creationConfig, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult* result) noexcept final try + int32_t __stdcall CreateVirtualDevice(void* creationConfig, void** result) noexcept final try { - zero_abi(result); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); + *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); return 0; } catch (...) { return to_hresult(); } diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h index 08e41736d..ed9a955bf 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h @@ -55,8 +55,8 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 enum class MidiEndpointNativeDataFormat : int32_t { Unknown = 0, - ByteStream = 1, - UniversalMidiPacket = 2, + ByteFormat = 1, + UniversalMidiPacketFormat = 2, }; enum class MidiFunctionBlockDirection : int32_t { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h similarity index 93% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h index 2d6bba913..39d0cdbd2 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -29,7 +29,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir struct MidiVirtualDeviceCreationConfig; struct MidiVirtualDeviceManager; struct MidiStreamConfigRequestedSettings; - struct MidiVirtualDeviceCreationResult; } namespace winrt::impl { @@ -44,13 +43,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; @@ -58,11 +55,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 - template <> inline constexpr guid guid_v{ 0x2DFFD69C,0x79E9,0x5155,{ 0xBA,0x19,0x55,0x45,0x4E,0x1A,0xDF,0x6D } }; // 2DFFD69C-79E9-5155-BA19-55454E1ADF6D + template <> inline constexpr guid guid_v{ 0x6C667B8A,0x8A6F,0x59EC,{ 0xAB,0x80,0x25,0xF6,0xE5,0x62,0x93,0x4F } }; // 6C667B8A-8A6F-59EC-AB80-25F6E562934F template <> inline constexpr guid guid_v{ 0xF6B40477,0x006F,0x575B,{ 0xBE,0xEA,0xFD,0x72,0x9E,0x84,0xDD,0xF7 } }; // F6B40477-006F-575B-BEEA-FD729E84DDF7 template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C - template <> inline constexpr guid guid_v{ 0x07B07404,0x03A3,0x59A4,{ 0xAB,0x49,0xFD,0x22,0x11,0xBC,0x38,0x04 } }; // 07B07404-03A3-59A4-AB49-FD2211BC3804 + template <> inline constexpr guid guid_v{ 0xA3C905C1,0x56B5,0x58CE,{ 0xAD,0x79,0x82,0x66,0xE5,0x0A,0x1C,0x0C } }; // A3C905C1-56B5-58CE-AD79-8266E50A1C0C template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; @@ -82,7 +79,6 @@ namespace winrt::impl struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_ClientEndpointDeviceId(void**) noexcept = 0; virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; @@ -132,7 +128,7 @@ namespace winrt::impl { virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall CreateVirtualDevice(void*, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult*) noexcept = 0; + virtual int32_t __stdcall CreateVirtualDevice(void*, void**) noexcept = 0; }; }; template @@ -151,7 +147,6 @@ namespace winrt::impl struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice { [[nodiscard]] auto DeviceEndpointDeviceId() const; - [[nodiscard]] auto ClientEndpointDeviceId() const; [[nodiscard]] auto FunctionBlocks() const; auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; auto UpdateEndpointName(param::hstring const& name) const; @@ -229,14 +224,5 @@ namespace winrt::impl { using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; }; - struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult - { - bool Success; - void* DeviceSideEndpointDeviceId; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult; - }; } #endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h similarity index 90% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h index 1377c3c57..7838b2613 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -24,19 +24,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir { return !(left == right); } - struct MidiVirtualDeviceCreationResult - { - bool Success; - hstring DeviceSideEndpointDeviceId; - }; - inline bool operator==(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return left.Success == right.Success && left.DeviceSideEndpointDeviceId == right.DeviceSideEndpointDeviceId; - } - inline bool operator!=(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return !(left == right); - } struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs { MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 1fa35ceac..9f04cb3b7 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 12a8de124..9f6fbd35a 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 6dcb9b9bd..f6661a4d4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..2e35b702d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..ad453f7b6 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd index 885759693..350a04aed 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 5fc5dd99b..7dc39cedd 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd index 28ec69100..3992c2ade 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..c568bcbd5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 1fa35ceac..9f04cb3b7 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 12a8de124..9f6fbd35a 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 6dcb9b9bd..f6661a4d4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..2e35b702d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..ad453f7b6 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd index 885759693..350a04aed 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 5fc5dd99b..7dc39cedd 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd index 28ec69100..3992c2ade 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 7fe83395a..7fa3f53a0 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 13ddb6a25..ce1286d12 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 2b1aa5c4b..ed9db7ba8 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index be3e131b5..d94c28773 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..17a5d258e Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd index 290e2d6c7..25f462d84 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd index 43a8b1d39..6a4532ab4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 0d897d0a4..17d899219 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd index fb3647fa5..62c9803bc 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..c568bcbd5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd index 7fe83395a..7fa3f53a0 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd similarity index 98% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd index 13ddb6a25..ce1286d12 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd index 2b1aa5c4b..ed9db7ba8 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index be3e131b5..d94c28773 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..17a5d258e Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd index 290e2d6c7..25f462d84 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd index 43a8b1d39..6a4532ab4 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd similarity index 96% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd index 0d897d0a4..17d899219 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd index fb3647fa5..62c9803bc 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24172.2036-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/README.md similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/README.md rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/README.md diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h similarity index 95% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h index 225cbc82e..7cb112476 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -44,11 +44,11 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::ClientEndpointDeviceId() const + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::AssociationId() const { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_ClientEndpointDeviceId(&value)); - return hstring{ value, take_ownership_from_abi }; + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_AssociationId(put_abi(value))); + return value; } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const { @@ -122,6 +122,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Manufacturer(*(void**)(&value))); } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_AssociationId(put_abi(value))); + return value; + } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity() const { winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity value{}; @@ -190,9 +196,9 @@ namespace winrt::impl } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const { - winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationResult result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), put_abi(result))); - return result; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDevice{ result, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template @@ -240,11 +246,10 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_ClientEndpointDeviceId(void** value) noexcept final try + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try { - clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().ClientEndpointDeviceId()); + *value = detach_from(this->shim().AssociationId()); return 0; } catch (...) { return to_hresult(); } @@ -349,6 +354,13 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity* value) noexcept final try { zero_abi(value); @@ -458,11 +470,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall CreateVirtualDevice(void* creationConfig, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult* result) noexcept final try + int32_t __stdcall CreateVirtualDevice(void* creationConfig, void** result) noexcept final try { - zero_abi(result); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); + *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); return 0; } catch (...) { return to_hresult(); } diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h index f8dcd9c51..3a83fd447 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h @@ -474,10 +474,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll2(static_cast(sortOrder), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const { void* result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &result)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointTypesToInclude), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::EndpointInterfaceClass() const @@ -492,10 +492,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->GetAdditionalPropertiesList(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const { bool result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &result)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointTypesToInclude), &result)); return result; } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::EndpointDeviceId() const @@ -654,31 +654,31 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcherStatics)->Create2(static_cast(endpointFilters), &result)); return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Id() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginId() const { winrt::guid value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginId(put_abi(value))); return value; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName() const { void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginName(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName(param::hstring const& value) const { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginName(*(void**)(&value))); } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag() const { void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&value)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginTag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag(winrt::Windows::Foundation::IInspectable const& value) const { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(void**)(&value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginTag(*(void**)(&value))); } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::IsEnabled() const { @@ -1982,11 +1982,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointFilters, void** result) noexcept final try + int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointTypesToInclude, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointFilters))); + *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointTypesToInclude))); return 0; } catch (...) { return to_hresult(); } @@ -2005,10 +2005,10 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointFilters, bool* result) noexcept final try + int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointTypesToInclude, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointTypesToInclude))); return 0; } catch (...) { return to_hresult(); } @@ -2215,40 +2215,40 @@ namespace winrt::impl template struct produce : produce_base { - int32_t __stdcall get_Id(winrt::guid* value) noexcept final try + int32_t __stdcall get_PluginId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Id()); + *value = detach_from(this->shim().PluginId()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_Name(void** value) noexcept final try + int32_t __stdcall get_PluginName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Name()); + *value = detach_from(this->shim().PluginName()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall put_Name(void* value) noexcept final try + int32_t __stdcall put_PluginName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); - this->shim().Name(*reinterpret_cast(&value)); + this->shim().PluginName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_Tag(void** value) noexcept final try + int32_t __stdcall get_PluginTag(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Tag()); + *value = detach_from(this->shim().PluginTag()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall put_Tag(void* value) noexcept final try + int32_t __stdcall put_PluginTag(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); - this->shim().Tag(*reinterpret_cast(&value)); + this->shim().PluginTag(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } @@ -3419,9 +3419,9 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder); }); } - inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) { - return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointTypesToInclude); }); } inline auto MidiEndpointDeviceInformation::EndpointInterfaceClass() { @@ -3431,9 +3431,9 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { return impl::call_factory_cast(*)(IMidiEndpointDeviceInformationStatics const&), MidiEndpointDeviceInformation, IMidiEndpointDeviceInformationStatics>([](IMidiEndpointDeviceInformationStatics const& f) { return f.GetAdditionalPropertiesList(); }); } - inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) { - return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointTypesToInclude); }); } inline auto MidiEndpointDeviceWatcher::Create() { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h index 08e41736d..7ba28d513 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h @@ -24,12 +24,12 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { enum class MidiEndpointDeviceInformationFilters : uint32_t { - IncludeClientUmpFormatNative = 0x1, - IncludeClientByteFormatNative = 0x2, - IncludeVirtualDeviceResponder = 0x100, - IncludeDiagnosticLoopback = 0x10000, - IncludeDiagnosticPing = 0x20000, - AllTypicalEndpoints = 0x3, + StandardNativeUniversalMidiPacketFormat = 0x1, + StandardNativeMidi1ByteFormat = 0x2, + VirtualDeviceResponder = 0x100, + DiagnosticLoopback = 0x10000, + DiagnosticPing = 0x20000, + AllStandardEndpoints = 0x3, }; enum class MidiEndpointDeviceInformationSortOrder : int32_t { @@ -55,8 +55,8 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 enum class MidiEndpointNativeDataFormat : int32_t { Unknown = 0, - ByteStream = 1, - UniversalMidiPacket = 2, + Midi1ByteFormat = 1, + UniversalMidiPacketFormat = 2, }; enum class MidiFunctionBlockDirection : int32_t { @@ -618,11 +618,11 @@ namespace winrt::impl { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { - virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall put_Name(void*) noexcept = 0; - virtual int32_t __stdcall get_Tag(void**) noexcept = 0; - virtual int32_t __stdcall put_Tag(void*) noexcept = 0; + virtual int32_t __stdcall get_PluginId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PluginName(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginName(void*) noexcept = 0; + virtual int32_t __stdcall get_PluginTag(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginTag(void*) noexcept = 0; virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; virtual int32_t __stdcall Initialize(void*) noexcept = 0; @@ -1056,10 +1056,10 @@ namespace winrt::impl auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) const; auto FindAll() const; auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) const; - auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; + auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; [[nodiscard]] auto EndpointInterfaceClass() const; auto GetAdditionalPropertiesList() const; - auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; + auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; }; template <> struct consume { @@ -1127,11 +1127,11 @@ namespace winrt::impl template struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin { - [[nodiscard]] auto Id() const; - [[nodiscard]] auto Name() const; - auto Name(param::hstring const& value) const; - [[nodiscard]] auto Tag() const; - auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto PluginId() const; + [[nodiscard]] auto PluginName() const; + auto PluginName(param::hstring const& value) const; + [[nodiscard]] auto PluginTag() const; + auto PluginTag(winrt::Windows::Foundation::IInspectable const& value) const; [[nodiscard]] auto IsEnabled() const; auto IsEnabled(bool value) const; auto Initialize(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource const& endpointConnection) const; diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h index 268cc0479..e322db4de 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h @@ -159,10 +159,10 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 static auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId); static auto FindAll(); static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder); - static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); [[nodiscard]] static auto EndpointInterfaceClass(); static auto GetAdditionalPropertiesList(); - static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); }; struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformationAddedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h index 2d6bba913..780a0d43a 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -29,7 +29,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir struct MidiVirtualDeviceCreationConfig; struct MidiVirtualDeviceManager; struct MidiStreamConfigRequestedSettings; - struct MidiVirtualDeviceCreationResult; } namespace winrt::impl { @@ -44,13 +43,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; @@ -58,11 +55,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 - template <> inline constexpr guid guid_v{ 0x2DFFD69C,0x79E9,0x5155,{ 0xBA,0x19,0x55,0x45,0x4E,0x1A,0xDF,0x6D } }; // 2DFFD69C-79E9-5155-BA19-55454E1ADF6D - template <> inline constexpr guid guid_v{ 0xF6B40477,0x006F,0x575B,{ 0xBE,0xEA,0xFD,0x72,0x9E,0x84,0xDD,0xF7 } }; // F6B40477-006F-575B-BEEA-FD729E84DDF7 + template <> inline constexpr guid guid_v{ 0x95BCDF56,0x519E,0x5E44,{ 0x98,0xF2,0x3B,0x0A,0xE6,0x1F,0x4B,0xC7 } }; // 95BCDF56-519E-5E44-98F2-3B0AE61F4BC7 + template <> inline constexpr guid guid_v{ 0xEF8BC038,0xAC5D,0x5B85,{ 0x88,0x8D,0x11,0xDF,0x01,0x91,0x0D,0xDC } }; // EF8BC038-AC5D-5B85-888D-11DF01910DDC template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C - template <> inline constexpr guid guid_v{ 0x07B07404,0x03A3,0x59A4,{ 0xAB,0x49,0xFD,0x22,0x11,0xBC,0x38,0x04 } }; // 07B07404-03A3-59A4-AB49-FD2211BC3804 + template <> inline constexpr guid guid_v{ 0xA3C905C1,0x56B5,0x58CE,{ 0xAD,0x79,0x82,0x66,0xE5,0x0A,0x1C,0x0C } }; // A3C905C1-56B5-58CE-AD79-8266E50A1C0C template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; @@ -82,7 +79,7 @@ namespace winrt::impl struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_ClientEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; @@ -102,6 +99,7 @@ namespace winrt::impl virtual int32_t __stdcall put_Description(void*) noexcept = 0; virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; virtual int32_t __stdcall put_Manufacturer(void*) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; virtual int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity) noexcept = 0; virtual int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; @@ -132,7 +130,7 @@ namespace winrt::impl { virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall CreateVirtualDevice(void*, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult*) noexcept = 0; + virtual int32_t __stdcall CreateVirtualDevice(void*, void**) noexcept = 0; }; }; template @@ -151,7 +149,7 @@ namespace winrt::impl struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice { [[nodiscard]] auto DeviceEndpointDeviceId() const; - [[nodiscard]] auto ClientEndpointDeviceId() const; + [[nodiscard]] auto AssociationId() const; [[nodiscard]] auto FunctionBlocks() const; auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; auto UpdateEndpointName(param::hstring const& name) const; @@ -175,6 +173,7 @@ namespace winrt::impl auto Description(param::hstring const& value) const; [[nodiscard]] auto Manufacturer() const; auto Manufacturer(param::hstring const& value) const; + [[nodiscard]] auto AssociationId() const; [[nodiscard]] auto DeclaredDeviceIdentity() const; auto DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const; [[nodiscard]] auto DeclaredEndpointInfo() const; @@ -229,14 +228,5 @@ namespace winrt::impl { using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; }; - struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult - { - bool Success; - void* DeviceSideEndpointDeviceId; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult; - }; } #endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h similarity index 90% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h index 1377c3c57..7838b2613 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -24,19 +24,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir { return !(left == right); } - struct MidiVirtualDeviceCreationResult - { - bool Success; - hstring DeviceSideEndpointDeviceId; - }; - inline bool operator==(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return left.Success == right.Success && left.DeviceSideEndpointDeviceId == right.DeviceSideEndpointDeviceId; - } - inline bool operator!=(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return !(left == right); - } struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs { MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index e97d295dd..686535059 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index e97d295dd..686535059 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1413-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/README.md similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/README.md rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/README.md diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h similarity index 95% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h index 225cbc82e..7cb112476 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -44,11 +44,11 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::ClientEndpointDeviceId() const + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::AssociationId() const { - void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_ClientEndpointDeviceId(&value)); - return hstring{ value, take_ownership_from_abi }; + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_AssociationId(put_abi(value))); + return value; } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const { @@ -122,6 +122,12 @@ namespace winrt::impl { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Manufacturer(*(void**)(&value))); } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_AssociationId(put_abi(value))); + return value; + } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity() const { winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity value{}; @@ -190,9 +196,9 @@ namespace winrt::impl } template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const { - winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationResult result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), put_abi(result))); - return result; + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDevice{ result, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template @@ -240,11 +246,10 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_ClientEndpointDeviceId(void** value) noexcept final try + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try { - clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().ClientEndpointDeviceId()); + *value = detach_from(this->shim().AssociationId()); return 0; } catch (...) { return to_hresult(); } @@ -349,6 +354,13 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity* value) noexcept final try { zero_abi(value); @@ -458,11 +470,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall CreateVirtualDevice(void* creationConfig, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult* result) noexcept final try + int32_t __stdcall CreateVirtualDevice(void* creationConfig, void** result) noexcept final try { - zero_abi(result); + clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); + *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); return 0; } catch (...) { return to_hresult(); } diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h index f8dcd9c51..3a83fd447 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h @@ -474,10 +474,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll2(static_cast(sortOrder), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const { void* result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &result)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointTypesToInclude), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::EndpointInterfaceClass() const @@ -492,10 +492,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->GetAdditionalPropertiesList(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const { bool result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &result)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointTypesToInclude), &result)); return result; } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::EndpointDeviceId() const @@ -654,31 +654,31 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcherStatics)->Create2(static_cast(endpointFilters), &result)); return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Id() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginId() const { winrt::guid value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginId(put_abi(value))); return value; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName() const { void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginName(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName(param::hstring const& value) const { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginName(*(void**)(&value))); } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag() const { void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&value)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginTag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag(winrt::Windows::Foundation::IInspectable const& value) const { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(void**)(&value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginTag(*(void**)(&value))); } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::IsEnabled() const { @@ -1982,11 +1982,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointFilters, void** result) noexcept final try + int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointTypesToInclude, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointFilters))); + *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointTypesToInclude))); return 0; } catch (...) { return to_hresult(); } @@ -2005,10 +2005,10 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointFilters, bool* result) noexcept final try + int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointTypesToInclude, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointTypesToInclude))); return 0; } catch (...) { return to_hresult(); } @@ -2215,40 +2215,40 @@ namespace winrt::impl template struct produce : produce_base { - int32_t __stdcall get_Id(winrt::guid* value) noexcept final try + int32_t __stdcall get_PluginId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Id()); + *value = detach_from(this->shim().PluginId()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_Name(void** value) noexcept final try + int32_t __stdcall get_PluginName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Name()); + *value = detach_from(this->shim().PluginName()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall put_Name(void* value) noexcept final try + int32_t __stdcall put_PluginName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); - this->shim().Name(*reinterpret_cast(&value)); + this->shim().PluginName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_Tag(void** value) noexcept final try + int32_t __stdcall get_PluginTag(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Tag()); + *value = detach_from(this->shim().PluginTag()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall put_Tag(void* value) noexcept final try + int32_t __stdcall put_PluginTag(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); - this->shim().Tag(*reinterpret_cast(&value)); + this->shim().PluginTag(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } @@ -3419,9 +3419,9 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder); }); } - inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) { - return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointTypesToInclude); }); } inline auto MidiEndpointDeviceInformation::EndpointInterfaceClass() { @@ -3431,9 +3431,9 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { return impl::call_factory_cast(*)(IMidiEndpointDeviceInformationStatics const&), MidiEndpointDeviceInformation, IMidiEndpointDeviceInformationStatics>([](IMidiEndpointDeviceInformationStatics const& f) { return f.GetAdditionalPropertiesList(); }); } - inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) { - return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointTypesToInclude); }); } inline auto MidiEndpointDeviceWatcher::Create() { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h index 08e41736d..7ba28d513 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h @@ -24,12 +24,12 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { enum class MidiEndpointDeviceInformationFilters : uint32_t { - IncludeClientUmpFormatNative = 0x1, - IncludeClientByteFormatNative = 0x2, - IncludeVirtualDeviceResponder = 0x100, - IncludeDiagnosticLoopback = 0x10000, - IncludeDiagnosticPing = 0x20000, - AllTypicalEndpoints = 0x3, + StandardNativeUniversalMidiPacketFormat = 0x1, + StandardNativeMidi1ByteFormat = 0x2, + VirtualDeviceResponder = 0x100, + DiagnosticLoopback = 0x10000, + DiagnosticPing = 0x20000, + AllStandardEndpoints = 0x3, }; enum class MidiEndpointDeviceInformationSortOrder : int32_t { @@ -55,8 +55,8 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 enum class MidiEndpointNativeDataFormat : int32_t { Unknown = 0, - ByteStream = 1, - UniversalMidiPacket = 2, + Midi1ByteFormat = 1, + UniversalMidiPacketFormat = 2, }; enum class MidiFunctionBlockDirection : int32_t { @@ -618,11 +618,11 @@ namespace winrt::impl { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { - virtual int32_t __stdcall get_Id(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall get_Name(void**) noexcept = 0; - virtual int32_t __stdcall put_Name(void*) noexcept = 0; - virtual int32_t __stdcall get_Tag(void**) noexcept = 0; - virtual int32_t __stdcall put_Tag(void*) noexcept = 0; + virtual int32_t __stdcall get_PluginId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PluginName(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginName(void*) noexcept = 0; + virtual int32_t __stdcall get_PluginTag(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginTag(void*) noexcept = 0; virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; virtual int32_t __stdcall Initialize(void*) noexcept = 0; @@ -1056,10 +1056,10 @@ namespace winrt::impl auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) const; auto FindAll() const; auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) const; - auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; + auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; [[nodiscard]] auto EndpointInterfaceClass() const; auto GetAdditionalPropertiesList() const; - auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; + auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; }; template <> struct consume { @@ -1127,11 +1127,11 @@ namespace winrt::impl template struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin { - [[nodiscard]] auto Id() const; - [[nodiscard]] auto Name() const; - auto Name(param::hstring const& value) const; - [[nodiscard]] auto Tag() const; - auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto PluginId() const; + [[nodiscard]] auto PluginName() const; + auto PluginName(param::hstring const& value) const; + [[nodiscard]] auto PluginTag() const; + auto PluginTag(winrt::Windows::Foundation::IInspectable const& value) const; [[nodiscard]] auto IsEnabled() const; auto IsEnabled(bool value) const; auto Initialize(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource const& endpointConnection) const; diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h index 268cc0479..e322db4de 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h @@ -159,10 +159,10 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 static auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId); static auto FindAll(); static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder); - static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); [[nodiscard]] static auto EndpointInterfaceClass(); static auto GetAdditionalPropertiesList(); - static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); }; struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformationAddedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h similarity index 92% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h index 2d6bba913..780a0d43a 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -29,7 +29,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir struct MidiVirtualDeviceCreationConfig; struct MidiVirtualDeviceManager; struct MidiStreamConfigRequestedSettings; - struct MidiVirtualDeviceCreationResult; } namespace winrt::impl { @@ -44,13 +43,11 @@ namespace winrt::impl template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = struct_category; }; - template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; - template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; @@ -58,11 +55,11 @@ namespace winrt::impl template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 - template <> inline constexpr guid guid_v{ 0x2DFFD69C,0x79E9,0x5155,{ 0xBA,0x19,0x55,0x45,0x4E,0x1A,0xDF,0x6D } }; // 2DFFD69C-79E9-5155-BA19-55454E1ADF6D - template <> inline constexpr guid guid_v{ 0xF6B40477,0x006F,0x575B,{ 0xBE,0xEA,0xFD,0x72,0x9E,0x84,0xDD,0xF7 } }; // F6B40477-006F-575B-BEEA-FD729E84DDF7 + template <> inline constexpr guid guid_v{ 0x95BCDF56,0x519E,0x5E44,{ 0x98,0xF2,0x3B,0x0A,0xE6,0x1F,0x4B,0xC7 } }; // 95BCDF56-519E-5E44-98F2-3B0AE61F4BC7 + template <> inline constexpr guid guid_v{ 0xEF8BC038,0xAC5D,0x5B85,{ 0x88,0x8D,0x11,0xDF,0x01,0x91,0x0D,0xDC } }; // EF8BC038-AC5D-5B85-888D-11DF01910DDC template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C - template <> inline constexpr guid guid_v{ 0x07B07404,0x03A3,0x59A4,{ 0xAB,0x49,0xFD,0x22,0x11,0xBC,0x38,0x04 } }; // 07B07404-03A3-59A4-AB49-FD2211BC3804 + template <> inline constexpr guid guid_v{ 0xA3C905C1,0x56B5,0x58CE,{ 0xAD,0x79,0x82,0x66,0xE5,0x0A,0x1C,0x0C } }; // A3C905C1-56B5-58CE-AD79-8266E50A1C0C template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; @@ -82,7 +79,7 @@ namespace winrt::impl struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; - virtual int32_t __stdcall get_ClientEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; @@ -102,6 +99,7 @@ namespace winrt::impl virtual int32_t __stdcall put_Description(void*) noexcept = 0; virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; virtual int32_t __stdcall put_Manufacturer(void*) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; virtual int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity) noexcept = 0; virtual int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; @@ -132,7 +130,7 @@ namespace winrt::impl { virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; - virtual int32_t __stdcall CreateVirtualDevice(void*, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult*) noexcept = 0; + virtual int32_t __stdcall CreateVirtualDevice(void*, void**) noexcept = 0; }; }; template @@ -151,7 +149,7 @@ namespace winrt::impl struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice { [[nodiscard]] auto DeviceEndpointDeviceId() const; - [[nodiscard]] auto ClientEndpointDeviceId() const; + [[nodiscard]] auto AssociationId() const; [[nodiscard]] auto FunctionBlocks() const; auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; auto UpdateEndpointName(param::hstring const& name) const; @@ -175,6 +173,7 @@ namespace winrt::impl auto Description(param::hstring const& value) const; [[nodiscard]] auto Manufacturer() const; auto Manufacturer(param::hstring const& value) const; + [[nodiscard]] auto AssociationId() const; [[nodiscard]] auto DeclaredDeviceIdentity() const; auto DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const; [[nodiscard]] auto DeclaredEndpointInfo() const; @@ -229,14 +228,5 @@ namespace winrt::impl { using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; }; - struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult - { - bool Success; - void* DeviceSideEndpointDeviceId; - }; - template <> struct abi - { - using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiVirtualDeviceCreationResult; - }; } #endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h similarity index 90% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h index 1377c3c57..7838b2613 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -24,19 +24,6 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Vir { return !(left == right); } - struct MidiVirtualDeviceCreationResult - { - bool Success; - hstring DeviceSideEndpointDeviceId; - }; - inline bool operator==(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return left.Success == right.Success && left.DeviceSideEndpointDeviceId == right.DeviceSideEndpointDeviceId; - } - inline bool operator!=(MidiVirtualDeviceCreationResult const& left, MidiVirtualDeviceCreationResult const& right) noexcept - { - return !(left == right); - } struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs { MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index e97d295dd..686535059 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd similarity index 97% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd index e97d295dd..686535059 100644 Binary files a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..343879ebc Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1445-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/README.md similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/README.md rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/README.md diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..7cb112476 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,528 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::Timestamp() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_Timestamp(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::PreferredMidiProtocol() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_PreferredMidiProtocol(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::RequestEndpointTransmitJitterReductionTimestamps() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_RequestEndpointTransmitJitterReductionTimestamps(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::RequestEndpointReceiveJitterReductionTimestamps() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_RequestEndpointReceiveJitterReductionTimestamps(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::DeviceEndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_AssociationId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_FunctionBlocks(&value)); + return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->UpdateFunctionBlock(*(void**)(&block), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::UpdateEndpointName(param::hstring const& name) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->UpdateEndpointName(*(void**)(&name), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::SuppressHandledMessages() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_SuppressHandledMessages(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::SuppressHandledMessages(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->put_SuppressHandledMessages(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->add_StreamConfigRequestReceived(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, StreamConfigRequestReceived(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->remove_StreamConfigRequestReceived(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Description() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Description(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Description(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Description(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Manufacturer() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Manufacturer(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Manufacturer(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Manufacturer(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_AssociationId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_DeclaredDeviceIdentity(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_DeclaredDeviceIdentity(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredEndpointInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_DeclaredEndpointInfo(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredEndpointInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_DeclaredEndpointInfo(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::UserSuppliedInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_UserSuppliedInfo(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::UserSuppliedInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_UserSuppliedInfo(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::FunctionBlocks() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_FunctionBlocks(&value)); + return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance2(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance2(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), impl::bind_in(declaredDeviceIdentity), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance3(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance3(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), impl::bind_in(declaredDeviceIdentity), impl::bind_in(userSuppliedInfo), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::IsTransportAvailable() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->get_IsTransportAvailable(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::AbstractionId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->get_AbstractionId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDevice{ result, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Timestamp(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Timestamp()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreferredMidiProtocol(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreferredMidiProtocol()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_RequestEndpointTransmitJitterReductionTimestamps(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().RequestEndpointTransmitJitterReductionTimestamps()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_RequestEndpointReceiveJitterReductionTimestamps(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().RequestEndpointReceiveJitterReductionTimestamps()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DeviceEndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeviceEndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().FunctionBlocks()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall UpdateFunctionBlock(void* block, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateFunctionBlock(*reinterpret_cast(&block))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall UpdateEndpointName(void* name, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateEndpointName(*reinterpret_cast(&name))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SuppressHandledMessages(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SuppressHandledMessages()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_SuppressHandledMessages(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().SuppressHandledMessages(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall add_StreamConfigRequestReceived(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().StreamConfigRequestReceived(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_StreamConfigRequestReceived(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().StreamConfigRequestReceived(*reinterpret_cast(&token)); + return 0; + } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Name(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Name()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Name(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Name(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Description(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Description()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Description(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Description(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Manufacturer(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Manufacturer()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Manufacturer(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Manufacturer(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredDeviceIdentity()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().DeclaredDeviceIdentity(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredEndpointInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().DeclaredEndpointInfo(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().UserSuppliedInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().UserSuppliedInfo(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().FunctionBlocks()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity declaredDeviceIdentity, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo), *reinterpret_cast(&declaredDeviceIdentity))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance3(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity declaredDeviceIdentity, struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo userSuppliedInfo, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance3(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo), *reinterpret_cast(&declaredDeviceIdentity), *reinterpret_cast(&userSuppliedInfo))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsTransportAvailable(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsTransportAvailable()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AbstractionId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AbstractionId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateVirtualDevice(void* creationConfig, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) : + MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance(name, description, manufacturer, declaredEndpointInfo); })) + { + } + inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) : + MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance2(name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity); })) + { + } + inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) : + MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance3(name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity, userSuppliedInfo); })) + { + } + inline auto MidiVirtualDeviceManager::IsTransportAvailable() + { + return impl::call_factory_cast([](IMidiVirtualDeviceManagerStatics const& f) { return f.IsTransportAvailable(); }); + } + inline auto MidiVirtualDeviceManager::AbstractionId() + { + return impl::call_factory_cast([](IMidiVirtualDeviceManagerStatics const& f) { return f.AbstractionId(); }); + } + inline auto MidiVirtualDeviceManager::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) + { + return impl::call_factory([&](IMidiVirtualDeviceManagerStatics const& f) { return f.CreateVirtualDevice(creationConfig); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h index f8dcd9c51..3a83fd447 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h @@ -474,10 +474,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll2(static_cast(sortOrder), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const { void* result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &result)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointTypesToInclude), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::EndpointInterfaceClass() const @@ -492,10 +492,10 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->GetAdditionalPropertiesList(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const { bool result{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &result)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointTypesToInclude), &result)); return result; } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::EndpointDeviceId() const @@ -654,31 +654,31 @@ namespace winrt::impl check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcherStatics)->Create2(static_cast(endpointFilters), &result)); return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher{ result, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Id() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginId() const { winrt::guid value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginId(put_abi(value))); return value; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName() const { void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginName(&value)); return hstring{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName(param::hstring const& value) const { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginName(*(void**)(&value))); } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag() const { void* value{}; - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&value)); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginTag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } - template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag(winrt::Windows::Foundation::IInspectable const& value) const + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag(winrt::Windows::Foundation::IInspectable const& value) const { - check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(void**)(&value))); + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginTag(*(void**)(&value))); } template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::IsEnabled() const { @@ -1982,11 +1982,11 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointFilters, void** result) noexcept final try + int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointTypesToInclude, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); - *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointFilters))); + *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointTypesToInclude))); return 0; } catch (...) { return to_hresult(); } @@ -2005,10 +2005,10 @@ namespace winrt::impl return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointFilters, bool* result) noexcept final try + int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointTypesToInclude, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); - *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointTypesToInclude))); return 0; } catch (...) { return to_hresult(); } @@ -2215,40 +2215,40 @@ namespace winrt::impl template struct produce : produce_base { - int32_t __stdcall get_Id(winrt::guid* value) noexcept final try + int32_t __stdcall get_PluginId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Id()); + *value = detach_from(this->shim().PluginId()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_Name(void** value) noexcept final try + int32_t __stdcall get_PluginName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Name()); + *value = detach_from(this->shim().PluginName()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall put_Name(void* value) noexcept final try + int32_t __stdcall put_PluginName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); - this->shim().Name(*reinterpret_cast(&value)); + this->shim().PluginName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall get_Tag(void** value) noexcept final try + int32_t __stdcall get_PluginTag(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); - *value = detach_from(this->shim().Tag()); + *value = detach_from(this->shim().PluginTag()); return 0; } catch (...) { return to_hresult(); } - int32_t __stdcall put_Tag(void* value) noexcept final try + int32_t __stdcall put_PluginTag(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); - this->shim().Tag(*reinterpret_cast(&value)); + this->shim().PluginTag(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } @@ -3419,9 +3419,9 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder); }); } - inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) { - return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointTypesToInclude); }); } inline auto MidiEndpointDeviceInformation::EndpointInterfaceClass() { @@ -3431,9 +3431,9 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 { return impl::call_factory_cast(*)(IMidiEndpointDeviceInformationStatics const&), MidiEndpointDeviceInformation, IMidiEndpointDeviceInformationStatics>([](IMidiEndpointDeviceInformationStatics const& f) { return f.GetAdditionalPropertiesList(); }); } - inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) { - return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointTypesToInclude); }); } inline auto MidiEndpointDeviceWatcher::Create() { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..7ba28d513 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h @@ -0,0 +1,1524 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; + struct DeviceInformationUpdate; + enum class DeviceWatcherStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IMemoryBuffer; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVector; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + enum class MidiEndpointDeviceInformationFilters : uint32_t + { + StandardNativeUniversalMidiPacketFormat = 0x1, + StandardNativeMidi1ByteFormat = 0x2, + VirtualDeviceResponder = 0x100, + DiagnosticLoopback = 0x10000, + DiagnosticPing = 0x20000, + AllStandardEndpoints = 0x3, + }; + enum class MidiEndpointDeviceInformationSortOrder : int32_t + { + None = 0, + Name = 1, + EndpointDeviceId = 2, + DeviceInstanceId = 3, + ContainerThenName = 11, + ContainerThenEndpointDeviceId = 12, + ContainerThenDeviceInstanceId = 13, + TransportMnemonicThenName = 21, + TransportMnemonicThenEndpointDeviceId = 22, + TransportMnemonicThenDeviceInstanceId = 23, + }; + enum class MidiEndpointDevicePurpose : int32_t + { + NormalMessageEndpoint = 0, + VirtualDeviceResponder = 100, + InBoxGeneralMidiSynth = 400, + DiagnosticLoopback = 500, + DiagnosticPing = 510, + }; + enum class MidiEndpointNativeDataFormat : int32_t + { + Unknown = 0, + Midi1ByteFormat = 1, + UniversalMidiPacketFormat = 2, + }; + enum class MidiFunctionBlockDirection : int32_t + { + Undefined = 0, + BlockInput = 1, + BlockOutput = 2, + Bidirectional = 3, + }; + enum class MidiFunctionBlockRepresentsMidi10Connection : int32_t + { + Not10 = 0, + YesBandwidthUnrestricted = 1, + YesBandwidthRestricted = 2, + Reserved = 3, + }; + enum class MidiFunctionBlockUIHint : int32_t + { + Unknown = 0, + Receiver = 1, + Sender = 2, + Bidirectional = 3, + }; + enum class MidiGroupTerminalBlockDirection : int32_t + { + Bidirectional = 0, + BlockInput = 1, + BlockOutput = 2, + }; + enum class MidiGroupTerminalBlockProtocol : int32_t + { + Unknown = 0, + Midi1Message64 = 1, + Midi1Message64WithJitterReduction = 2, + Midi1Message128 = 3, + Midi1Message128WithJitterReduction = 4, + Midi2 = 17, + Midi2WithJitterReduction = 18, + }; + enum class MidiMessageType : int32_t + { + UtilityMessage32 = 0, + SystemCommon32 = 1, + Midi1ChannelVoice32 = 2, + DataMessage64 = 3, + Midi2ChannelVoice64 = 4, + DataMessage128 = 5, + FutureReserved632 = 6, + FutureReserved732 = 7, + FutureReserved864 = 8, + FutureReserved964 = 9, + FutureReservedA64 = 10, + FutureReservedB96 = 11, + FutureReservedC96 = 12, + FlexData128 = 13, + FutureReservedE128 = 14, + Stream128 = 15, + }; + enum class MidiPacketType : int32_t + { + UnknownOrInvalid = 0, + UniversalMidiPacket32 = 1, + UniversalMidiPacket64 = 2, + UniversalMidiPacket96 = 3, + UniversalMidiPacket128 = 4, + }; + enum class MidiProtocol : int32_t + { + Default = 0, + Midi1 = 1, + Midi2 = 2, + }; + enum class MidiSendMessageResults : uint32_t + { + Succeeded = 0x80000000, + Failed = 0x10000000, + BufferFull = 0x10000, + EndpointConnectionClosedOrInvalid = 0x40000, + InvalidMessageTypeForWordCount = 0x100000, + InvalidMessageOther = 0x200000, + DataIndexOutOfRange = 0x400000, + TimestampOutOfRange = 0x800000, + MessageListPartiallyProcessed = 0xf00000, + }; + struct IMidiChannel; + struct IMidiChannelFactory; + struct IMidiChannelStatics; + struct IMidiClock; + struct IMidiClockStatics; + struct IMidiEndpointConnection; + struct IMidiEndpointConnectionSettings; + struct IMidiEndpointConnectionSource; + struct IMidiEndpointConnectionStatics; + struct IMidiEndpointDeviceInformation; + struct IMidiEndpointDeviceInformationAddedEventArgs; + struct IMidiEndpointDeviceInformationRemovedEventArgs; + struct IMidiEndpointDeviceInformationStatics; + struct IMidiEndpointDeviceInformationUpdatedEventArgs; + struct IMidiEndpointDeviceWatcher; + struct IMidiEndpointDeviceWatcherStatics; + struct IMidiEndpointMessageProcessingPlugin; + struct IMidiFunctionBlock; + struct IMidiGroup; + struct IMidiGroupFactory; + struct IMidiGroupStatics; + struct IMidiGroupTerminalBlock; + struct IMidiMessage128; + struct IMidiMessage128Factory; + struct IMidiMessage128Statics; + struct IMidiMessage32; + struct IMidiMessage32Factory; + struct IMidiMessage32Statics; + struct IMidiMessage64; + struct IMidiMessage64Factory; + struct IMidiMessage64Statics; + struct IMidiMessage96; + struct IMidiMessage96Factory; + struct IMidiMessage96Statics; + struct IMidiMessageReceivedEventArgs; + struct IMidiMessageReceivedEventSource; + struct IMidiSession; + struct IMidiSessionStatics; + struct IMidiUniversalPacket; + struct MidiChannel; + struct MidiClock; + struct MidiEndpointConnection; + struct MidiEndpointDeviceInformation; + struct MidiEndpointDeviceInformationAddedEventArgs; + struct MidiEndpointDeviceInformationRemovedEventArgs; + struct MidiEndpointDeviceInformationUpdatedEventArgs; + struct MidiEndpointDeviceWatcher; + struct MidiFunctionBlock; + struct MidiGroup; + struct MidiGroupTerminalBlock; + struct MidiMessage128; + struct MidiMessage32; + struct MidiMessage64; + struct MidiMessage96; + struct MidiMessageReceivedEventArgs; + struct MidiSession; + struct MidiDeclaredDeviceIdentity; + struct MidiDeclaredEndpointInfo; + struct MidiDeclaredStreamConfiguration; + struct MidiEndpointTransportSuppliedInfo; + struct MidiEndpointUserSuppliedInfo; + struct MidiMessageStruct; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiChannel"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiClock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointConnection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformation"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceWatcher"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroup"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage128"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage32"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage64"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage96"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiSession"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationFilters"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationSortOrder"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDevicePurpose"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointNativeDataFormat"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockDirection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockRepresentsMidi10Connection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockUIHint"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlockDirection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlockProtocol"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageType"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiPacketType"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiProtocol"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiSendMessageResults"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredDeviceIdentity"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredEndpointInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredStreamConfiguration"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointTransportSuppliedInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointUserSuppliedInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageStruct"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannel"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannelFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannelStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiClock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiClockStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionSettings"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionSource"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformation"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceWatcher"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceWatcherStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointMessageProcessingPlugin"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiFunctionBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroup"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupTerminalBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessageReceivedEventSource"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiSession"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiSessionStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiUniversalPacket"; + template <> inline constexpr guid guid_v{ 0x34DC7F81,0xF0C2,0x50D4,{ 0xBE,0xDF,0x42,0xFA,0xB9,0xA1,0xCE,0xF8 } }; // 34DC7F81-F0C2-50D4-BEDF-42FAB9A1CEF8 + template <> inline constexpr guid guid_v{ 0x02A0FF18,0xFE96,0x5193,{ 0x98,0xEF,0xD9,0x67,0x58,0xCD,0x68,0xD4 } }; // 02A0FF18-FE96-5193-98EF-D96758CD68D4 + template <> inline constexpr guid guid_v{ 0xEC86B553,0xADB5,0x5330,{ 0x99,0x60,0x1D,0x8B,0x3A,0x35,0xB0,0xC6 } }; // EC86B553-ADB5-5330-9960-1D8B3A35B0C6 + template <> inline constexpr guid guid_v{ 0xF065F78B,0xE4DC,0x55A7,{ 0x96,0x97,0x63,0x59,0xD0,0xEC,0xD7,0x3A } }; // F065F78B-E4DC-55A7-9697-6359D0ECD73A + template <> inline constexpr guid guid_v{ 0xF672B9EB,0xD41D,0x5CDD,{ 0xAF,0x7B,0x64,0x29,0x94,0x0B,0xE3,0xE7 } }; // F672B9EB-D41D-5CDD-AF7B-6429940BE3E7 + template <> inline constexpr guid guid_v{ 0x452EECE5,0x4FB8,0x5C0C,{ 0xB8,0xDA,0x46,0x70,0x30,0xBD,0xAC,0xE2 } }; // 452EECE5-4FB8-5C0C-B8DA-467030BDACE2 + template <> inline constexpr guid guid_v{ 0x65736736,0x35F3,0x421C,{ 0xA6,0x83,0x3A,0x03,0x4A,0xD0,0xDC,0xC2 } }; // 65736736-35F3-421C-A683-3A034AD0DCC2 + template <> inline constexpr guid guid_v{ 0x44385CDD,0xB64C,0x4195,{ 0x8F,0xAA,0x8A,0x61,0xFC,0x95,0x2A,0x23 } }; // 44385CDD-B64C-4195-8FAA-8A61FC952A23 + template <> inline constexpr guid guid_v{ 0x99355145,0xBC11,0x5B85,{ 0x9B,0x23,0x1B,0x58,0x26,0x6F,0x46,0x30 } }; // 99355145-BC11-5B85-9B23-1B58266F4630 + template <> inline constexpr guid guid_v{ 0xFB4A1253,0x4429,0x5765,{ 0x99,0xDE,0xFF,0x76,0xBB,0xED,0x58,0x8B } }; // FB4A1253-4429-5765-99DE-FF76BBED588B + template <> inline constexpr guid guid_v{ 0xECF028D0,0xEECC,0x5F99,{ 0x8A,0xDF,0x8F,0x29,0xB7,0x0B,0x29,0x6C } }; // ECF028D0-EECC-5F99-8ADF-8F29B70B296C + template <> inline constexpr guid guid_v{ 0x84D3DDE4,0xE6F8,0x5BA5,{ 0x97,0xB4,0xB8,0xD4,0xC5,0x0A,0xFD,0x9F } }; // 84D3DDE4-E6F8-5BA5-97B4-B8D4C50AFD9F + template <> inline constexpr guid guid_v{ 0x1D2C9C0A,0x428E,0x5F75,{ 0x89,0xD5,0x00,0xC3,0xA3,0x79,0x4D,0x88 } }; // 1D2C9C0A-428E-5F75-89D5-00C3A3794D88 + template <> inline constexpr guid guid_v{ 0xAA4B1E3A,0x04B6,0x5560,{ 0xBC,0x2B,0xCF,0xD1,0x64,0xC0,0xF1,0xDE } }; // AA4B1E3A-04B6-5560-BC2B-CFD164C0F1DE + template <> inline constexpr guid guid_v{ 0x5CBF4CAC,0x3409,0x5A57,{ 0x9C,0x47,0xFC,0xA8,0x3C,0x69,0xDB,0xE3 } }; // 5CBF4CAC-3409-5A57-9C47-FCA83C69DBE3 + template <> inline constexpr guid guid_v{ 0xF28F646C,0x6BE6,0x5E13,{ 0x8A,0x78,0x7F,0xD1,0xB8,0x5A,0x7E,0x95 } }; // F28F646C-6BE6-5E13-8A78-7FD1B85A7E95 + template <> inline constexpr guid guid_v{ 0x198D5EF2,0x313F,0x41AF,{ 0x92,0x59,0xA4,0x29,0x97,0xE0,0x60,0xF0 } }; // 198D5EF2-313F-41AF-9259-A42997E060F0 + template <> inline constexpr guid guid_v{ 0xEB43C123,0x5382,0x5C71,{ 0x8D,0x1B,0x22,0x3B,0x8F,0x76,0xC2,0x3B } }; // EB43C123-5382-5C71-8D1B-223B8F76C23B + template <> inline constexpr guid guid_v{ 0xD2FE009D,0x8542,0x5AE7,{ 0xA8,0xF8,0x4F,0x28,0x14,0x5E,0x3A,0x8F } }; // D2FE009D-8542-5AE7-A8F8-4F28145E3A8F + template <> inline constexpr guid guid_v{ 0xEC11AC98,0x616B,0x545C,{ 0xA0,0x6C,0x95,0xB3,0x91,0x5A,0xDB,0x41 } }; // EC11AC98-616B-545C-A06C-95B3915ADB41 + template <> inline constexpr guid guid_v{ 0x08071F7E,0xBA0B,0x5020,{ 0x8E,0x23,0xBC,0x81,0x9B,0x24,0xA4,0xE2 } }; // 08071F7E-BA0B-5020-8E23-BC819B24A4E2 + template <> inline constexpr guid guid_v{ 0x3DBA035F,0xE298,0x5F22,{ 0xB0,0x0B,0x51,0xC7,0x2D,0xCF,0xF7,0x1F } }; // 3DBA035F-E298-5F22-B00B-51C72DCFF71F + template <> inline constexpr guid guid_v{ 0xEFB9C9BB,0x4397,0x538A,{ 0xB1,0x7F,0xBC,0x83,0x00,0x12,0xE1,0xEA } }; // EFB9C9BB-4397-538A-B17F-BC830012E1EA + template <> inline constexpr guid guid_v{ 0x6FB629DF,0xE277,0x5EE8,{ 0xB7,0xB8,0x13,0xA3,0x52,0x8B,0xA2,0x55 } }; // 6FB629DF-E277-5EE8-B7B8-13A3528BA255 + template <> inline constexpr guid guid_v{ 0x722B7533,0x8EFB,0x5CA9,{ 0x93,0x99,0x74,0xEE,0x2D,0x8D,0x53,0x8C } }; // 722B7533-8EFB-5CA9-9399-74EE2D8D538C + template <> inline constexpr guid guid_v{ 0x1C2EC0A7,0xE093,0x5FF0,{ 0xA0,0x9B,0x77,0x68,0x6A,0x75,0x64,0x18 } }; // 1C2EC0A7-E093-5FF0-A09B-77686A756418 + template <> inline constexpr guid guid_v{ 0x47D7FD0F,0x7945,0x5283,{ 0xB1,0x1B,0xA4,0xF5,0xCF,0xBB,0xF6,0xF2 } }; // 47D7FD0F-7945-5283-B11B-A4F5CFBBF6F2 + template <> inline constexpr guid guid_v{ 0x52D01ECA,0x60AC,0x5229,{ 0xAA,0xC2,0xAF,0xA7,0x2E,0xF1,0x40,0x45 } }; // 52D01ECA-60AC-5229-AAC2-AFA72EF14045 + template <> inline constexpr guid guid_v{ 0x62885C57,0x325C,0x5A7C,{ 0xB1,0x8F,0xDE,0x36,0x0A,0xC3,0x77,0xBD } }; // 62885C57-325C-5A7C-B18F-DE360AC377BD + template <> inline constexpr guid guid_v{ 0x10B85E46,0xC6B8,0x593A,{ 0x93,0x85,0x11,0xAE,0x2F,0xCE,0xB9,0xF1 } }; // 10B85E46-C6B8-593A-9385-11AE2FCEB9F1 + template <> inline constexpr guid guid_v{ 0xA75E98A2,0xC6AC,0x5333,{ 0x89,0x65,0x97,0xCD,0xA8,0x80,0x85,0x2E } }; // A75E98A2-C6AC-5333-8965-97CDA880852E + template <> inline constexpr guid guid_v{ 0x82B6C4F8,0xC292,0x50DA,{ 0xBD,0xDF,0xC1,0x18,0x6D,0x3B,0x9E,0xE6 } }; // 82B6C4F8-C292-50DA-BDDF-C1186D3B9EE6 + template <> inline constexpr guid guid_v{ 0x4AC4FE62,0x41C9,0x5605,{ 0x9D,0xB8,0xDE,0xD7,0xCB,0x44,0xB8,0x59 } }; // 4AC4FE62-41C9-5605-9DB8-DED7CB44B859 + template <> inline constexpr guid guid_v{ 0x80451AFD,0xE703,0x5790,{ 0x9C,0xF7,0x4A,0x17,0xAD,0x1E,0x47,0x3B } }; // 80451AFD-E703-5790-9CF7-4A17AD1E473B + template <> inline constexpr guid guid_v{ 0x190C0204,0x845B,0x5A20,{ 0xB9,0x5E,0x91,0x78,0xA8,0xDD,0xAF,0xC6 } }; // 190C0204-845B-5A20-B95E-9178A8DDAFC6 + template <> inline constexpr guid guid_v{ 0x101CEB4B,0xCCA4,0x48A1,{ 0xB9,0x1E,0x60,0x02,0xB9,0x28,0x61,0x3C } }; // 101CEB4B-CCA4-48A1-B91E-6002B928613C + template <> inline constexpr guid guid_v{ 0x47D3E2F0,0xB352,0x5D13,{ 0x88,0x37,0xE4,0x8F,0xF4,0x84,0x5F,0xA0 } }; // 47D3E2F0-B352-5D13-8837-E48FF4845FA0 + template <> inline constexpr guid guid_v{ 0x8678C907,0x163D,0x5D86,{ 0xBF,0xC7,0xFE,0x80,0x04,0x63,0x61,0x86 } }; // 8678C907-163D-5D86-BFC7-FE8004636186 + template <> inline constexpr guid guid_v{ 0x2EB5DF8A,0xD751,0x4997,{ 0xBF,0x96,0xBA,0x9A,0x53,0x1F,0xD5,0xFF } }; // 2EB5DF8A-D751-4997-BF96-BA9A531FD5FF + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiClock; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiSession; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Index(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Index(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayValue(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; + virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; + virtual int32_t __stdcall IsValidIndex(uint8_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Now(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TimestampConstantSendImmediately(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TimestampFrequency(uint64_t*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToNanoseconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToMicroseconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToMilliseconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToSeconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampByTicks(uint64_t, int64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampByMicroseconds(uint64_t, int64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampByMilliseconds(uint64_t, int64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampBySeconds(uint64_t, int64_t, uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ConnectedEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + virtual int32_t __stdcall put_Tag(void*) noexcept = 0; + virtual int32_t __stdcall get_LogMessageDataValidationErrorDetails(bool*) noexcept = 0; + virtual int32_t __stdcall put_LogMessageDataValidationErrorDetails(bool) noexcept = 0; + virtual int32_t __stdcall get_Settings(void**) noexcept = 0; + virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; + virtual int32_t __stdcall Open(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAutoReconnectEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_MessageProcessingPlugins(void**) noexcept = 0; + virtual int32_t __stdcall AddMessageProcessingPlugin(void*) noexcept = 0; + virtual int32_t __stdcall RemoveMessageProcessingPlugin(winrt::guid) noexcept = 0; + virtual int32_t __stdcall SendSingleMessagePacket(void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageStruct(uint64_t, uint8_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct const&, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWordArray(uint64_t, uint32_t, uint8_t, uint32_t, uint32_t*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords(uint64_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords2(uint64_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords3(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords4(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageBuffer(uint64_t, uint32_t, uint8_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesWordList(uint64_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesWordArray(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesPacketList(void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesStructList(uint64_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesStructArray(uint64_t, uint32_t, uint32_t, uint32_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesBuffer(uint64_t, uint32_t, uint32_t, void*, uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SettingsJson(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_EndpointDeviceDisconnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EndpointDeviceDisconnected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EndpointDeviceReconnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EndpointDeviceReconnected(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall SendMessageSucceeded(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall SendMessageFailed(uint32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_ContainerId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInstanceId(void**) noexcept = 0; + virtual int32_t __stdcall get_EndpointPurpose(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredEndpointInfoLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredDeviceIdentityLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredStreamConfiguration(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredStreamConfigurationLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredFunctionBlocks(void**) noexcept = 0; + virtual int32_t __stdcall get_DeclaredFunctionBlocksLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetGroupTerminalBlocks(void**) noexcept = 0; + virtual int32_t __stdcall GetUserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo*) noexcept = 0; + virtual int32_t __stdcall GetTransportSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo*) noexcept = 0; + virtual int32_t __stdcall GetParentDeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall GetContainerDeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AddedDevice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromEndpointDeviceId(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAll(void**) noexcept = 0; + virtual int32_t __stdcall FindAll2(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindAll3(int32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_EndpointInterfaceClass(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetAdditionalPropertiesList(void**) noexcept = 0; + virtual int32_t __stdcall DeviceMatchesFilter(void*, uint32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsNameUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsEndpointInformationUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDeviceIdentityUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStreamConfigurationUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_AreFunctionBlocksUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUserMetadataUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_AreAdditionalCapabilitiesUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall get_EnumeratedEndpointDevices(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void**) noexcept = 0; + virtual int32_t __stdcall Create2(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PluginId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PluginName(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginName(void*) noexcept = 0; + virtual int32_t __stdcall get_PluginTag(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginTag(void*) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall Initialize(void*) noexcept = 0; + virtual int32_t __stdcall OnEndpointConnectionOpened() noexcept = 0; + virtual int32_t __stdcall ProcessIncomingMessage(void*, bool*, bool*) noexcept = 0; + virtual int32_t __stdcall Cleanup() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + virtual int32_t __stdcall get_Number(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Number(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsActive(bool) noexcept = 0; + virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Direction(int32_t) noexcept = 0; + virtual int32_t __stdcall get_UIHint(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_UIHint(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RepresentsMidi10Connection(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RepresentsMidi10Connection(int32_t) noexcept = 0; + virtual int32_t __stdcall get_FirstGroupIndex(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_FirstGroupIndex(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_GroupCount(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_GroupCount(uint8_t) noexcept = 0; + virtual int32_t __stdcall IncludesGroup(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_MidiCIMessageVersionFormat(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MidiCIMessageVersionFormat(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_MaxSystemExclusive8Streams(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxSystemExclusive8Streams(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Index(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Index(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayValue(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; + virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; + virtual int32_t __stdcall IsValidIndex(uint8_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Number(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Protocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FirstGroupIndex(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_GroupCount(uint8_t*) noexcept = 0; + virtual int32_t __stdcall IncludesGroup(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxDeviceInputBandwidthIn4KBitsPerSecondUnits(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CalculatedMaxDeviceInputBandwidthBitsPerSecond(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CalculatedMaxDeviceOutputBandwidthBitsPerSecond(uint32_t*) noexcept = 0; + virtual int32_t __stdcall AsEquivalentFunctionBlock(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word2(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word3(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word3(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word2(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_PacketType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall PeekFirstWord(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetMessagePacket(void**) noexcept = 0; + virtual int32_t __stdcall FillWords(uint32_t*, uint32_t*, uint32_t*, uint32_t*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillMessageStruct(struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillMessage32(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillMessage64(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillMessage96(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillMessage128(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillWordArray(uint32_t, uint32_t, uint32_t*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillByteArray(uint32_t, uint32_t, uint8_t*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillBuffer(uint32_t, void*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall AppendWordsToList(void*, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; + virtual int32_t __stdcall get_Connections(void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointConnection(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointConnection2(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointConnection3(void*, bool, void*, void**) noexcept = 0; + virtual int32_t __stdcall DisconnectEndpointConnection(winrt::guid) noexcept = 0; + virtual int32_t __stdcall UpdateName(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(uint64_t) noexcept = 0; + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MessageType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PacketType(int32_t*) noexcept = 0; + virtual int32_t __stdcall PeekFirstWord(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetAllWords(void**) noexcept = 0; + virtual int32_t __stdcall AppendAllMessageWordsToList(void*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillBuffer(uint32_t, void*, uint8_t*) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannel + { + [[nodiscard]] auto Index() const; + auto Index(uint8_t value) const; + [[nodiscard]] auto DisplayValue() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannel; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory + { + auto CreateInstance(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics + { + [[nodiscard]] auto ShortLabel() const; + [[nodiscard]] auto LongLabel() const; + auto IsValidIndex(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiClock + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiClock; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics + { + [[nodiscard]] auto Now() const; + [[nodiscard]] auto TimestampConstantSendImmediately() const; + [[nodiscard]] auto TimestampFrequency() const; + auto ConvertTimestampTicksToNanoseconds(uint64_t timestampValue) const; + auto ConvertTimestampTicksToMicroseconds(uint64_t timestampValue) const; + auto ConvertTimestampTicksToMilliseconds(uint64_t timestampValue) const; + auto ConvertTimestampTicksToSeconds(uint64_t timestampValue) const; + auto OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks) const; + auto OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds) const; + auto OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds) const; + auto OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection + { + [[nodiscard]] auto ConnectionId() const; + [[nodiscard]] auto ConnectedEndpointDeviceId() const; + [[nodiscard]] auto Tag() const; + auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto LogMessageDataValidationErrorDetails() const; + auto LogMessageDataValidationErrorDetails(bool value) const; + [[nodiscard]] auto Settings() const; + [[nodiscard]] auto IsOpen() const; + auto Open() const; + [[nodiscard]] auto IsAutoReconnectEnabled() const; + [[nodiscard]] auto MessageProcessingPlugins() const; + auto AddMessageProcessingPlugin(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin const& plugin) const; + auto RemoveMessageProcessingPlugin(winrt::guid const& id) const; + auto SendSingleMessagePacket(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket const& message) const; + auto SendSingleMessageStruct(uint64_t timestamp, uint8_t wordCount, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + auto SendSingleMessageWordArray(uint64_t timestamp, uint32_t startIndex, uint8_t wordCount, array_view words) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3) const; + auto SendSingleMessageBuffer(uint64_t timestamp, uint32_t byteOffset, uint8_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + auto SendMultipleMessagesWordList(uint64_t timestamp, param::iterable const& words) const; + auto SendMultipleMessagesWordArray(uint64_t timestamp, uint32_t startIndex, uint32_t wordCount, array_view words) const; + auto SendMultipleMessagesPacketList(param::iterable const& messages) const; + auto SendMultipleMessagesStructList(uint64_t timestamp, param::iterable const& messages) const; + auto SendMultipleMessagesStructArray(uint64_t timestamp, uint32_t startIndex, uint32_t messageCount, array_view messages) const; + auto SendMultipleMessagesBuffer(uint64_t timestamp, uint32_t byteOffset, uint32_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings + { + [[nodiscard]] auto SettingsJson() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource + { + auto EndpointDeviceDisconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EndpointDeviceDisconnected_revoker = impl::event_revoker::remove_EndpointDeviceDisconnected>; + [[nodiscard]] auto EndpointDeviceDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndpointDeviceDisconnected(winrt::event_token const& token) const noexcept; + auto EndpointDeviceReconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EndpointDeviceReconnected_revoker = impl::event_revoker::remove_EndpointDeviceReconnected>; + [[nodiscard]] auto EndpointDeviceReconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndpointDeviceReconnected(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics + { + auto GetDeviceSelector() const; + auto SendMessageSucceeded(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const; + auto SendMessageFailed(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto ContainerId() const; + [[nodiscard]] auto DeviceInstanceId() const; + [[nodiscard]] auto EndpointPurpose() const; + auto GetDeclaredEndpointInfo() const; + [[nodiscard]] auto DeclaredEndpointInfoLastUpdateTime() const; + auto GetDeclaredDeviceIdentity() const; + [[nodiscard]] auto DeclaredDeviceIdentityLastUpdateTime() const; + auto GetDeclaredStreamConfiguration() const; + [[nodiscard]] auto DeclaredStreamConfigurationLastUpdateTime() const; + auto GetDeclaredFunctionBlocks() const; + [[nodiscard]] auto DeclaredFunctionBlocksLastUpdateTime() const; + auto GetGroupTerminalBlocks() const; + auto GetUserSuppliedInfo() const; + auto GetTransportSuppliedInfo() const; + auto GetParentDeviceInformation() const; + auto GetContainerDeviceInformation() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs + { + [[nodiscard]] auto AddedDevice() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto DeviceInformationUpdate() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics + { + auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) const; + auto FindAll() const; + auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) const; + auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; + [[nodiscard]] auto EndpointInterfaceClass() const; + auto GetAdditionalPropertiesList() const; + auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto IsNameUpdated() const; + [[nodiscard]] auto IsEndpointInformationUpdated() const; + [[nodiscard]] auto IsDeviceIdentityUpdated() const; + [[nodiscard]] auto IsStreamConfigurationUpdated() const; + [[nodiscard]] auto AreFunctionBlocksUpdated() const; + [[nodiscard]] auto IsUserMetadataUpdated() const; + [[nodiscard]] auto AreAdditionalCapabilitiesUpdated() const; + [[nodiscard]] auto DeviceInformationUpdate() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher + { + auto Start() const; + auto Stop() const; + [[nodiscard]] auto EnumeratedEndpointDevices() const; + [[nodiscard]] auto Status() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics + { + auto Create() const; + auto Create(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin + { + [[nodiscard]] auto PluginId() const; + [[nodiscard]] auto PluginName() const; + auto PluginName(param::hstring const& value) const; + [[nodiscard]] auto PluginTag() const; + auto PluginTag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + auto Initialize(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource const& endpointConnection) const; + auto OnEndpointConnectionOpened() const; + auto ProcessIncomingMessage(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageReceivedEventArgs const& args, bool& skipFurtherListeners, bool& skipMainMessageReceivedEvent) const; + auto Cleanup() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock + { + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto Number() const; + auto Number(uint8_t value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto IsActive() const; + auto IsActive(bool value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& value) const; + [[nodiscard]] auto UIHint() const; + auto UIHint(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& value) const; + [[nodiscard]] auto RepresentsMidi10Connection() const; + auto RepresentsMidi10Connection(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& value) const; + [[nodiscard]] auto FirstGroupIndex() const; + auto FirstGroupIndex(uint8_t value) const; + [[nodiscard]] auto GroupCount() const; + auto GroupCount(uint8_t value) const; + auto IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const; + [[nodiscard]] auto MidiCIMessageVersionFormat() const; + auto MidiCIMessageVersionFormat(uint8_t value) const; + [[nodiscard]] auto MaxSystemExclusive8Streams() const; + auto MaxSystemExclusive8Streams(uint8_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroup + { + [[nodiscard]] auto Index() const; + auto Index(uint8_t value) const; + [[nodiscard]] auto DisplayValue() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroup; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory + { + auto CreateInstance(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics + { + [[nodiscard]] auto ShortLabel() const; + [[nodiscard]] auto LongLabel() const; + auto IsValidIndex(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock + { + [[nodiscard]] auto Number() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto Protocol() const; + [[nodiscard]] auto FirstGroupIndex() const; + [[nodiscard]] auto GroupCount() const; + auto IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const; + [[nodiscard]] auto MaxDeviceInputBandwidthIn4KBitsPerSecondUnits() const; + [[nodiscard]] auto MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits() const; + [[nodiscard]] auto CalculatedMaxDeviceInputBandwidthBitsPerSecond() const; + [[nodiscard]] auto CalculatedMaxDeviceOutputBandwidthBitsPerSecond() const; + auto AsEquivalentFunctionBlock() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + [[nodiscard]] auto Word1() const; + auto Word1(uint32_t value) const; + [[nodiscard]] auto Word2() const; + auto Word2(uint32_t value) const; + [[nodiscard]] auto Word3() const; + auto Word3(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + [[nodiscard]] auto Word1() const; + auto Word1(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + [[nodiscard]] auto Word1() const; + auto Word1(uint32_t value) const; + [[nodiscard]] auto Word2() const; + auto Word2(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PacketType() const; + [[nodiscard]] auto MessageType() const; + auto PeekFirstWord() const; + auto GetMessagePacket() const; + auto FillWords(uint32_t& word0, uint32_t& word1, uint32_t& word2, uint32_t& word3) const; + auto FillMessageStruct(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct& message) const; + auto FillMessage32(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32 const& message) const; + auto FillMessage64(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64 const& message) const; + auto FillMessage96(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96 const& message) const; + auto FillMessage128(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128 const& message) const; + auto FillWordArray(uint32_t startIndex, array_view words) const; + auto FillByteArray(uint32_t startIndex, array_view bytes) const; + auto FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + auto AppendWordsToList(param::vector const& wordList) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource + { + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiSession + { + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto IsOpen() const; + [[nodiscard]] auto Connections() const; + auto CreateEndpointConnection(param::hstring const& endpointDeviceId) const; + auto CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect) const; + auto CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect, winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSettings const& settings) const; + auto DisconnectEndpointConnection(winrt::guid const& endpointConnectionId) const; + auto UpdateName(param::hstring const& newName) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiSession; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics + { + auto Create(param::hstring const& sessionName) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket + { + [[nodiscard]] auto Timestamp() const; + auto Timestamp(uint64_t value) const; + [[nodiscard]] auto MessageType() const; + auto MessageType(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& value) const; + [[nodiscard]] auto PacketType() const; + auto PeekFirstWord() const; + auto GetAllWords() const; + auto AppendAllMessageWordsToList(param::vector const& targetList) const; + auto FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity + { + uint8_t SystemExclusiveIdByte1; + uint8_t SystemExclusiveIdByte2; + uint8_t SystemExclusiveIdByte3; + uint8_t DeviceFamilyLsb; + uint8_t DeviceFamilyMsb; + uint8_t DeviceFamilyModelNumberLsb; + uint8_t DeviceFamilyModelNumberMsb; + uint8_t SoftwareRevisionLevelByte1; + uint8_t SoftwareRevisionLevelByte2; + uint8_t SoftwareRevisionLevelByte3; + uint8_t SoftwareRevisionLevelByte4; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo + { + void* Name; + void* ProductInstanceId; + bool SupportsMidi10Protocol; + bool SupportsMidi20Protocol; + bool SupportsReceivingJitterReductionTimestamps; + bool SupportsSendingJitterReductionTimestamps; + bool HasStaticFunctionBlocks; + uint8_t DeclaredFunctionBlockCount; + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration + { + int32_t Protocol; + bool ReceiveJitterReductionTimestamps; + bool SendJitterReductionTimestamps; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo + { + void* Name; + void* Description; + void* SerialNumber; + uint16_t VendorId; + uint16_t ProductId; + void* ManufacturerName; + bool SupportsMultiClient; + int32_t NativeDataFormat; + winrt::guid TransportId; + void* TransportAbbreviation; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo + { + void* Name; + void* Description; + void* LargeImagePath; + void* SmallImagePath; + bool RequiresNoteOffTranslation; + uint16_t RecommendedControlChangeAutomationIntervalMilliseconds; + bool SupportsMidiPolyphonicExpression; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct + { + uint32_t Word0; + uint32_t Word1; + uint32_t Word2; + uint32_t Word3; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h similarity index 99% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h index 268cc0479..e322db4de 100644 --- a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h @@ -159,10 +159,10 @@ WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 static auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId); static auto FindAll(); static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder); - static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); [[nodiscard]] static auto EndpointInterfaceClass(); static auto GetAdditionalPropertiesList(); - static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); }; struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformationAddedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs { diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..780a0d43a --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -0,0 +1,232 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + struct MidiDeclaredDeviceIdentity; + struct MidiDeclaredEndpointInfo; + struct MidiEndpointUserSuppliedInfo; + struct MidiFunctionBlock; + enum class MidiProtocol : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + struct IMidiStreamConfigRequestReceivedEventArgs; + struct IMidiVirtualDevice; + struct IMidiVirtualDeviceCreationConfig; + struct IMidiVirtualDeviceCreationConfigFactory; + struct IMidiVirtualDeviceManager; + struct IMidiVirtualDeviceManagerStatics; + struct MidiStreamConfigRequestReceivedEventArgs; + struct MidiVirtualDevice; + struct MidiVirtualDeviceCreationConfig; + struct MidiVirtualDeviceManager; + struct MidiStreamConfigRequestedSettings; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfigFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; + template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 + template <> inline constexpr guid guid_v{ 0x95BCDF56,0x519E,0x5E44,{ 0x98,0xF2,0x3B,0x0A,0xE6,0x1F,0x4B,0xC7 } }; // 95BCDF56-519E-5E44-98F2-3B0AE61F4BC7 + template <> inline constexpr guid guid_v{ 0xEF8BC038,0xAC5D,0x5B85,{ 0x88,0x8D,0x11,0xDF,0x01,0x91,0x0D,0xDC } }; // EF8BC038-AC5D-5B85-888D-11DF01910DDC + template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 + template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C + template <> inline constexpr guid guid_v{ 0xA3C905C1,0x56B5,0x58CE,{ 0xAD,0x79,0x82,0x66,0xE5,0x0A,0x1C,0x0C } }; // A3C905C1-56B5-58CE-AD79-8266E50A1C0C + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_PreferredMidiProtocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RequestEndpointTransmitJitterReductionTimestamps(bool*) noexcept = 0; + virtual int32_t __stdcall get_RequestEndpointReceiveJitterReductionTimestamps(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; + virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; + virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_SuppressHandledMessages(bool*) noexcept = 0; + virtual int32_t __stdcall put_SuppressHandledMessages(bool) noexcept = 0; + virtual int32_t __stdcall add_StreamConfigRequestReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StreamConfigRequestReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; + virtual int32_t __stdcall put_Manufacturer(void*) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; + virtual int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity) noexcept = 0; + virtual int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; + virtual int32_t __stdcall put_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo) noexcept = 0; + virtual int32_t __stdcall get_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo*) noexcept = 0; + virtual int32_t __stdcall put_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo) noexcept = 0; + virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity, struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall CreateVirtualDevice(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PreferredMidiProtocol() const; + [[nodiscard]] auto RequestEndpointTransmitJitterReductionTimestamps() const; + [[nodiscard]] auto RequestEndpointReceiveJitterReductionTimestamps() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice + { + [[nodiscard]] auto DeviceEndpointDeviceId() const; + [[nodiscard]] auto AssociationId() const; + [[nodiscard]] auto FunctionBlocks() const; + auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; + auto UpdateEndpointName(param::hstring const& name) const; + [[nodiscard]] auto SuppressHandledMessages() const; + auto SuppressHandledMessages(bool value) const; + auto StreamConfigRequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StreamConfigRequestReceived_revoker = impl::event_revoker::remove_StreamConfigRequestReceived>; + [[nodiscard]] auto StreamConfigRequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StreamConfigRequestReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Manufacturer() const; + auto Manufacturer(param::hstring const& value) const; + [[nodiscard]] auto AssociationId() const; + [[nodiscard]] auto DeclaredDeviceIdentity() const; + auto DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const; + [[nodiscard]] auto DeclaredEndpointInfo() const; + auto DeclaredEndpointInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& value) const; + [[nodiscard]] auto UserSuppliedInfo() const; + auto UserSuppliedInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& value) const; + [[nodiscard]] auto FunctionBlocks() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory + { + auto CreateInstance(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) const; + auto CreateInstance2(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) const; + auto CreateInstance3(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManager + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManager; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics + { + [[nodiscard]] auto IsTransportAvailable() const; + [[nodiscard]] auto AbstractionId() const; + auto CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings + { + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + int32_t PreferredMidiProtocol; + bool RequestEndpointTransmitJitterReductionTimestamps; + bool RequestEndpointReceiveJitterReductionTimestamps; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..7838b2613 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -0,0 +1,56 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + struct MidiStreamConfigRequestedSettings + { + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol PreferredMidiProtocol; + bool RequestEndpointTransmitJitterReductionTimestamps; + bool RequestEndpointReceiveJitterReductionTimestamps; + }; + inline bool operator==(MidiStreamConfigRequestedSettings const& left, MidiStreamConfigRequestedSettings const& right) noexcept + { + return left.SpecificationVersionMajor == right.SpecificationVersionMajor && left.SpecificationVersionMinor == right.SpecificationVersionMinor && left.PreferredMidiProtocol == right.PreferredMidiProtocol && left.RequestEndpointTransmitJitterReductionTimestamps == right.RequestEndpointTransmitJitterReductionTimestamps && left.RequestEndpointReceiveJitterReductionTimestamps == right.RequestEndpointReceiveJitterReductionTimestamps; + } + inline bool operator!=(MidiStreamConfigRequestedSettings const& left, MidiStreamConfigRequestedSettings const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs + { + MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} + MidiStreamConfigRequestReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiVirtualDevice : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice, + impl::require + { + MidiVirtualDevice(std::nullptr_t) noexcept {} + MidiVirtualDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiVirtualDeviceCreationConfig : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig, + impl::require + { + MidiVirtualDeviceCreationConfig(std::nullptr_t) noexcept {} + MidiVirtualDeviceCreationConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig(ptr, take_ownership_from_abi) {} + MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo); + MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity); + MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo); + }; + struct WINRT_IMPL_EMPTY_BASES MidiVirtualDeviceManager : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager + { + MidiVirtualDeviceManager(std::nullptr_t) noexcept {} + MidiVirtualDeviceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto IsTransportAvailable(); + [[nodiscard]] static auto AbstractionId(); + static auto CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..686535059 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..686535059 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd similarity index 100% rename from samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd rename to samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1517-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/README.md @@ -0,0 +1,5 @@ +# Microsoft.Windows.Devices.Midi2 + +Note. This package is currently in developer preview. Please see release notes + +https://aka.ms/midi diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props new file mode 100644 index 000000000..b77844b02 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props @@ -0,0 +1,48 @@ + + + + + + + + $(MSBuildThisFileDirectory)..\..\ + + + + + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.winmd + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.Messages.winmd + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd + + + $$(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.Diagnostics.winmd + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd + + + + $(NugetRoot)\ref\native\Microsoft.Windows.Devices.Midi2.Initialization.winmd + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets new file mode 100644 index 000000000..2cdea5d13 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h new file mode 100644 index 000000000..1d0756148 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h @@ -0,0 +1,293 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_H +#define WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte1() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_Byte1(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte1(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->put_Byte1(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte2() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_Byte2(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte2(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->put_Byte2(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte3() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_Byte3(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte3(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->put_Byte3(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte4() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_Byte4(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::Byte4(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->put_Byte4(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::AsCombined28BitValue() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_AsCombined28BitValue(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::IsBroadcast() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_IsBroadcast(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId::IsReserved() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId)->get_IsReserved(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdFactory::CreateInstance(uint32_t combined28BitValue) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueIdFactory)->CreateInstance(combined28BitValue, &value)); + return winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::MidiUniqueId{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdFactory::CreateInstance2(uint8_t sevenBitByte1, uint8_t sevenBitByte2, uint8_t sevenBitByte3, uint8_t sevenBitByte4) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueIdFactory)->CreateInstance2(sevenBitByte1, sevenBitByte2, sevenBitByte3, sevenBitByte4, &value)); + return winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::MidiUniqueId{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdStatics::ShortLabel() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueIdStatics)->get_ShortLabel(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdStatics::LongLabel() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueIdStatics)->get_LongLabel(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdStatics::CreateBroadcast() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueIdStatics)->CreateBroadcast(&result)); + return winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::MidiUniqueId{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdStatics::CreateRandom() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueIdStatics)->CreateRandom(&result)); + return winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::MidiUniqueId{ result, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Byte1(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Byte1()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Byte1(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Byte1(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Byte2(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Byte2()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Byte2(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Byte2(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Byte3(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Byte3()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Byte3(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Byte3(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Byte4(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Byte4()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Byte4(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Byte4(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AsCombined28BitValue(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AsCombined28BitValue()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsBroadcast(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsBroadcast()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsReserved(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsReserved()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(uint32_t combined28BitValue, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(combined28BitValue)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(uint8_t sevenBitByte1, uint8_t sevenBitByte2, uint8_t sevenBitByte3, uint8_t sevenBitByte4, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(sevenBitByte1, sevenBitByte2, sevenBitByte3, sevenBitByte4)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_ShortLabel(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ShortLabel()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_LongLabel(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().LongLabel()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateBroadcast(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateBroadcast()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateRandom(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateRandom()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry +{ + inline MidiUniqueId::MidiUniqueId() : + MidiUniqueId(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } + inline MidiUniqueId::MidiUniqueId(uint32_t combined28BitValue) : + MidiUniqueId(impl::call_factory([&](IMidiUniqueIdFactory const& f) { return f.CreateInstance(combined28BitValue); })) + { + } + inline MidiUniqueId::MidiUniqueId(uint8_t sevenBitByte1, uint8_t sevenBitByte2, uint8_t sevenBitByte3, uint8_t sevenBitByte4) : + MidiUniqueId(impl::call_factory([&](IMidiUniqueIdFactory const& f) { return f.CreateInstance2(sevenBitByte1, sevenBitByte2, sevenBitByte3, sevenBitByte4); })) + { + } + inline auto MidiUniqueId::ShortLabel() + { + return impl::call_factory_cast([](IMidiUniqueIdStatics const& f) { return f.ShortLabel(); }); + } + inline auto MidiUniqueId::LongLabel() + { + return impl::call_factory_cast([](IMidiUniqueIdStatics const& f) { return f.LongLabel(); }); + } + inline auto MidiUniqueId::CreateBroadcast() + { + return impl::call_factory_cast([](IMidiUniqueIdStatics const& f) { return f.CreateBroadcast(); }); + } + inline auto MidiUniqueId::CreateRandom() + { + return impl::call_factory_cast([](IMidiUniqueIdStatics const& f) { return f.CreateRandom(); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h new file mode 100644 index 000000000..ddc7ab50a --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h @@ -0,0 +1,273 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::IncludedGroup() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->get_IncludedGroup(&value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiGroup{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::IncludedGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->put_IncludedGroup(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::IncludedChannels() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->get_IncludedChannels(&value)); + return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::PreventCallingFurtherListeners() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->get_PreventCallingFurtherListeners(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::PreventCallingFurtherListeners(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->put_PreventCallingFurtherListeners(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::PreventFiringMainMessageReceivedEvent() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->get_PreventFiringMainMessageReceivedEvent(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener::PreventFiringMainMessageReceivedEvent(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener)->put_PreventFiringMainMessageReceivedEvent(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener::IncludedGroups() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener)->get_IncludedGroups(&value)); + return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener::PreventCallingFurtherListeners() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener)->get_PreventCallingFurtherListeners(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener::PreventCallingFurtherListeners(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener)->put_PreventCallingFurtherListeners(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener::PreventFiringMainMessageReceivedEvent() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener)->get_PreventFiringMainMessageReceivedEvent(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener::PreventFiringMainMessageReceivedEvent(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener)->put_PreventFiringMainMessageReceivedEvent(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener::IncludedMessageTypes() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener)->get_IncludedMessageTypes(&value)); + return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener::PreventCallingFurtherListeners() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener)->get_PreventCallingFurtherListeners(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener::PreventCallingFurtherListeners(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener)->put_PreventCallingFurtherListeners(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener::PreventFiringMainMessageReceivedEvent() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener)->get_PreventFiringMainMessageReceivedEvent(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener::PreventFiringMainMessageReceivedEvent(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener)->put_PreventFiringMainMessageReceivedEvent(value)); + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IncludedGroup(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IncludedGroup()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IncludedGroup(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IncludedGroup(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IncludedChannels(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().IncludedChannels()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreventCallingFurtherListeners(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreventCallingFurtherListeners()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PreventCallingFurtherListeners(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PreventCallingFurtherListeners(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreventFiringMainMessageReceivedEvent(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreventFiringMainMessageReceivedEvent()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PreventFiringMainMessageReceivedEvent(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PreventFiringMainMessageReceivedEvent(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IncludedGroups(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().IncludedGroups()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreventCallingFurtherListeners(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreventCallingFurtherListeners()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PreventCallingFurtherListeners(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PreventCallingFurtherListeners(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreventFiringMainMessageReceivedEvent(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreventFiringMainMessageReceivedEvent()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PreventFiringMainMessageReceivedEvent(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PreventFiringMainMessageReceivedEvent(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IncludedMessageTypes(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().IncludedMessageTypes()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreventCallingFurtherListeners(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreventCallingFurtherListeners()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PreventCallingFurtherListeners(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PreventCallingFurtherListeners(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreventFiringMainMessageReceivedEvent(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreventFiringMainMessageReceivedEvent()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PreventFiringMainMessageReceivedEvent(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PreventFiringMainMessageReceivedEvent(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins +{ + inline MidiChannelEndpointListener::MidiChannelEndpointListener() : + MidiChannelEndpointListener(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } + inline MidiGroupEndpointListener::MidiGroupEndpointListener() : + MidiGroupEndpointListener(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } + inline MidiMessageTypeEndpointListener::MidiMessageTypeEndpointListener() : + MidiMessageTypeEndpointListener(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h new file mode 100644 index 000000000..1eaad3621 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h @@ -0,0 +1,333 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiDiagnosticsStatics::DiagnosticsLoopbackAEndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiDiagnosticsStatics)->get_DiagnosticsLoopbackAEndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiDiagnosticsStatics::DiagnosticsLoopbackBEndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiDiagnosticsStatics)->get_DiagnosticsLoopbackBEndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiDiagnosticsStatics::PingService(uint8_t pingCount) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiDiagnosticsStatics)->PingService(pingCount, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::MidiServicePingResponseSummary{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiDiagnosticsStatics::PingService(uint8_t pingCount, uint32_t timeoutMilliseconds) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiDiagnosticsStatics)->PingService2(pingCount, timeoutMilliseconds, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::MidiServicePingResponseSummary{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiReportingStatics::GetInstalledTransportPlugins() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiReportingStatics)->GetInstalledTransportPlugins(&result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiReportingStatics::GetInstalledMessageProcessingPlugins() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiReportingStatics)->GetInstalledMessageProcessingPlugins(&result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiReportingStatics::GetActiveSessions() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiReportingStatics)->GetActiveSessions(&result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary::Success() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary)->get_Success(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary::FailureReason() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary)->get_FailureReason(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary::TotalPingRoundTripMidiClock() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary)->get_TotalPingRoundTripMidiClock(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary::AveragePingRoundTripMidiClock() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary)->get_AveragePingRoundTripMidiClock(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary::Responses() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary)->get_Responses(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo::SessionId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo)->get_SessionId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo::ProcessId() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo)->get_ProcessId(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo::ProcessName() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo)->get_ProcessName(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo::SessionName() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo)->get_SessionName(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo::StartTime() const + { + winrt::Windows::Foundation::DateTime value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo)->get_StartTime(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo::Connections() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo)->get_Connections(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DiagnosticsLoopbackAEndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DiagnosticsLoopbackAEndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DiagnosticsLoopbackBEndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DiagnosticsLoopbackBEndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall PingService(uint8_t pingCount, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().PingService(pingCount)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall PingService2(uint8_t pingCount, uint32_t timeoutMilliseconds, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().PingService(pingCount, timeoutMilliseconds)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetInstalledTransportPlugins(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetInstalledTransportPlugins()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetInstalledMessageProcessingPlugins(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetInstalledMessageProcessingPlugins()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetActiveSessions(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetActiveSessions()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Success(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Success()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FailureReason(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().FailureReason()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TotalPingRoundTripMidiClock(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TotalPingRoundTripMidiClock()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AveragePingRoundTripMidiClock(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AveragePingRoundTripMidiClock()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Responses(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().Responses()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SessionId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SessionId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ProcessId(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ProcessId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ProcessName(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ProcessName()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SessionName(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SessionName()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_StartTime(int64_t* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().StartTime()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Connections(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().Connections()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics +{ + inline auto MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId() + { + return impl::call_factory_cast([](IMidiDiagnosticsStatics const& f) { return f.DiagnosticsLoopbackAEndpointDeviceId(); }); + } + inline auto MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId() + { + return impl::call_factory_cast([](IMidiDiagnosticsStatics const& f) { return f.DiagnosticsLoopbackBEndpointDeviceId(); }); + } + inline auto MidiDiagnostics::PingService(uint8_t pingCount) + { + return impl::call_factory([&](IMidiDiagnosticsStatics const& f) { return f.PingService(pingCount); }); + } + inline auto MidiDiagnostics::PingService(uint8_t pingCount, uint32_t timeoutMilliseconds) + { + return impl::call_factory([&](IMidiDiagnosticsStatics const& f) { return f.PingService(pingCount, timeoutMilliseconds); }); + } + inline auto MidiReporting::GetInstalledTransportPlugins() + { + return impl::call_factory_cast(*)(IMidiReportingStatics const&), MidiReporting, IMidiReportingStatics>([](IMidiReportingStatics const& f) { return f.GetInstalledTransportPlugins(); }); + } + inline auto MidiReporting::GetInstalledMessageProcessingPlugins() + { + return impl::call_factory_cast(*)(IMidiReportingStatics const&), MidiReporting, IMidiReportingStatics>([](IMidiReportingStatics const& f) { return f.GetInstalledMessageProcessingPlugins(); }); + } + inline auto MidiReporting::GetActiveSessions() + { + return impl::call_factory_cast(*)(IMidiReportingStatics const&), MidiReporting, IMidiReportingStatics>([](IMidiReportingStatics const& f) { return f.GetActiveSessions(); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h new file mode 100644 index 000000000..4122a5f63 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h @@ -0,0 +1,277 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig)->get_AssociationId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig::AssociationId(winrt::guid const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig)->put_AssociationId(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig::EndpointDefinitionA() const + { + winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig)->get_EndpointDefinitionA(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig::EndpointDefinitionA(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig)->put_EndpointDefinitionA(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig::EndpointDefinitionB() const + { + winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig)->get_EndpointDefinitionB(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig::EndpointDefinitionB(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig)->put_EndpointDefinitionB(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfigFactory::CreateInstance(winrt::guid const& associationId, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionA, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionB) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfigFactory)->CreateInstance(impl::bind_in(associationId), impl::bind_in(endpointDefinitionA), impl::bind_in(endpointDefinitionB), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfig::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointDeletionConfig)->get_AssociationId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfig::AssociationId(winrt::guid const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointDeletionConfig)->put_AssociationId(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfigFactory::CreateInstance(winrt::guid const& associationId) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointDeletionConfigFactory)->CreateInstance(impl::bind_in(associationId), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDeletionConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManagerStatics::IsTransportAvailable() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManagerStatics)->get_IsTransportAvailable(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManagerStatics::AbstractionId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManagerStatics)->get_AbstractionId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManagerStatics::CreateTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointCreationConfig const& creationConfig) const + { + winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointCreationResult result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManagerStatics)->CreateTransientLoopbackEndpoints(*(void**)(&creationConfig), put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManagerStatics::RemoveTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDeletionConfig const& deletionConfig) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManagerStatics)->RemoveTransientLoopbackEndpoints(*(void**)(&deletionConfig), &result)); + return result; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_AssociationId(winrt::guid value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().AssociationId(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_EndpointDefinitionA(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointDefinitionA()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_EndpointDefinitionA(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().EndpointDefinitionA(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_EndpointDefinitionB(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointDefinitionB()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_EndpointDefinitionB(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().EndpointDefinitionB(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(winrt::guid associationId, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition endpointDefinitionA, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition endpointDefinitionB, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&associationId), *reinterpret_cast(&endpointDefinitionA), *reinterpret_cast(&endpointDefinitionB))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_AssociationId(winrt::guid value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().AssociationId(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(winrt::guid associationId, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&associationId))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsTransportAvailable(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsTransportAvailable()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AbstractionId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AbstractionId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateTransientLoopbackEndpoints(void* creationConfig, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointCreationResult* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateTransientLoopbackEndpoints(*reinterpret_cast(&creationConfig))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall RemoveTransientLoopbackEndpoints(void* deletionConfig, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().RemoveTransientLoopbackEndpoints(*reinterpret_cast(&deletionConfig))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback +{ + inline MidiLoopbackEndpointCreationConfig::MidiLoopbackEndpointCreationConfig() : + MidiLoopbackEndpointCreationConfig(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } + inline MidiLoopbackEndpointCreationConfig::MidiLoopbackEndpointCreationConfig(winrt::guid const& associationId, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionA, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionB) : + MidiLoopbackEndpointCreationConfig(impl::call_factory([&](IMidiLoopbackEndpointCreationConfigFactory const& f) { return f.CreateInstance(associationId, endpointDefinitionA, endpointDefinitionB); })) + { + } + inline MidiLoopbackEndpointDeletionConfig::MidiLoopbackEndpointDeletionConfig(winrt::guid const& associationId) : + MidiLoopbackEndpointDeletionConfig(impl::call_factory([&](IMidiLoopbackEndpointDeletionConfigFactory const& f) { return f.CreateInstance(associationId); })) + { + } + inline auto MidiLoopbackEndpointManager::IsTransportAvailable() + { + return impl::call_factory_cast([](IMidiLoopbackEndpointManagerStatics const& f) { return f.IsTransportAvailable(); }); + } + inline auto MidiLoopbackEndpointManager::AbstractionId() + { + return impl::call_factory_cast([](IMidiLoopbackEndpointManagerStatics const& f) { return f.AbstractionId(); }); + } + inline auto MidiLoopbackEndpointManager::CreateTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointCreationConfig const& creationConfig) + { + return impl::call_factory([&](IMidiLoopbackEndpointManagerStatics const& f) { return f.CreateTransientLoopbackEndpoints(creationConfig); }); + } + inline auto MidiLoopbackEndpointManager::RemoveTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDeletionConfig const& deletionConfig) + { + return impl::call_factory([&](IMidiLoopbackEndpointManagerStatics const& f) { return f.RemoveTransientLoopbackEndpoints(deletionConfig); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..7cb112476 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,528 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::Timestamp() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_Timestamp(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::PreferredMidiProtocol() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_PreferredMidiProtocol(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::RequestEndpointTransmitJitterReductionTimestamps() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_RequestEndpointTransmitJitterReductionTimestamps(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs::RequestEndpointReceiveJitterReductionTimestamps() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs)->get_RequestEndpointReceiveJitterReductionTimestamps(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::DeviceEndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_DeviceEndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_AssociationId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::FunctionBlocks() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_FunctionBlocks(&value)); + return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->UpdateFunctionBlock(*(void**)(&block), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::UpdateEndpointName(param::hstring const& name) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->UpdateEndpointName(*(void**)(&name), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::SuppressHandledMessages() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->get_SuppressHandledMessages(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::SuppressHandledMessages(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->put_SuppressHandledMessages(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->add_StreamConfigRequestReceived(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, StreamConfigRequestReceived(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice::StreamConfigRequestReceived(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice)->remove_StreamConfigRequestReceived(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Description() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Description(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Description(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Description(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Manufacturer() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_Manufacturer(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::Manufacturer(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_Manufacturer(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::AssociationId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_AssociationId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_DeclaredDeviceIdentity(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_DeclaredDeviceIdentity(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredEndpointInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_DeclaredEndpointInfo(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::DeclaredEndpointInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_DeclaredEndpointInfo(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::UserSuppliedInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_UserSuppliedInfo(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::UserSuppliedInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->put_UserSuppliedInfo(impl::bind_in(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig::FunctionBlocks() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig)->get_FunctionBlocks(&value)); + return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance2(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance2(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), impl::bind_in(declaredDeviceIdentity), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory::CreateInstance3(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfigFactory)->CreateInstance3(*(void**)(&name), *(void**)(&description), *(void**)(&manufacturer), impl::bind_in(declaredEndpointInfo), impl::bind_in(declaredDeviceIdentity), impl::bind_in(userSuppliedInfo), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::IsTransportAvailable() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->get_IsTransportAvailable(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::AbstractionId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->get_AbstractionId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManagerStatics)->CreateVirtualDevice(*(void**)(&creationConfig), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDevice{ result, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Timestamp(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Timestamp()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PreferredMidiProtocol(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PreferredMidiProtocol()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_RequestEndpointTransmitJitterReductionTimestamps(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().RequestEndpointTransmitJitterReductionTimestamps()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_RequestEndpointReceiveJitterReductionTimestamps(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().RequestEndpointReceiveJitterReductionTimestamps()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_DeviceEndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeviceEndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().FunctionBlocks()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall UpdateFunctionBlock(void* block, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateFunctionBlock(*reinterpret_cast(&block))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall UpdateEndpointName(void* name, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateEndpointName(*reinterpret_cast(&name))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_SuppressHandledMessages(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SuppressHandledMessages()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_SuppressHandledMessages(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().SuppressHandledMessages(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall add_StreamConfigRequestReceived(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().StreamConfigRequestReceived(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_StreamConfigRequestReceived(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().StreamConfigRequestReceived(*reinterpret_cast(&token)); + return 0; + } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Name(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Name()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Name(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Name(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Description(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Description()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Description(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Description(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Manufacturer(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Manufacturer()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Manufacturer(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Manufacturer(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AssociationId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AssociationId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredDeviceIdentity()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().DeclaredDeviceIdentity(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredEndpointInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().DeclaredEndpointInfo(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().UserSuppliedInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().UserSuppliedInfo(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FunctionBlocks(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().FunctionBlocks()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity declaredDeviceIdentity, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo), *reinterpret_cast(&declaredDeviceIdentity))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance3(void* name, void* description, void* manufacturer, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo declaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity declaredDeviceIdentity, struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo userSuppliedInfo, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance3(*reinterpret_cast(&name), *reinterpret_cast(&description), *reinterpret_cast(&manufacturer), *reinterpret_cast(&declaredEndpointInfo), *reinterpret_cast(&declaredDeviceIdentity), *reinterpret_cast(&userSuppliedInfo))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsTransportAvailable(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsTransportAvailable()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AbstractionId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AbstractionId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateVirtualDevice(void* creationConfig, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateVirtualDevice(*reinterpret_cast(&creationConfig))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) : + MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance(name, description, manufacturer, declaredEndpointInfo); })) + { + } + inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) : + MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance2(name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity); })) + { + } + inline MidiVirtualDeviceCreationConfig::MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) : + MidiVirtualDeviceCreationConfig(impl::call_factory([&](IMidiVirtualDeviceCreationConfigFactory const& f) { return f.CreateInstance3(name, description, manufacturer, declaredEndpointInfo, declaredDeviceIdentity, userSuppliedInfo); })) + { + } + inline auto MidiVirtualDeviceManager::IsTransportAvailable() + { + return impl::call_factory_cast([](IMidiVirtualDeviceManagerStatics const& f) { return f.IsTransportAvailable(); }); + } + inline auto MidiVirtualDeviceManager::AbstractionId() + { + return impl::call_factory_cast([](IMidiVirtualDeviceManagerStatics const& f) { return f.AbstractionId(); }); + } + inline auto MidiVirtualDeviceManager::CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) + { + return impl::call_factory([&](IMidiVirtualDeviceManagerStatics const& f) { return f.CreateVirtualDevice(creationConfig); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h new file mode 100644 index 000000000..3fec6b2d9 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h @@ -0,0 +1,162 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Initialization_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Initialization_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::IsOperatingSystemSupported() const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->IsOperatingSystemSupported(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::EnsureServiceAvailable() const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->EnsureServiceAvailable(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::InitializeSdkRuntime() const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->InitializeSdkRuntime(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::IsCompatibleDesktopAppSdkRuntimeInstalled() const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->IsCompatibleDesktopAppSdkRuntimeInstalled(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::GetLatestRuntimeReleaseInstallerUri() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->GetLatestRuntimeReleaseInstallerUri(&result)); + return winrt::Windows::Foundation::Uri{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::GetLatestSettingsAppReleaseInstallerUri() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->GetLatestSettingsAppReleaseInstallerUri(&result)); + return winrt::Windows::Foundation::Uri{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics::GetLatestConsoleAppReleaseInstallerUri() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializerStatics)->GetLatestConsoleAppReleaseInstallerUri(&result)); + return winrt::Windows::Foundation::Uri{ result, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall IsOperatingSystemSupported(bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IsOperatingSystemSupported()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall EnsureServiceAvailable(bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().EnsureServiceAvailable()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall InitializeSdkRuntime(bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().InitializeSdkRuntime()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall IsCompatibleDesktopAppSdkRuntimeInstalled(bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IsCompatibleDesktopAppSdkRuntimeInstalled()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetLatestRuntimeReleaseInstallerUri(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetLatestRuntimeReleaseInstallerUri()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetLatestSettingsAppReleaseInstallerUri(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetLatestSettingsAppReleaseInstallerUri()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetLatestConsoleAppReleaseInstallerUri(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetLatestConsoleAppReleaseInstallerUri()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization +{ + inline auto MidiServicesInitializer::IsOperatingSystemSupported() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.IsOperatingSystemSupported(); }); + } + inline auto MidiServicesInitializer::EnsureServiceAvailable() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.EnsureServiceAvailable(); }); + } + inline auto MidiServicesInitializer::InitializeSdkRuntime() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.InitializeSdkRuntime(); }); + } + inline auto MidiServicesInitializer::IsCompatibleDesktopAppSdkRuntimeInstalled() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.IsCompatibleDesktopAppSdkRuntimeInstalled(); }); + } + inline auto MidiServicesInitializer::GetLatestRuntimeReleaseInstallerUri() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.GetLatestRuntimeReleaseInstallerUri(); }); + } + inline auto MidiServicesInitializer::GetLatestSettingsAppReleaseInstallerUri() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.GetLatestSettingsAppReleaseInstallerUri(); }); + } + inline auto MidiServicesInitializer::GetLatestConsoleAppReleaseInstallerUri() + { + return impl::call_factory_cast([](IMidiServicesInitializerStatics const& f) { return f.GetLatestConsoleAppReleaseInstallerUri(); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h new file mode 100644 index 000000000..dc6388835 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h @@ -0,0 +1,1341 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Messages_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Messages_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +#include "winrt/impl/Windows.Devices.Midi.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildUtilityMessage(uint64_t timestamp, uint8_t status, uint32_t dataOrReserved) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildUtilityMessage(timestamp, status, dataOrReserved, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildSystemMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t midi1Byte2, uint8_t midi1Byte3) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildSystemMessage(timestamp, *(void**)(&group), status, midi1Byte2, midi1Byte3, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildMidi1ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi1ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t byte3, uint8_t byte4) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildMidi1ChannelVoiceMessage(timestamp, *(void**)(&group), static_cast(status), *(void**)(&channel), byte3, byte4, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildSystemExclusive7Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t numberOfBytes, uint8_t dataByte0, uint8_t dataByte1, uint8_t dataByte2, uint8_t dataByte3, uint8_t dataByte4, uint8_t dataByte5) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildSystemExclusive7Message(timestamp, *(void**)(&group), status, numberOfBytes, dataByte0, dataByte1, dataByte2, dataByte3, dataByte4, dataByte5, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildMidi2ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi2ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint16_t index, uint32_t data) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildMidi2ChannelVoiceMessage(timestamp, *(void**)(&group), static_cast(status), *(void**)(&channel), index, data, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildSystemExclusive8Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiSystemExclusive8Status const& status, uint8_t numberOfValidDataBytesThisMessage, uint8_t streamId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildSystemExclusive8Message(timestamp, *(void**)(&group), static_cast(status), numberOfValidDataBytesThisMessage, streamId, dataByte00, dataByte01, dataByte02, dataByte03, dataByte04, dataByte05, dataByte06, dataByte07, dataByte08, dataByte09, dataByte10, dataByte11, dataByte12, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildMixedDataSetChunkHeaderMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint16_t numberValidDataBytesInThisChunk, uint16_t numberChunksInMixedDataSet, uint16_t numberOfThisChunk, uint16_t manufacturerId, uint16_t deviceId, uint16_t subId1, uint16_t subId2) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildMixedDataSetChunkHeaderMessage(timestamp, *(void**)(&group), mdsId, numberValidDataBytesInThisChunk, numberChunksInMixedDataSet, numberOfThisChunk, manufacturerId, deviceId, subId1, subId2, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildMixedDataSetChunkDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12, uint8_t dataByte13) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildMixedDataSetChunkDataMessage(timestamp, *(void**)(&group), mdsId, dataByte00, dataByte01, dataByte02, dataByte03, dataByte04, dataByte05, dataByte06, dataByte07, dataByte08, dataByte09, dataByte10, dataByte11, dataByte12, dataByte13, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildFlexDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t form, uint8_t address, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t statusBank, uint8_t status, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildFlexDataMessage(timestamp, *(void**)(&group), form, address, *(void**)(&channel), statusBank, status, word1Data, word2Data, word3Data, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics::BuildStreamMessage(uint64_t timestamp, uint8_t form, uint16_t status, uint16_t word0RemainingData, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageBuilderStatics)->BuildStreamMessage(timestamp, form, status, word0RemainingData, word1Data, word2Data, word3Data, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1Message(timestamp, *(void**)(&group), statusByte, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1Message2(timestamp, *(void**)(&group), statusByte, dataByte1, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1, uint8_t dataByte2) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1Message3(timestamp, *(void**)(&group), statusByte, dataByte1, dataByte2, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1ChannelPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiChannelPressureMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1ChannelPressureMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1NoteOffMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOffMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1NoteOffMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1NoteOnMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOnMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1NoteOnMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1PitchBendChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1PitchBendChangeMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1PolyphonicKeyPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1PolyphonicKeyPressureMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1ProgramChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiProgramChangeMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1ProgramChangeMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1TimeCodeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimeCodeMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1TimeCodeMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1SongPositionPointerMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1SongPositionPointerMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1SongSelectMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongSelectMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1SongSelectMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1TuneRequestMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTuneRequestMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1TuneRequestMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1TimingClockMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimingClockMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1TimingClockMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1StartMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStartMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1StartMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1ContinueMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiContinueMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1ContinueMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1StopMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStopMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1StopMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1ActiveSensingMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiActiveSensingMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1ActiveSensingMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics::ConvertMidi1SystemResetMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSystemResetMessage const& originalMessage) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageConverterStatics)->ConvertMidi1SystemResetMessage(timestamp, *(void**)(&group), *(void**)(&originalMessage), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::ValidateMessage32MessageType(uint32_t word0) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->ValidateMessage32MessageType(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::ValidateMessage64MessageType(uint32_t word0) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->ValidateMessage64MessageType(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::ValidateMessage96MessageType(uint32_t word0) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->ValidateMessage96MessageType(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::ValidateMessage128MessageType(uint32_t word0) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->ValidateMessage128MessageType(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetMessageTypeFromMessageFirstWord(uint32_t word0) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetMessageTypeFromMessageFirstWord(word0, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetPacketTypeFromMessageFirstWord(uint32_t word0) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiPacketType result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetPacketTypeFromMessageFirstWord(word0, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::MessageTypeHasGroupField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->MessageTypeHasGroupField(static_cast(messageType), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::ReplaceGroupInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& newGroup) const + { + uint32_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->ReplaceGroupInMessageFirstWord(word0, *(void**)(&newGroup), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetGroupFromMessageFirstWord(uint32_t word0) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetGroupFromMessageFirstWord(word0, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiGroup{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromUtilityMessage(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromUtilityMessage(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromMidi1ChannelVoiceMessage(uint32_t word0) const + { + winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi1ChannelVoiceMessageStatus result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromMidi1ChannelVoiceMessage(word0, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromMidi2ChannelVoiceMessageFirstWord(uint32_t word0) const + { + winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi2ChannelVoiceMessageStatus result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromMidi2ChannelVoiceMessageFirstWord(word0, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusBankFromFlexDataMessageFirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusBankFromFlexDataMessageFirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromFlexDataMessageFirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromFlexDataMessageFirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromSystemCommonMessage(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromSystemCommonMessage(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromDataMessage64FirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromDataMessage64FirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetNumberOfBytesFromDataMessage64FirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetNumberOfBytesFromDataMessage64FirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromDataMessage128FirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromDataMessage128FirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetNumberOfBytesFromDataMessage128FirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetNumberOfBytesFromDataMessage128FirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::MessageTypeHasChannelField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->MessageTypeHasChannelField(static_cast(messageType), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::ReplaceChannelInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& newChannel) const + { + uint32_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->ReplaceChannelInMessageFirstWord(word0, *(void**)(&newChannel), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetChannelFromMessageFirstWord(uint32_t word0) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetChannelFromMessageFirstWord(word0, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiChannel{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetFormFromStreamMessageFirstWord(uint32_t word0) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetFormFromStreamMessageFirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetStatusFromStreamMessageFirstWord(uint32_t word0) const + { + uint16_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetStatusFromStreamMessageFirstWord(word0, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetMessageDisplayNameFromFirstWord(uint32_t word0) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetMessageDisplayNameFromFirstWord(word0, &result)); + return hstring{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetPacketListFromWordList(uint64_t timestamp, param::iterable const& words) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetPacketListFromWordList(timestamp, *(void**)(&words), &result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics::GetWordListFromPacketList(param::iterable const& words) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiMessageHelperStatics)->GetWordListFromPacketList(*(void**)(&words), &result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildEndpointDiscoveryMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiEndpointDiscoveryRequests const& request) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildEndpointDiscoveryMessage(timestamp, umpVersionMajor, umpVersionMinor, static_cast(request), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildEndpointInfoNotificationMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, bool hasStaticFunctionBlocks, uint8_t numberOfFunctionBlocks, bool supportsMidi20Protocol, bool supportsMidi10Protocol, bool supportsReceivingJitterReductionTimestamps, bool supportsSendingJitterReductionTimestamps) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildEndpointInfoNotificationMessage(timestamp, umpVersionMajor, umpVersionMinor, hasStaticFunctionBlocks, numberOfFunctionBlocks, supportsMidi20Protocol, supportsMidi10Protocol, supportsReceivingJitterReductionTimestamps, supportsSendingJitterReductionTimestamps, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildDeviceIdentityNotificationMessage(uint64_t timestamp, uint8_t deviceManufacturerSysExIdByte1, uint8_t deviceManufacturerSysExIdByte2, uint8_t deviceManufacturerSysExIdByte3, uint8_t deviceFamilyLsb, uint8_t deviceFamilyMsb, uint8_t deviceFamilyModelNumberLsb, uint8_t deviceFamilyModelNumberMsb, uint8_t softwareRevisionLevelByte1, uint8_t softwareRevisionLevelByte2, uint8_t softwareRevisionLevelByte3, uint8_t softwareRevisionLevelByte4) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildDeviceIdentityNotificationMessage(timestamp, deviceManufacturerSysExIdByte1, deviceManufacturerSysExIdByte2, deviceManufacturerSysExIdByte3, deviceFamilyLsb, deviceFamilyMsb, deviceFamilyModelNumberLsb, deviceFamilyModelNumberMsb, softwareRevisionLevelByte1, softwareRevisionLevelByte2, softwareRevisionLevelByte3, softwareRevisionLevelByte4, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildEndpointNameNotificationMessages(uint64_t timestamp, param::hstring const& name) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildEndpointNameNotificationMessages(timestamp, *(void**)(&name), &result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildProductInstanceIdNotificationMessages(uint64_t timestamp, param::hstring const& productInstanceId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildProductInstanceIdNotificationMessages(timestamp, *(void**)(&productInstanceId), &result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::ParseEndpointNameNotificationMessages(param::iterable const& messages) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->ParseEndpointNameNotificationMessages(*(void**)(&messages), &result)); + return hstring{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::ParseProductInstanceIdNotificationMessages(param::iterable const& messages) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->ParseProductInstanceIdNotificationMessages(*(void**)(&messages), &result)); + return hstring{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildStreamConfigurationRequestMessage(uint64_t timestamp, uint8_t protocol, bool expectToReceiveJRTimestamps, bool requestToSendJRTimestamps) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildStreamConfigurationRequestMessage(timestamp, protocol, expectToReceiveJRTimestamps, requestToSendJRTimestamps, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildStreamConfigurationNotificationMessage(uint64_t timestamp, uint8_t protocol, bool confirmationWillReceiveJRTimestamps, bool confirmationSendJRTimestamps) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildStreamConfigurationNotificationMessage(timestamp, protocol, confirmationWillReceiveJRTimestamps, confirmationSendJRTimestamps, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildFunctionBlockDiscoveryMessage(uint64_t timestamp, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiFunctionBlockDiscoveryRequests const& requestFlags) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildFunctionBlockDiscoveryMessage(timestamp, functionBlockNumber, static_cast(requestFlags), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildFunctionBlockInfoNotificationMessage(uint64_t timestamp, bool active, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& uiHint, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& midi10, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& direction, uint8_t firstGroup, uint8_t numberOfGroups, uint8_t midiCIVersionFormat, uint8_t maxNumberSysEx8Streams) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildFunctionBlockInfoNotificationMessage(timestamp, active, functionBlockNumber, static_cast(uiHint), static_cast(midi10), static_cast(direction), firstGroup, numberOfGroups, midiCIVersionFormat, maxNumberSysEx8Streams, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::BuildFunctionBlockNameNotificationMessages(uint64_t timestamp, uint8_t functionBlockNumber, param::hstring const& name) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->BuildFunctionBlockNameNotificationMessages(timestamp, functionBlockNumber, *(void**)(&name), &result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics::ParseFunctionBlockNameNotificationMessages(param::iterable const& messages) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::Messages::IMidiStreamMessageBuilderStatics)->ParseFunctionBlockNameNotificationMessages(*(void**)(&messages), &result)); + return hstring{ result, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall BuildUtilityMessage(uint64_t timestamp, uint8_t status, uint32_t dataOrReserved, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildUtilityMessage(timestamp, status, dataOrReserved)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildSystemMessage(uint64_t timestamp, void* group, uint8_t status, uint8_t midi1Byte2, uint8_t midi1Byte3, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildSystemMessage(timestamp, *reinterpret_cast(&group), status, midi1Byte2, midi1Byte3)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildMidi1ChannelVoiceMessage(uint64_t timestamp, void* group, int32_t status, void* channel, uint8_t byte3, uint8_t byte4, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildMidi1ChannelVoiceMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&status), *reinterpret_cast(&channel), byte3, byte4)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildSystemExclusive7Message(uint64_t timestamp, void* group, uint8_t status, uint8_t numberOfBytes, uint8_t dataByte0, uint8_t dataByte1, uint8_t dataByte2, uint8_t dataByte3, uint8_t dataByte4, uint8_t dataByte5, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildSystemExclusive7Message(timestamp, *reinterpret_cast(&group), status, numberOfBytes, dataByte0, dataByte1, dataByte2, dataByte3, dataByte4, dataByte5)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildMidi2ChannelVoiceMessage(uint64_t timestamp, void* group, int32_t status, void* channel, uint16_t index, uint32_t data, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildMidi2ChannelVoiceMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&status), *reinterpret_cast(&channel), index, data)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildSystemExclusive8Message(uint64_t timestamp, void* group, int32_t status, uint8_t numberOfValidDataBytesThisMessage, uint8_t streamId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildSystemExclusive8Message(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&status), numberOfValidDataBytesThisMessage, streamId, dataByte00, dataByte01, dataByte02, dataByte03, dataByte04, dataByte05, dataByte06, dataByte07, dataByte08, dataByte09, dataByte10, dataByte11, dataByte12)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildMixedDataSetChunkHeaderMessage(uint64_t timestamp, void* group, uint8_t mdsId, uint16_t numberValidDataBytesInThisChunk, uint16_t numberChunksInMixedDataSet, uint16_t numberOfThisChunk, uint16_t manufacturerId, uint16_t deviceId, uint16_t subId1, uint16_t subId2, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildMixedDataSetChunkHeaderMessage(timestamp, *reinterpret_cast(&group), mdsId, numberValidDataBytesInThisChunk, numberChunksInMixedDataSet, numberOfThisChunk, manufacturerId, deviceId, subId1, subId2)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildMixedDataSetChunkDataMessage(uint64_t timestamp, void* group, uint8_t mdsId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12, uint8_t dataByte13, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildMixedDataSetChunkDataMessage(timestamp, *reinterpret_cast(&group), mdsId, dataByte00, dataByte01, dataByte02, dataByte03, dataByte04, dataByte05, dataByte06, dataByte07, dataByte08, dataByte09, dataByte10, dataByte11, dataByte12, dataByte13)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildFlexDataMessage(uint64_t timestamp, void* group, uint8_t form, uint8_t address, void* channel, uint8_t statusBank, uint8_t status, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildFlexDataMessage(timestamp, *reinterpret_cast(&group), form, address, *reinterpret_cast(&channel), statusBank, status, word1Data, word2Data, word3Data)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildStreamMessage(uint64_t timestamp, uint8_t form, uint16_t status, uint16_t word0RemainingData, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildStreamMessage(timestamp, form, status, word0RemainingData, word1Data, word2Data, word3Data)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall ConvertMidi1Message(uint64_t timestamp, void* group, uint8_t statusByte, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1Message(timestamp, *reinterpret_cast(&group), statusByte)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1Message2(uint64_t timestamp, void* group, uint8_t statusByte, uint8_t dataByte1, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1Message(timestamp, *reinterpret_cast(&group), statusByte, dataByte1)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1Message3(uint64_t timestamp, void* group, uint8_t statusByte, uint8_t dataByte1, uint8_t dataByte2, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1Message(timestamp, *reinterpret_cast(&group), statusByte, dataByte1, dataByte2)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1ChannelPressureMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1ChannelPressureMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1NoteOffMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1NoteOffMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1NoteOnMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1NoteOnMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1PitchBendChangeMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1PitchBendChangeMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1PolyphonicKeyPressureMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1PolyphonicKeyPressureMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1ProgramChangeMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1ProgramChangeMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1TimeCodeMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1TimeCodeMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1SongPositionPointerMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1SongPositionPointerMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1SongSelectMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1SongSelectMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1TuneRequestMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1TuneRequestMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1TimingClockMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1TimingClockMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1StartMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1StartMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1ContinueMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1ContinueMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1StopMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1StopMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1ActiveSensingMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1ActiveSensingMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertMidi1SystemResetMessage(uint64_t timestamp, void* group, void* originalMessage, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertMidi1SystemResetMessage(timestamp, *reinterpret_cast(&group), *reinterpret_cast(&originalMessage))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall ValidateMessage32MessageType(uint32_t word0, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ValidateMessage32MessageType(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ValidateMessage64MessageType(uint32_t word0, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ValidateMessage64MessageType(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ValidateMessage96MessageType(uint32_t word0, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ValidateMessage96MessageType(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ValidateMessage128MessageType(uint32_t word0, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ValidateMessage128MessageType(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetMessageTypeFromMessageFirstWord(uint32_t word0, int32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetMessageTypeFromMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetPacketTypeFromMessageFirstWord(uint32_t word0, int32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetPacketTypeFromMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall MessageTypeHasGroupField(int32_t messageType, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().MessageTypeHasGroupField(*reinterpret_cast(&messageType))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ReplaceGroupInMessageFirstWord(uint32_t word0, void* newGroup, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ReplaceGroupInMessageFirstWord(word0, *reinterpret_cast(&newGroup))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetGroupFromMessageFirstWord(uint32_t word0, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetGroupFromMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromUtilityMessage(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromUtilityMessage(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromMidi1ChannelVoiceMessage(uint32_t word0, int32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromMidi1ChannelVoiceMessage(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromMidi2ChannelVoiceMessageFirstWord(uint32_t word0, int32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromMidi2ChannelVoiceMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusBankFromFlexDataMessageFirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusBankFromFlexDataMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromFlexDataMessageFirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromFlexDataMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromSystemCommonMessage(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromSystemCommonMessage(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromDataMessage64FirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromDataMessage64FirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetNumberOfBytesFromDataMessage64FirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetNumberOfBytesFromDataMessage64FirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromDataMessage128FirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromDataMessage128FirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetNumberOfBytesFromDataMessage128FirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetNumberOfBytesFromDataMessage128FirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall MessageTypeHasChannelField(int32_t messageType, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().MessageTypeHasChannelField(*reinterpret_cast(&messageType))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ReplaceChannelInMessageFirstWord(uint32_t word0, void* newChannel, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ReplaceChannelInMessageFirstWord(word0, *reinterpret_cast(&newChannel))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetChannelFromMessageFirstWord(uint32_t word0, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetChannelFromMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetFormFromStreamMessageFirstWord(uint32_t word0, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetFormFromStreamMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetStatusFromStreamMessageFirstWord(uint32_t word0, uint16_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetStatusFromStreamMessageFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetMessageDisplayNameFromFirstWord(uint32_t word0, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetMessageDisplayNameFromFirstWord(word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetPacketListFromWordList(uint64_t timestamp, void* words, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetPacketListFromWordList(timestamp, *reinterpret_cast const*>(&words))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetWordListFromPacketList(void* words, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetWordListFromPacketList(*reinterpret_cast const*>(&words))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall BuildEndpointDiscoveryMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, uint32_t request, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildEndpointDiscoveryMessage(timestamp, umpVersionMajor, umpVersionMinor, *reinterpret_cast(&request))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildEndpointInfoNotificationMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, bool hasStaticFunctionBlocks, uint8_t numberOfFunctionBlocks, bool supportsMidi20Protocol, bool supportsMidi10Protocol, bool supportsReceivingJitterReductionTimestamps, bool supportsSendingJitterReductionTimestamps, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildEndpointInfoNotificationMessage(timestamp, umpVersionMajor, umpVersionMinor, hasStaticFunctionBlocks, numberOfFunctionBlocks, supportsMidi20Protocol, supportsMidi10Protocol, supportsReceivingJitterReductionTimestamps, supportsSendingJitterReductionTimestamps)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildDeviceIdentityNotificationMessage(uint64_t timestamp, uint8_t deviceManufacturerSysExIdByte1, uint8_t deviceManufacturerSysExIdByte2, uint8_t deviceManufacturerSysExIdByte3, uint8_t deviceFamilyLsb, uint8_t deviceFamilyMsb, uint8_t deviceFamilyModelNumberLsb, uint8_t deviceFamilyModelNumberMsb, uint8_t softwareRevisionLevelByte1, uint8_t softwareRevisionLevelByte2, uint8_t softwareRevisionLevelByte3, uint8_t softwareRevisionLevelByte4, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildDeviceIdentityNotificationMessage(timestamp, deviceManufacturerSysExIdByte1, deviceManufacturerSysExIdByte2, deviceManufacturerSysExIdByte3, deviceFamilyLsb, deviceFamilyMsb, deviceFamilyModelNumberLsb, deviceFamilyModelNumberMsb, softwareRevisionLevelByte1, softwareRevisionLevelByte2, softwareRevisionLevelByte3, softwareRevisionLevelByte4)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildEndpointNameNotificationMessages(uint64_t timestamp, void* name, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().BuildEndpointNameNotificationMessages(timestamp, *reinterpret_cast(&name))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildProductInstanceIdNotificationMessages(uint64_t timestamp, void* productInstanceId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().BuildProductInstanceIdNotificationMessages(timestamp, *reinterpret_cast(&productInstanceId))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ParseEndpointNameNotificationMessages(void* messages, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ParseEndpointNameNotificationMessages(*reinterpret_cast const*>(&messages))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ParseProductInstanceIdNotificationMessages(void* messages, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ParseProductInstanceIdNotificationMessages(*reinterpret_cast const*>(&messages))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildStreamConfigurationRequestMessage(uint64_t timestamp, uint8_t protocol, bool expectToReceiveJRTimestamps, bool requestToSendJRTimestamps, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildStreamConfigurationRequestMessage(timestamp, protocol, expectToReceiveJRTimestamps, requestToSendJRTimestamps)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildStreamConfigurationNotificationMessage(uint64_t timestamp, uint8_t protocol, bool confirmationWillReceiveJRTimestamps, bool confirmationSendJRTimestamps, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildStreamConfigurationNotificationMessage(timestamp, protocol, confirmationWillReceiveJRTimestamps, confirmationSendJRTimestamps)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildFunctionBlockDiscoveryMessage(uint64_t timestamp, uint8_t functionBlockNumber, uint32_t requestFlags, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildFunctionBlockDiscoveryMessage(timestamp, functionBlockNumber, *reinterpret_cast(&requestFlags))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildFunctionBlockInfoNotificationMessage(uint64_t timestamp, bool active, uint8_t functionBlockNumber, int32_t uiHint, int32_t midi10, int32_t direction, uint8_t firstGroup, uint8_t numberOfGroups, uint8_t midiCIVersionFormat, uint8_t maxNumberSysEx8Streams, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().BuildFunctionBlockInfoNotificationMessage(timestamp, active, functionBlockNumber, *reinterpret_cast(&uiHint), *reinterpret_cast(&midi10), *reinterpret_cast(&direction), firstGroup, numberOfGroups, midiCIVersionFormat, maxNumberSysEx8Streams)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall BuildFunctionBlockNameNotificationMessages(uint64_t timestamp, uint8_t functionBlockNumber, void* name, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().BuildFunctionBlockNameNotificationMessages(timestamp, functionBlockNumber, *reinterpret_cast(&name))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ParseFunctionBlockNameNotificationMessages(void* messages, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ParseFunctionBlockNameNotificationMessages(*reinterpret_cast const*>(&messages))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Messages +{ + constexpr auto operator|(MidiEndpointDiscoveryRequests const left, MidiEndpointDiscoveryRequests const right) noexcept + { + return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); + } + constexpr auto operator|=(MidiEndpointDiscoveryRequests& left, MidiEndpointDiscoveryRequests const right) noexcept + { + left = left | right; + return left; + } + constexpr auto operator&(MidiEndpointDiscoveryRequests const left, MidiEndpointDiscoveryRequests const right) noexcept + { + return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); + } + constexpr auto operator&=(MidiEndpointDiscoveryRequests& left, MidiEndpointDiscoveryRequests const right) noexcept + { + left = left & right; + return left; + } + constexpr auto operator~(MidiEndpointDiscoveryRequests const value) noexcept + { + return static_cast(~impl::to_underlying_type(value)); + } + constexpr auto operator^(MidiEndpointDiscoveryRequests const left, MidiEndpointDiscoveryRequests const right) noexcept + { + return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); + } + constexpr auto operator^=(MidiEndpointDiscoveryRequests& left, MidiEndpointDiscoveryRequests const right) noexcept + { + left = left ^ right; + return left; + } + constexpr auto operator|(MidiFunctionBlockDiscoveryRequests const left, MidiFunctionBlockDiscoveryRequests const right) noexcept + { + return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); + } + constexpr auto operator|=(MidiFunctionBlockDiscoveryRequests& left, MidiFunctionBlockDiscoveryRequests const right) noexcept + { + left = left | right; + return left; + } + constexpr auto operator&(MidiFunctionBlockDiscoveryRequests const left, MidiFunctionBlockDiscoveryRequests const right) noexcept + { + return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); + } + constexpr auto operator&=(MidiFunctionBlockDiscoveryRequests& left, MidiFunctionBlockDiscoveryRequests const right) noexcept + { + left = left & right; + return left; + } + constexpr auto operator~(MidiFunctionBlockDiscoveryRequests const value) noexcept + { + return static_cast(~impl::to_underlying_type(value)); + } + constexpr auto operator^(MidiFunctionBlockDiscoveryRequests const left, MidiFunctionBlockDiscoveryRequests const right) noexcept + { + return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); + } + constexpr auto operator^=(MidiFunctionBlockDiscoveryRequests& left, MidiFunctionBlockDiscoveryRequests const right) noexcept + { + left = left ^ right; + return left; + } + inline auto MidiMessageBuilder::BuildUtilityMessage(uint64_t timestamp, uint8_t status, uint32_t dataOrReserved) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildUtilityMessage(timestamp, status, dataOrReserved); }); + } + inline auto MidiMessageBuilder::BuildSystemMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t midi1Byte2, uint8_t midi1Byte3) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildSystemMessage(timestamp, group, status, midi1Byte2, midi1Byte3); }); + } + inline auto MidiMessageBuilder::BuildMidi1ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi1ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t byte3, uint8_t byte4) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildMidi1ChannelVoiceMessage(timestamp, group, status, channel, byte3, byte4); }); + } + inline auto MidiMessageBuilder::BuildSystemExclusive7Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t numberOfBytes, uint8_t dataByte0, uint8_t dataByte1, uint8_t dataByte2, uint8_t dataByte3, uint8_t dataByte4, uint8_t dataByte5) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildSystemExclusive7Message(timestamp, group, status, numberOfBytes, dataByte0, dataByte1, dataByte2, dataByte3, dataByte4, dataByte5); }); + } + inline auto MidiMessageBuilder::BuildMidi2ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi2ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint16_t index, uint32_t data) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildMidi2ChannelVoiceMessage(timestamp, group, status, channel, index, data); }); + } + inline auto MidiMessageBuilder::BuildSystemExclusive8Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiSystemExclusive8Status const& status, uint8_t numberOfValidDataBytesThisMessage, uint8_t streamId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildSystemExclusive8Message(timestamp, group, status, numberOfValidDataBytesThisMessage, streamId, dataByte00, dataByte01, dataByte02, dataByte03, dataByte04, dataByte05, dataByte06, dataByte07, dataByte08, dataByte09, dataByte10, dataByte11, dataByte12); }); + } + inline auto MidiMessageBuilder::BuildMixedDataSetChunkHeaderMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint16_t numberValidDataBytesInThisChunk, uint16_t numberChunksInMixedDataSet, uint16_t numberOfThisChunk, uint16_t manufacturerId, uint16_t deviceId, uint16_t subId1, uint16_t subId2) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildMixedDataSetChunkHeaderMessage(timestamp, group, mdsId, numberValidDataBytesInThisChunk, numberChunksInMixedDataSet, numberOfThisChunk, manufacturerId, deviceId, subId1, subId2); }); + } + inline auto MidiMessageBuilder::BuildMixedDataSetChunkDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12, uint8_t dataByte13) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildMixedDataSetChunkDataMessage(timestamp, group, mdsId, dataByte00, dataByte01, dataByte02, dataByte03, dataByte04, dataByte05, dataByte06, dataByte07, dataByte08, dataByte09, dataByte10, dataByte11, dataByte12, dataByte13); }); + } + inline auto MidiMessageBuilder::BuildFlexDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t form, uint8_t address, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t statusBank, uint8_t status, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildFlexDataMessage(timestamp, group, form, address, channel, statusBank, status, word1Data, word2Data, word3Data); }); + } + inline auto MidiMessageBuilder::BuildStreamMessage(uint64_t timestamp, uint8_t form, uint16_t status, uint16_t word0RemainingData, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data) + { + return impl::call_factory([&](IMidiMessageBuilderStatics const& f) { return f.BuildStreamMessage(timestamp, form, status, word0RemainingData, word1Data, word2Data, word3Data); }); + } + inline auto MidiMessageConverter::ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1Message(timestamp, group, statusByte); }); + } + inline auto MidiMessageConverter::ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1Message(timestamp, group, statusByte, dataByte1); }); + } + inline auto MidiMessageConverter::ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1, uint8_t dataByte2) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1Message(timestamp, group, statusByte, dataByte1, dataByte2); }); + } + inline auto MidiMessageConverter::ConvertMidi1ChannelPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiChannelPressureMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1ChannelPressureMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1NoteOffMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOffMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1NoteOffMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1NoteOnMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOnMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1NoteOnMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1PitchBendChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1PitchBendChangeMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1PolyphonicKeyPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1PolyphonicKeyPressureMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1ProgramChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiProgramChangeMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1ProgramChangeMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1TimeCodeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimeCodeMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1TimeCodeMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1SongPositionPointerMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1SongPositionPointerMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1SongSelectMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongSelectMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1SongSelectMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1TuneRequestMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTuneRequestMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1TuneRequestMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1TimingClockMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimingClockMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1TimingClockMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1StartMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStartMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1StartMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1ContinueMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiContinueMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1ContinueMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1StopMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStopMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1StopMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1ActiveSensingMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiActiveSensingMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1ActiveSensingMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageConverter::ConvertMidi1SystemResetMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSystemResetMessage const& originalMessage) + { + return impl::call_factory([&](IMidiMessageConverterStatics const& f) { return f.ConvertMidi1SystemResetMessage(timestamp, group, originalMessage); }); + } + inline auto MidiMessageHelper::ValidateMessage32MessageType(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.ValidateMessage32MessageType(word0); }); + } + inline auto MidiMessageHelper::ValidateMessage64MessageType(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.ValidateMessage64MessageType(word0); }); + } + inline auto MidiMessageHelper::ValidateMessage96MessageType(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.ValidateMessage96MessageType(word0); }); + } + inline auto MidiMessageHelper::ValidateMessage128MessageType(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.ValidateMessage128MessageType(word0); }); + } + inline auto MidiMessageHelper::GetMessageTypeFromMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetMessageTypeFromMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetPacketTypeFromMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetPacketTypeFromMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::MessageTypeHasGroupField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.MessageTypeHasGroupField(messageType); }); + } + inline auto MidiMessageHelper::ReplaceGroupInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& newGroup) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.ReplaceGroupInMessageFirstWord(word0, newGroup); }); + } + inline auto MidiMessageHelper::GetGroupFromMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetGroupFromMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromUtilityMessage(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromUtilityMessage(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromMidi1ChannelVoiceMessage(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromMidi1ChannelVoiceMessage(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromMidi2ChannelVoiceMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromMidi2ChannelVoiceMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetStatusBankFromFlexDataMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusBankFromFlexDataMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromFlexDataMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromFlexDataMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromSystemCommonMessage(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromSystemCommonMessage(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromDataMessage64FirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromDataMessage64FirstWord(word0); }); + } + inline auto MidiMessageHelper::GetNumberOfBytesFromDataMessage64FirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetNumberOfBytesFromDataMessage64FirstWord(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromDataMessage128FirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromDataMessage128FirstWord(word0); }); + } + inline auto MidiMessageHelper::GetNumberOfBytesFromDataMessage128FirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetNumberOfBytesFromDataMessage128FirstWord(word0); }); + } + inline auto MidiMessageHelper::MessageTypeHasChannelField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.MessageTypeHasChannelField(messageType); }); + } + inline auto MidiMessageHelper::ReplaceChannelInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& newChannel) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.ReplaceChannelInMessageFirstWord(word0, newChannel); }); + } + inline auto MidiMessageHelper::GetChannelFromMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetChannelFromMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetFormFromStreamMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetFormFromStreamMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetStatusFromStreamMessageFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetStatusFromStreamMessageFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetMessageDisplayNameFromFirstWord(uint32_t word0) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetMessageDisplayNameFromFirstWord(word0); }); + } + inline auto MidiMessageHelper::GetPacketListFromWordList(uint64_t timestamp, param::iterable const& words) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetPacketListFromWordList(timestamp, words); }); + } + inline auto MidiMessageHelper::GetWordListFromPacketList(param::iterable const& words) + { + return impl::call_factory([&](IMidiMessageHelperStatics const& f) { return f.GetWordListFromPacketList(words); }); + } + inline auto MidiStreamMessageBuilder::BuildEndpointDiscoveryMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiEndpointDiscoveryRequests const& request) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildEndpointDiscoveryMessage(timestamp, umpVersionMajor, umpVersionMinor, request); }); + } + inline auto MidiStreamMessageBuilder::BuildEndpointInfoNotificationMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, bool hasStaticFunctionBlocks, uint8_t numberOfFunctionBlocks, bool supportsMidi20Protocol, bool supportsMidi10Protocol, bool supportsReceivingJitterReductionTimestamps, bool supportsSendingJitterReductionTimestamps) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildEndpointInfoNotificationMessage(timestamp, umpVersionMajor, umpVersionMinor, hasStaticFunctionBlocks, numberOfFunctionBlocks, supportsMidi20Protocol, supportsMidi10Protocol, supportsReceivingJitterReductionTimestamps, supportsSendingJitterReductionTimestamps); }); + } + inline auto MidiStreamMessageBuilder::BuildDeviceIdentityNotificationMessage(uint64_t timestamp, uint8_t deviceManufacturerSysExIdByte1, uint8_t deviceManufacturerSysExIdByte2, uint8_t deviceManufacturerSysExIdByte3, uint8_t deviceFamilyLsb, uint8_t deviceFamilyMsb, uint8_t deviceFamilyModelNumberLsb, uint8_t deviceFamilyModelNumberMsb, uint8_t softwareRevisionLevelByte1, uint8_t softwareRevisionLevelByte2, uint8_t softwareRevisionLevelByte3, uint8_t softwareRevisionLevelByte4) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildDeviceIdentityNotificationMessage(timestamp, deviceManufacturerSysExIdByte1, deviceManufacturerSysExIdByte2, deviceManufacturerSysExIdByte3, deviceFamilyLsb, deviceFamilyMsb, deviceFamilyModelNumberLsb, deviceFamilyModelNumberMsb, softwareRevisionLevelByte1, softwareRevisionLevelByte2, softwareRevisionLevelByte3, softwareRevisionLevelByte4); }); + } + inline auto MidiStreamMessageBuilder::BuildEndpointNameNotificationMessages(uint64_t timestamp, param::hstring const& name) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildEndpointNameNotificationMessages(timestamp, name); }); + } + inline auto MidiStreamMessageBuilder::BuildProductInstanceIdNotificationMessages(uint64_t timestamp, param::hstring const& productInstanceId) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildProductInstanceIdNotificationMessages(timestamp, productInstanceId); }); + } + inline auto MidiStreamMessageBuilder::ParseEndpointNameNotificationMessages(param::iterable const& messages) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.ParseEndpointNameNotificationMessages(messages); }); + } + inline auto MidiStreamMessageBuilder::ParseProductInstanceIdNotificationMessages(param::iterable const& messages) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.ParseProductInstanceIdNotificationMessages(messages); }); + } + inline auto MidiStreamMessageBuilder::BuildStreamConfigurationRequestMessage(uint64_t timestamp, uint8_t protocol, bool expectToReceiveJRTimestamps, bool requestToSendJRTimestamps) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildStreamConfigurationRequestMessage(timestamp, protocol, expectToReceiveJRTimestamps, requestToSendJRTimestamps); }); + } + inline auto MidiStreamMessageBuilder::BuildStreamConfigurationNotificationMessage(uint64_t timestamp, uint8_t protocol, bool confirmationWillReceiveJRTimestamps, bool confirmationSendJRTimestamps) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildStreamConfigurationNotificationMessage(timestamp, protocol, confirmationWillReceiveJRTimestamps, confirmationSendJRTimestamps); }); + } + inline auto MidiStreamMessageBuilder::BuildFunctionBlockDiscoveryMessage(uint64_t timestamp, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiFunctionBlockDiscoveryRequests const& requestFlags) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildFunctionBlockDiscoveryMessage(timestamp, functionBlockNumber, requestFlags); }); + } + inline auto MidiStreamMessageBuilder::BuildFunctionBlockInfoNotificationMessage(uint64_t timestamp, bool active, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& uiHint, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& midi10, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& direction, uint8_t firstGroup, uint8_t numberOfGroups, uint8_t midiCIVersionFormat, uint8_t maxNumberSysEx8Streams) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildFunctionBlockInfoNotificationMessage(timestamp, active, functionBlockNumber, uiHint, midi10, direction, firstGroup, numberOfGroups, midiCIVersionFormat, maxNumberSysEx8Streams); }); + } + inline auto MidiStreamMessageBuilder::BuildFunctionBlockNameNotificationMessages(uint64_t timestamp, uint8_t functionBlockNumber, param::hstring const& name) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.BuildFunctionBlockNameNotificationMessages(timestamp, functionBlockNumber, name); }); + } + inline auto MidiStreamMessageBuilder::ParseFunctionBlockNameNotificationMessages(param::iterable const& messages) + { + return impl::call_factory([&](IMidiStreamMessageBuilderStatics const& f) { return f.ParseFunctionBlockNameNotificationMessages(messages); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h new file mode 100644 index 000000000..e221d614e --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h @@ -0,0 +1,192 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/Microsoft.Windows.Devices.Midi2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceConfigStatics::UpdateTransportPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig const& configUpdate) const + { + winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::MidiServiceConfigResponse result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceConfigStatics)->UpdateTransportPluginConfig(*(void**)(&configUpdate), put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceConfigStatics::UpdateProcessingPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig const& configUpdate) const + { + winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::MidiServiceConfigResponse result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceConfigStatics)->UpdateProcessingPluginConfig(*(void**)(&configUpdate), put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig::EndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig)->get_EndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig::MessageProcessingPluginId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig)->get_MessageProcessingPluginId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig::PluginInstanceId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig)->get_PluginInstanceId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig::IsFromCurrentConfigFile() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig)->get_IsFromCurrentConfigFile(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig::GetConfigJson() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig)->GetConfigJson(&result)); + return hstring{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceTransportPluginConfig::TransportId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig)->get_TransportId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceTransportPluginConfig::IsFromCurrentConfigFile() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig)->get_IsFromCurrentConfigFile(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceTransportPluginConfig::GetConfigJson() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig)->GetConfigJson(&result)); + return hstring{ result, take_ownership_from_abi }; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall UpdateTransportPluginConfig(void* configUpdate, struct struct_Microsoft_Windows_Devices_Midi2_ServiceConfig_MidiServiceConfigResponse* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateTransportPluginConfig(*reinterpret_cast(&configUpdate))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall UpdateProcessingPluginConfig(void* configUpdate, struct struct_Microsoft_Windows_Devices_Midi2_ServiceConfig_MidiServiceConfigResponse* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateProcessingPluginConfig(*reinterpret_cast(&configUpdate))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif + template + struct produce : produce_base + { + int32_t __stdcall get_EndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MessageProcessingPluginId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MessageProcessingPluginId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PluginInstanceId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PluginInstanceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsFromCurrentConfigFile(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsFromCurrentConfigFile()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetConfigJson(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetConfigJson()); + return 0; + } + catch (...) { return to_hresult(); } + }; + template + struct produce : produce_base + { + int32_t __stdcall get_TransportId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TransportId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsFromCurrentConfigFile(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsFromCurrentConfigFile()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetConfigJson(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetConfigJson()); + return 0; + } + catch (...) { return to_hresult(); } + }; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig +{ + inline auto MidiServiceConfig::UpdateTransportPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig const& configUpdate) + { + return impl::call_factory([&](IMidiServiceConfigStatics const& f) { return f.UpdateTransportPluginConfig(configUpdate); }); + } + inline auto MidiServiceConfig::UpdateProcessingPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig const& configUpdate) + { + return impl::call_factory([&](IMidiServiceConfigStatics const& f) { return f.UpdateProcessingPluginConfig(configUpdate); }); + } +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..3a83fd447 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h @@ -0,0 +1,3689 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_H +#include "winrt/base.h" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.240405.15" +#include "winrt/impl/Windows.Devices.Enumeration.2.h" +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Windows.Foundation.Collections.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +namespace winrt::impl +{ + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannel::Index() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel)->get_Index(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannel::Index(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel)->put_Index(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannel::DisplayValue() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel)->get_DisplayValue(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory::CreateInstance(uint8_t index) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannelFactory)->CreateInstance(index, &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiChannel{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics::ShortLabel() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannelStatics)->get_ShortLabel(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics::LongLabel() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannelStatics)->get_LongLabel(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics::IsValidIndex(uint8_t index) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiChannelStatics)->IsValidIndex(index, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::Now() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->get_Now(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::TimestampConstantSendImmediately() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->get_TimestampConstantSendImmediately(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::TimestampFrequency() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->get_TimestampFrequency(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::ConvertTimestampTicksToNanoseconds(uint64_t timestampValue) const + { + double result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->ConvertTimestampTicksToNanoseconds(timestampValue, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::ConvertTimestampTicksToMicroseconds(uint64_t timestampValue) const + { + double result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->ConvertTimestampTicksToMicroseconds(timestampValue, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::ConvertTimestampTicksToMilliseconds(uint64_t timestampValue) const + { + double result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->ConvertTimestampTicksToMilliseconds(timestampValue, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::ConvertTimestampTicksToSeconds(uint64_t timestampValue) const + { + double result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->ConvertTimestampTicksToSeconds(timestampValue, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks) const + { + uint64_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->OffsetTimestampByTicks(timestampValue, offsetTicks, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds) const + { + uint64_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->OffsetTimestampByMicroseconds(timestampValue, offsetMicroseconds, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds) const + { + uint64_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->OffsetTimestampByMilliseconds(timestampValue, offsetMilliseconds, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics::OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds) const + { + uint64_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiClockStatics)->OffsetTimestampBySeconds(timestampValue, offsetSeconds, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::ConnectionId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_ConnectionId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::ConnectedEndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_ConnectedEndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_Tag(&value)); + return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::Tag(winrt::Windows::Foundation::IInspectable const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->put_Tag(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::LogMessageDataValidationErrorDetails() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_LogMessageDataValidationErrorDetails(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::LogMessageDataValidationErrorDetails(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->put_LogMessageDataValidationErrorDetails(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::Settings() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_Settings(&value)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSettings{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::IsOpen() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_IsOpen(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::Open() const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->Open(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::IsAutoReconnectEnabled() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_IsAutoReconnectEnabled(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::MessageProcessingPlugins() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->get_MessageProcessingPlugins(&value)); + return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::AddMessageProcessingPlugin(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin const& plugin) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->AddMessageProcessingPlugin(*(void**)(&plugin))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::RemoveMessageProcessingPlugin(winrt::guid const& id) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->RemoveMessageProcessingPlugin(impl::bind_in(id))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessagePacket(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket const& message) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessagePacket(*(void**)(&message), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageStruct(uint64_t timestamp, uint8_t wordCount, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageStruct(timestamp, wordCount, impl::bind_in(message), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageWordArray(uint64_t timestamp, uint32_t startIndex, uint8_t wordCount, array_view words) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageWordArray(timestamp, startIndex, wordCount, words.size(), get_abi(words), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageWords(uint64_t timestamp, uint32_t word0) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageWords(timestamp, word0, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageWords2(timestamp, word0, word1, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageWords3(timestamp, word0, word1, word2, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageWords4(timestamp, word0, word1, word2, word3, reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendSingleMessageBuffer(uint64_t timestamp, uint32_t byteOffset, uint8_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendSingleMessageBuffer(timestamp, byteOffset, byteCount, *(void**)(&buffer), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendMultipleMessagesWordList(uint64_t timestamp, param::iterable const& words) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendMultipleMessagesWordList(timestamp, *(void**)(&words), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendMultipleMessagesWordArray(uint64_t timestamp, uint32_t startIndex, uint32_t wordCount, array_view words) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendMultipleMessagesWordArray(timestamp, startIndex, wordCount, words.size(), get_abi(words), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendMultipleMessagesPacketList(param::iterable const& messages) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendMultipleMessagesPacketList(*(void**)(&messages), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendMultipleMessagesStructList(uint64_t timestamp, param::iterable const& messages) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendMultipleMessagesStructList(timestamp, *(void**)(&messages), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendMultipleMessagesStructArray(uint64_t timestamp, uint32_t startIndex, uint32_t messageCount, array_view messages) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendMultipleMessagesStructArray(timestamp, startIndex, messageCount, messages.size(), get_abi(messages), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection::SendMultipleMessagesBuffer(uint64_t timestamp, uint32_t byteOffset, uint32_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection)->SendMultipleMessagesBuffer(timestamp, byteOffset, byteCount, *(void**)(&buffer), reinterpret_cast(&result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings::SettingsJson() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSettings)->get_SettingsJson(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource::EndpointDeviceDisconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource)->add_EndpointDeviceDisconnected(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource::EndpointDeviceDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, EndpointDeviceDisconnected(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource::EndpointDeviceDisconnected(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource)->remove_EndpointDeviceDisconnected(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource::EndpointDeviceReconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource)->add_EndpointDeviceReconnected(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource::EndpointDeviceReconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, EndpointDeviceReconnected(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource::EndpointDeviceReconnected(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource)->remove_EndpointDeviceReconnected(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics::GetDeviceSelector() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionStatics)->GetDeviceSelector(&result)); + return hstring{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics::SendMessageSucceeded(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionStatics)->SendMessageSucceeded(static_cast(sendResult), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics::SendMessageFailed(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionStatics)->SendMessageFailed(static_cast(sendResult), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::EndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_EndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::ContainerId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_ContainerId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::DeviceInstanceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_DeviceInstanceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::EndpointPurpose() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDevicePurpose value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_EndpointPurpose(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetDeclaredEndpointInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetDeclaredEndpointInfo(put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::DeclaredEndpointInfoLastUpdateTime() const + { + winrt::Windows::Foundation::DateTime value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_DeclaredEndpointInfoLastUpdateTime(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetDeclaredDeviceIdentity() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetDeclaredDeviceIdentity(put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::DeclaredDeviceIdentityLastUpdateTime() const + { + winrt::Windows::Foundation::DateTime value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_DeclaredDeviceIdentityLastUpdateTime(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetDeclaredStreamConfiguration() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredStreamConfiguration result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetDeclaredStreamConfiguration(put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::DeclaredStreamConfigurationLastUpdateTime() const + { + winrt::Windows::Foundation::DateTime value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_DeclaredStreamConfigurationLastUpdateTime(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetDeclaredFunctionBlocks() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetDeclaredFunctionBlocks(&result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::DeclaredFunctionBlocksLastUpdateTime() const + { + winrt::Windows::Foundation::DateTime value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_DeclaredFunctionBlocksLastUpdateTime(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetGroupTerminalBlocks() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetGroupTerminalBlocks(&result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetUserSuppliedInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetUserSuppliedInfo(put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetTransportSuppliedInfo() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointTransportSuppliedInfo result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetTransportSuppliedInfo(put_abi(result))); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetParentDeviceInformation() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetParentDeviceInformation(&result)); + return winrt::Windows::Devices::Enumeration::DeviceInformation{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::GetContainerDeviceInformation() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->GetContainerDeviceInformation(&result)); + return winrt::Windows::Devices::Enumeration::DeviceInformation{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation::Properties() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation)->get_Properties(&value)); + return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs::AddedDevice() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs)->get_AddedDevice(&value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs::EndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs)->get_EndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs::DeviceInformationUpdate() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs)->get_DeviceInformationUpdate(&value)); + return winrt::Windows::Devices::Enumeration::DeviceInformationUpdate{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->CreateFromEndpointDeviceId(*(void**)(&endpointDeviceId), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll(&result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll2(static_cast(sortOrder), &result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointTypesToInclude), &result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::EndpointInterfaceClass() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->get_EndpointInterfaceClass(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::GetAdditionalPropertiesList() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->GetAdditionalPropertiesList(&result)); + return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointTypesToInclude), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::EndpointDeviceId() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_EndpointDeviceId(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::IsNameUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_IsNameUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::IsEndpointInformationUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_IsEndpointInformationUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::IsDeviceIdentityUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_IsDeviceIdentityUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::IsStreamConfigurationUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_IsStreamConfigurationUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::AreFunctionBlocksUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_AreFunctionBlocksUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::IsUserMetadataUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_IsUserMetadataUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::AreAdditionalCapabilitiesUpdated() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_AreAdditionalCapabilitiesUpdated(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs::DeviceInformationUpdate() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs)->get_DeviceInformationUpdate(&value)); + return winrt::Windows::Devices::Enumeration::DeviceInformationUpdate{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Start() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->Start()); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Stop() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->Stop()); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::EnumeratedEndpointDevices() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->get_EnumeratedEndpointDevices(&value)); + return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Status() const + { + winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->get_Status(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->add_Added(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, Added(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Added(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->remove_Added(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->add_Removed(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, Removed(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Removed(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->remove_Removed(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->add_Updated(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, Updated(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Updated(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->remove_Updated(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->add_EnumerationCompleted(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, EnumerationCompleted(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::EnumerationCompleted(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->remove_EnumerationCompleted(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->add_Stopped(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, Stopped(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher::Stopped(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher)->remove_Stopped(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics::Create() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcherStatics)->Create(&result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics::Create(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcherStatics)->Create2(static_cast(endpointFilters), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginName(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginName(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginName(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_PluginTag(&value)); + return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::PluginTag(winrt::Windows::Foundation::IInspectable const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_PluginTag(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::IsEnabled() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_IsEnabled(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::IsEnabled(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_IsEnabled(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Initialize(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource const& endpointConnection) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->Initialize(*(void**)(&endpointConnection))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::OnEndpointConnectionOpened() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->OnEndpointConnectionOpened()); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::ProcessIncomingMessage(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageReceivedEventArgs const& args, bool& skipFurtherListeners, bool& skipMainMessageReceivedEvent) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->ProcessIncomingMessage(*(void**)(&args), &skipFurtherListeners, &skipMainMessageReceivedEvent)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Cleanup() const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->Cleanup()); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::IsReadOnly() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_IsReadOnly(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::Number() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_Number(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::Number(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_Number(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::IsActive() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_IsActive(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::IsActive(bool value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_IsActive(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::Direction() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_Direction(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::Direction(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_Direction(static_cast(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::UIHint() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_UIHint(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::UIHint(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_UIHint(static_cast(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::RepresentsMidi10Connection() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_RepresentsMidi10Connection(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::RepresentsMidi10Connection(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_RepresentsMidi10Connection(static_cast(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::FirstGroupIndex() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_FirstGroupIndex(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::FirstGroupIndex(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_FirstGroupIndex(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::GroupCount() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_GroupCount(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::GroupCount(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_GroupCount(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->IncludesGroup(*(void**)(&group), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::MidiCIMessageVersionFormat() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_MidiCIMessageVersionFormat(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::MidiCIMessageVersionFormat(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_MidiCIMessageVersionFormat(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::MaxSystemExclusive8Streams() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->get_MaxSystemExclusive8Streams(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock::MaxSystemExclusive8Streams(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock)->put_MaxSystemExclusive8Streams(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroup::Index() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup)->get_Index(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroup::Index(uint8_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup)->put_Index(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroup::DisplayValue() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup)->get_DisplayValue(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory::CreateInstance(uint8_t index) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupFactory)->CreateInstance(index, &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiGroup{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics::ShortLabel() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupStatics)->get_ShortLabel(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics::LongLabel() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupStatics)->get_LongLabel(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics::IsValidIndex(uint8_t index) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupStatics)->IsValidIndex(index, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::Number() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_Number(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::Direction() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiGroupTerminalBlockDirection value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_Direction(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::Protocol() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiGroupTerminalBlockProtocol value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_Protocol(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::FirstGroupIndex() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_FirstGroupIndex(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::GroupCount() const + { + uint8_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_GroupCount(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->IncludesGroup(*(void**)(&group), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::MaxDeviceInputBandwidthIn4KBitsPerSecondUnits() const + { + uint16_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_MaxDeviceInputBandwidthIn4KBitsPerSecondUnits(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits() const + { + uint16_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::CalculatedMaxDeviceInputBandwidthBitsPerSecond() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_CalculatedMaxDeviceInputBandwidthBitsPerSecond(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::CalculatedMaxDeviceOutputBandwidthBitsPerSecond() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->get_CalculatedMaxDeviceOutputBandwidthBitsPerSecond(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock::AsEquivalentFunctionBlock() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock)->AsEquivalentFunctionBlock(&result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word0() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->get_Word0(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word0(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->put_Word0(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word1() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->get_Word1(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word1(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->put_Word1(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word2() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->get_Word2(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word2(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->put_Word2(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word3() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->get_Word3(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128::Word3(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128)->put_Word3(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128Factory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory::CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128Factory)->CreateInstance2(timestamp, word0, word1, word2, word3, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory::CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128Factory)->CreateInstance3(timestamp, words.size(), get_abi(words), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128Statics)->CreateFromStruct(timestamp, impl::bind_in(message), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32::Word0() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32)->get_Word0(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32::Word0(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32)->put_Word0(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32Factory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory::CreateInstance2(uint64_t timestamp, uint32_t word0, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32Factory)->CreateInstance2(timestamp, word0, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32Statics)->CreateFromStruct(timestamp, impl::bind_in(message), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64::Word0() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64)->get_Word0(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64::Word0(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64)->put_Word0(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64::Word1() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64)->get_Word1(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64::Word1(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64)->put_Word1(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64Factory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory::CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64Factory)->CreateInstance2(timestamp, word0, word1, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory::CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64Factory)->CreateInstance3(timestamp, words.size(), get_abi(words), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64Statics)->CreateFromStruct(timestamp, impl::bind_in(message), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96::Word0() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96)->get_Word0(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96::Word0(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96)->put_Word0(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96::Word1() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96)->get_Word1(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96::Word1(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96)->put_Word1(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96::Word2() const + { + uint32_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96)->get_Word2(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96::Word2(uint32_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96)->put_Word2(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96Factory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory::CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96Factory)->CreateInstance2(timestamp, word0, word1, word2, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory::CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96Factory)->CreateInstance3(timestamp, words.size(), get_abi(words), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96Statics)->CreateFromStruct(timestamp, impl::bind_in(message), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::Timestamp() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->get_Timestamp(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::PacketType() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiPacketType value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->get_PacketType(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::MessageType() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->get_MessageType(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::PeekFirstWord() const + { + uint32_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->PeekFirstWord(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::GetMessagePacket() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->GetMessagePacket(&result)); + return winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillWords(uint32_t& word0, uint32_t& word1, uint32_t& word2, uint32_t& word3) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillWords(&word0, &word1, &word2, &word3, &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillMessageStruct(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct& message) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillMessageStruct(impl::bind_out(message), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillMessage32(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32 const& message) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillMessage32(*(void**)(&message), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillMessage64(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64 const& message) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillMessage64(*(void**)(&message), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillMessage96(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96 const& message) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillMessage96(*(void**)(&message), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillMessage128(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128 const& message) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillMessage128(*(void**)(&message), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillWordArray(uint32_t startIndex, array_view words) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillWordArray(startIndex, words.size(), put_abi(words), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillByteArray(uint32_t startIndex, array_view bytes) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillByteArray(startIndex, bytes.size(), put_abi(bytes), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->FillBuffer(byteOffset, *(void**)(&buffer), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs::AppendWordsToList(param::vector const& wordList) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs)->AppendWordsToList(*(void**)(&wordList), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource::MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + winrt::event_token token{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventSource)->add_MessageReceived(*(void**)(&handler), put_abi(token))); + return token; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const + { + return impl::make_event_revoker(this, MessageReceived(handler)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource::MessageReceived(winrt::event_token const& token) const noexcept + { + WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventSource)->remove_MessageReceived(impl::bind_in(token)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::SessionId() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->get_SessionId(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::IsOpen() const + { + bool value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->get_IsOpen(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::Connections() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->get_Connections(&value)); + return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::CreateEndpointConnection(param::hstring const& endpointDeviceId) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->CreateEndpointConnection(*(void**)(&endpointDeviceId), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointConnection{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->CreateEndpointConnection2(*(void**)(&endpointDeviceId), autoReconnect, &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointConnection{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect, winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSettings const& settings) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->CreateEndpointConnection3(*(void**)(&endpointDeviceId), autoReconnect, *(void**)(&settings), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointConnection{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::DisconnectEndpointConnection(winrt::guid const& endpointConnectionId) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->DisconnectEndpointConnection(impl::bind_in(endpointConnectionId))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSession::UpdateName(param::hstring const& newName) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSession)->UpdateName(*(void**)(&newName), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics::Create(param::hstring const& sessionName) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiSessionStatics)->Create(*(void**)(&sessionName), &result)); + return winrt::Microsoft::Windows::Devices::Midi2::MidiSession{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::Timestamp() const + { + uint64_t value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->get_Timestamp(&value)); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::Timestamp(uint64_t value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->put_Timestamp(value)); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::MessageType() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->get_MessageType(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::MessageType(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->put_MessageType(static_cast(value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::PacketType() const + { + winrt::Microsoft::Windows::Devices::Midi2::MidiPacketType value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->get_PacketType(reinterpret_cast(&value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::PeekFirstWord() const + { + uint32_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->PeekFirstWord(&result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::GetAllWords() const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->GetAllWords(&result)); + return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::AppendAllMessageWordsToList(param::vector const& targetList) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->AppendAllMessageWordsToList(*(void**)(&targetList), &result)); + return result; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket::FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const + { + uint8_t result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket)->FillBuffer(byteOffset, *(void**)(&buffer), &result)); + return result; + } +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Index(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Index()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Index(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Index(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DisplayValue(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DisplayValue()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(uint8_t index, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(index)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_ShortLabel(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ShortLabel()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_LongLabel(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().LongLabel()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall IsValidIndex(uint8_t index, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IsValidIndex(index)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Now(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Now()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TimestampConstantSendImmediately(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TimestampConstantSendImmediately()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_TimestampFrequency(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().TimestampFrequency()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertTimestampTicksToNanoseconds(uint64_t timestampValue, double* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertTimestampTicksToNanoseconds(timestampValue)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertTimestampTicksToMicroseconds(uint64_t timestampValue, double* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertTimestampTicksToMicroseconds(timestampValue)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertTimestampTicksToMilliseconds(uint64_t timestampValue, double* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertTimestampTicksToMilliseconds(timestampValue)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ConvertTimestampTicksToSeconds(uint64_t timestampValue, double* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().ConvertTimestampTicksToSeconds(timestampValue)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks, uint64_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().OffsetTimestampByTicks(timestampValue, offsetTicks)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds, uint64_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().OffsetTimestampByMicroseconds(timestampValue, offsetMicroseconds)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds, uint64_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().OffsetTimestampByMilliseconds(timestampValue, offsetMilliseconds)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds, uint64_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().OffsetTimestampBySeconds(timestampValue, offsetSeconds)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_ConnectionId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ConnectionId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ConnectedEndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ConnectedEndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Tag(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Tag()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Tag(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Tag(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_LogMessageDataValidationErrorDetails(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().LogMessageDataValidationErrorDetails()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_LogMessageDataValidationErrorDetails(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().LogMessageDataValidationErrorDetails(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Settings(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Settings()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsOpen(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsOpen()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Open(bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().Open()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsAutoReconnectEnabled(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsAutoReconnectEnabled()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MessageProcessingPlugins(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().MessageProcessingPlugins()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall AddMessageProcessingPlugin(void* plugin) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().AddMessageProcessingPlugin(*reinterpret_cast(&plugin)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall RemoveMessageProcessingPlugin(winrt::guid id) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().RemoveMessageProcessingPlugin(*reinterpret_cast(&id)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessagePacket(void* message, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessagePacket(*reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageStruct(uint64_t timestamp, uint8_t wordCount, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct const& message, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageStruct(timestamp, wordCount, *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageWordArray(uint64_t timestamp, uint32_t startIndex, uint8_t wordCount, uint32_t __wordsSize, uint32_t* words, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageWordArray(timestamp, startIndex, wordCount, array_view(reinterpret_cast(words), reinterpret_cast(words) + __wordsSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageWords(timestamp, word0)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageWords2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageWords(timestamp, word0, word1)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageWords3(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageWords(timestamp, word0, word1, word2)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageWords4(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageWords(timestamp, word0, word1, word2, word3)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendSingleMessageBuffer(uint64_t timestamp, uint32_t byteOffset, uint8_t byteCount, void* buffer, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendSingleMessageBuffer(timestamp, byteOffset, byteCount, *reinterpret_cast(&buffer))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMultipleMessagesWordList(uint64_t timestamp, void* words, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMultipleMessagesWordList(timestamp, *reinterpret_cast const*>(&words))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMultipleMessagesWordArray(uint64_t timestamp, uint32_t startIndex, uint32_t wordCount, uint32_t __wordsSize, uint32_t* words, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMultipleMessagesWordArray(timestamp, startIndex, wordCount, array_view(reinterpret_cast(words), reinterpret_cast(words) + __wordsSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMultipleMessagesPacketList(void* messages, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMultipleMessagesPacketList(*reinterpret_cast const*>(&messages))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMultipleMessagesStructList(uint64_t timestamp, void* messages, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMultipleMessagesStructList(timestamp, *reinterpret_cast const*>(&messages))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMultipleMessagesStructArray(uint64_t timestamp, uint32_t startIndex, uint32_t messageCount, uint32_t __messagesSize, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct* messages, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMultipleMessagesStructArray(timestamp, startIndex, messageCount, array_view(reinterpret_cast(messages), reinterpret_cast(messages) + __messagesSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMultipleMessagesBuffer(uint64_t timestamp, uint32_t byteOffset, uint32_t byteCount, void* buffer, uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMultipleMessagesBuffer(timestamp, byteOffset, byteCount, *reinterpret_cast(&buffer))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif + template + struct produce : produce_base + { + int32_t __stdcall get_SettingsJson(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SettingsJson()); + return 0; + } + catch (...) { return to_hresult(); } + }; + template + struct produce : produce_base + { + int32_t __stdcall add_EndpointDeviceDisconnected(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().EndpointDeviceDisconnected(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_EndpointDeviceDisconnected(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().EndpointDeviceDisconnected(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_EndpointDeviceReconnected(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().EndpointDeviceReconnected(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_EndpointDeviceReconnected(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().EndpointDeviceReconnected(*reinterpret_cast(&token)); + return 0; + } + }; +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall GetDeviceSelector(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetDeviceSelector()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMessageSucceeded(uint32_t sendResult, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMessageSucceeded(*reinterpret_cast(&sendResult))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall SendMessageFailed(uint32_t sendResult, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().SendMessageFailed(*reinterpret_cast(&sendResult))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_EndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Name(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Name()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_ContainerId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ContainerId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeviceInstanceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeviceInstanceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_EndpointPurpose(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointPurpose()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetDeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetDeclaredEndpointInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredEndpointInfoLastUpdateTime(int64_t* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredEndpointInfoLastUpdateTime()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetDeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetDeclaredDeviceIdentity()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredDeviceIdentityLastUpdateTime(int64_t* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredDeviceIdentityLastUpdateTime()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetDeclaredStreamConfiguration(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetDeclaredStreamConfiguration()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredStreamConfigurationLastUpdateTime(int64_t* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredStreamConfigurationLastUpdateTime()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetDeclaredFunctionBlocks(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetDeclaredFunctionBlocks()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeclaredFunctionBlocksLastUpdateTime(int64_t* value) noexcept final try + { + zero_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeclaredFunctionBlocksLastUpdateTime()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetGroupTerminalBlocks(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetGroupTerminalBlocks()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetUserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetUserSuppliedInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetTransportSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo* result) noexcept final try + { + zero_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetTransportSuppliedInfo()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetParentDeviceInformation(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetParentDeviceInformation()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetContainerDeviceInformation(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetContainerDeviceInformation()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Properties(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().Properties()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_AddedDevice(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AddedDevice()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_EndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeviceInformationUpdate(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeviceInformationUpdate()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateFromEndpointDeviceId(void* endpointDeviceId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateFromEndpointDeviceId(*reinterpret_cast(&endpointDeviceId))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FindAll(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().FindAll()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FindAll2(int32_t sortOrder, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FindAll3(int32_t sortOrder, uint32_t endpointTypesToInclude, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().FindAll(*reinterpret_cast(&sortOrder), *reinterpret_cast(&endpointTypesToInclude))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_EndpointInterfaceClass(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointInterfaceClass()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetAdditionalPropertiesList(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetAdditionalPropertiesList()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall DeviceMatchesFilter(void* deviceInformation, uint32_t endpointTypesToInclude, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointTypesToInclude))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_EndpointDeviceId(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().EndpointDeviceId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsNameUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsNameUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsEndpointInformationUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsEndpointInformationUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsDeviceIdentityUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsDeviceIdentityUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsStreamConfigurationUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsStreamConfigurationUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AreFunctionBlocksUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AreFunctionBlocksUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsUserMetadataUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsUserMetadataUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_AreAdditionalCapabilitiesUpdated(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().AreAdditionalCapabilitiesUpdated()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DeviceInformationUpdate(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DeviceInformationUpdate()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall Start() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Start(); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Stop() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Stop(); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_EnumeratedEndpointDevices(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().EnumeratedEndpointDevices()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Status(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Status()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall add_Added(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().Added(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_Added(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().Added(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_Removed(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().Removed(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_Removed(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().Removed(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_Updated(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().Updated(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_Updated(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().Updated(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_EnumerationCompleted(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().EnumerationCompleted(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_EnumerationCompleted(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().EnumerationCompleted(*reinterpret_cast(&token)); + return 0; + } + int32_t __stdcall add_Stopped(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().Stopped(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_Stopped(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().Stopped(*reinterpret_cast(&token)); + return 0; + } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall Create(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().Create()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Create2(uint32_t endpointFilters, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().Create(*reinterpret_cast(&endpointFilters))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif + template + struct produce : produce_base + { + int32_t __stdcall get_PluginId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PluginId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PluginName(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PluginName()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PluginName(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PluginName(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PluginTag(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PluginTag()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_PluginTag(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().PluginTag(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsEnabled(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsEnabled()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsEnabled(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsEnabled(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Initialize(void* endpointConnection) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Initialize(*reinterpret_cast(&endpointConnection)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall OnEndpointConnectionOpened() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().OnEndpointConnectionOpened(); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall ProcessIncomingMessage(void* args, bool* skipFurtherListeners, bool* skipMainMessageReceivedEvent) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().ProcessIncomingMessage(*reinterpret_cast(&args), *skipFurtherListeners, *skipMainMessageReceivedEvent); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall Cleanup() noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Cleanup(); + return 0; + } + catch (...) { return to_hresult(); } + }; +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_IsReadOnly(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsReadOnly()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Number(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Number()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Number(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Number(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Name(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Name()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Name(void* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Name(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsActive(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsActive()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_IsActive(bool value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().IsActive(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Direction(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Direction()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Direction(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Direction(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_UIHint(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().UIHint()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_UIHint(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().UIHint(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_RepresentsMidi10Connection(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().RepresentsMidi10Connection()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_RepresentsMidi10Connection(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().RepresentsMidi10Connection(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FirstGroupIndex(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().FirstGroupIndex()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_FirstGroupIndex(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().FirstGroupIndex(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_GroupCount(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().GroupCount()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_GroupCount(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().GroupCount(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall IncludesGroup(void* group, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IncludesGroup(*reinterpret_cast(&group))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MidiCIMessageVersionFormat(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MidiCIMessageVersionFormat()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_MidiCIMessageVersionFormat(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().MidiCIMessageVersionFormat(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MaxSystemExclusive8Streams(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MaxSystemExclusive8Streams()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_MaxSystemExclusive8Streams(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().MaxSystemExclusive8Streams(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Index(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Index()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Index(uint8_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Index(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_DisplayValue(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().DisplayValue()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(uint8_t index, void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(index)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_ShortLabel(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().ShortLabel()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_LongLabel(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().LongLabel()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall IsValidIndex(uint8_t index, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IsValidIndex(index)); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Number(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Number()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Name(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Name()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Direction(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Direction()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Protocol(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Protocol()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_FirstGroupIndex(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().FirstGroupIndex()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_GroupCount(uint8_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().GroupCount()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall IncludesGroup(void* group, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().IncludesGroup(*reinterpret_cast(&group))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MaxDeviceInputBandwidthIn4KBitsPerSecondUnits(uint16_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MaxDeviceInputBandwidthIn4KBitsPerSecondUnits()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits(uint16_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_CalculatedMaxDeviceInputBandwidthBitsPerSecond(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CalculatedMaxDeviceInputBandwidthBitsPerSecond()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_CalculatedMaxDeviceOutputBandwidthBitsPerSecond(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CalculatedMaxDeviceOutputBandwidthBitsPerSecond()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall AsEquivalentFunctionBlock(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().AsEquivalentFunctionBlock()); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Word0(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word0()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word0(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word0(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Word1(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word1()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word1(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word1(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Word2(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word2()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word2(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word2(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Word3(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word3()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word3(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word3(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(timestamp, word0, word1, word2, word3, *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance3(uint64_t timestamp, uint32_t __wordsSize, uint32_t* words, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance3(timestamp, array_view(reinterpret_cast(words), reinterpret_cast(words) + __wordsSize), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateFromStruct(uint64_t timestamp, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct message, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateFromStruct(timestamp, *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Word0(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word0()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word0(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word0(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(uint64_t timestamp, uint32_t word0, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(timestamp, word0, *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateFromStruct(uint64_t timestamp, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct message, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateFromStruct(timestamp, *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Word0(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word0()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word0(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word0(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Word1(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word1()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word1(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word1(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(timestamp, word0, word1, *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance3(uint64_t timestamp, uint32_t __wordsSize, uint32_t* words, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance3(timestamp, array_view(reinterpret_cast(words), reinterpret_cast(words) + __wordsSize), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateFromStruct(uint64_t timestamp, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct message, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateFromStruct(timestamp, *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Word0(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word0()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word0(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word0(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Word1(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word1()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word1(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word1(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Word2(uint32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Word2()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Word2(uint32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Word2(value); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance2(timestamp, word0, word1, word2, *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateInstance3(uint64_t timestamp, uint32_t __wordsSize, uint32_t* words, void* baseInterface, void** innerInterface, void** value) noexcept final try + { + if (innerInterface) *innerInterface = nullptr; + winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().CreateInstance3(timestamp, array_view(reinterpret_cast(words), reinterpret_cast(words) + __wordsSize), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); + if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall CreateFromStruct(uint64_t timestamp, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct message, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateFromStruct(timestamp, *reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_Timestamp(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Timestamp()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PacketType(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PacketType()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MessageType(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MessageType()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall PeekFirstWord(uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().PeekFirstWord()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetMessagePacket(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().GetMessagePacket()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillWords(uint32_t* word0, uint32_t* word1, uint32_t* word2, uint32_t* word3, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillWords(*word0, *word1, *word2, *word3)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillMessageStruct(struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct* message, uint8_t* result) noexcept final try + { + zero_abi(message); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillMessageStruct(*reinterpret_cast(message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillMessage32(void* message, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillMessage32(*reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillMessage64(void* message, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillMessage64(*reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillMessage96(void* message, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillMessage96(*reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillMessage128(void* message, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillMessage128(*reinterpret_cast(&message))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillWordArray(uint32_t startIndex, uint32_t __wordsSize, uint32_t* words, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillWordArray(startIndex, array_view(reinterpret_cast(words), reinterpret_cast(words) + __wordsSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillByteArray(uint32_t startIndex, uint32_t __bytesSize, uint8_t* bytes, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillByteArray(startIndex, array_view(reinterpret_cast(bytes), reinterpret_cast(bytes) + __bytesSize))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillBuffer(uint32_t byteOffset, void* buffer, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillBuffer(byteOffset, *reinterpret_cast(&buffer))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall AppendWordsToList(void* wordList, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().AppendWordsToList(*reinterpret_cast const*>(&wordList))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif + template + struct produce : produce_base + { + int32_t __stdcall add_MessageReceived(void* handler, winrt::event_token* token) noexcept final try + { + zero_abi(token); + typename D::abi_guard guard(this->shim()); + *token = detach_from(this->shim().MessageReceived(*reinterpret_cast const*>(&handler))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall remove_MessageReceived(winrt::event_token token) noexcept final + { + typename D::abi_guard guard(this->shim()); + this->shim().MessageReceived(*reinterpret_cast(&token)); + return 0; + } + }; +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall get_SessionId(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().SessionId()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Name(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Name()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_IsOpen(bool* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().IsOpen()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_Connections(void** value) noexcept final try + { + clear_abi(value); + typename D::abi_guard guard(this->shim()); + *value = detach_from>(this->shim().Connections()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateEndpointConnection(void* endpointDeviceId, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateEndpointConnection(*reinterpret_cast(&endpointDeviceId))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateEndpointConnection2(void* endpointDeviceId, bool autoReconnect, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateEndpointConnection(*reinterpret_cast(&endpointDeviceId), autoReconnect)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall CreateEndpointConnection3(void* endpointDeviceId, bool autoReconnect, void* settings, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().CreateEndpointConnection(*reinterpret_cast(&endpointDeviceId), autoReconnect, *reinterpret_cast(&settings))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall DisconnectEndpointConnection(winrt::guid endpointConnectionId) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().DisconnectEndpointConnection(*reinterpret_cast(&endpointConnectionId)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall UpdateName(void* newName, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().UpdateName(*reinterpret_cast(&newName))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif +#ifndef WINRT_LEAN_AND_MEAN + template + struct produce : produce_base + { + int32_t __stdcall Create(void* sessionName, void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().Create(*reinterpret_cast(&sessionName))); + return 0; + } + catch (...) { return to_hresult(); } + }; +#endif + template + struct produce : produce_base + { + int32_t __stdcall get_Timestamp(uint64_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Timestamp()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_Timestamp(uint64_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().Timestamp(value); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_MessageType(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().MessageType()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall put_MessageType(int32_t value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + this->shim().MessageType(*reinterpret_cast(&value)); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall get_PacketType(int32_t* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().PacketType()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall PeekFirstWord(uint32_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().PeekFirstWord()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall GetAllWords(void** result) noexcept final try + { + clear_abi(result); + typename D::abi_guard guard(this->shim()); + *result = detach_from>(this->shim().GetAllWords()); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall AppendAllMessageWordsToList(void* targetList, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().AppendAllMessageWordsToList(*reinterpret_cast const*>(&targetList))); + return 0; + } + catch (...) { return to_hresult(); } + int32_t __stdcall FillBuffer(uint32_t byteOffset, void* buffer, uint8_t* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().FillBuffer(byteOffset, *reinterpret_cast(&buffer))); + return 0; + } + catch (...) { return to_hresult(); } + }; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + constexpr auto operator|(MidiEndpointDeviceInformationFilters const left, MidiEndpointDeviceInformationFilters const right) noexcept + { + return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); + } + constexpr auto operator|=(MidiEndpointDeviceInformationFilters& left, MidiEndpointDeviceInformationFilters const right) noexcept + { + left = left | right; + return left; + } + constexpr auto operator&(MidiEndpointDeviceInformationFilters const left, MidiEndpointDeviceInformationFilters const right) noexcept + { + return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); + } + constexpr auto operator&=(MidiEndpointDeviceInformationFilters& left, MidiEndpointDeviceInformationFilters const right) noexcept + { + left = left & right; + return left; + } + constexpr auto operator~(MidiEndpointDeviceInformationFilters const value) noexcept + { + return static_cast(~impl::to_underlying_type(value)); + } + constexpr auto operator^(MidiEndpointDeviceInformationFilters const left, MidiEndpointDeviceInformationFilters const right) noexcept + { + return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); + } + constexpr auto operator^=(MidiEndpointDeviceInformationFilters& left, MidiEndpointDeviceInformationFilters const right) noexcept + { + left = left ^ right; + return left; + } + constexpr auto operator|(MidiSendMessageResults const left, MidiSendMessageResults const right) noexcept + { + return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); + } + constexpr auto operator|=(MidiSendMessageResults& left, MidiSendMessageResults const right) noexcept + { + left = left | right; + return left; + } + constexpr auto operator&(MidiSendMessageResults const left, MidiSendMessageResults const right) noexcept + { + return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); + } + constexpr auto operator&=(MidiSendMessageResults& left, MidiSendMessageResults const right) noexcept + { + left = left & right; + return left; + } + constexpr auto operator~(MidiSendMessageResults const value) noexcept + { + return static_cast(~impl::to_underlying_type(value)); + } + constexpr auto operator^(MidiSendMessageResults const left, MidiSendMessageResults const right) noexcept + { + return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); + } + constexpr auto operator^=(MidiSendMessageResults& left, MidiSendMessageResults const right) noexcept + { + left = left ^ right; + return left; + } + inline MidiChannel::MidiChannel(uint8_t index) : + MidiChannel(impl::call_factory([&](IMidiChannelFactory const& f) { return f.CreateInstance(index); })) + { + } + inline auto MidiChannel::ShortLabel() + { + return impl::call_factory_cast([](IMidiChannelStatics const& f) { return f.ShortLabel(); }); + } + inline auto MidiChannel::LongLabel() + { + return impl::call_factory_cast([](IMidiChannelStatics const& f) { return f.LongLabel(); }); + } + inline auto MidiChannel::IsValidIndex(uint8_t index) + { + return impl::call_factory([&](IMidiChannelStatics const& f) { return f.IsValidIndex(index); }); + } + inline auto MidiClock::Now() + { + return impl::call_factory_cast([](IMidiClockStatics const& f) { return f.Now(); }); + } + inline auto MidiClock::TimestampConstantSendImmediately() + { + return impl::call_factory_cast([](IMidiClockStatics const& f) { return f.TimestampConstantSendImmediately(); }); + } + inline auto MidiClock::TimestampFrequency() + { + return impl::call_factory_cast([](IMidiClockStatics const& f) { return f.TimestampFrequency(); }); + } + inline auto MidiClock::ConvertTimestampTicksToNanoseconds(uint64_t timestampValue) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.ConvertTimestampTicksToNanoseconds(timestampValue); }); + } + inline auto MidiClock::ConvertTimestampTicksToMicroseconds(uint64_t timestampValue) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.ConvertTimestampTicksToMicroseconds(timestampValue); }); + } + inline auto MidiClock::ConvertTimestampTicksToMilliseconds(uint64_t timestampValue) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.ConvertTimestampTicksToMilliseconds(timestampValue); }); + } + inline auto MidiClock::ConvertTimestampTicksToSeconds(uint64_t timestampValue) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.ConvertTimestampTicksToSeconds(timestampValue); }); + } + inline auto MidiClock::OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.OffsetTimestampByTicks(timestampValue, offsetTicks); }); + } + inline auto MidiClock::OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.OffsetTimestampByMicroseconds(timestampValue, offsetMicroseconds); }); + } + inline auto MidiClock::OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.OffsetTimestampByMilliseconds(timestampValue, offsetMilliseconds); }); + } + inline auto MidiClock::OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds) + { + return impl::call_factory([&](IMidiClockStatics const& f) { return f.OffsetTimestampBySeconds(timestampValue, offsetSeconds); }); + } + inline auto MidiEndpointConnection::GetDeviceSelector() + { + return impl::call_factory_cast([](IMidiEndpointConnectionStatics const& f) { return f.GetDeviceSelector(); }); + } + inline auto MidiEndpointConnection::SendMessageSucceeded(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) + { + return impl::call_factory([&](IMidiEndpointConnectionStatics const& f) { return f.SendMessageSucceeded(sendResult); }); + } + inline auto MidiEndpointConnection::SendMessageFailed(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) + { + return impl::call_factory([&](IMidiEndpointConnectionStatics const& f) { return f.SendMessageFailed(sendResult); }); + } + inline auto MidiEndpointDeviceInformation::CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.CreateFromEndpointDeviceId(endpointDeviceId); }); + } + inline auto MidiEndpointDeviceInformation::FindAll() + { + return impl::call_factory_cast(*)(IMidiEndpointDeviceInformationStatics const&), MidiEndpointDeviceInformation, IMidiEndpointDeviceInformationStatics>([](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(); }); + } + inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder); }); + } + inline auto MidiEndpointDeviceInformation::FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointTypesToInclude); }); + } + inline auto MidiEndpointDeviceInformation::EndpointInterfaceClass() + { + return impl::call_factory_cast([](IMidiEndpointDeviceInformationStatics const& f) { return f.EndpointInterfaceClass(); }); + } + inline auto MidiEndpointDeviceInformation::GetAdditionalPropertiesList() + { + return impl::call_factory_cast(*)(IMidiEndpointDeviceInformationStatics const&), MidiEndpointDeviceInformation, IMidiEndpointDeviceInformationStatics>([](IMidiEndpointDeviceInformationStatics const& f) { return f.GetAdditionalPropertiesList(); }); + } + inline auto MidiEndpointDeviceInformation::DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointTypesToInclude); }); + } + inline auto MidiEndpointDeviceWatcher::Create() + { + return impl::call_factory_cast([](IMidiEndpointDeviceWatcherStatics const& f) { return f.Create(); }); + } + inline auto MidiEndpointDeviceWatcher::Create(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceWatcherStatics const& f) { return f.Create(endpointFilters); }); + } + inline MidiFunctionBlock::MidiFunctionBlock() : + MidiFunctionBlock(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) + { + } + inline MidiGroup::MidiGroup(uint8_t index) : + MidiGroup(impl::call_factory([&](IMidiGroupFactory const& f) { return f.CreateInstance(index); })) + { + } + inline auto MidiGroup::ShortLabel() + { + return impl::call_factory_cast([](IMidiGroupStatics const& f) { return f.ShortLabel(); }); + } + inline auto MidiGroup::LongLabel() + { + return impl::call_factory_cast([](IMidiGroupStatics const& f) { return f.LongLabel(); }); + } + inline auto MidiGroup::IsValidIndex(uint8_t index) + { + return impl::call_factory([&](IMidiGroupStatics const& f) { return f.IsValidIndex(index); }); + } + inline MidiMessage128::MidiMessage128() + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage128Factory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); + } + inline MidiMessage128::MidiMessage128(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage128Factory const& f) { return f.CreateInstance2(timestamp, word0, word1, word2, word3, baseInterface, innerInterface); }); + } + inline MidiMessage128::MidiMessage128(uint64_t timestamp, array_view words) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage128Factory const& f) { return f.CreateInstance3(timestamp, words, baseInterface, innerInterface); }); + } + inline auto MidiMessage128::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) + { + return impl::call_factory([&](IMidiMessage128Statics const& f) { return f.CreateFromStruct(timestamp, message); }); + } + inline MidiMessage32::MidiMessage32() + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage32Factory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); + } + inline MidiMessage32::MidiMessage32(uint64_t timestamp, uint32_t word0) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage32Factory const& f) { return f.CreateInstance2(timestamp, word0, baseInterface, innerInterface); }); + } + inline auto MidiMessage32::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) + { + return impl::call_factory([&](IMidiMessage32Statics const& f) { return f.CreateFromStruct(timestamp, message); }); + } + inline MidiMessage64::MidiMessage64() + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage64Factory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); + } + inline MidiMessage64::MidiMessage64(uint64_t timestamp, uint32_t word0, uint32_t word1) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage64Factory const& f) { return f.CreateInstance2(timestamp, word0, word1, baseInterface, innerInterface); }); + } + inline MidiMessage64::MidiMessage64(uint64_t timestamp, array_view words) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage64Factory const& f) { return f.CreateInstance3(timestamp, words, baseInterface, innerInterface); }); + } + inline auto MidiMessage64::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) + { + return impl::call_factory([&](IMidiMessage64Statics const& f) { return f.CreateFromStruct(timestamp, message); }); + } + inline MidiMessage96::MidiMessage96() + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage96Factory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); + } + inline MidiMessage96::MidiMessage96(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage96Factory const& f) { return f.CreateInstance2(timestamp, word0, word1, word2, baseInterface, innerInterface); }); + } + inline MidiMessage96::MidiMessage96(uint64_t timestamp, array_view words) + { + winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; + *this = impl::call_factory([&](IMidiMessage96Factory const& f) { return f.CreateInstance3(timestamp, words, baseInterface, innerInterface); }); + } + inline auto MidiMessage96::CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) + { + return impl::call_factory([&](IMidiMessage96Statics const& f) { return f.CreateFromStruct(timestamp, message); }); + } + inline auto MidiSession::Create(param::hstring const& sessionName) + { + return impl::call_factory([&](IMidiSessionStatics const& f) { return f.Create(sessionName); }); + } + template + struct MidiMessage128T : + implements, + impl::require, + impl::base + { + using composable = MidiMessage128; + protected: + MidiMessage128T() + { + impl::call_factory([&](IMidiMessage128Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); + } + MidiMessage128T(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3) + { + impl::call_factory([&](IMidiMessage128Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance2(timestamp, word0, word1, word2, word3, *this, this->m_inner); }); + } + MidiMessage128T(uint64_t timestamp, array_view words) + { + impl::call_factory([&](IMidiMessage128Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance3(timestamp, words, *this, this->m_inner); }); + } + }; + template + struct MidiMessage32T : + implements, + impl::require, + impl::base + { + using composable = MidiMessage32; + protected: + MidiMessage32T() + { + impl::call_factory([&](IMidiMessage32Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); + } + MidiMessage32T(uint64_t timestamp, uint32_t word0) + { + impl::call_factory([&](IMidiMessage32Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance2(timestamp, word0, *this, this->m_inner); }); + } + }; + template + struct MidiMessage64T : + implements, + impl::require, + impl::base + { + using composable = MidiMessage64; + protected: + MidiMessage64T() + { + impl::call_factory([&](IMidiMessage64Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); + } + MidiMessage64T(uint64_t timestamp, uint32_t word0, uint32_t word1) + { + impl::call_factory([&](IMidiMessage64Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance2(timestamp, word0, word1, *this, this->m_inner); }); + } + MidiMessage64T(uint64_t timestamp, array_view words) + { + impl::call_factory([&](IMidiMessage64Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance3(timestamp, words, *this, this->m_inner); }); + } + }; + template + struct MidiMessage96T : + implements, + impl::require, + impl::base + { + using composable = MidiMessage96; + protected: + MidiMessage96T() + { + impl::call_factory([&](IMidiMessage96Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); + } + MidiMessage96T(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2) + { + impl::call_factory([&](IMidiMessage96Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance2(timestamp, word0, word1, word2, *this, this->m_inner); }); + } + MidiMessage96T(uint64_t timestamp, array_view words) + { + impl::call_factory([&](IMidiMessage96Factory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance3(timestamp, words, *this, this->m_inner); }); + } + }; +} +namespace std +{ +#ifndef WINRT_LEAN_AND_MEAN + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; + template<> struct hash : winrt::impl::hash_base {}; +#endif +#ifdef __cpp_lib_format + template<> struct formatter : formatter {}; + template<> struct formatter : formatter {}; + template<> struct formatter : formatter {}; + template<> struct formatter : formatter {}; +#endif +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..7ba28d513 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h @@ -0,0 +1,1524 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_0_H +WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration +{ + struct DeviceInformation; + struct DeviceInformationUpdate; + enum class DeviceWatcherStatus : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + struct IMemoryBuffer; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; + template struct WINRT_IMPL_EMPTY_BASES IVector; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + enum class MidiEndpointDeviceInformationFilters : uint32_t + { + StandardNativeUniversalMidiPacketFormat = 0x1, + StandardNativeMidi1ByteFormat = 0x2, + VirtualDeviceResponder = 0x100, + DiagnosticLoopback = 0x10000, + DiagnosticPing = 0x20000, + AllStandardEndpoints = 0x3, + }; + enum class MidiEndpointDeviceInformationSortOrder : int32_t + { + None = 0, + Name = 1, + EndpointDeviceId = 2, + DeviceInstanceId = 3, + ContainerThenName = 11, + ContainerThenEndpointDeviceId = 12, + ContainerThenDeviceInstanceId = 13, + TransportMnemonicThenName = 21, + TransportMnemonicThenEndpointDeviceId = 22, + TransportMnemonicThenDeviceInstanceId = 23, + }; + enum class MidiEndpointDevicePurpose : int32_t + { + NormalMessageEndpoint = 0, + VirtualDeviceResponder = 100, + InBoxGeneralMidiSynth = 400, + DiagnosticLoopback = 500, + DiagnosticPing = 510, + }; + enum class MidiEndpointNativeDataFormat : int32_t + { + Unknown = 0, + Midi1ByteFormat = 1, + UniversalMidiPacketFormat = 2, + }; + enum class MidiFunctionBlockDirection : int32_t + { + Undefined = 0, + BlockInput = 1, + BlockOutput = 2, + Bidirectional = 3, + }; + enum class MidiFunctionBlockRepresentsMidi10Connection : int32_t + { + Not10 = 0, + YesBandwidthUnrestricted = 1, + YesBandwidthRestricted = 2, + Reserved = 3, + }; + enum class MidiFunctionBlockUIHint : int32_t + { + Unknown = 0, + Receiver = 1, + Sender = 2, + Bidirectional = 3, + }; + enum class MidiGroupTerminalBlockDirection : int32_t + { + Bidirectional = 0, + BlockInput = 1, + BlockOutput = 2, + }; + enum class MidiGroupTerminalBlockProtocol : int32_t + { + Unknown = 0, + Midi1Message64 = 1, + Midi1Message64WithJitterReduction = 2, + Midi1Message128 = 3, + Midi1Message128WithJitterReduction = 4, + Midi2 = 17, + Midi2WithJitterReduction = 18, + }; + enum class MidiMessageType : int32_t + { + UtilityMessage32 = 0, + SystemCommon32 = 1, + Midi1ChannelVoice32 = 2, + DataMessage64 = 3, + Midi2ChannelVoice64 = 4, + DataMessage128 = 5, + FutureReserved632 = 6, + FutureReserved732 = 7, + FutureReserved864 = 8, + FutureReserved964 = 9, + FutureReservedA64 = 10, + FutureReservedB96 = 11, + FutureReservedC96 = 12, + FlexData128 = 13, + FutureReservedE128 = 14, + Stream128 = 15, + }; + enum class MidiPacketType : int32_t + { + UnknownOrInvalid = 0, + UniversalMidiPacket32 = 1, + UniversalMidiPacket64 = 2, + UniversalMidiPacket96 = 3, + UniversalMidiPacket128 = 4, + }; + enum class MidiProtocol : int32_t + { + Default = 0, + Midi1 = 1, + Midi2 = 2, + }; + enum class MidiSendMessageResults : uint32_t + { + Succeeded = 0x80000000, + Failed = 0x10000000, + BufferFull = 0x10000, + EndpointConnectionClosedOrInvalid = 0x40000, + InvalidMessageTypeForWordCount = 0x100000, + InvalidMessageOther = 0x200000, + DataIndexOutOfRange = 0x400000, + TimestampOutOfRange = 0x800000, + MessageListPartiallyProcessed = 0xf00000, + }; + struct IMidiChannel; + struct IMidiChannelFactory; + struct IMidiChannelStatics; + struct IMidiClock; + struct IMidiClockStatics; + struct IMidiEndpointConnection; + struct IMidiEndpointConnectionSettings; + struct IMidiEndpointConnectionSource; + struct IMidiEndpointConnectionStatics; + struct IMidiEndpointDeviceInformation; + struct IMidiEndpointDeviceInformationAddedEventArgs; + struct IMidiEndpointDeviceInformationRemovedEventArgs; + struct IMidiEndpointDeviceInformationStatics; + struct IMidiEndpointDeviceInformationUpdatedEventArgs; + struct IMidiEndpointDeviceWatcher; + struct IMidiEndpointDeviceWatcherStatics; + struct IMidiEndpointMessageProcessingPlugin; + struct IMidiFunctionBlock; + struct IMidiGroup; + struct IMidiGroupFactory; + struct IMidiGroupStatics; + struct IMidiGroupTerminalBlock; + struct IMidiMessage128; + struct IMidiMessage128Factory; + struct IMidiMessage128Statics; + struct IMidiMessage32; + struct IMidiMessage32Factory; + struct IMidiMessage32Statics; + struct IMidiMessage64; + struct IMidiMessage64Factory; + struct IMidiMessage64Statics; + struct IMidiMessage96; + struct IMidiMessage96Factory; + struct IMidiMessage96Statics; + struct IMidiMessageReceivedEventArgs; + struct IMidiMessageReceivedEventSource; + struct IMidiSession; + struct IMidiSessionStatics; + struct IMidiUniversalPacket; + struct MidiChannel; + struct MidiClock; + struct MidiEndpointConnection; + struct MidiEndpointDeviceInformation; + struct MidiEndpointDeviceInformationAddedEventArgs; + struct MidiEndpointDeviceInformationRemovedEventArgs; + struct MidiEndpointDeviceInformationUpdatedEventArgs; + struct MidiEndpointDeviceWatcher; + struct MidiFunctionBlock; + struct MidiGroup; + struct MidiGroupTerminalBlock; + struct MidiMessage128; + struct MidiMessage32; + struct MidiMessage64; + struct MidiMessage96; + struct MidiMessageReceivedEventArgs; + struct MidiSession; + struct MidiDeclaredDeviceIdentity; + struct MidiDeclaredEndpointInfo; + struct MidiDeclaredStreamConfiguration; + struct MidiEndpointTransportSuppliedInfo; + struct MidiEndpointUserSuppliedInfo; + struct MidiMessageStruct; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiChannel"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiClock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointConnection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformation"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceWatcher"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroup"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage128"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage32"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage64"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessage96"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiSession"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationFilters"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDeviceInformationSortOrder"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointDevicePurpose"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointNativeDataFormat"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockDirection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockRepresentsMidi10Connection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiFunctionBlockUIHint"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlockDirection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiGroupTerminalBlockProtocol"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageType"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiPacketType"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiProtocol"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiSendMessageResults"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredDeviceIdentity"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredEndpointInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiDeclaredStreamConfiguration"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointTransportSuppliedInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiEndpointUserSuppliedInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.MidiMessageStruct"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannel"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannelFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiChannelStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiClock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiClockStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnection"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionSettings"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionSource"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointConnectionStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformation"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationAddedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationRemovedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceInformationUpdatedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceWatcher"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointDeviceWatcherStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiEndpointMessageProcessingPlugin"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiFunctionBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroup"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiGroupTerminalBlock"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage128Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage32Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage64Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96Factory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessage96Statics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessageReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiMessageReceivedEventSource"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiSession"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiSessionStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.IMidiUniversalPacket"; + template <> inline constexpr guid guid_v{ 0x34DC7F81,0xF0C2,0x50D4,{ 0xBE,0xDF,0x42,0xFA,0xB9,0xA1,0xCE,0xF8 } }; // 34DC7F81-F0C2-50D4-BEDF-42FAB9A1CEF8 + template <> inline constexpr guid guid_v{ 0x02A0FF18,0xFE96,0x5193,{ 0x98,0xEF,0xD9,0x67,0x58,0xCD,0x68,0xD4 } }; // 02A0FF18-FE96-5193-98EF-D96758CD68D4 + template <> inline constexpr guid guid_v{ 0xEC86B553,0xADB5,0x5330,{ 0x99,0x60,0x1D,0x8B,0x3A,0x35,0xB0,0xC6 } }; // EC86B553-ADB5-5330-9960-1D8B3A35B0C6 + template <> inline constexpr guid guid_v{ 0xF065F78B,0xE4DC,0x55A7,{ 0x96,0x97,0x63,0x59,0xD0,0xEC,0xD7,0x3A } }; // F065F78B-E4DC-55A7-9697-6359D0ECD73A + template <> inline constexpr guid guid_v{ 0xF672B9EB,0xD41D,0x5CDD,{ 0xAF,0x7B,0x64,0x29,0x94,0x0B,0xE3,0xE7 } }; // F672B9EB-D41D-5CDD-AF7B-6429940BE3E7 + template <> inline constexpr guid guid_v{ 0x452EECE5,0x4FB8,0x5C0C,{ 0xB8,0xDA,0x46,0x70,0x30,0xBD,0xAC,0xE2 } }; // 452EECE5-4FB8-5C0C-B8DA-467030BDACE2 + template <> inline constexpr guid guid_v{ 0x65736736,0x35F3,0x421C,{ 0xA6,0x83,0x3A,0x03,0x4A,0xD0,0xDC,0xC2 } }; // 65736736-35F3-421C-A683-3A034AD0DCC2 + template <> inline constexpr guid guid_v{ 0x44385CDD,0xB64C,0x4195,{ 0x8F,0xAA,0x8A,0x61,0xFC,0x95,0x2A,0x23 } }; // 44385CDD-B64C-4195-8FAA-8A61FC952A23 + template <> inline constexpr guid guid_v{ 0x99355145,0xBC11,0x5B85,{ 0x9B,0x23,0x1B,0x58,0x26,0x6F,0x46,0x30 } }; // 99355145-BC11-5B85-9B23-1B58266F4630 + template <> inline constexpr guid guid_v{ 0xFB4A1253,0x4429,0x5765,{ 0x99,0xDE,0xFF,0x76,0xBB,0xED,0x58,0x8B } }; // FB4A1253-4429-5765-99DE-FF76BBED588B + template <> inline constexpr guid guid_v{ 0xECF028D0,0xEECC,0x5F99,{ 0x8A,0xDF,0x8F,0x29,0xB7,0x0B,0x29,0x6C } }; // ECF028D0-EECC-5F99-8ADF-8F29B70B296C + template <> inline constexpr guid guid_v{ 0x84D3DDE4,0xE6F8,0x5BA5,{ 0x97,0xB4,0xB8,0xD4,0xC5,0x0A,0xFD,0x9F } }; // 84D3DDE4-E6F8-5BA5-97B4-B8D4C50AFD9F + template <> inline constexpr guid guid_v{ 0x1D2C9C0A,0x428E,0x5F75,{ 0x89,0xD5,0x00,0xC3,0xA3,0x79,0x4D,0x88 } }; // 1D2C9C0A-428E-5F75-89D5-00C3A3794D88 + template <> inline constexpr guid guid_v{ 0xAA4B1E3A,0x04B6,0x5560,{ 0xBC,0x2B,0xCF,0xD1,0x64,0xC0,0xF1,0xDE } }; // AA4B1E3A-04B6-5560-BC2B-CFD164C0F1DE + template <> inline constexpr guid guid_v{ 0x5CBF4CAC,0x3409,0x5A57,{ 0x9C,0x47,0xFC,0xA8,0x3C,0x69,0xDB,0xE3 } }; // 5CBF4CAC-3409-5A57-9C47-FCA83C69DBE3 + template <> inline constexpr guid guid_v{ 0xF28F646C,0x6BE6,0x5E13,{ 0x8A,0x78,0x7F,0xD1,0xB8,0x5A,0x7E,0x95 } }; // F28F646C-6BE6-5E13-8A78-7FD1B85A7E95 + template <> inline constexpr guid guid_v{ 0x198D5EF2,0x313F,0x41AF,{ 0x92,0x59,0xA4,0x29,0x97,0xE0,0x60,0xF0 } }; // 198D5EF2-313F-41AF-9259-A42997E060F0 + template <> inline constexpr guid guid_v{ 0xEB43C123,0x5382,0x5C71,{ 0x8D,0x1B,0x22,0x3B,0x8F,0x76,0xC2,0x3B } }; // EB43C123-5382-5C71-8D1B-223B8F76C23B + template <> inline constexpr guid guid_v{ 0xD2FE009D,0x8542,0x5AE7,{ 0xA8,0xF8,0x4F,0x28,0x14,0x5E,0x3A,0x8F } }; // D2FE009D-8542-5AE7-A8F8-4F28145E3A8F + template <> inline constexpr guid guid_v{ 0xEC11AC98,0x616B,0x545C,{ 0xA0,0x6C,0x95,0xB3,0x91,0x5A,0xDB,0x41 } }; // EC11AC98-616B-545C-A06C-95B3915ADB41 + template <> inline constexpr guid guid_v{ 0x08071F7E,0xBA0B,0x5020,{ 0x8E,0x23,0xBC,0x81,0x9B,0x24,0xA4,0xE2 } }; // 08071F7E-BA0B-5020-8E23-BC819B24A4E2 + template <> inline constexpr guid guid_v{ 0x3DBA035F,0xE298,0x5F22,{ 0xB0,0x0B,0x51,0xC7,0x2D,0xCF,0xF7,0x1F } }; // 3DBA035F-E298-5F22-B00B-51C72DCFF71F + template <> inline constexpr guid guid_v{ 0xEFB9C9BB,0x4397,0x538A,{ 0xB1,0x7F,0xBC,0x83,0x00,0x12,0xE1,0xEA } }; // EFB9C9BB-4397-538A-B17F-BC830012E1EA + template <> inline constexpr guid guid_v{ 0x6FB629DF,0xE277,0x5EE8,{ 0xB7,0xB8,0x13,0xA3,0x52,0x8B,0xA2,0x55 } }; // 6FB629DF-E277-5EE8-B7B8-13A3528BA255 + template <> inline constexpr guid guid_v{ 0x722B7533,0x8EFB,0x5CA9,{ 0x93,0x99,0x74,0xEE,0x2D,0x8D,0x53,0x8C } }; // 722B7533-8EFB-5CA9-9399-74EE2D8D538C + template <> inline constexpr guid guid_v{ 0x1C2EC0A7,0xE093,0x5FF0,{ 0xA0,0x9B,0x77,0x68,0x6A,0x75,0x64,0x18 } }; // 1C2EC0A7-E093-5FF0-A09B-77686A756418 + template <> inline constexpr guid guid_v{ 0x47D7FD0F,0x7945,0x5283,{ 0xB1,0x1B,0xA4,0xF5,0xCF,0xBB,0xF6,0xF2 } }; // 47D7FD0F-7945-5283-B11B-A4F5CFBBF6F2 + template <> inline constexpr guid guid_v{ 0x52D01ECA,0x60AC,0x5229,{ 0xAA,0xC2,0xAF,0xA7,0x2E,0xF1,0x40,0x45 } }; // 52D01ECA-60AC-5229-AAC2-AFA72EF14045 + template <> inline constexpr guid guid_v{ 0x62885C57,0x325C,0x5A7C,{ 0xB1,0x8F,0xDE,0x36,0x0A,0xC3,0x77,0xBD } }; // 62885C57-325C-5A7C-B18F-DE360AC377BD + template <> inline constexpr guid guid_v{ 0x10B85E46,0xC6B8,0x593A,{ 0x93,0x85,0x11,0xAE,0x2F,0xCE,0xB9,0xF1 } }; // 10B85E46-C6B8-593A-9385-11AE2FCEB9F1 + template <> inline constexpr guid guid_v{ 0xA75E98A2,0xC6AC,0x5333,{ 0x89,0x65,0x97,0xCD,0xA8,0x80,0x85,0x2E } }; // A75E98A2-C6AC-5333-8965-97CDA880852E + template <> inline constexpr guid guid_v{ 0x82B6C4F8,0xC292,0x50DA,{ 0xBD,0xDF,0xC1,0x18,0x6D,0x3B,0x9E,0xE6 } }; // 82B6C4F8-C292-50DA-BDDF-C1186D3B9EE6 + template <> inline constexpr guid guid_v{ 0x4AC4FE62,0x41C9,0x5605,{ 0x9D,0xB8,0xDE,0xD7,0xCB,0x44,0xB8,0x59 } }; // 4AC4FE62-41C9-5605-9DB8-DED7CB44B859 + template <> inline constexpr guid guid_v{ 0x80451AFD,0xE703,0x5790,{ 0x9C,0xF7,0x4A,0x17,0xAD,0x1E,0x47,0x3B } }; // 80451AFD-E703-5790-9CF7-4A17AD1E473B + template <> inline constexpr guid guid_v{ 0x190C0204,0x845B,0x5A20,{ 0xB9,0x5E,0x91,0x78,0xA8,0xDD,0xAF,0xC6 } }; // 190C0204-845B-5A20-B95E-9178A8DDAFC6 + template <> inline constexpr guid guid_v{ 0x101CEB4B,0xCCA4,0x48A1,{ 0xB9,0x1E,0x60,0x02,0xB9,0x28,0x61,0x3C } }; // 101CEB4B-CCA4-48A1-B91E-6002B928613C + template <> inline constexpr guid guid_v{ 0x47D3E2F0,0xB352,0x5D13,{ 0x88,0x37,0xE4,0x8F,0xF4,0x84,0x5F,0xA0 } }; // 47D3E2F0-B352-5D13-8837-E48FF4845FA0 + template <> inline constexpr guid guid_v{ 0x8678C907,0x163D,0x5D86,{ 0xBF,0xC7,0xFE,0x80,0x04,0x63,0x61,0x86 } }; // 8678C907-163D-5D86-BFC7-FE8004636186 + template <> inline constexpr guid guid_v{ 0x2EB5DF8A,0xD751,0x4997,{ 0xBF,0x96,0xBA,0x9A,0x53,0x1F,0xD5,0xFF } }; // 2EB5DF8A-D751-4997-BF96-BA9A531FD5FF + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiClock; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::IMidiSession; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Index(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Index(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayValue(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; + virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; + virtual int32_t __stdcall IsValidIndex(uint8_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Now(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TimestampConstantSendImmediately(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_TimestampFrequency(uint64_t*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToNanoseconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToMicroseconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToMilliseconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall ConvertTimestampTicksToSeconds(uint64_t, double*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampByTicks(uint64_t, int64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampByMicroseconds(uint64_t, int64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampByMilliseconds(uint64_t, int64_t, uint64_t*) noexcept = 0; + virtual int32_t __stdcall OffsetTimestampBySeconds(uint64_t, int64_t, uint64_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ConnectionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ConnectedEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Tag(void**) noexcept = 0; + virtual int32_t __stdcall put_Tag(void*) noexcept = 0; + virtual int32_t __stdcall get_LogMessageDataValidationErrorDetails(bool*) noexcept = 0; + virtual int32_t __stdcall put_LogMessageDataValidationErrorDetails(bool) noexcept = 0; + virtual int32_t __stdcall get_Settings(void**) noexcept = 0; + virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; + virtual int32_t __stdcall Open(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsAutoReconnectEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall get_MessageProcessingPlugins(void**) noexcept = 0; + virtual int32_t __stdcall AddMessageProcessingPlugin(void*) noexcept = 0; + virtual int32_t __stdcall RemoveMessageProcessingPlugin(winrt::guid) noexcept = 0; + virtual int32_t __stdcall SendSingleMessagePacket(void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageStruct(uint64_t, uint8_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct const&, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWordArray(uint64_t, uint32_t, uint8_t, uint32_t, uint32_t*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords(uint64_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords2(uint64_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords3(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageWords4(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendSingleMessageBuffer(uint64_t, uint32_t, uint8_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesWordList(uint64_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesWordArray(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesPacketList(void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesStructList(uint64_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesStructArray(uint64_t, uint32_t, uint32_t, uint32_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall SendMultipleMessagesBuffer(uint64_t, uint32_t, uint32_t, void*, uint32_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SettingsJson(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_EndpointDeviceDisconnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EndpointDeviceDisconnected(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EndpointDeviceReconnected(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EndpointDeviceReconnected(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0; + virtual int32_t __stdcall SendMessageSucceeded(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall SendMessageFailed(uint32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_ContainerId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInstanceId(void**) noexcept = 0; + virtual int32_t __stdcall get_EndpointPurpose(int32_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredEndpointInfoLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredDeviceIdentityLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredStreamConfiguration(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredStreamConfigurationLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetDeclaredFunctionBlocks(void**) noexcept = 0; + virtual int32_t __stdcall get_DeclaredFunctionBlocksLastUpdateTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall GetGroupTerminalBlocks(void**) noexcept = 0; + virtual int32_t __stdcall GetUserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo*) noexcept = 0; + virtual int32_t __stdcall GetTransportSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo*) noexcept = 0; + virtual int32_t __stdcall GetParentDeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall GetContainerDeviceInformation(void**) noexcept = 0; + virtual int32_t __stdcall get_Properties(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AddedDevice(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromEndpointDeviceId(void*, void**) noexcept = 0; + virtual int32_t __stdcall FindAll(void**) noexcept = 0; + virtual int32_t __stdcall FindAll2(int32_t, void**) noexcept = 0; + virtual int32_t __stdcall FindAll3(int32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall get_EndpointInterfaceClass(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall GetAdditionalPropertiesList(void**) noexcept = 0; + virtual int32_t __stdcall DeviceMatchesFilter(void*, uint32_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_IsNameUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsEndpointInformationUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsDeviceIdentityUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsStreamConfigurationUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_AreFunctionBlocksUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsUserMetadataUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_AreAdditionalCapabilitiesUpdated(bool*) noexcept = 0; + virtual int32_t __stdcall get_DeviceInformationUpdate(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Start() noexcept = 0; + virtual int32_t __stdcall Stop() noexcept = 0; + virtual int32_t __stdcall get_EnumeratedEndpointDevices(void**) noexcept = 0; + virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; + virtual int32_t __stdcall add_Added(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Added(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Removed(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Removed(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Updated(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Updated(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_EnumerationCompleted(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_EnumerationCompleted(winrt::event_token) noexcept = 0; + virtual int32_t __stdcall add_Stopped(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_Stopped(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void**) noexcept = 0; + virtual int32_t __stdcall Create2(uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_PluginId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PluginName(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginName(void*) noexcept = 0; + virtual int32_t __stdcall get_PluginTag(void**) noexcept = 0; + virtual int32_t __stdcall put_PluginTag(void*) noexcept = 0; + virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; + virtual int32_t __stdcall Initialize(void*) noexcept = 0; + virtual int32_t __stdcall OnEndpointConnectionOpened() noexcept = 0; + virtual int32_t __stdcall ProcessIncomingMessage(void*, bool*, bool*) noexcept = 0; + virtual int32_t __stdcall Cleanup() noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; + virtual int32_t __stdcall get_Number(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Number(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_IsActive(bool*) noexcept = 0; + virtual int32_t __stdcall put_IsActive(bool) noexcept = 0; + virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_Direction(int32_t) noexcept = 0; + virtual int32_t __stdcall get_UIHint(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_UIHint(int32_t) noexcept = 0; + virtual int32_t __stdcall get_RepresentsMidi10Connection(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_RepresentsMidi10Connection(int32_t) noexcept = 0; + virtual int32_t __stdcall get_FirstGroupIndex(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_FirstGroupIndex(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_GroupCount(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_GroupCount(uint8_t) noexcept = 0; + virtual int32_t __stdcall IncludesGroup(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_MidiCIMessageVersionFormat(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MidiCIMessageVersionFormat(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_MaxSystemExclusive8Streams(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_MaxSystemExclusive8Streams(uint8_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Index(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Index(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_DisplayValue(uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; + virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; + virtual int32_t __stdcall IsValidIndex(uint8_t, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Number(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_Direction(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_Protocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_FirstGroupIndex(uint8_t*) noexcept = 0; + virtual int32_t __stdcall get_GroupCount(uint8_t*) noexcept = 0; + virtual int32_t __stdcall IncludesGroup(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_MaxDeviceInputBandwidthIn4KBitsPerSecondUnits(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits(uint16_t*) noexcept = 0; + virtual int32_t __stdcall get_CalculatedMaxDeviceInputBandwidthBitsPerSecond(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_CalculatedMaxDeviceOutputBandwidthBitsPerSecond(uint32_t*) noexcept = 0; + virtual int32_t __stdcall AsEquivalentFunctionBlock(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word2(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word3(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word3(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Word0(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word0(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word1(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word1(uint32_t) noexcept = 0; + virtual int32_t __stdcall get_Word2(uint32_t*) noexcept = 0; + virtual int32_t __stdcall put_Word2(uint32_t) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint64_t, uint32_t, uint32_t, uint32_t, void*, void**, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(uint64_t, uint32_t, uint32_t*, void*, void**, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateFromStruct(uint64_t, struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_PacketType(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall PeekFirstWord(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetMessagePacket(void**) noexcept = 0; + virtual int32_t __stdcall FillWords(uint32_t*, uint32_t*, uint32_t*, uint32_t*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillMessageStruct(struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillMessage32(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillMessage64(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillMessage96(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillMessage128(void*, bool*) noexcept = 0; + virtual int32_t __stdcall FillWordArray(uint32_t, uint32_t, uint32_t*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillByteArray(uint32_t, uint32_t, uint8_t*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillBuffer(uint32_t, void*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall AppendWordsToList(void*, uint8_t*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall add_MessageReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_MessageReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall get_IsOpen(bool*) noexcept = 0; + virtual int32_t __stdcall get_Connections(void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointConnection(void*, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointConnection2(void*, bool, void**) noexcept = 0; + virtual int32_t __stdcall CreateEndpointConnection3(void*, bool, void*, void**) noexcept = 0; + virtual int32_t __stdcall DisconnectEndpointConnection(winrt::guid) noexcept = 0; + virtual int32_t __stdcall UpdateName(void*, bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall Create(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall put_Timestamp(uint64_t) noexcept = 0; + virtual int32_t __stdcall get_MessageType(int32_t*) noexcept = 0; + virtual int32_t __stdcall put_MessageType(int32_t) noexcept = 0; + virtual int32_t __stdcall get_PacketType(int32_t*) noexcept = 0; + virtual int32_t __stdcall PeekFirstWord(uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetAllWords(void**) noexcept = 0; + virtual int32_t __stdcall AppendAllMessageWordsToList(void*, uint8_t*) noexcept = 0; + virtual int32_t __stdcall FillBuffer(uint32_t, void*, uint8_t*) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannel + { + [[nodiscard]] auto Index() const; + auto Index(uint8_t value) const; + [[nodiscard]] auto DisplayValue() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannel; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory + { + auto CreateInstance(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannelFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics + { + [[nodiscard]] auto ShortLabel() const; + [[nodiscard]] auto LongLabel() const; + auto IsValidIndex(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiChannelStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiClock + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiClock; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics + { + [[nodiscard]] auto Now() const; + [[nodiscard]] auto TimestampConstantSendImmediately() const; + [[nodiscard]] auto TimestampFrequency() const; + auto ConvertTimestampTicksToNanoseconds(uint64_t timestampValue) const; + auto ConvertTimestampTicksToMicroseconds(uint64_t timestampValue) const; + auto ConvertTimestampTicksToMilliseconds(uint64_t timestampValue) const; + auto ConvertTimestampTicksToSeconds(uint64_t timestampValue) const; + auto OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks) const; + auto OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds) const; + auto OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds) const; + auto OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiClockStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection + { + [[nodiscard]] auto ConnectionId() const; + [[nodiscard]] auto ConnectedEndpointDeviceId() const; + [[nodiscard]] auto Tag() const; + auto Tag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto LogMessageDataValidationErrorDetails() const; + auto LogMessageDataValidationErrorDetails(bool value) const; + [[nodiscard]] auto Settings() const; + [[nodiscard]] auto IsOpen() const; + auto Open() const; + [[nodiscard]] auto IsAutoReconnectEnabled() const; + [[nodiscard]] auto MessageProcessingPlugins() const; + auto AddMessageProcessingPlugin(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin const& plugin) const; + auto RemoveMessageProcessingPlugin(winrt::guid const& id) const; + auto SendSingleMessagePacket(winrt::Microsoft::Windows::Devices::Midi2::IMidiUniversalPacket const& message) const; + auto SendSingleMessageStruct(uint64_t timestamp, uint8_t wordCount, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + auto SendSingleMessageWordArray(uint64_t timestamp, uint32_t startIndex, uint8_t wordCount, array_view words) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2) const; + auto SendSingleMessageWords(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3) const; + auto SendSingleMessageBuffer(uint64_t timestamp, uint32_t byteOffset, uint8_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + auto SendMultipleMessagesWordList(uint64_t timestamp, param::iterable const& words) const; + auto SendMultipleMessagesWordArray(uint64_t timestamp, uint32_t startIndex, uint32_t wordCount, array_view words) const; + auto SendMultipleMessagesPacketList(param::iterable const& messages) const; + auto SendMultipleMessagesStructList(uint64_t timestamp, param::iterable const& messages) const; + auto SendMultipleMessagesStructArray(uint64_t timestamp, uint32_t startIndex, uint32_t messageCount, array_view messages) const; + auto SendMultipleMessagesBuffer(uint64_t timestamp, uint32_t byteOffset, uint32_t byteCount, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnection; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings + { + [[nodiscard]] auto SettingsJson() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSettings; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource + { + auto EndpointDeviceDisconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EndpointDeviceDisconnected_revoker = impl::event_revoker::remove_EndpointDeviceDisconnected>; + [[nodiscard]] auto EndpointDeviceDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndpointDeviceDisconnected(winrt::event_token const& token) const noexcept; + auto EndpointDeviceReconnected(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EndpointDeviceReconnected_revoker = impl::event_revoker::remove_EndpointDeviceReconnected>; + [[nodiscard]] auto EndpointDeviceReconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EndpointDeviceReconnected(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionSource; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics + { + auto GetDeviceSelector() const; + auto SendMessageSucceeded(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const; + auto SendMessageFailed(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointConnectionStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto ContainerId() const; + [[nodiscard]] auto DeviceInstanceId() const; + [[nodiscard]] auto EndpointPurpose() const; + auto GetDeclaredEndpointInfo() const; + [[nodiscard]] auto DeclaredEndpointInfoLastUpdateTime() const; + auto GetDeclaredDeviceIdentity() const; + [[nodiscard]] auto DeclaredDeviceIdentityLastUpdateTime() const; + auto GetDeclaredStreamConfiguration() const; + [[nodiscard]] auto DeclaredStreamConfigurationLastUpdateTime() const; + auto GetDeclaredFunctionBlocks() const; + [[nodiscard]] auto DeclaredFunctionBlocksLastUpdateTime() const; + auto GetGroupTerminalBlocks() const; + auto GetUserSuppliedInfo() const; + auto GetTransportSuppliedInfo() const; + auto GetParentDeviceInformation() const; + auto GetContainerDeviceInformation() const; + [[nodiscard]] auto Properties() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformation; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs + { + [[nodiscard]] auto AddedDevice() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationAddedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto DeviceInformationUpdate() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationRemovedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics + { + auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId) const; + auto FindAll() const; + auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) const; + auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; + [[nodiscard]] auto EndpointInterfaceClass() const; + auto GetAdditionalPropertiesList() const; + auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto IsNameUpdated() const; + [[nodiscard]] auto IsEndpointInformationUpdated() const; + [[nodiscard]] auto IsDeviceIdentityUpdated() const; + [[nodiscard]] auto IsStreamConfigurationUpdated() const; + [[nodiscard]] auto AreFunctionBlocksUpdated() const; + [[nodiscard]] auto IsUserMetadataUpdated() const; + [[nodiscard]] auto AreAdditionalCapabilitiesUpdated() const; + [[nodiscard]] auto DeviceInformationUpdate() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceInformationUpdatedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher + { + auto Start() const; + auto Stop() const; + [[nodiscard]] auto EnumeratedEndpointDevices() const; + [[nodiscard]] auto Status() const; + auto Added(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Added_revoker = impl::event_revoker::remove_Added>; + [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Added(winrt::event_token const& token) const noexcept; + auto Removed(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Removed_revoker = impl::event_revoker::remove_Removed>; + [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Removed(winrt::event_token const& token) const noexcept; + auto Updated(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Updated_revoker = impl::event_revoker::remove_Updated>; + [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Updated(winrt::event_token const& token) const noexcept; + auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using EnumerationCompleted_revoker = impl::event_revoker::remove_EnumerationCompleted>; + [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto EnumerationCompleted(winrt::event_token const& token) const noexcept; + auto Stopped(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using Stopped_revoker = impl::event_revoker::remove_Stopped>; + [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto Stopped(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcher; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics + { + auto Create() const; + auto Create(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointDeviceWatcherStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin + { + [[nodiscard]] auto PluginId() const; + [[nodiscard]] auto PluginName() const; + auto PluginName(param::hstring const& value) const; + [[nodiscard]] auto PluginTag() const; + auto PluginTag(winrt::Windows::Foundation::IInspectable const& value) const; + [[nodiscard]] auto IsEnabled() const; + auto IsEnabled(bool value) const; + auto Initialize(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSource const& endpointConnection) const; + auto OnEndpointConnectionOpened() const; + auto ProcessIncomingMessage(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageReceivedEventArgs const& args, bool& skipFurtherListeners, bool& skipMainMessageReceivedEvent) const; + auto Cleanup() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock + { + [[nodiscard]] auto IsReadOnly() const; + [[nodiscard]] auto Number() const; + auto Number(uint8_t value) const; + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto IsActive() const; + auto IsActive(bool value) const; + [[nodiscard]] auto Direction() const; + auto Direction(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& value) const; + [[nodiscard]] auto UIHint() const; + auto UIHint(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& value) const; + [[nodiscard]] auto RepresentsMidi10Connection() const; + auto RepresentsMidi10Connection(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& value) const; + [[nodiscard]] auto FirstGroupIndex() const; + auto FirstGroupIndex(uint8_t value) const; + [[nodiscard]] auto GroupCount() const; + auto GroupCount(uint8_t value) const; + auto IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const; + [[nodiscard]] auto MidiCIMessageVersionFormat() const; + auto MidiCIMessageVersionFormat(uint8_t value) const; + [[nodiscard]] auto MaxSystemExclusive8Streams() const; + auto MaxSystemExclusive8Streams(uint8_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiFunctionBlock; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroup + { + [[nodiscard]] auto Index() const; + auto Index(uint8_t value) const; + [[nodiscard]] auto DisplayValue() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroup; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory + { + auto CreateInstance(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics + { + [[nodiscard]] auto ShortLabel() const; + [[nodiscard]] auto LongLabel() const; + auto IsValidIndex(uint8_t index) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock + { + [[nodiscard]] auto Number() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto Direction() const; + [[nodiscard]] auto Protocol() const; + [[nodiscard]] auto FirstGroupIndex() const; + [[nodiscard]] auto GroupCount() const; + auto IncludesGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group) const; + [[nodiscard]] auto MaxDeviceInputBandwidthIn4KBitsPerSecondUnits() const; + [[nodiscard]] auto MaxDeviceOutputBandwidthIn4KBitsPerSecondUnits() const; + [[nodiscard]] auto CalculatedMaxDeviceInputBandwidthBitsPerSecond() const; + [[nodiscard]] auto CalculatedMaxDeviceOutputBandwidthBitsPerSecond() const; + auto AsEquivalentFunctionBlock() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiGroupTerminalBlock; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + [[nodiscard]] auto Word1() const; + auto Word1(uint32_t value) const; + [[nodiscard]] auto Word2() const; + auto Word2(uint32_t value) const; + [[nodiscard]] auto Word3() const; + auto Word3(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage128Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage32Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + [[nodiscard]] auto Word1() const; + auto Word1(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage64Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96 + { + [[nodiscard]] auto Word0() const; + auto Word0(uint32_t value) const; + [[nodiscard]] auto Word1() const; + auto Word1(uint32_t value) const; + [[nodiscard]] auto Word2() const; + auto Word2(uint32_t value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory + { + auto CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance2(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + auto CreateInstance3(uint64_t timestamp, array_view words, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Factory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics + { + auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessage96Statics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PacketType() const; + [[nodiscard]] auto MessageType() const; + auto PeekFirstWord() const; + auto GetMessagePacket() const; + auto FillWords(uint32_t& word0, uint32_t& word1, uint32_t& word2, uint32_t& word3) const; + auto FillMessageStruct(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct& message) const; + auto FillMessage32(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage32 const& message) const; + auto FillMessage64(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage64 const& message) const; + auto FillMessage96(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage96 const& message) const; + auto FillMessage128(winrt::Microsoft::Windows::Devices::Midi2::MidiMessage128 const& message) const; + auto FillWordArray(uint32_t startIndex, array_view words) const; + auto FillByteArray(uint32_t startIndex, array_view bytes) const; + auto FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + auto AppendWordsToList(param::vector const& wordList) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource + { + auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using MessageReceived_revoker = impl::event_revoker::remove_MessageReceived>; + [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto MessageReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiMessageReceivedEventSource; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiSession + { + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto Name() const; + [[nodiscard]] auto IsOpen() const; + [[nodiscard]] auto Connections() const; + auto CreateEndpointConnection(param::hstring const& endpointDeviceId) const; + auto CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect) const; + auto CreateEndpointConnection(param::hstring const& endpointDeviceId, bool autoReconnect, winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnectionSettings const& settings) const; + auto DisconnectEndpointConnection(winrt::guid const& endpointConnectionId) const; + auto UpdateName(param::hstring const& newName) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiSession; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics + { + auto Create(param::hstring const& sessionName) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiSessionStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket + { + [[nodiscard]] auto Timestamp() const; + auto Timestamp(uint64_t value) const; + [[nodiscard]] auto MessageType() const; + auto MessageType(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& value) const; + [[nodiscard]] auto PacketType() const; + auto PeekFirstWord() const; + auto GetAllWords() const; + auto AppendAllMessageWordsToList(param::vector const& targetList) const; + auto FillBuffer(uint32_t byteOffset, winrt::Windows::Foundation::IMemoryBuffer const& buffer) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_IMidiUniversalPacket; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity + { + uint8_t SystemExclusiveIdByte1; + uint8_t SystemExclusiveIdByte2; + uint8_t SystemExclusiveIdByte3; + uint8_t DeviceFamilyLsb; + uint8_t DeviceFamilyMsb; + uint8_t DeviceFamilyModelNumberLsb; + uint8_t DeviceFamilyModelNumberMsb; + uint8_t SoftwareRevisionLevelByte1; + uint8_t SoftwareRevisionLevelByte2; + uint8_t SoftwareRevisionLevelByte3; + uint8_t SoftwareRevisionLevelByte4; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo + { + void* Name; + void* ProductInstanceId; + bool SupportsMidi10Protocol; + bool SupportsMidi20Protocol; + bool SupportsReceivingJitterReductionTimestamps; + bool SupportsSendingJitterReductionTimestamps; + bool HasStaticFunctionBlocks; + uint8_t DeclaredFunctionBlockCount; + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration + { + int32_t Protocol; + bool ReceiveJitterReductionTimestamps; + bool SendJitterReductionTimestamps; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredStreamConfiguration; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo + { + void* Name; + void* Description; + void* SerialNumber; + uint16_t VendorId; + uint16_t ProductId; + void* ManufacturerName; + bool SupportsMultiClient; + int32_t NativeDataFormat; + winrt::guid TransportId; + void* TransportAbbreviation; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiEndpointTransportSuppliedInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo + { + void* Name; + void* Description; + void* LargeImagePath; + void* SmallImagePath; + bool RequiresNoteOffTranslation; + uint16_t RecommendedControlChangeAutomationIntervalMilliseconds; + bool SupportsMidiPolyphonicExpression; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct + { + uint32_t Word0; + uint32_t Word1; + uint32_t Word2; + uint32_t Word3; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_MidiMessageStruct; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h new file mode 100644 index 000000000..3958e0869 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h @@ -0,0 +1,283 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + struct WINRT_IMPL_EMPTY_BASES IMidiChannel : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiChannel(std::nullptr_t = nullptr) noexcept {} + IMidiChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiChannelFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiChannelFactory(std::nullptr_t = nullptr) noexcept {} + IMidiChannelFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiChannelStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiChannelStatics(std::nullptr_t = nullptr) noexcept {} + IMidiChannelStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiClock : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiClock(std::nullptr_t = nullptr) noexcept {} + IMidiClock(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiClockStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiClockStatics(std::nullptr_t = nullptr) noexcept {} + IMidiClockStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointConnection : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointConnection(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointConnectionSettings : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointConnectionSettings(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointConnectionSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointConnectionSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointConnectionSource(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointConnectionSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointConnectionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointConnectionStatics(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointConnectionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceInformation : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceInformation(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceInformationAddedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceInformationAddedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceInformationAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceInformationRemovedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceInformationRemovedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceInformationRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceInformationStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceInformationStatics(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceInformationStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceInformationUpdatedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceInformationUpdatedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceInformationUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceWatcher : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceWatcher(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointDeviceWatcherStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointDeviceWatcherStatics(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointDeviceWatcherStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiEndpointMessageProcessingPlugin : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiEndpointMessageProcessingPlugin(std::nullptr_t = nullptr) noexcept {} + IMidiEndpointMessageProcessingPlugin(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiFunctionBlock : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiFunctionBlock(std::nullptr_t = nullptr) noexcept {} + IMidiFunctionBlock(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiGroup : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiGroup(std::nullptr_t = nullptr) noexcept {} + IMidiGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiGroupFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiGroupFactory(std::nullptr_t = nullptr) noexcept {} + IMidiGroupFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiGroupStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiGroupStatics(std::nullptr_t = nullptr) noexcept {} + IMidiGroupStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiGroupTerminalBlock : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiGroupTerminalBlock(std::nullptr_t = nullptr) noexcept {} + IMidiGroupTerminalBlock(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage128 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage128(std::nullptr_t = nullptr) noexcept {} + IMidiMessage128(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage128Factory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage128Factory(std::nullptr_t = nullptr) noexcept {} + IMidiMessage128Factory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage128Statics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage128Statics(std::nullptr_t = nullptr) noexcept {} + IMidiMessage128Statics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage32 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage32(std::nullptr_t = nullptr) noexcept {} + IMidiMessage32(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage32Factory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage32Factory(std::nullptr_t = nullptr) noexcept {} + IMidiMessage32Factory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage32Statics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage32Statics(std::nullptr_t = nullptr) noexcept {} + IMidiMessage32Statics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage64 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage64(std::nullptr_t = nullptr) noexcept {} + IMidiMessage64(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage64Factory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage64Factory(std::nullptr_t = nullptr) noexcept {} + IMidiMessage64Factory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage64Statics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage64Statics(std::nullptr_t = nullptr) noexcept {} + IMidiMessage64Statics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage96 : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage96(std::nullptr_t = nullptr) noexcept {} + IMidiMessage96(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage96Factory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage96Factory(std::nullptr_t = nullptr) noexcept {} + IMidiMessage96Factory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessage96Statics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessage96Statics(std::nullptr_t = nullptr) noexcept {} + IMidiMessage96Statics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessageReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMidiMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessageReceivedEventSource : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageReceivedEventSource(std::nullptr_t = nullptr) noexcept {} + IMidiMessageReceivedEventSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSession : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiSession(std::nullptr_t = nullptr) noexcept {} + IMidiSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiSessionStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiSessionStatics(std::nullptr_t = nullptr) noexcept {} + IMidiSessionStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiUniversalPacket : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiUniversalPacket(std::nullptr_t = nullptr) noexcept {} + IMidiUniversalPacket(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..e322db4de --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h @@ -0,0 +1,261 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + struct MidiDeclaredDeviceIdentity + { + uint8_t SystemExclusiveIdByte1; + uint8_t SystemExclusiveIdByte2; + uint8_t SystemExclusiveIdByte3; + uint8_t DeviceFamilyLsb; + uint8_t DeviceFamilyMsb; + uint8_t DeviceFamilyModelNumberLsb; + uint8_t DeviceFamilyModelNumberMsb; + uint8_t SoftwareRevisionLevelByte1; + uint8_t SoftwareRevisionLevelByte2; + uint8_t SoftwareRevisionLevelByte3; + uint8_t SoftwareRevisionLevelByte4; + }; + inline bool operator==(MidiDeclaredDeviceIdentity const& left, MidiDeclaredDeviceIdentity const& right) noexcept + { + return left.SystemExclusiveIdByte1 == right.SystemExclusiveIdByte1 && left.SystemExclusiveIdByte2 == right.SystemExclusiveIdByte2 && left.SystemExclusiveIdByte3 == right.SystemExclusiveIdByte3 && left.DeviceFamilyLsb == right.DeviceFamilyLsb && left.DeviceFamilyMsb == right.DeviceFamilyMsb && left.DeviceFamilyModelNumberLsb == right.DeviceFamilyModelNumberLsb && left.DeviceFamilyModelNumberMsb == right.DeviceFamilyModelNumberMsb && left.SoftwareRevisionLevelByte1 == right.SoftwareRevisionLevelByte1 && left.SoftwareRevisionLevelByte2 == right.SoftwareRevisionLevelByte2 && left.SoftwareRevisionLevelByte3 == right.SoftwareRevisionLevelByte3 && left.SoftwareRevisionLevelByte4 == right.SoftwareRevisionLevelByte4; + } + inline bool operator!=(MidiDeclaredDeviceIdentity const& left, MidiDeclaredDeviceIdentity const& right) noexcept + { + return !(left == right); + } + struct MidiDeclaredEndpointInfo + { + hstring Name; + hstring ProductInstanceId; + bool SupportsMidi10Protocol; + bool SupportsMidi20Protocol; + bool SupportsReceivingJitterReductionTimestamps; + bool SupportsSendingJitterReductionTimestamps; + bool HasStaticFunctionBlocks; + uint8_t DeclaredFunctionBlockCount; + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + }; + inline bool operator==(MidiDeclaredEndpointInfo const& left, MidiDeclaredEndpointInfo const& right) noexcept + { + return left.Name == right.Name && left.ProductInstanceId == right.ProductInstanceId && left.SupportsMidi10Protocol == right.SupportsMidi10Protocol && left.SupportsMidi20Protocol == right.SupportsMidi20Protocol && left.SupportsReceivingJitterReductionTimestamps == right.SupportsReceivingJitterReductionTimestamps && left.SupportsSendingJitterReductionTimestamps == right.SupportsSendingJitterReductionTimestamps && left.HasStaticFunctionBlocks == right.HasStaticFunctionBlocks && left.DeclaredFunctionBlockCount == right.DeclaredFunctionBlockCount && left.SpecificationVersionMajor == right.SpecificationVersionMajor && left.SpecificationVersionMinor == right.SpecificationVersionMinor; + } + inline bool operator!=(MidiDeclaredEndpointInfo const& left, MidiDeclaredEndpointInfo const& right) noexcept + { + return !(left == right); + } + struct MidiDeclaredStreamConfiguration + { + winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol Protocol; + bool ReceiveJitterReductionTimestamps; + bool SendJitterReductionTimestamps; + }; + inline bool operator==(MidiDeclaredStreamConfiguration const& left, MidiDeclaredStreamConfiguration const& right) noexcept + { + return left.Protocol == right.Protocol && left.ReceiveJitterReductionTimestamps == right.ReceiveJitterReductionTimestamps && left.SendJitterReductionTimestamps == right.SendJitterReductionTimestamps; + } + inline bool operator!=(MidiDeclaredStreamConfiguration const& left, MidiDeclaredStreamConfiguration const& right) noexcept + { + return !(left == right); + } + struct MidiEndpointTransportSuppliedInfo + { + hstring Name; + hstring Description; + hstring SerialNumber; + uint16_t VendorId; + uint16_t ProductId; + hstring ManufacturerName; + bool SupportsMultiClient; + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointNativeDataFormat NativeDataFormat; + winrt::guid TransportId; + hstring TransportAbbreviation; + }; + inline bool operator==(MidiEndpointTransportSuppliedInfo const& left, MidiEndpointTransportSuppliedInfo const& right) noexcept + { + return left.Name == right.Name && left.Description == right.Description && left.SerialNumber == right.SerialNumber && left.VendorId == right.VendorId && left.ProductId == right.ProductId && left.ManufacturerName == right.ManufacturerName && left.SupportsMultiClient == right.SupportsMultiClient && left.NativeDataFormat == right.NativeDataFormat && left.TransportId == right.TransportId && left.TransportAbbreviation == right.TransportAbbreviation; + } + inline bool operator!=(MidiEndpointTransportSuppliedInfo const& left, MidiEndpointTransportSuppliedInfo const& right) noexcept + { + return !(left == right); + } + struct MidiEndpointUserSuppliedInfo + { + hstring Name; + hstring Description; + hstring LargeImagePath; + hstring SmallImagePath; + bool RequiresNoteOffTranslation; + uint16_t RecommendedControlChangeAutomationIntervalMilliseconds; + bool SupportsMidiPolyphonicExpression; + }; + inline bool operator==(MidiEndpointUserSuppliedInfo const& left, MidiEndpointUserSuppliedInfo const& right) noexcept + { + return left.Name == right.Name && left.Description == right.Description && left.LargeImagePath == right.LargeImagePath && left.SmallImagePath == right.SmallImagePath && left.RequiresNoteOffTranslation == right.RequiresNoteOffTranslation && left.RecommendedControlChangeAutomationIntervalMilliseconds == right.RecommendedControlChangeAutomationIntervalMilliseconds && left.SupportsMidiPolyphonicExpression == right.SupportsMidiPolyphonicExpression; + } + inline bool operator!=(MidiEndpointUserSuppliedInfo const& left, MidiEndpointUserSuppliedInfo const& right) noexcept + { + return !(left == right); + } + struct MidiMessageStruct + { + uint32_t Word0; + uint32_t Word1; + uint32_t Word2; + uint32_t Word3; + }; + inline bool operator==(MidiMessageStruct const& left, MidiMessageStruct const& right) noexcept + { + return left.Word0 == right.Word0 && left.Word1 == right.Word1 && left.Word2 == right.Word2 && left.Word3 == right.Word3; + } + inline bool operator!=(MidiMessageStruct const& left, MidiMessageStruct const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES MidiChannel : winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel + { + MidiChannel(std::nullptr_t) noexcept {} + MidiChannel(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiChannel(ptr, take_ownership_from_abi) {} + explicit MidiChannel(uint8_t index); + [[nodiscard]] static auto ShortLabel(); + [[nodiscard]] static auto LongLabel(); + static auto IsValidIndex(uint8_t index); + }; + struct WINRT_IMPL_EMPTY_BASES MidiClock : winrt::Microsoft::Windows::Devices::Midi2::IMidiClock + { + MidiClock(std::nullptr_t) noexcept {} + MidiClock(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiClock(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto Now(); + [[nodiscard]] static auto TimestampConstantSendImmediately(); + [[nodiscard]] static auto TimestampFrequency(); + static auto ConvertTimestampTicksToNanoseconds(uint64_t timestampValue); + static auto ConvertTimestampTicksToMicroseconds(uint64_t timestampValue); + static auto ConvertTimestampTicksToMilliseconds(uint64_t timestampValue); + static auto ConvertTimestampTicksToSeconds(uint64_t timestampValue); + static auto OffsetTimestampByTicks(uint64_t timestampValue, int64_t offsetTicks); + static auto OffsetTimestampByMicroseconds(uint64_t timestampValue, int64_t offsetMicroseconds); + static auto OffsetTimestampByMilliseconds(uint64_t timestampValue, int64_t offsetMilliseconds); + static auto OffsetTimestampBySeconds(uint64_t timestampValue, int64_t offsetSeconds); + }; + struct WINRT_IMPL_EMPTY_BASES MidiEndpointConnection : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection, + impl::require + { + MidiEndpointConnection(std::nullptr_t) noexcept {} + MidiEndpointConnection(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointConnection(ptr, take_ownership_from_abi) {} + static auto GetDeviceSelector(); + static auto SendMessageSucceeded(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult); + static auto SendMessageFailed(winrt::Microsoft::Windows::Devices::Midi2::MidiSendMessageResults const& sendResult); + }; + struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformation : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation + { + MidiEndpointDeviceInformation(std::nullptr_t) noexcept {} + MidiEndpointDeviceInformation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformation(ptr, take_ownership_from_abi) {} + static auto CreateFromEndpointDeviceId(param::hstring const& endpointDeviceId); + static auto FindAll(); + static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder); + static auto FindAll(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); + [[nodiscard]] static auto EndpointInterfaceClass(); + static auto GetAdditionalPropertiesList(); + static auto DeviceMatchesFilter(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformation const& deviceInformation, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointTypesToInclude); + }; + struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformationAddedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs + { + MidiEndpointDeviceInformationAddedEventArgs(std::nullptr_t) noexcept {} + MidiEndpointDeviceInformationAddedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationAddedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformationRemovedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs + { + MidiEndpointDeviceInformationRemovedEventArgs(std::nullptr_t) noexcept {} + MidiEndpointDeviceInformationRemovedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationRemovedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceInformationUpdatedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs + { + MidiEndpointDeviceInformationUpdatedEventArgs(std::nullptr_t) noexcept {} + MidiEndpointDeviceInformationUpdatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationUpdatedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiEndpointDeviceWatcher : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher + { + MidiEndpointDeviceWatcher(std::nullptr_t) noexcept {} + MidiEndpointDeviceWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceWatcher(ptr, take_ownership_from_abi) {} + static auto Create(); + static auto Create(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceInformationFilters const& endpointFilters); + }; + struct WINRT_IMPL_EMPTY_BASES MidiFunctionBlock : winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock + { + MidiFunctionBlock(std::nullptr_t) noexcept {} + MidiFunctionBlock(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiFunctionBlock(ptr, take_ownership_from_abi) {} + MidiFunctionBlock(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiGroup : winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup + { + MidiGroup(std::nullptr_t) noexcept {} + MidiGroup(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiGroup(ptr, take_ownership_from_abi) {} + explicit MidiGroup(uint8_t index); + [[nodiscard]] static auto ShortLabel(); + [[nodiscard]] static auto LongLabel(); + static auto IsValidIndex(uint8_t index); + }; + struct WINRT_IMPL_EMPTY_BASES MidiGroupTerminalBlock : winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock + { + MidiGroupTerminalBlock(std::nullptr_t) noexcept {} + MidiGroupTerminalBlock(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiGroupTerminalBlock(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessage128 : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128, + impl::require + { + MidiMessage128(std::nullptr_t) noexcept {} + MidiMessage128(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage128(ptr, take_ownership_from_abi) {} + MidiMessage128(); + MidiMessage128(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2, uint32_t word3); + MidiMessage128(uint64_t timestamp, array_view words); + static auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message); + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessage32 : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32, + impl::require + { + MidiMessage32(std::nullptr_t) noexcept {} + MidiMessage32(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage32(ptr, take_ownership_from_abi) {} + MidiMessage32(); + MidiMessage32(uint64_t timestamp, uint32_t word0); + static auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message); + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessage64 : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64, + impl::require + { + MidiMessage64(std::nullptr_t) noexcept {} + MidiMessage64(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage64(ptr, take_ownership_from_abi) {} + MidiMessage64(); + MidiMessage64(uint64_t timestamp, uint32_t word0, uint32_t word1); + MidiMessage64(uint64_t timestamp, array_view words); + static auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message); + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessage96 : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96, + impl::require + { + MidiMessage96(std::nullptr_t) noexcept {} + MidiMessage96(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessage96(ptr, take_ownership_from_abi) {} + MidiMessage96(); + MidiMessage96(uint64_t timestamp, uint32_t word0, uint32_t word1, uint32_t word2); + MidiMessage96(uint64_t timestamp, array_view words); + static auto CreateFromStruct(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiMessageStruct const& message); + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessageReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs + { + MidiMessageReceivedEventArgs(std::nullptr_t) noexcept {} + MidiMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiMessageReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiSession : winrt::Microsoft::Windows::Devices::Midi2::IMidiSession, + impl::require + { + MidiSession(std::nullptr_t) noexcept {} + MidiSession(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::IMidiSession(ptr, take_ownership_from_abi) {} + static auto Create(param::hstring const& sessionName); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h new file mode 100644 index 000000000..438febb66 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h @@ -0,0 +1,104 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry +{ + struct IMidiUniqueId; + struct IMidiUniqueIdFactory; + struct IMidiUniqueIdStatics; + struct MidiUniqueId; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.CapabilityInquiry.MidiUniqueId"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.CapabilityInquiry.IMidiUniqueId"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.CapabilityInquiry.IMidiUniqueIdFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.CapabilityInquiry.IMidiUniqueIdStatics"; + template <> inline constexpr guid guid_v{ 0x2476DCBC,0x3CD7,0x5346,{ 0x9F,0x5C,0xE6,0xD1,0xAD,0xD1,0x67,0x41 } }; // 2476DCBC-3CD7-5346-9F5C-E6D1ADD16741 + template <> inline constexpr guid guid_v{ 0xD2F59A5C,0xE78B,0x5D7A,{ 0x9B,0x22,0x3D,0xC0,0x28,0x58,0x1A,0x64 } }; // D2F59A5C-E78B-5D7A-9B22-3DC028581A64 + template <> inline constexpr guid guid_v{ 0x27B256C2,0xB3B0,0x507A,{ 0xBC,0x6B,0x48,0xE6,0xFC,0x42,0xB4,0x68 } }; // 27B256C2-B3B0-507A-BC6B-48E6FC42B468 + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Byte1(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Byte1(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Byte2(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Byte2(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Byte3(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Byte3(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_Byte4(uint8_t*) noexcept = 0; + virtual int32_t __stdcall put_Byte4(uint8_t) noexcept = 0; + virtual int32_t __stdcall get_AsCombined28BitValue(uint32_t*) noexcept = 0; + virtual int32_t __stdcall get_IsBroadcast(bool*) noexcept = 0; + virtual int32_t __stdcall get_IsReserved(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(uint8_t, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_ShortLabel(void**) noexcept = 0; + virtual int32_t __stdcall get_LongLabel(void**) noexcept = 0; + virtual int32_t __stdcall CreateBroadcast(void**) noexcept = 0; + virtual int32_t __stdcall CreateRandom(void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId + { + [[nodiscard]] auto Byte1() const; + auto Byte1(uint8_t value) const; + [[nodiscard]] auto Byte2() const; + auto Byte2(uint8_t value) const; + [[nodiscard]] auto Byte3() const; + auto Byte3(uint8_t value) const; + [[nodiscard]] auto Byte4() const; + auto Byte4(uint8_t value) const; + [[nodiscard]] auto AsCombined28BitValue() const; + [[nodiscard]] auto IsBroadcast() const; + [[nodiscard]] auto IsReserved() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueId; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdFactory + { + auto CreateInstance(uint32_t combined28BitValue) const; + auto CreateInstance2(uint8_t sevenBitByte1, uint8_t sevenBitByte2, uint8_t sevenBitByte3, uint8_t sevenBitByte4) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdStatics + { + [[nodiscard]] auto ShortLabel() const; + [[nodiscard]] auto LongLabel() const; + auto CreateBroadcast() const; + auto CreateRandom() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_IMidiUniqueIdStatics; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h new file mode 100644 index 000000000..d105e51bc --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h @@ -0,0 +1,31 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry +{ + struct WINRT_IMPL_EMPTY_BASES IMidiUniqueId : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiUniqueId(std::nullptr_t = nullptr) noexcept {} + IMidiUniqueId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiUniqueIdFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiUniqueIdFactory(std::nullptr_t = nullptr) noexcept {} + IMidiUniqueIdFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiUniqueIdStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiUniqueIdStatics(std::nullptr_t = nullptr) noexcept {} + IMidiUniqueIdStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h new file mode 100644 index 000000000..b4914e773 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h @@ -0,0 +1,22 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_CapabilityInquiry_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry +{ + struct WINRT_IMPL_EMPTY_BASES MidiUniqueId : winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId + { + MidiUniqueId(std::nullptr_t) noexcept {} + MidiUniqueId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry::IMidiUniqueId(ptr, take_ownership_from_abi) {} + MidiUniqueId(); + explicit MidiUniqueId(uint32_t combined28BitValue); + MidiUniqueId(uint8_t sevenBitByte1, uint8_t sevenBitByte2, uint8_t sevenBitByte3, uint8_t sevenBitByte4); + [[nodiscard]] static auto ShortLabel(); + [[nodiscard]] static auto LongLabel(); + static auto CreateBroadcast(); + static auto CreateRandom(); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h new file mode 100644 index 000000000..6bf8c9af9 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h @@ -0,0 +1,116 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + struct MidiGroup; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins +{ + struct IMidiChannelEndpointListener; + struct IMidiGroupEndpointListener; + struct IMidiMessageTypeEndpointListener; + struct MidiChannelEndpointListener; + struct MidiGroupEndpointListener; + struct MidiMessageTypeEndpointListener; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ClientPlugins.MidiChannelEndpointListener"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ClientPlugins.MidiGroupEndpointListener"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ClientPlugins.MidiMessageTypeEndpointListener"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ClientPlugins.IMidiChannelEndpointListener"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ClientPlugins.IMidiGroupEndpointListener"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ClientPlugins.IMidiMessageTypeEndpointListener"; + template <> inline constexpr guid guid_v{ 0xFD961EBD,0xE883,0x5C78,{ 0xB1,0x00,0xC0,0x2B,0x70,0x50,0xAE,0x59 } }; // FD961EBD-E883-5C78-B100-C02B7050AE59 + template <> inline constexpr guid guid_v{ 0xA8FE598F,0x2E81,0x507E,{ 0x99,0x46,0x44,0x45,0x45,0x26,0xBF,0x61 } }; // A8FE598F-2E81-507E-9946-44454526BF61 + template <> inline constexpr guid guid_v{ 0x3F03A513,0x6032,0x58F6,{ 0x98,0x17,0xB8,0xD3,0xC7,0xE8,0x9B,0x89 } }; // 3F03A513-6032-58F6-9817-B8D3C7E89B89 + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncludedGroup(void**) noexcept = 0; + virtual int32_t __stdcall put_IncludedGroup(void*) noexcept = 0; + virtual int32_t __stdcall get_IncludedChannels(void**) noexcept = 0; + virtual int32_t __stdcall get_PreventCallingFurtherListeners(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreventCallingFurtherListeners(bool) noexcept = 0; + virtual int32_t __stdcall get_PreventFiringMainMessageReceivedEvent(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreventFiringMainMessageReceivedEvent(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncludedGroups(void**) noexcept = 0; + virtual int32_t __stdcall get_PreventCallingFurtherListeners(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreventCallingFurtherListeners(bool) noexcept = 0; + virtual int32_t __stdcall get_PreventFiringMainMessageReceivedEvent(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreventFiringMainMessageReceivedEvent(bool) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IncludedMessageTypes(void**) noexcept = 0; + virtual int32_t __stdcall get_PreventCallingFurtherListeners(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreventCallingFurtherListeners(bool) noexcept = 0; + virtual int32_t __stdcall get_PreventFiringMainMessageReceivedEvent(bool*) noexcept = 0; + virtual int32_t __stdcall put_PreventFiringMainMessageReceivedEvent(bool) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener + { + [[nodiscard]] auto IncludedGroup() const; + auto IncludedGroup(winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& value) const; + [[nodiscard]] auto IncludedChannels() const; + [[nodiscard]] auto PreventCallingFurtherListeners() const; + auto PreventCallingFurtherListeners(bool value) const; + [[nodiscard]] auto PreventFiringMainMessageReceivedEvent() const; + auto PreventFiringMainMessageReceivedEvent(bool value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiChannelEndpointListener; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener + { + [[nodiscard]] auto IncludedGroups() const; + [[nodiscard]] auto PreventCallingFurtherListeners() const; + auto PreventCallingFurtherListeners(bool value) const; + [[nodiscard]] auto PreventFiringMainMessageReceivedEvent() const; + auto PreventFiringMainMessageReceivedEvent(bool value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiGroupEndpointListener; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener + { + [[nodiscard]] auto IncludedMessageTypes() const; + [[nodiscard]] auto PreventCallingFurtherListeners() const; + auto PreventCallingFurtherListeners(bool value) const; + [[nodiscard]] auto PreventFiringMainMessageReceivedEvent() const; + auto PreventFiringMainMessageReceivedEvent(bool value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ClientPlugins_IMidiMessageTypeEndpointListener; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h new file mode 100644 index 000000000..9cef219ea --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h @@ -0,0 +1,31 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins +{ + struct WINRT_IMPL_EMPTY_BASES IMidiChannelEndpointListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiChannelEndpointListener(std::nullptr_t = nullptr) noexcept {} + IMidiChannelEndpointListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiGroupEndpointListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiGroupEndpointListener(std::nullptr_t = nullptr) noexcept {} + IMidiGroupEndpointListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessageTypeEndpointListener : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageTypeEndpointListener(std::nullptr_t = nullptr) noexcept {} + IMidiMessageTypeEndpointListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h new file mode 100644 index 000000000..fde3586c8 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h @@ -0,0 +1,32 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ClientPlugins_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.1.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins +{ + struct WINRT_IMPL_EMPTY_BASES MidiChannelEndpointListener : winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener, + impl::require + { + MidiChannelEndpointListener(std::nullptr_t) noexcept {} + MidiChannelEndpointListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiChannelEndpointListener(ptr, take_ownership_from_abi) {} + MidiChannelEndpointListener(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiGroupEndpointListener : winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener, + impl::require + { + MidiGroupEndpointListener(std::nullptr_t) noexcept {} + MidiGroupEndpointListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiGroupEndpointListener(ptr, take_ownership_from_abi) {} + MidiGroupEndpointListener(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiMessageTypeEndpointListener : winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener, + impl::require + { + MidiMessageTypeEndpointListener(std::nullptr_t) noexcept {} + MidiMessageTypeEndpointListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::IMidiMessageTypeEndpointListener(ptr, take_ownership_from_abi) {} + MidiMessageTypeEndpointListener(); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h new file mode 100644 index 000000000..5a140177a --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h @@ -0,0 +1,206 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics +{ + struct IMidiDiagnosticsStatics; + struct IMidiReportingStatics; + struct IMidiServicePingResponseSummary; + struct IMidiServiceSessionInfo; + struct MidiDiagnostics; + struct MidiReporting; + struct MidiServicePingResponseSummary; + struct MidiServiceSessionInfo; + struct MidiServiceMessageProcessingPluginInfo; + struct MidiServicePingResponse; + struct MidiServiceSessionConnectionInfo; + struct MidiServiceTransportPluginInfo; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiDiagnostics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiReporting"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiServicePingResponseSummary"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiServiceSessionInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiServiceMessageProcessingPluginInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiServicePingResponse"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiServiceSessionConnectionInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.MidiServiceTransportPluginInfo"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.IMidiDiagnosticsStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.IMidiReportingStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.IMidiServicePingResponseSummary"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Diagnostics.IMidiServiceSessionInfo"; + template <> inline constexpr guid guid_v{ 0x4AB631D4,0x3C9A,0x5E7D,{ 0xB3,0xDA,0xB4,0x85,0x69,0x7E,0xDF,0x9E } }; // 4AB631D4-3C9A-5E7D-B3DA-B485697EDF9E + template <> inline constexpr guid guid_v{ 0x836257F9,0xF81F,0x5C0E,{ 0xB6,0xF2,0xB2,0xD0,0xF9,0xDC,0xF6,0x8E } }; // 836257F9-F81F-5C0E-B6F2-B2D0F9DCF68E + template <> inline constexpr guid guid_v{ 0x9826B87F,0x01ED,0x56CE,{ 0xA5,0x40,0x6A,0xB9,0x89,0xA0,0x3E,0xF8 } }; // 9826B87F-01ED-56CE-A540-6AB989A03EF8 + template <> inline constexpr guid guid_v{ 0x3156AD39,0x109E,0x5B67,{ 0x86,0x1B,0xAE,0x41,0x38,0x27,0xC9,0x05 } }; // 3156AD39-109E-5B67-861B-AE413827C905 + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DiagnosticsLoopbackAEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_DiagnosticsLoopbackBEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall PingService(uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall PingService2(uint8_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall GetInstalledTransportPlugins(void**) noexcept = 0; + virtual int32_t __stdcall GetInstalledMessageProcessingPlugins(void**) noexcept = 0; + virtual int32_t __stdcall GetActiveSessions(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Success(bool*) noexcept = 0; + virtual int32_t __stdcall get_FailureReason(void**) noexcept = 0; + virtual int32_t __stdcall get_TotalPingRoundTripMidiClock(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_AveragePingRoundTripMidiClock(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_Responses(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_SessionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_ProcessId(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_ProcessName(void**) noexcept = 0; + virtual int32_t __stdcall get_SessionName(void**) noexcept = 0; + virtual int32_t __stdcall get_StartTime(int64_t*) noexcept = 0; + virtual int32_t __stdcall get_Connections(void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiDiagnosticsStatics + { + [[nodiscard]] auto DiagnosticsLoopbackAEndpointDeviceId() const; + [[nodiscard]] auto DiagnosticsLoopbackBEndpointDeviceId() const; + auto PingService(uint8_t pingCount) const; + auto PingService(uint8_t pingCount, uint32_t timeoutMilliseconds) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiDiagnosticsStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiReportingStatics + { + auto GetInstalledTransportPlugins() const; + auto GetInstalledMessageProcessingPlugins() const; + auto GetActiveSessions() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiReportingStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary + { + [[nodiscard]] auto Success() const; + [[nodiscard]] auto FailureReason() const; + [[nodiscard]] auto TotalPingRoundTripMidiClock() const; + [[nodiscard]] auto AveragePingRoundTripMidiClock() const; + [[nodiscard]] auto Responses() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServicePingResponseSummary; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo + { + [[nodiscard]] auto SessionId() const; + [[nodiscard]] auto ProcessId() const; + [[nodiscard]] auto ProcessName() const; + [[nodiscard]] auto SessionName() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto Connections() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Diagnostics_IMidiServiceSessionInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServiceMessageProcessingPluginInfo + { + winrt::guid Id; + void* Name; + void* Description; + void* Author; + void* SmallImagePath; + void* Version; + bool SupportsMultipleInstancesPerDevice; + bool IsSystemManaged; + bool IsClientConfigurable; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServiceMessageProcessingPluginInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServicePingResponse + { + uint32_t SourceId; + uint32_t Index; + uint64_t ClientSendMidiTimestamp; + uint64_t ServiceReportedMidiTimestamp; + uint64_t ClientReceiveMidiTimestamp; + uint64_t ClientDeltaTimestamp; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServicePingResponse; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServiceSessionConnectionInfo + { + void* EndpointDeviceId; + uint16_t InstanceCount; + int64_t EarliestConnectionTime; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServiceSessionConnectionInfo; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServiceTransportPluginInfo + { + winrt::guid Id; + void* Name; + void* Abbreviation; + void* Description; + void* SmallImagePath; + void* Author; + void* Version; + bool IsRuntimeCreatableByApps; + bool IsRuntimeCreatableBySettings; + bool IsSystemManaged; + bool CanConfigure; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Diagnostics_MidiServiceTransportPluginInfo; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h new file mode 100644 index 000000000..4138c1102 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h @@ -0,0 +1,38 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics +{ + struct WINRT_IMPL_EMPTY_BASES IMidiDiagnosticsStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiDiagnosticsStatics(std::nullptr_t = nullptr) noexcept {} + IMidiDiagnosticsStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiReportingStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiReportingStatics(std::nullptr_t = nullptr) noexcept {} + IMidiReportingStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiServicePingResponseSummary : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServicePingResponseSummary(std::nullptr_t = nullptr) noexcept {} + IMidiServicePingResponseSummary(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiServiceSessionInfo : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServiceSessionInfo(std::nullptr_t = nullptr) noexcept {} + IMidiServiceSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h new file mode 100644 index 000000000..cee0e284c --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h @@ -0,0 +1,109 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Diagnostics_2_H +#include "winrt/impl/Windows.Foundation.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics +{ + struct MidiServiceMessageProcessingPluginInfo + { + winrt::guid Id; + hstring Name; + hstring Description; + hstring Author; + hstring SmallImagePath; + hstring Version; + bool SupportsMultipleInstancesPerDevice; + bool IsSystemManaged; + bool IsClientConfigurable; + }; + inline bool operator==(MidiServiceMessageProcessingPluginInfo const& left, MidiServiceMessageProcessingPluginInfo const& right) noexcept + { + return left.Id == right.Id && left.Name == right.Name && left.Description == right.Description && left.Author == right.Author && left.SmallImagePath == right.SmallImagePath && left.Version == right.Version && left.SupportsMultipleInstancesPerDevice == right.SupportsMultipleInstancesPerDevice && left.IsSystemManaged == right.IsSystemManaged && left.IsClientConfigurable == right.IsClientConfigurable; + } + inline bool operator!=(MidiServiceMessageProcessingPluginInfo const& left, MidiServiceMessageProcessingPluginInfo const& right) noexcept + { + return !(left == right); + } + struct MidiServicePingResponse + { + uint32_t SourceId; + uint32_t Index; + uint64_t ClientSendMidiTimestamp; + uint64_t ServiceReportedMidiTimestamp; + uint64_t ClientReceiveMidiTimestamp; + uint64_t ClientDeltaTimestamp; + }; + inline bool operator==(MidiServicePingResponse const& left, MidiServicePingResponse const& right) noexcept + { + return left.SourceId == right.SourceId && left.Index == right.Index && left.ClientSendMidiTimestamp == right.ClientSendMidiTimestamp && left.ServiceReportedMidiTimestamp == right.ServiceReportedMidiTimestamp && left.ClientReceiveMidiTimestamp == right.ClientReceiveMidiTimestamp && left.ClientDeltaTimestamp == right.ClientDeltaTimestamp; + } + inline bool operator!=(MidiServicePingResponse const& left, MidiServicePingResponse const& right) noexcept + { + return !(left == right); + } + struct MidiServiceSessionConnectionInfo + { + hstring EndpointDeviceId; + uint16_t InstanceCount; + winrt::Windows::Foundation::DateTime EarliestConnectionTime; + }; + inline bool operator==(MidiServiceSessionConnectionInfo const& left, MidiServiceSessionConnectionInfo const& right) noexcept + { + return left.EndpointDeviceId == right.EndpointDeviceId && left.InstanceCount == right.InstanceCount && left.EarliestConnectionTime == right.EarliestConnectionTime; + } + inline bool operator!=(MidiServiceSessionConnectionInfo const& left, MidiServiceSessionConnectionInfo const& right) noexcept + { + return !(left == right); + } + struct MidiServiceTransportPluginInfo + { + winrt::guid Id; + hstring Name; + hstring Abbreviation; + hstring Description; + hstring SmallImagePath; + hstring Author; + hstring Version; + bool IsRuntimeCreatableByApps; + bool IsRuntimeCreatableBySettings; + bool IsSystemManaged; + bool CanConfigure; + }; + inline bool operator==(MidiServiceTransportPluginInfo const& left, MidiServiceTransportPluginInfo const& right) noexcept + { + return left.Id == right.Id && left.Name == right.Name && left.Abbreviation == right.Abbreviation && left.Description == right.Description && left.SmallImagePath == right.SmallImagePath && left.Author == right.Author && left.Version == right.Version && left.IsRuntimeCreatableByApps == right.IsRuntimeCreatableByApps && left.IsRuntimeCreatableBySettings == right.IsRuntimeCreatableBySettings && left.IsSystemManaged == right.IsSystemManaged && left.CanConfigure == right.CanConfigure; + } + inline bool operator!=(MidiServiceTransportPluginInfo const& left, MidiServiceTransportPluginInfo const& right) noexcept + { + return !(left == right); + } + struct MidiDiagnostics + { + MidiDiagnostics() = delete; + [[nodiscard]] static auto DiagnosticsLoopbackAEndpointDeviceId(); + [[nodiscard]] static auto DiagnosticsLoopbackBEndpointDeviceId(); + static auto PingService(uint8_t pingCount); + static auto PingService(uint8_t pingCount, uint32_t timeoutMilliseconds); + }; + struct MidiReporting + { + MidiReporting() = delete; + static auto GetInstalledTransportPlugins(); + static auto GetInstalledMessageProcessingPlugins(); + static auto GetActiveSessions(); + }; + struct WINRT_IMPL_EMPTY_BASES MidiServicePingResponseSummary : winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary + { + MidiServicePingResponseSummary(std::nullptr_t) noexcept {} + MidiServicePingResponseSummary(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServicePingResponseSummary(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiServiceSessionInfo : winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo + { + MidiServiceSessionInfo(std::nullptr_t) noexcept {} + MidiServiceSessionInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Diagnostics::IMidiServiceSessionInfo(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h new file mode 100644 index 000000000..cd7b9ca69 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h @@ -0,0 +1,187 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback +{ + struct IMidiLoopbackEndpointCreationConfig; + struct IMidiLoopbackEndpointCreationConfigFactory; + struct IMidiLoopbackEndpointDeletionConfig; + struct IMidiLoopbackEndpointDeletionConfigFactory; + struct IMidiLoopbackEndpointManager; + struct IMidiLoopbackEndpointManagerStatics; + struct MidiLoopbackEndpointCreationConfig; + struct MidiLoopbackEndpointDeletionConfig; + struct MidiLoopbackEndpointManager; + struct MidiLoopbackEndpointCreationResult; + struct MidiLoopbackEndpointDefinition; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = struct_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.MidiLoopbackEndpointCreationConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.MidiLoopbackEndpointDeletionConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.MidiLoopbackEndpointManager"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.MidiLoopbackEndpointCreationResult"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.MidiLoopbackEndpointDefinition"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.IMidiLoopbackEndpointCreationConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.IMidiLoopbackEndpointCreationConfigFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.IMidiLoopbackEndpointDeletionConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.IMidiLoopbackEndpointDeletionConfigFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.IMidiLoopbackEndpointManager"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.IMidiLoopbackEndpointManagerStatics"; + template <> inline constexpr guid guid_v{ 0x53EF39E5,0x179D,0x57AF,{ 0x98,0x4D,0xC4,0x0D,0x5C,0x29,0x99,0xFA } }; // 53EF39E5-179D-57AF-984D-C40D5C2999FA + template <> inline constexpr guid guid_v{ 0x5FA6051E,0x83EE,0x5D4D,{ 0x92,0x1C,0x48,0xBA,0xD0,0xAA,0xDE,0x61 } }; // 5FA6051E-83EE-5D4D-921C-48BAD0AADE61 + template <> inline constexpr guid guid_v{ 0x717579E3,0xE3BE,0x5D34,{ 0x87,0x79,0xA1,0x56,0x31,0x1B,0x84,0x8D } }; // 717579E3-E3BE-5D34-8779-A156311B848D + template <> inline constexpr guid guid_v{ 0x2663EB28,0xD010,0x5610,{ 0x86,0xCA,0xBD,0x68,0x40,0xDE,0x78,0xE8 } }; // 2663EB28-D010-5610-86CA-BD6840DE78E8 + template <> inline constexpr guid guid_v{ 0x1DFB714C,0x710A,0x58D5,{ 0x9E,0xAD,0x49,0xAC,0x8C,0x3F,0x34,0x98 } }; // 1DFB714C-710A-58D5-9EAD-49AC8C3F3498 + template <> inline constexpr guid guid_v{ 0x2B788E99,0x2384,0x5518,{ 0x82,0x39,0x03,0x2F,0xBE,0x23,0x2D,0x2B } }; // 2B788E99-2384-5518-8239-032FBE232D2B + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointDeletionConfig; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManager; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_AssociationId(winrt::guid) noexcept = 0; + virtual int32_t __stdcall get_EndpointDefinitionA(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition*) noexcept = 0; + virtual int32_t __stdcall put_EndpointDefinitionA(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition) noexcept = 0; + virtual int32_t __stdcall get_EndpointDefinitionB(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition*) noexcept = 0; + virtual int32_t __stdcall put_EndpointDefinitionB(struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(winrt::guid, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall put_AssociationId(winrt::guid) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(winrt::guid, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall CreateTransientLoopbackEndpoints(void*, struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointCreationResult*) noexcept = 0; + virtual int32_t __stdcall RemoveTransientLoopbackEndpoints(void*, bool*) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig + { + [[nodiscard]] auto AssociationId() const; + auto AssociationId(winrt::guid const& value) const; + [[nodiscard]] auto EndpointDefinitionA() const; + auto EndpointDefinitionA(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& value) const; + [[nodiscard]] auto EndpointDefinitionB() const; + auto EndpointDefinitionB(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfig; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfigFactory + { + auto CreateInstance(winrt::guid const& associationId, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionA, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionB) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointCreationConfigFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfig + { + [[nodiscard]] auto AssociationId() const; + auto AssociationId(winrt::guid const& value) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfig; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfigFactory + { + auto CreateInstance(winrt::guid const& associationId) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointDeletionConfigFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManager + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManager; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManagerStatics + { + [[nodiscard]] auto IsTransportAvailable() const; + [[nodiscard]] auto AbstractionId() const; + auto CreateTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointCreationConfig const& creationConfig) const; + auto RemoveTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDeletionConfig const& deletionConfig) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_IMidiLoopbackEndpointManagerStatics; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointCreationResult + { + bool Success; + winrt::guid AssociationId; + void* EndpointDeviceIdA; + void* EndpointDeviceIdB; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointCreationResult; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition + { + void* Name; + void* UniqueId; + void* Description; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_MidiLoopbackEndpointDefinition; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h new file mode 100644 index 000000000..5a5457ec9 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h @@ -0,0 +1,52 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback +{ + struct WINRT_IMPL_EMPTY_BASES IMidiLoopbackEndpointCreationConfig : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiLoopbackEndpointCreationConfig(std::nullptr_t = nullptr) noexcept {} + IMidiLoopbackEndpointCreationConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiLoopbackEndpointCreationConfigFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiLoopbackEndpointCreationConfigFactory(std::nullptr_t = nullptr) noexcept {} + IMidiLoopbackEndpointCreationConfigFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiLoopbackEndpointDeletionConfig : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiLoopbackEndpointDeletionConfig(std::nullptr_t = nullptr) noexcept {} + IMidiLoopbackEndpointDeletionConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiLoopbackEndpointDeletionConfigFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiLoopbackEndpointDeletionConfigFactory(std::nullptr_t = nullptr) noexcept {} + IMidiLoopbackEndpointDeletionConfigFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiLoopbackEndpointManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiLoopbackEndpointManager(std::nullptr_t = nullptr) noexcept {} + IMidiLoopbackEndpointManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiLoopbackEndpointManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiLoopbackEndpointManagerStatics(std::nullptr_t = nullptr) noexcept {} + IMidiLoopbackEndpointManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h new file mode 100644 index 000000000..021b1a4a5 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.2.h @@ -0,0 +1,64 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Loopback_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback +{ + struct MidiLoopbackEndpointCreationResult + { + bool Success; + winrt::guid AssociationId; + hstring EndpointDeviceIdA; + hstring EndpointDeviceIdB; + }; + inline bool operator==(MidiLoopbackEndpointCreationResult const& left, MidiLoopbackEndpointCreationResult const& right) noexcept + { + return left.Success == right.Success && left.AssociationId == right.AssociationId && left.EndpointDeviceIdA == right.EndpointDeviceIdA && left.EndpointDeviceIdB == right.EndpointDeviceIdB; + } + inline bool operator!=(MidiLoopbackEndpointCreationResult const& left, MidiLoopbackEndpointCreationResult const& right) noexcept + { + return !(left == right); + } + struct MidiLoopbackEndpointDefinition + { + hstring Name; + hstring UniqueId; + hstring Description; + }; + inline bool operator==(MidiLoopbackEndpointDefinition const& left, MidiLoopbackEndpointDefinition const& right) noexcept + { + return left.Name == right.Name && left.UniqueId == right.UniqueId && left.Description == right.Description; + } + inline bool operator!=(MidiLoopbackEndpointDefinition const& left, MidiLoopbackEndpointDefinition const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES MidiLoopbackEndpointCreationConfig : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig, + impl::require + { + MidiLoopbackEndpointCreationConfig(std::nullptr_t) noexcept {} + MidiLoopbackEndpointCreationConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointCreationConfig(ptr, take_ownership_from_abi) {} + MidiLoopbackEndpointCreationConfig(); + MidiLoopbackEndpointCreationConfig(winrt::guid const& associationId, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionA, winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDefinition const& endpointDefinitionB); + }; + struct WINRT_IMPL_EMPTY_BASES MidiLoopbackEndpointDeletionConfig : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointDeletionConfig, + impl::require + { + MidiLoopbackEndpointDeletionConfig(std::nullptr_t) noexcept {} + MidiLoopbackEndpointDeletionConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointDeletionConfig(ptr, take_ownership_from_abi) {} + explicit MidiLoopbackEndpointDeletionConfig(winrt::guid const& associationId); + }; + struct WINRT_IMPL_EMPTY_BASES MidiLoopbackEndpointManager : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManager + { + MidiLoopbackEndpointManager(std::nullptr_t) noexcept {} + MidiLoopbackEndpointManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::IMidiLoopbackEndpointManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto IsTransportAvailable(); + [[nodiscard]] static auto AbstractionId(); + static auto CreateTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointCreationConfig const& creationConfig); + static auto RemoveTransientLoopbackEndpoints(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback::MidiLoopbackEndpointDeletionConfig const& deletionConfig); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..780a0d43a --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -0,0 +1,232 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + struct MidiDeclaredDeviceIdentity; + struct MidiDeclaredEndpointInfo; + struct MidiEndpointUserSuppliedInfo; + struct MidiFunctionBlock; + enum class MidiProtocol : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct EventRegistrationToken; + template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + struct IMidiStreamConfigRequestReceivedEventArgs; + struct IMidiVirtualDevice; + struct IMidiVirtualDeviceCreationConfig; + struct IMidiVirtualDeviceCreationConfigFactory; + struct IMidiVirtualDeviceManager; + struct IMidiVirtualDeviceManagerStatics; + struct MidiStreamConfigRequestReceivedEventArgs; + struct MidiVirtualDevice; + struct MidiVirtualDeviceCreationConfig; + struct MidiVirtualDeviceManager; + struct MidiStreamConfigRequestedSettings; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDevice"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceCreationConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiVirtualDeviceManager"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.MidiStreamConfigRequestedSettings"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiStreamConfigRequestReceivedEventArgs"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDevice"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceCreationConfigFactory"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManager"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.IMidiVirtualDeviceManagerStatics"; + template <> inline constexpr guid guid_v{ 0x95E66544,0x7629,0x50AF,{ 0x9E,0xEE,0x0B,0x10,0x99,0x40,0x8E,0xD6 } }; // 95E66544-7629-50AF-9EEE-0B1099408ED6 + template <> inline constexpr guid guid_v{ 0x95BCDF56,0x519E,0x5E44,{ 0x98,0xF2,0x3B,0x0A,0xE6,0x1F,0x4B,0xC7 } }; // 95BCDF56-519E-5E44-98F2-3B0AE61F4BC7 + template <> inline constexpr guid guid_v{ 0xEF8BC038,0xAC5D,0x5B85,{ 0x88,0x8D,0x11,0xDF,0x01,0x91,0x0D,0xDC } }; // EF8BC038-AC5D-5B85-888D-11DF01910DDC + template <> inline constexpr guid guid_v{ 0x6B3BFE63,0x5C8F,0x57D8,{ 0x8C,0xBA,0x20,0x8C,0x93,0x8F,0x08,0x34 } }; // 6B3BFE63-5C8F-57D8-8CBA-208C938F0834 + template <> inline constexpr guid guid_v{ 0x4235E62B,0xDF65,0x5B6C,{ 0x93,0x0F,0x64,0x0D,0xA2,0xF5,0x64,0x9C } }; // 4235E62B-DF65-5B6C-930F-640DA2F5649C + template <> inline constexpr guid guid_v{ 0xA3C905C1,0x56B5,0x58CE,{ 0xAD,0x79,0x82,0x66,0xE5,0x0A,0x1C,0x0C } }; // A3C905C1-56B5-58CE-AD79-8266E50A1C0C + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig; }; + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Timestamp(uint64_t*) noexcept = 0; + virtual int32_t __stdcall get_PreferredMidiProtocol(int32_t*) noexcept = 0; + virtual int32_t __stdcall get_RequestEndpointTransmitJitterReductionTimestamps(bool*) noexcept = 0; + virtual int32_t __stdcall get_RequestEndpointReceiveJitterReductionTimestamps(bool*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_DeviceEndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; + virtual int32_t __stdcall UpdateFunctionBlock(void*, bool*) noexcept = 0; + virtual int32_t __stdcall UpdateEndpointName(void*, bool*) noexcept = 0; + virtual int32_t __stdcall get_SuppressHandledMessages(bool*) noexcept = 0; + virtual int32_t __stdcall put_SuppressHandledMessages(bool) noexcept = 0; + virtual int32_t __stdcall add_StreamConfigRequestReceived(void*, winrt::event_token*) noexcept = 0; + virtual int32_t __stdcall remove_StreamConfigRequestReceived(winrt::event_token) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_Name(void**) noexcept = 0; + virtual int32_t __stdcall put_Name(void*) noexcept = 0; + virtual int32_t __stdcall get_Description(void**) noexcept = 0; + virtual int32_t __stdcall put_Description(void*) noexcept = 0; + virtual int32_t __stdcall get_Manufacturer(void**) noexcept = 0; + virtual int32_t __stdcall put_Manufacturer(void*) noexcept = 0; + virtual int32_t __stdcall get_AssociationId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity*) noexcept = 0; + virtual int32_t __stdcall put_DeclaredDeviceIdentity(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity) noexcept = 0; + virtual int32_t __stdcall get_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo*) noexcept = 0; + virtual int32_t __stdcall put_DeclaredEndpointInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo) noexcept = 0; + virtual int32_t __stdcall get_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo*) noexcept = 0; + virtual int32_t __stdcall put_UserSuppliedInfo(struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo) noexcept = 0; + virtual int32_t __stdcall get_FunctionBlocks(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall CreateInstance(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance2(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity, void**) noexcept = 0; + virtual int32_t __stdcall CreateInstance3(void*, void*, void*, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredEndpointInfo, struct struct_Microsoft_Windows_Devices_Midi2_MidiDeclaredDeviceIdentity, struct struct_Microsoft_Windows_Devices_Midi2_MidiEndpointUserSuppliedInfo, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_IsTransportAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall get_AbstractionId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall CreateVirtualDevice(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs + { + [[nodiscard]] auto Timestamp() const; + [[nodiscard]] auto PreferredMidiProtocol() const; + [[nodiscard]] auto RequestEndpointTransmitJitterReductionTimestamps() const; + [[nodiscard]] auto RequestEndpointReceiveJitterReductionTimestamps() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiStreamConfigRequestReceivedEventArgs; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice + { + [[nodiscard]] auto DeviceEndpointDeviceId() const; + [[nodiscard]] auto AssociationId() const; + [[nodiscard]] auto FunctionBlocks() const; + auto UpdateFunctionBlock(winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlock const& block) const; + auto UpdateEndpointName(param::hstring const& name) const; + [[nodiscard]] auto SuppressHandledMessages() const; + auto SuppressHandledMessages(bool value) const; + auto StreamConfigRequestReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const; + using StreamConfigRequestReceived_revoker = impl::event_revoker::remove_StreamConfigRequestReceived>; + [[nodiscard]] auto StreamConfigRequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; + auto StreamConfigRequestReceived(winrt::event_token const& token) const noexcept; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDevice; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig + { + [[nodiscard]] auto Name() const; + auto Name(param::hstring const& value) const; + [[nodiscard]] auto Description() const; + auto Description(param::hstring const& value) const; + [[nodiscard]] auto Manufacturer() const; + auto Manufacturer(param::hstring const& value) const; + [[nodiscard]] auto AssociationId() const; + [[nodiscard]] auto DeclaredDeviceIdentity() const; + auto DeclaredDeviceIdentity(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& value) const; + [[nodiscard]] auto DeclaredEndpointInfo() const; + auto DeclaredEndpointInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& value) const; + [[nodiscard]] auto UserSuppliedInfo() const; + auto UserSuppliedInfo(winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& value) const; + [[nodiscard]] auto FunctionBlocks() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfig; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory + { + auto CreateInstance(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo) const; + auto CreateInstance2(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity) const; + auto CreateInstance3(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceCreationConfigFactory; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManager + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManager; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics + { + [[nodiscard]] auto IsTransportAvailable() const; + [[nodiscard]] auto AbstractionId() const; + auto CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_IMidiVirtualDeviceManagerStatics; + }; + struct struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings + { + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + int32_t PreferredMidiProtocol; + bool RequestEndpointTransmitJitterReductionTimestamps; + bool RequestEndpointReceiveJitterReductionTimestamps; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_MidiStreamConfigRequestedSettings; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h new file mode 100644 index 000000000..83dc91a3a --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h @@ -0,0 +1,52 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + struct WINRT_IMPL_EMPTY_BASES IMidiStreamConfigRequestReceivedEventArgs : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiStreamConfigRequestReceivedEventArgs(std::nullptr_t = nullptr) noexcept {} + IMidiStreamConfigRequestReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiVirtualDevice : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiVirtualDevice(std::nullptr_t = nullptr) noexcept {} + IMidiVirtualDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiVirtualDeviceCreationConfig : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiVirtualDeviceCreationConfig(std::nullptr_t = nullptr) noexcept {} + IMidiVirtualDeviceCreationConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiVirtualDeviceCreationConfigFactory : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiVirtualDeviceCreationConfigFactory(std::nullptr_t = nullptr) noexcept {} + IMidiVirtualDeviceCreationConfigFactory(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiVirtualDeviceManager : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiVirtualDeviceManager(std::nullptr_t = nullptr) noexcept {} + IMidiVirtualDeviceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiVirtualDeviceManagerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiVirtualDeviceManagerStatics(std::nullptr_t = nullptr) noexcept {} + IMidiVirtualDeviceManagerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..7838b2613 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -0,0 +1,56 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Endpoints_Virtual_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual +{ + struct MidiStreamConfigRequestedSettings + { + uint8_t SpecificationVersionMajor; + uint8_t SpecificationVersionMinor; + winrt::Microsoft::Windows::Devices::Midi2::MidiProtocol PreferredMidiProtocol; + bool RequestEndpointTransmitJitterReductionTimestamps; + bool RequestEndpointReceiveJitterReductionTimestamps; + }; + inline bool operator==(MidiStreamConfigRequestedSettings const& left, MidiStreamConfigRequestedSettings const& right) noexcept + { + return left.SpecificationVersionMajor == right.SpecificationVersionMajor && left.SpecificationVersionMinor == right.SpecificationVersionMinor && left.PreferredMidiProtocol == right.PreferredMidiProtocol && left.RequestEndpointTransmitJitterReductionTimestamps == right.RequestEndpointTransmitJitterReductionTimestamps && left.RequestEndpointReceiveJitterReductionTimestamps == right.RequestEndpointReceiveJitterReductionTimestamps; + } + inline bool operator!=(MidiStreamConfigRequestedSettings const& left, MidiStreamConfigRequestedSettings const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES MidiStreamConfigRequestReceivedEventArgs : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs + { + MidiStreamConfigRequestReceivedEventArgs(std::nullptr_t) noexcept {} + MidiStreamConfigRequestReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiStreamConfigRequestReceivedEventArgs(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiVirtualDevice : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice, + impl::require + { + MidiVirtualDevice(std::nullptr_t) noexcept {} + MidiVirtualDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDevice(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES MidiVirtualDeviceCreationConfig : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig, + impl::require + { + MidiVirtualDeviceCreationConfig(std::nullptr_t) noexcept {} + MidiVirtualDeviceCreationConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceCreationConfig(ptr, take_ownership_from_abi) {} + MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo); + MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity); + MidiVirtualDeviceCreationConfig(param::hstring const& name, param::hstring const& description, param::hstring const& manufacturer, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredEndpointInfo const& declaredEndpointInfo, winrt::Microsoft::Windows::Devices::Midi2::MidiDeclaredDeviceIdentity const& declaredDeviceIdentity, winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointUserSuppliedInfo const& userSuppliedInfo); + }; + struct WINRT_IMPL_EMPTY_BASES MidiVirtualDeviceManager : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager + { + MidiVirtualDeviceManager(std::nullptr_t) noexcept {} + MidiVirtualDeviceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::IMidiVirtualDeviceManager(ptr, take_ownership_from_abi) {} + [[nodiscard]] static auto IsTransportAvailable(); + [[nodiscard]] static auto AbstractionId(); + static auto CreateVirtualDevice(winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::MidiVirtualDeviceCreationConfig const& creationConfig); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h new file mode 100644 index 000000000..304eccc15 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h @@ -0,0 +1,70 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Initialization_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Initialization_0_H +WINRT_EXPORT namespace winrt::Windows::Foundation +{ + struct Uri; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization +{ + struct IMidiServicesInitializer; + struct IMidiServicesInitializerStatics; + struct MidiServicesInitializer; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Initialization.MidiServicesInitializer"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Initialization.IMidiServicesInitializer"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Initialization.IMidiServicesInitializerStatics"; + template <> inline constexpr guid guid_v{ 0x3A60A020,0x720A,0x563F,{ 0x90,0x9C,0x9C,0x3C,0xF4,0x77,0x21,0xCE } }; // 3A60A020-720A-563F-909C-9C3CF47721CE + template <> inline constexpr guid guid_v{ 0x56FC8938,0x93CD,0x51B3,{ 0x9E,0x6E,0x5B,0xB3,0xDA,0xBD,0x19,0x0E } }; // 56FC8938-93CD-51B3-9E6E-5BB3DABD190E + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializer; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall IsOperatingSystemSupported(bool*) noexcept = 0; + virtual int32_t __stdcall EnsureServiceAvailable(bool*) noexcept = 0; + virtual int32_t __stdcall InitializeSdkRuntime(bool*) noexcept = 0; + virtual int32_t __stdcall IsCompatibleDesktopAppSdkRuntimeInstalled(bool*) noexcept = 0; + virtual int32_t __stdcall GetLatestRuntimeReleaseInstallerUri(void**) noexcept = 0; + virtual int32_t __stdcall GetLatestSettingsAppReleaseInstallerUri(void**) noexcept = 0; + virtual int32_t __stdcall GetLatestConsoleAppReleaseInstallerUri(void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializer + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializer; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics + { + auto IsOperatingSystemSupported() const; + auto EnsureServiceAvailable() const; + auto InitializeSdkRuntime() const; + auto IsCompatibleDesktopAppSdkRuntimeInstalled() const; + auto GetLatestRuntimeReleaseInstallerUri() const; + auto GetLatestSettingsAppReleaseInstallerUri() const; + auto GetLatestConsoleAppReleaseInstallerUri() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Initialization_IMidiServicesInitializerStatics; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h new file mode 100644 index 000000000..0fe7114e6 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h @@ -0,0 +1,24 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Initialization_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Initialization_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization +{ + struct WINRT_IMPL_EMPTY_BASES IMidiServicesInitializer : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServicesInitializer(std::nullptr_t = nullptr) noexcept {} + IMidiServicesInitializer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiServicesInitializerStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServicesInitializerStatics(std::nullptr_t = nullptr) noexcept {} + IMidiServicesInitializerStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h new file mode 100644 index 000000000..76c852b5f --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h @@ -0,0 +1,22 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Initialization_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Initialization_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization +{ + struct WINRT_IMPL_EMPTY_BASES MidiServicesInitializer : winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializer + { + MidiServicesInitializer(std::nullptr_t) noexcept {} + MidiServicesInitializer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::Initialization::IMidiServicesInitializer(ptr, take_ownership_from_abi) {} + static auto IsOperatingSystemSupported(); + static auto EnsureServiceAvailable(); + static auto InitializeSdkRuntime(); + static auto IsCompatibleDesktopAppSdkRuntimeInstalled(); + static auto GetLatestRuntimeReleaseInstallerUri(); + static auto GetLatestSettingsAppReleaseInstallerUri(); + static auto GetLatestConsoleAppReleaseInstallerUri(); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h new file mode 100644 index 000000000..70023d180 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h @@ -0,0 +1,331 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Messages_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Messages_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2 +{ + struct IMidiUniversalPacket; + struct MidiChannel; + enum class MidiFunctionBlockDirection : int32_t; + enum class MidiFunctionBlockRepresentsMidi10Connection : int32_t; + enum class MidiFunctionBlockUIHint : int32_t; + struct MidiGroup; + struct MidiMessage128; + struct MidiMessage32; + struct MidiMessage64; + enum class MidiMessageType : int32_t; + enum class MidiPacketType : int32_t; +} +WINRT_EXPORT namespace winrt::Windows::Devices::Midi +{ + struct MidiActiveSensingMessage; + struct MidiChannelPressureMessage; + struct MidiContinueMessage; + struct MidiNoteOffMessage; + struct MidiNoteOnMessage; + struct MidiPitchBendChangeMessage; + struct MidiPolyphonicKeyPressureMessage; + struct MidiProgramChangeMessage; + struct MidiSongPositionPointerMessage; + struct MidiSongSelectMessage; + struct MidiStartMessage; + struct MidiStopMessage; + struct MidiSystemResetMessage; + struct MidiTimeCodeMessage; + struct MidiTimingClockMessage; + struct MidiTuneRequestMessage; +} +WINRT_EXPORT namespace winrt::Windows::Foundation::Collections +{ + template struct WINRT_IMPL_EMPTY_BASES IIterable; +} +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Messages +{ + enum class Midi1ChannelVoiceMessageStatus : int32_t + { + NoteOff = 8, + NoteOn = 9, + PolyPressure = 10, + ControlChange = 11, + ProgramChange = 12, + ChannelPressure = 13, + PitchBend = 14, + }; + enum class Midi2ChannelVoiceMessageStatus : int32_t + { + RegisteredPerNoteController = 0, + AssignablePerNoteController = 1, + RegisteredController = 2, + AssignableController = 3, + RelativeRegisteredController = 4, + RelativeAssignableController = 5, + PerNotePitchBend = 6, + NoteOff = 8, + NoteOn = 9, + PolyPressure = 10, + ControlChange = 11, + ProgramChange = 12, + ChannelPressure = 13, + PitchBend = 14, + PerNoteManagement = 15, + }; + enum class MidiEndpointDiscoveryRequests : uint32_t + { + None = 0, + RequestEndpointInfo = 0x1, + RequestDeviceIdentity = 0x2, + RequestEndpointName = 0x4, + RequestProductInstanceId = 0x8, + RequestStreamConfiguration = 0x10, + }; + enum class MidiFunctionBlockDiscoveryRequests : uint32_t + { + None = 0, + RequestFunctionBlockInfo = 0x1, + RequestFunctionBlockName = 0x2, + }; + enum class MidiSystemExclusive8Status : int32_t + { + CompleteMessageInSingleMessagePacket = 0, + StartMessagePacket = 1, + ContinueMessagePacket = 2, + EndMessagePacket = 3, + }; + struct IMidiMessageBuilderStatics; + struct IMidiMessageConverterStatics; + struct IMidiMessageHelperStatics; + struct IMidiStreamMessageBuilderStatics; + struct MidiMessageBuilder; + struct MidiMessageConverter; + struct MidiMessageHelper; + struct MidiStreamMessageBuilder; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = enum_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiMessageBuilder"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiMessageConverter"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiMessageHelper"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiStreamMessageBuilder"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.Midi1ChannelVoiceMessageStatus"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.Midi2ChannelVoiceMessageStatus"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiEndpointDiscoveryRequests"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiFunctionBlockDiscoveryRequests"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.MidiSystemExclusive8Status"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.IMidiMessageBuilderStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.IMidiMessageConverterStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.IMidiMessageHelperStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.Messages.IMidiStreamMessageBuilderStatics"; + template <> inline constexpr guid guid_v{ 0x090C2C0B,0x95E4,0x5FF3,{ 0xA4,0xA9,0x2C,0x23,0x86,0x10,0x31,0x36 } }; // 090C2C0B-95E4-5FF3-A4A9-2C2386103136 + template <> inline constexpr guid guid_v{ 0x30BE1DB6,0x9E9E,0x5EAC,{ 0xB1,0xE6,0x6D,0x4F,0x11,0xFA,0x1E,0xBF } }; // 30BE1DB6-9E9E-5EAC-B1E6-6D4F11FA1EBF + template <> inline constexpr guid guid_v{ 0xCC84C703,0xE523,0x5597,{ 0xA3,0xD6,0xE8,0xAD,0x68,0x8A,0x96,0xCC } }; // CC84C703-E523-5597-A3D6-E8AD688A96CC + template <> inline constexpr guid guid_v{ 0x03E16477,0x3857,0x5ED3,{ 0x83,0x81,0x59,0xC4,0x0C,0xE4,0xA3,0x3D } }; // 03E16477-3857-5ED3-8381-59C40CE4A33D + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BuildUtilityMessage(uint64_t, uint8_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildSystemMessage(uint64_t, void*, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildMidi1ChannelVoiceMessage(uint64_t, void*, int32_t, void*, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildSystemExclusive7Message(uint64_t, void*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildMidi2ChannelVoiceMessage(uint64_t, void*, int32_t, void*, uint16_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildSystemExclusive8Message(uint64_t, void*, int32_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildMixedDataSetChunkHeaderMessage(uint64_t, void*, uint8_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildMixedDataSetChunkDataMessage(uint64_t, void*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildFlexDataMessage(uint64_t, void*, uint8_t, uint8_t, void*, uint8_t, uint8_t, uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildStreamMessage(uint64_t, uint8_t, uint16_t, uint16_t, uint32_t, uint32_t, uint32_t, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ConvertMidi1Message(uint64_t, void*, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1Message2(uint64_t, void*, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1Message3(uint64_t, void*, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1ChannelPressureMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1NoteOffMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1NoteOnMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1PitchBendChangeMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1PolyphonicKeyPressureMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1ProgramChangeMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1TimeCodeMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1SongPositionPointerMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1SongSelectMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1TuneRequestMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1TimingClockMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1StartMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1ContinueMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1StopMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1ActiveSensingMessage(uint64_t, void*, void*, void**) noexcept = 0; + virtual int32_t __stdcall ConvertMidi1SystemResetMessage(uint64_t, void*, void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall ValidateMessage32MessageType(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall ValidateMessage64MessageType(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall ValidateMessage96MessageType(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall ValidateMessage128MessageType(uint32_t, bool*) noexcept = 0; + virtual int32_t __stdcall GetMessageTypeFromMessageFirstWord(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetPacketTypeFromMessageFirstWord(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall MessageTypeHasGroupField(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall ReplaceGroupInMessageFirstWord(uint32_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetGroupFromMessageFirstWord(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetStatusFromUtilityMessage(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromMidi1ChannelVoiceMessage(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromMidi2ChannelVoiceMessageFirstWord(uint32_t, int32_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusBankFromFlexDataMessageFirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromFlexDataMessageFirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromSystemCommonMessage(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromDataMessage64FirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetNumberOfBytesFromDataMessage64FirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromDataMessage128FirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetNumberOfBytesFromDataMessage128FirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall MessageTypeHasChannelField(int32_t, bool*) noexcept = 0; + virtual int32_t __stdcall ReplaceChannelInMessageFirstWord(uint32_t, void*, uint32_t*) noexcept = 0; + virtual int32_t __stdcall GetChannelFromMessageFirstWord(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetFormFromStreamMessageFirstWord(uint32_t, uint8_t*) noexcept = 0; + virtual int32_t __stdcall GetStatusFromStreamMessageFirstWord(uint32_t, uint16_t*) noexcept = 0; + virtual int32_t __stdcall GetMessageDisplayNameFromFirstWord(uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall GetPacketListFromWordList(uint64_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall GetWordListFromPacketList(void*, void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall BuildEndpointDiscoveryMessage(uint64_t, uint8_t, uint8_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildEndpointInfoNotificationMessage(uint64_t, uint8_t, uint8_t, bool, uint8_t, bool, bool, bool, bool, void**) noexcept = 0; + virtual int32_t __stdcall BuildDeviceIdentityNotificationMessage(uint64_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildEndpointNameNotificationMessages(uint64_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall BuildProductInstanceIdNotificationMessages(uint64_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ParseEndpointNameNotificationMessages(void*, void**) noexcept = 0; + virtual int32_t __stdcall ParseProductInstanceIdNotificationMessages(void*, void**) noexcept = 0; + virtual int32_t __stdcall BuildStreamConfigurationRequestMessage(uint64_t, uint8_t, bool, bool, void**) noexcept = 0; + virtual int32_t __stdcall BuildStreamConfigurationNotificationMessage(uint64_t, uint8_t, bool, bool, void**) noexcept = 0; + virtual int32_t __stdcall BuildFunctionBlockDiscoveryMessage(uint64_t, uint8_t, uint32_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildFunctionBlockInfoNotificationMessage(uint64_t, bool, uint8_t, int32_t, int32_t, int32_t, uint8_t, uint8_t, uint8_t, uint8_t, void**) noexcept = 0; + virtual int32_t __stdcall BuildFunctionBlockNameNotificationMessages(uint64_t, uint8_t, void*, void**) noexcept = 0; + virtual int32_t __stdcall ParseFunctionBlockNameNotificationMessages(void*, void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics + { + auto BuildUtilityMessage(uint64_t timestamp, uint8_t status, uint32_t dataOrReserved) const; + auto BuildSystemMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t midi1Byte2, uint8_t midi1Byte3) const; + auto BuildMidi1ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi1ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t byte3, uint8_t byte4) const; + auto BuildSystemExclusive7Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t numberOfBytes, uint8_t dataByte0, uint8_t dataByte1, uint8_t dataByte2, uint8_t dataByte3, uint8_t dataByte4, uint8_t dataByte5) const; + auto BuildMidi2ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi2ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint16_t index, uint32_t data) const; + auto BuildSystemExclusive8Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiSystemExclusive8Status const& status, uint8_t numberOfValidDataBytesThisMessage, uint8_t streamId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12) const; + auto BuildMixedDataSetChunkHeaderMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint16_t numberValidDataBytesInThisChunk, uint16_t numberChunksInMixedDataSet, uint16_t numberOfThisChunk, uint16_t manufacturerId, uint16_t deviceId, uint16_t subId1, uint16_t subId2) const; + auto BuildMixedDataSetChunkDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12, uint8_t dataByte13) const; + auto BuildFlexDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t form, uint8_t address, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t statusBank, uint8_t status, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data) const; + auto BuildStreamMessage(uint64_t timestamp, uint8_t form, uint16_t status, uint16_t word0RemainingData, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageBuilderStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics + { + auto ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte) const; + auto ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1) const; + auto ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1, uint8_t dataByte2) const; + auto ConvertMidi1ChannelPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiChannelPressureMessage const& originalMessage) const; + auto ConvertMidi1NoteOffMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOffMessage const& originalMessage) const; + auto ConvertMidi1NoteOnMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOnMessage const& originalMessage) const; + auto ConvertMidi1PitchBendChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage const& originalMessage) const; + auto ConvertMidi1PolyphonicKeyPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage const& originalMessage) const; + auto ConvertMidi1ProgramChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiProgramChangeMessage const& originalMessage) const; + auto ConvertMidi1TimeCodeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimeCodeMessage const& originalMessage) const; + auto ConvertMidi1SongPositionPointerMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage const& originalMessage) const; + auto ConvertMidi1SongSelectMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongSelectMessage const& originalMessage) const; + auto ConvertMidi1TuneRequestMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTuneRequestMessage const& originalMessage) const; + auto ConvertMidi1TimingClockMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimingClockMessage const& originalMessage) const; + auto ConvertMidi1StartMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStartMessage const& originalMessage) const; + auto ConvertMidi1ContinueMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiContinueMessage const& originalMessage) const; + auto ConvertMidi1StopMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStopMessage const& originalMessage) const; + auto ConvertMidi1ActiveSensingMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiActiveSensingMessage const& originalMessage) const; + auto ConvertMidi1SystemResetMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSystemResetMessage const& originalMessage) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageConverterStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics + { + auto ValidateMessage32MessageType(uint32_t word0) const; + auto ValidateMessage64MessageType(uint32_t word0) const; + auto ValidateMessage96MessageType(uint32_t word0) const; + auto ValidateMessage128MessageType(uint32_t word0) const; + auto GetMessageTypeFromMessageFirstWord(uint32_t word0) const; + auto GetPacketTypeFromMessageFirstWord(uint32_t word0) const; + auto MessageTypeHasGroupField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType) const; + auto ReplaceGroupInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& newGroup) const; + auto GetGroupFromMessageFirstWord(uint32_t word0) const; + auto GetStatusFromUtilityMessage(uint32_t word0) const; + auto GetStatusFromMidi1ChannelVoiceMessage(uint32_t word0) const; + auto GetStatusFromMidi2ChannelVoiceMessageFirstWord(uint32_t word0) const; + auto GetStatusBankFromFlexDataMessageFirstWord(uint32_t word0) const; + auto GetStatusFromFlexDataMessageFirstWord(uint32_t word0) const; + auto GetStatusFromSystemCommonMessage(uint32_t word0) const; + auto GetStatusFromDataMessage64FirstWord(uint32_t word0) const; + auto GetNumberOfBytesFromDataMessage64FirstWord(uint32_t word0) const; + auto GetStatusFromDataMessage128FirstWord(uint32_t word0) const; + auto GetNumberOfBytesFromDataMessage128FirstWord(uint32_t word0) const; + auto MessageTypeHasChannelField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType) const; + auto ReplaceChannelInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& newChannel) const; + auto GetChannelFromMessageFirstWord(uint32_t word0) const; + auto GetFormFromStreamMessageFirstWord(uint32_t word0) const; + auto GetStatusFromStreamMessageFirstWord(uint32_t word0) const; + auto GetMessageDisplayNameFromFirstWord(uint32_t word0) const; + auto GetPacketListFromWordList(uint64_t timestamp, param::iterable const& words) const; + auto GetWordListFromPacketList(param::iterable const& words) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiMessageHelperStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics + { + auto BuildEndpointDiscoveryMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiEndpointDiscoveryRequests const& request) const; + auto BuildEndpointInfoNotificationMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, bool hasStaticFunctionBlocks, uint8_t numberOfFunctionBlocks, bool supportsMidi20Protocol, bool supportsMidi10Protocol, bool supportsReceivingJitterReductionTimestamps, bool supportsSendingJitterReductionTimestamps) const; + auto BuildDeviceIdentityNotificationMessage(uint64_t timestamp, uint8_t deviceManufacturerSysExIdByte1, uint8_t deviceManufacturerSysExIdByte2, uint8_t deviceManufacturerSysExIdByte3, uint8_t deviceFamilyLsb, uint8_t deviceFamilyMsb, uint8_t deviceFamilyModelNumberLsb, uint8_t deviceFamilyModelNumberMsb, uint8_t softwareRevisionLevelByte1, uint8_t softwareRevisionLevelByte2, uint8_t softwareRevisionLevelByte3, uint8_t softwareRevisionLevelByte4) const; + auto BuildEndpointNameNotificationMessages(uint64_t timestamp, param::hstring const& name) const; + auto BuildProductInstanceIdNotificationMessages(uint64_t timestamp, param::hstring const& productInstanceId) const; + auto ParseEndpointNameNotificationMessages(param::iterable const& messages) const; + auto ParseProductInstanceIdNotificationMessages(param::iterable const& messages) const; + auto BuildStreamConfigurationRequestMessage(uint64_t timestamp, uint8_t protocol, bool expectToReceiveJRTimestamps, bool requestToSendJRTimestamps) const; + auto BuildStreamConfigurationNotificationMessage(uint64_t timestamp, uint8_t protocol, bool confirmationWillReceiveJRTimestamps, bool confirmationSendJRTimestamps) const; + auto BuildFunctionBlockDiscoveryMessage(uint64_t timestamp, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiFunctionBlockDiscoveryRequests const& requestFlags) const; + auto BuildFunctionBlockInfoNotificationMessage(uint64_t timestamp, bool active, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& uiHint, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& midi10, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& direction, uint8_t firstGroup, uint8_t numberOfGroups, uint8_t midiCIVersionFormat, uint8_t maxNumberSysEx8Streams) const; + auto BuildFunctionBlockNameNotificationMessages(uint64_t timestamp, uint8_t functionBlockNumber, param::hstring const& name) const; + auto ParseFunctionBlockNameNotificationMessages(param::iterable const& messages) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_Messages_IMidiStreamMessageBuilderStatics; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h new file mode 100644 index 000000000..e7fce06a8 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h @@ -0,0 +1,38 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Messages_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Messages_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Messages +{ + struct WINRT_IMPL_EMPTY_BASES IMidiMessageBuilderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageBuilderStatics(std::nullptr_t = nullptr) noexcept {} + IMidiMessageBuilderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessageConverterStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageConverterStatics(std::nullptr_t = nullptr) noexcept {} + IMidiMessageConverterStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiMessageHelperStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiMessageHelperStatics(std::nullptr_t = nullptr) noexcept {} + IMidiMessageHelperStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiStreamMessageBuilderStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiStreamMessageBuilderStatics(std::nullptr_t = nullptr) noexcept {} + IMidiStreamMessageBuilderStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h new file mode 100644 index 000000000..dd17a6032 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h @@ -0,0 +1,98 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_Messages_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_Messages_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.1.h" +#include "winrt/impl/Windows.Devices.Midi.1.h" +#include "winrt/impl/Windows.Foundation.Collections.1.h" +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::Messages +{ + struct MidiMessageBuilder + { + MidiMessageBuilder() = delete; + static auto BuildUtilityMessage(uint64_t timestamp, uint8_t status, uint32_t dataOrReserved); + static auto BuildSystemMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t midi1Byte2, uint8_t midi1Byte3); + static auto BuildMidi1ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi1ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t byte3, uint8_t byte4); + static auto BuildSystemExclusive7Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t status, uint8_t numberOfBytes, uint8_t dataByte0, uint8_t dataByte1, uint8_t dataByte2, uint8_t dataByte3, uint8_t dataByte4, uint8_t dataByte5); + static auto BuildMidi2ChannelVoiceMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::Midi2ChannelVoiceMessageStatus const& status, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint16_t index, uint32_t data); + static auto BuildSystemExclusive8Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiSystemExclusive8Status const& status, uint8_t numberOfValidDataBytesThisMessage, uint8_t streamId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12); + static auto BuildMixedDataSetChunkHeaderMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint16_t numberValidDataBytesInThisChunk, uint16_t numberChunksInMixedDataSet, uint16_t numberOfThisChunk, uint16_t manufacturerId, uint16_t deviceId, uint16_t subId1, uint16_t subId2); + static auto BuildMixedDataSetChunkDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t mdsId, uint8_t dataByte00, uint8_t dataByte01, uint8_t dataByte02, uint8_t dataByte03, uint8_t dataByte04, uint8_t dataByte05, uint8_t dataByte06, uint8_t dataByte07, uint8_t dataByte08, uint8_t dataByte09, uint8_t dataByte10, uint8_t dataByte11, uint8_t dataByte12, uint8_t dataByte13); + static auto BuildFlexDataMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t form, uint8_t address, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& channel, uint8_t statusBank, uint8_t status, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data); + static auto BuildStreamMessage(uint64_t timestamp, uint8_t form, uint16_t status, uint16_t word0RemainingData, uint32_t word1Data, uint32_t word2Data, uint32_t word3Data); + }; + struct MidiMessageConverter + { + MidiMessageConverter() = delete; + static auto ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte); + static auto ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1); + static auto ConvertMidi1Message(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, uint8_t statusByte, uint8_t dataByte1, uint8_t dataByte2); + static auto ConvertMidi1ChannelPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiChannelPressureMessage const& originalMessage); + static auto ConvertMidi1NoteOffMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOffMessage const& originalMessage); + static auto ConvertMidi1NoteOnMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiNoteOnMessage const& originalMessage); + static auto ConvertMidi1PitchBendChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage const& originalMessage); + static auto ConvertMidi1PolyphonicKeyPressureMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage const& originalMessage); + static auto ConvertMidi1ProgramChangeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiProgramChangeMessage const& originalMessage); + static auto ConvertMidi1TimeCodeMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimeCodeMessage const& originalMessage); + static auto ConvertMidi1SongPositionPointerMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage const& originalMessage); + static auto ConvertMidi1SongSelectMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSongSelectMessage const& originalMessage); + static auto ConvertMidi1TuneRequestMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTuneRequestMessage const& originalMessage); + static auto ConvertMidi1TimingClockMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiTimingClockMessage const& originalMessage); + static auto ConvertMidi1StartMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStartMessage const& originalMessage); + static auto ConvertMidi1ContinueMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiContinueMessage const& originalMessage); + static auto ConvertMidi1StopMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiStopMessage const& originalMessage); + static auto ConvertMidi1ActiveSensingMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiActiveSensingMessage const& originalMessage); + static auto ConvertMidi1SystemResetMessage(uint64_t timestamp, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& group, winrt::Windows::Devices::Midi::MidiSystemResetMessage const& originalMessage); + }; + struct MidiMessageHelper + { + MidiMessageHelper() = delete; + static auto ValidateMessage32MessageType(uint32_t word0); + static auto ValidateMessage64MessageType(uint32_t word0); + static auto ValidateMessage96MessageType(uint32_t word0); + static auto ValidateMessage128MessageType(uint32_t word0); + static auto GetMessageTypeFromMessageFirstWord(uint32_t word0); + static auto GetPacketTypeFromMessageFirstWord(uint32_t word0); + static auto MessageTypeHasGroupField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType); + static auto ReplaceGroupInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiGroup const& newGroup); + static auto GetGroupFromMessageFirstWord(uint32_t word0); + static auto GetStatusFromUtilityMessage(uint32_t word0); + static auto GetStatusFromMidi1ChannelVoiceMessage(uint32_t word0); + static auto GetStatusFromMidi2ChannelVoiceMessageFirstWord(uint32_t word0); + static auto GetStatusBankFromFlexDataMessageFirstWord(uint32_t word0); + static auto GetStatusFromFlexDataMessageFirstWord(uint32_t word0); + static auto GetStatusFromSystemCommonMessage(uint32_t word0); + static auto GetStatusFromDataMessage64FirstWord(uint32_t word0); + static auto GetNumberOfBytesFromDataMessage64FirstWord(uint32_t word0); + static auto GetStatusFromDataMessage128FirstWord(uint32_t word0); + static auto GetNumberOfBytesFromDataMessage128FirstWord(uint32_t word0); + static auto MessageTypeHasChannelField(winrt::Microsoft::Windows::Devices::Midi2::MidiMessageType const& messageType); + static auto ReplaceChannelInMessageFirstWord(uint32_t word0, winrt::Microsoft::Windows::Devices::Midi2::MidiChannel const& newChannel); + static auto GetChannelFromMessageFirstWord(uint32_t word0); + static auto GetFormFromStreamMessageFirstWord(uint32_t word0); + static auto GetStatusFromStreamMessageFirstWord(uint32_t word0); + static auto GetMessageDisplayNameFromFirstWord(uint32_t word0); + static auto GetPacketListFromWordList(uint64_t timestamp, param::iterable const& words); + static auto GetWordListFromPacketList(param::iterable const& words); + }; + struct MidiStreamMessageBuilder + { + MidiStreamMessageBuilder() = delete; + static auto BuildEndpointDiscoveryMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiEndpointDiscoveryRequests const& request); + static auto BuildEndpointInfoNotificationMessage(uint64_t timestamp, uint8_t umpVersionMajor, uint8_t umpVersionMinor, bool hasStaticFunctionBlocks, uint8_t numberOfFunctionBlocks, bool supportsMidi20Protocol, bool supportsMidi10Protocol, bool supportsReceivingJitterReductionTimestamps, bool supportsSendingJitterReductionTimestamps); + static auto BuildDeviceIdentityNotificationMessage(uint64_t timestamp, uint8_t deviceManufacturerSysExIdByte1, uint8_t deviceManufacturerSysExIdByte2, uint8_t deviceManufacturerSysExIdByte3, uint8_t deviceFamilyLsb, uint8_t deviceFamilyMsb, uint8_t deviceFamilyModelNumberLsb, uint8_t deviceFamilyModelNumberMsb, uint8_t softwareRevisionLevelByte1, uint8_t softwareRevisionLevelByte2, uint8_t softwareRevisionLevelByte3, uint8_t softwareRevisionLevelByte4); + static auto BuildEndpointNameNotificationMessages(uint64_t timestamp, param::hstring const& name); + static auto BuildProductInstanceIdNotificationMessages(uint64_t timestamp, param::hstring const& productInstanceId); + static auto ParseEndpointNameNotificationMessages(param::iterable const& messages); + static auto ParseProductInstanceIdNotificationMessages(param::iterable const& messages); + static auto BuildStreamConfigurationRequestMessage(uint64_t timestamp, uint8_t protocol, bool expectToReceiveJRTimestamps, bool requestToSendJRTimestamps); + static auto BuildStreamConfigurationNotificationMessage(uint64_t timestamp, uint8_t protocol, bool confirmationWillReceiveJRTimestamps, bool confirmationSendJRTimestamps); + static auto BuildFunctionBlockDiscoveryMessage(uint64_t timestamp, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::Messages::MidiFunctionBlockDiscoveryRequests const& requestFlags); + static auto BuildFunctionBlockInfoNotificationMessage(uint64_t timestamp, bool active, uint8_t functionBlockNumber, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockUIHint const& uiHint, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockRepresentsMidi10Connection const& midi10, winrt::Microsoft::Windows::Devices::Midi2::MidiFunctionBlockDirection const& direction, uint8_t firstGroup, uint8_t numberOfGroups, uint8_t midiCIVersionFormat, uint8_t maxNumberSysEx8Streams); + static auto BuildFunctionBlockNameNotificationMessages(uint64_t timestamp, uint8_t functionBlockNumber, param::hstring const& name); + static auto ParseFunctionBlockNameNotificationMessages(param::iterable const& messages); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h new file mode 100644 index 000000000..5cd89b2ef --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h @@ -0,0 +1,131 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_0_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_0_H +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig +{ + enum class MidiServiceConfigResponseStatus : int32_t + { + Success = 0, + ErrorTargetNotFound = 404, + ErrorConfigJsonNullOrEmpty = 600, + ErrorProcessingConfigJson = 601, + ErrorProcessingResponseJson = 605, + ErrorNotImplemented = 2600, + }; + struct IMidiServiceConfig; + struct IMidiServiceConfigStatics; + struct IMidiServiceMessageProcessingPluginConfig; + struct IMidiServiceTransportPluginConfig; + struct MidiServiceConfig; + struct MidiServiceConfigResponse; +} +namespace winrt::impl +{ + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = interface_category; }; + template <> struct category{ using type = class_category; }; + template <> struct category{ using type = enum_category; }; + template <> struct category{ using type = struct_category; }; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.MidiServiceConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.MidiServiceConfigResponseStatus"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.MidiServiceConfigResponse"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.IMidiServiceConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.IMidiServiceConfigStatics"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.IMidiServiceMessageProcessingPluginConfig"; + template <> inline constexpr auto& name_v = L"Microsoft.Windows.Devices.Midi2.ServiceConfig.IMidiServiceTransportPluginConfig"; + template <> inline constexpr guid guid_v{ 0x0F1E4863,0xC76E,0x501F,{ 0x97,0x6A,0xDB,0x48,0xFC,0x0C,0x5B,0xB7 } }; // 0F1E4863-C76E-501F-976A-DB48FC0C5BB7 + template <> inline constexpr guid guid_v{ 0x20C5F99A,0x741B,0x513B,{ 0x86,0x55,0xAC,0x13,0x2F,0x05,0x16,0x6B } }; // 20C5F99A-741B-513B-8655-AC132F05166B + template <> inline constexpr guid guid_v{ 0x2EBCFA13,0x585A,0x4376,{ 0x8F,0xE1,0x63,0x57,0x84,0xFA,0x7F,0xD4 } }; // 2EBCFA13-585A-4376-8FE1-635784FA7FD4 + template <> inline constexpr guid guid_v{ 0xB2417DDE,0xEF35,0x499B,{ 0xA8,0x9B,0x0A,0x4C,0x32,0xCC,0x69,0x9A } }; // B2417DDE-EF35-499B-A89B-0A4C32CC699A + template <> struct default_interface{ using type = winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceConfig; }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall UpdateTransportPluginConfig(void*, struct struct_Microsoft_Windows_Devices_Midi2_ServiceConfig_MidiServiceConfigResponse*) noexcept = 0; + virtual int32_t __stdcall UpdateProcessingPluginConfig(void*, struct struct_Microsoft_Windows_Devices_Midi2_ServiceConfig_MidiServiceConfigResponse*) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_EndpointDeviceId(void**) noexcept = 0; + virtual int32_t __stdcall get_MessageProcessingPluginId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_PluginInstanceId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IsFromCurrentConfigFile(bool*) noexcept = 0; + virtual int32_t __stdcall GetConfigJson(void**) noexcept = 0; + }; + }; + template <> struct abi + { + struct WINRT_IMPL_NOVTABLE type : inspectable_abi + { + virtual int32_t __stdcall get_TransportId(winrt::guid*) noexcept = 0; + virtual int32_t __stdcall get_IsFromCurrentConfigFile(bool*) noexcept = 0; + virtual int32_t __stdcall GetConfigJson(void**) noexcept = 0; + }; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceConfig + { + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceConfig; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceConfigStatics + { + auto UpdateTransportPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig const& configUpdate) const; + auto UpdateProcessingPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig const& configUpdate) const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceConfigStatics; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig + { + [[nodiscard]] auto EndpointDeviceId() const; + [[nodiscard]] auto MessageProcessingPluginId() const; + [[nodiscard]] auto PluginInstanceId() const; + [[nodiscard]] auto IsFromCurrentConfigFile() const; + auto GetConfigJson() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceMessageProcessingPluginConfig; + }; + template + struct consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceTransportPluginConfig + { + [[nodiscard]] auto TransportId() const; + [[nodiscard]] auto IsFromCurrentConfigFile() const; + auto GetConfigJson() const; + }; + template <> struct consume + { + template using type = consume_Microsoft_Windows_Devices_Midi2_ServiceConfig_IMidiServiceTransportPluginConfig; + }; + struct struct_Microsoft_Windows_Devices_Midi2_ServiceConfig_MidiServiceConfigResponse + { + int32_t Status; + void* ResponseJson; + }; + template <> struct abi + { + using type = struct_Microsoft_Windows_Devices_Midi2_ServiceConfig_MidiServiceConfigResponse; + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h new file mode 100644 index 000000000..6cc54f32d --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h @@ -0,0 +1,38 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_1_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_1_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig +{ + struct WINRT_IMPL_EMPTY_BASES IMidiServiceConfig : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServiceConfig(std::nullptr_t = nullptr) noexcept {} + IMidiServiceConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiServiceConfigStatics : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServiceConfigStatics(std::nullptr_t = nullptr) noexcept {} + IMidiServiceConfigStatics(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiServiceMessageProcessingPluginConfig : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServiceMessageProcessingPluginConfig(std::nullptr_t = nullptr) noexcept {} + IMidiServiceMessageProcessingPluginConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; + struct WINRT_IMPL_EMPTY_BASES IMidiServiceTransportPluginConfig : + winrt::Windows::Foundation::IInspectable, + impl::consume_t + { + IMidiServiceTransportPluginConfig(std::nullptr_t = nullptr) noexcept {} + IMidiServiceTransportPluginConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {} + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h new file mode 100644 index 000000000..66de80d94 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h @@ -0,0 +1,30 @@ +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 + +#pragma once +#ifndef WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_2_H +#define WINRT_Microsoft_Windows_Devices_Midi2_ServiceConfig_2_H +#include "winrt/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h" +WINRT_EXPORT namespace winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig +{ + struct MidiServiceConfigResponse + { + winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::MidiServiceConfigResponseStatus Status; + hstring ResponseJson; + }; + inline bool operator==(MidiServiceConfigResponse const& left, MidiServiceConfigResponse const& right) noexcept + { + return left.Status == right.Status && left.ResponseJson == right.ResponseJson; + } + inline bool operator!=(MidiServiceConfigResponse const& left, MidiServiceConfigResponse const& right) noexcept + { + return !(left == right); + } + struct WINRT_IMPL_EMPTY_BASES MidiServiceConfig : winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceConfig + { + MidiServiceConfig(std::nullptr_t) noexcept {} + MidiServiceConfig(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceConfig(ptr, take_ownership_from_abi) {} + static auto UpdateTransportPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceTransportPluginConfig const& configUpdate); + static auto UpdateProcessingPluginConfig(winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig::IMidiServiceMessageProcessingPluginConfig const& configUpdate); + }; +} +#endif diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..686535059 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll new file mode 100644 index 000000000..3e71dd3a7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri new file mode 100644 index 000000000..fc8fd508a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..15faccfac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1330d4afb Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..3ec3bf415 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..a6672a0fe Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..686535059 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..61a87865f Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..15faccfac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..626d4a166 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..7dc39cedd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..cc0b45d34 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net7.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net8.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1c963097c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/net9.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..9e11bd949 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..f8d03b278 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..62280d0b1 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..fd62d3e7c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..6d1d55bf5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..25f462d84 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..7d62d0c0c Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..17d899219 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..f10b95cdd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24173.1521-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/basics/client-basics-cpp.vcxproj b/samples/cpp-winrt/basics/client-basics-cpp.vcxproj index e0ac6ecf7..8f0fe8883 100644 --- a/samples/cpp-winrt/basics/client-basics-cpp.vcxproj +++ b/samples/cpp-winrt/basics/client-basics-cpp.vcxproj @@ -1,6 +1,6 @@ - + true @@ -74,21 +74,33 @@ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ @@ -155,7 +167,7 @@ - + @@ -163,7 +175,7 @@ - - + + \ No newline at end of file diff --git a/samples/cpp-winrt/basics/packages.config b/samples/cpp-winrt/basics/packages.config index 8288024a1..565dc83e6 100644 --- a/samples/cpp-winrt/basics/packages.config +++ b/samples/cpp-winrt/basics/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/cpp-winrt-samples.sln b/samples/cpp-winrt/cpp-winrt-samples.sln index 2806cbb9d..f039ef996 100644 --- a/samples/cpp-winrt/cpp-winrt-samples.sln +++ b/samples/cpp-winrt/cpp-winrt-samples.sln @@ -13,14 +13,18 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "static-enum-endpoints-cpp", EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "watch-endpoints-cpp", "watch-endpoints\watch-endpoints-cpp.vcxproj", "{7BF3149C-DFA9-4419-B8E0-6E821875F83B}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "virtual-device-app-winui", "virtual-device-app-winui\virtual-device-app-winui.vcxproj", "{AE87FDF9-202F-4B21-B4D1-D83886C29053}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|ARM64 = Debug|ARM64 Debug|ARM64EC = Debug|ARM64EC Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|ARM64 = Release|ARM64 Release|ARM64EC = Release|ARM64EC Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|ARM64.ActiveCfg = Debug|ARM64 @@ -29,60 +33,104 @@ Global {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|x64.ActiveCfg = Debug|x64 {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|x64.Build.0 = Debug|x64 + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|x86.ActiveCfg = Debug|x64 + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|x86.Build.0 = Debug|x64 {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|ARM64.ActiveCfg = Release|ARM64 {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|ARM64.Build.0 = Release|ARM64 {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|ARM64EC.ActiveCfg = Release|ARM64EC {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|ARM64EC.Build.0 = Release|ARM64EC {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.ActiveCfg = Release|x64 {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.Build.0 = Release|x64 - {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64.ActiveCfg = Debug|x64 - {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64.Build.0 = Debug|x64 - {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64EC.Build.0 = Debug|x64 + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.ActiveCfg = Release|x64 + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.Build.0 = Release|x64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64.Build.0 = Debug|ARM64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|x64.ActiveCfg = Debug|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|x64.Build.0 = Debug|x64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|x86.ActiveCfg = Debug|x64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|x86.Build.0 = Debug|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|ARM64.ActiveCfg = Release|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|ARM64.Build.0 = Release|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|ARM64EC.ActiveCfg = Release|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|ARM64EC.Build.0 = Release|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|x64.ActiveCfg = Release|x64 {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|x64.Build.0 = Release|x64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|x86.ActiveCfg = Release|x64 + {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|x86.Build.0 = Release|x64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|ARM64.ActiveCfg = Debug|ARM64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|ARM64.Build.0 = Debug|ARM64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|x64.ActiveCfg = Debug|x64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|x64.Build.0 = Debug|x64 + {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|x86.ActiveCfg = Debug|x64 + {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Debug|x86.Build.0 = Debug|x64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|ARM64.ActiveCfg = Release|ARM64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|ARM64.Build.0 = Release|ARM64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|ARM64EC.ActiveCfg = Release|ARM64EC {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|ARM64EC.Build.0 = Release|ARM64EC {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|x64.ActiveCfg = Release|x64 {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|x64.Build.0 = Release|x64 + {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|x86.ActiveCfg = Release|x64 + {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}.Release|x86.Build.0 = Release|x64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|ARM64.ActiveCfg = Debug|ARM64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|ARM64.Build.0 = Debug|ARM64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|x64.ActiveCfg = Debug|x64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|x64.Build.0 = Debug|x64 + {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|x86.ActiveCfg = Debug|x64 + {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Debug|x86.Build.0 = Debug|x64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|ARM64.ActiveCfg = Release|ARM64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|ARM64.Build.0 = Release|ARM64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|ARM64EC.ActiveCfg = Release|ARM64EC {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|ARM64EC.Build.0 = Release|ARM64EC {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|x64.ActiveCfg = Release|x64 {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|x64.Build.0 = Release|x64 + {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|x86.ActiveCfg = Release|x64 + {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}.Release|x86.Build.0 = Release|x64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|ARM64.ActiveCfg = Debug|ARM64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|ARM64.Build.0 = Debug|ARM64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|x64.ActiveCfg = Debug|x64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|x64.Build.0 = Debug|x64 + {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|x86.ActiveCfg = Debug|x64 + {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Debug|x86.Build.0 = Debug|x64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|ARM64.ActiveCfg = Release|ARM64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|ARM64.Build.0 = Release|ARM64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|ARM64EC.ActiveCfg = Release|ARM64EC {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|ARM64EC.Build.0 = Release|ARM64EC {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|x64.ActiveCfg = Release|x64 {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|x64.Build.0 = Release|x64 + {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|x86.ActiveCfg = Release|x64 + {7BF3149C-DFA9-4419-B8E0-6E821875F83B}.Release|x86.Build.0 = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|ARM64.Build.0 = Debug|ARM64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|ARM64.Deploy.0 = Debug|ARM64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|ARM64EC.Build.0 = Debug|ARM64EC + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|ARM64EC.Deploy.0 = Debug|ARM64EC + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|x64.ActiveCfg = Debug|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|x64.Build.0 = Debug|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|x64.Deploy.0 = Debug|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|x86.ActiveCfg = Debug|Win32 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|x86.Build.0 = Debug|Win32 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Debug|x86.Deploy.0 = Debug|Win32 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|ARM64.ActiveCfg = Release|ARM64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|ARM64.Build.0 = Release|ARM64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|ARM64.Deploy.0 = Release|ARM64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|ARM64EC.ActiveCfg = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|ARM64EC.Build.0 = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|ARM64EC.Deploy.0 = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|x64.ActiveCfg = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|x64.Build.0 = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|x64.Deploy.0 = Release|x64 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|x86.ActiveCfg = Release|Win32 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|x86.Build.0 = Release|Win32 + {AE87FDF9-202F-4B21-B4D1-D83886C29053}.Release|x86.Deploy.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj index 60ee7a2db..0c61e34f1 100644 --- a/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj +++ b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj @@ -1,6 +1,6 @@ - + true @@ -16,10 +16,26 @@ + + Debug + ARM64 + + + Debug + ARM64EC + Debug x64 + + Release + ARM64 + + + Release + ARM64EC + Release x64 @@ -54,6 +70,30 @@ + + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ + + + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ + + + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ + + + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ + + + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ + + + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ + NotUsing @@ -71,6 +111,8 @@ Disabled _DEBUG;%(PreprocessorDefinitions) stdcpp20 + stdcpp20 + stdcpp20 Console @@ -89,6 +131,8 @@ true NDEBUG;%(PreprocessorDefinitions) stdcpp20 + stdcpp20 + stdcpp20 Console @@ -113,7 +157,7 @@ - + @@ -121,7 +165,7 @@ - - + + \ No newline at end of file diff --git a/samples/cpp-winrt/loopback-endpoints/packages.config b/samples/cpp-winrt/loopback-endpoints/packages.config index 8288024a1..565dc83e6 100644 --- a/samples/cpp-winrt/loopback-endpoints/packages.config +++ b/samples/cpp-winrt/loopback-endpoints/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/send-speed/packages.config b/samples/cpp-winrt/send-speed/packages.config index 8288024a1..565dc83e6 100644 --- a/samples/cpp-winrt/send-speed/packages.config +++ b/samples/cpp-winrt/send-speed/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj b/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj index 5c069d9f9..555ecd7cf 100644 --- a/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj +++ b/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj @@ -1,6 +1,6 @@ - + true @@ -74,21 +74,33 @@ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ @@ -155,7 +167,7 @@ - + @@ -163,7 +175,7 @@ - - + + \ No newline at end of file diff --git a/samples/cpp-winrt/static-enum-endpoints/main.cpp b/samples/cpp-winrt/static-enum-endpoints/main.cpp index 22080779b..7685b0d80 100644 --- a/samples/cpp-winrt/static-enum-endpoints/main.cpp +++ b/samples/cpp-winrt/static-enum-endpoints/main.cpp @@ -52,10 +52,10 @@ int main() auto endpoints = MidiEndpointDeviceInformation::FindAll( MidiEndpointDeviceInformationSortOrder::Name, - MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative | - MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative | - MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback | - MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder + MidiEndpointDeviceInformationFilters::StandardNativeMidi1ByteFormat | + MidiEndpointDeviceInformationFilters::StandardNativeUniversalMidiPacketFormat | + MidiEndpointDeviceInformationFilters::DiagnosticLoopback | + MidiEndpointDeviceInformationFilters::VirtualDeviceResponder ); std::cout << endpoints.Size() << " endpoints returned" << std::endl << std::endl; @@ -161,11 +161,11 @@ int main() std::cout << "- Transport Id: " << winrt::to_string(winrt::to_hstring(transportInfo.TransportId)) << std::endl; std::cout << "- Transport Mnemonic: " << winrt::to_string(transportInfo.TransportAbbreviation) << std::endl; - if (transportInfo.NativeDataFormat == MidiEndpointNativeDataFormat::ByteStream) + if (transportInfo.NativeDataFormat == MidiEndpointNativeDataFormat::Midi1ByteFormat) { std::cout << "- Native Data Format: MIDI 1.0 Byte Stream" << std::endl; } - else if (transportInfo.NativeDataFormat == MidiEndpointNativeDataFormat::UniversalMidiPacket) + else if (transportInfo.NativeDataFormat == MidiEndpointNativeDataFormat::UniversalMidiPacketFormat) { std::cout << "- Native Data Format: MIDI 2.0 UMP" << std::endl; } diff --git a/samples/cpp-winrt/static-enum-endpoints/packages.config b/samples/cpp-winrt/static-enum-endpoints/packages.config index 8288024a1..565dc83e6 100644 --- a/samples/cpp-winrt/static-enum-endpoints/packages.config +++ b/samples/cpp-winrt/static-enum-endpoints/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj index 1eeddf00c..2b3d4de17 100644 --- a/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj +++ b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj @@ -1,6 +1,6 @@ - + true @@ -74,21 +74,33 @@ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ @@ -155,7 +167,7 @@ - + @@ -163,7 +175,7 @@ - - + + \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/App.xaml b/samples/cpp-winrt/virtual-device-app-winui/App.xaml new file mode 100644 index 000000000..9906e2a71 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/App.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/samples/cpp-winrt/virtual-device-app-winui/App.xaml.cpp b/samples/cpp-winrt/virtual-device-app-winui/App.xaml.cpp new file mode 100644 index 000000000..96e87a522 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/App.xaml.cpp @@ -0,0 +1,43 @@ +#include "pch.h" +#include "App.xaml.h" +#include "MainWindow.xaml.h" + +using namespace winrt; +using namespace Microsoft::UI::Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace winrt::virtual_device_app_winui::implementation +{ + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + App::App() + { + // Xaml objects should not call InitializeComponent during construction. + // See https://github.com/microsoft/cppwinrt/tree/master/nuget#initializecomponent + +#if defined _DEBUG && !defined DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION + UnhandledException([](IInspectable const&, UnhandledExceptionEventArgs const& e) + { + if (IsDebuggerPresent()) + { + auto errorMessage = e.Message(); + __debugbreak(); + } + }); +#endif + } + + /// + /// Invoked when the application is launched. + /// + /// Details about the launch request and process. + void App::OnLaunched([[maybe_unused]] LaunchActivatedEventArgs const& e) + { + window = make(); + window.Activate(); + } +} diff --git a/samples/cpp-winrt/virtual-device-app-winui/App.xaml.h b/samples/cpp-winrt/virtual-device-app-winui/App.xaml.h new file mode 100644 index 000000000..85fb54c49 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/App.xaml.h @@ -0,0 +1,16 @@ +#pragma once + +#include "App.xaml.g.h" + +namespace winrt::virtual_device_app_winui::implementation +{ + struct App : AppT + { + App(); + + void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&); + + private: + winrt::Microsoft::UI::Xaml::Window window{ nullptr }; + }; +} diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/LockScreenLogo.scale-200.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/LockScreenLogo.scale-200.png new file mode 100644 index 000000000..7440f0d4b Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/LockScreenLogo.scale-200.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/SplashScreen.scale-200.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/SplashScreen.scale-200.png new file mode 100644 index 000000000..32f486a86 Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/SplashScreen.scale-200.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/Square150x150Logo.scale-200.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/Square150x150Logo.scale-200.png new file mode 100644 index 000000000..53ee3777e Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/Square150x150Logo.scale-200.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/Square44x44Logo.scale-200.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/Square44x44Logo.scale-200.png new file mode 100644 index 000000000..f713bba67 Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/Square44x44Logo.scale-200.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png new file mode 100644 index 000000000..dc9f5bea0 Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/StoreLogo.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/StoreLogo.png new file mode 100644 index 000000000..a4586f26b Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/StoreLogo.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/Assets/Wide310x150Logo.scale-200.png b/samples/cpp-winrt/virtual-device-app-winui/Assets/Wide310x150Logo.scale-200.png new file mode 100644 index 000000000..8b4a5d0dd Binary files /dev/null and b/samples/cpp-winrt/virtual-device-app-winui/Assets/Wide310x150Logo.scale-200.png differ diff --git a/samples/cpp-winrt/virtual-device-app-winui/MainWindow.idl b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.idl new file mode 100644 index 000000000..2c5adea7f --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.idl @@ -0,0 +1,9 @@ +namespace virtual_device_app_winui +{ + [default_interface] + runtimeclass MainWindow : Microsoft.UI.Xaml.Window + { + MainWindow(); + + } +} diff --git a/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml new file mode 100644 index 000000000..e7c1e011c --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + diff --git a/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml.cpp b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml.cpp new file mode 100644 index 000000000..a7d5a0049 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml.cpp @@ -0,0 +1,157 @@ +#include "pch.h" +#include "MainWindow.xaml.h" +#if __has_include("MainWindow.g.cpp") +#include "MainWindow.g.cpp" +#endif + +using namespace winrt; +using namespace Microsoft::UI::Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace winrt::virtual_device_app_winui::implementation +{ + + void MainWindow::StartVirtualDevice() + { + if (!init::MidiServicesInitializer::EnsureServiceAvailable()) return; // return if unable to start up the service + + // TODO: Bootstrap SDK + + + + // define our virtual device + auto creationConfig = DefineDevice(); + + // create the session. The name here is just convenience. + m_session = midi2::MidiSession::Create(creationConfig.Name()); + + // return if unable to create session + if (m_session == nullptr) return; + + // create the virtual device, so we can get the endpoint device id to connect to + m_virtualDevice = virt::MidiVirtualDeviceManager::CreateVirtualDevice(creationConfig); + + // return if unable to create virtual device + if (m_virtualDevice == nullptr) return; + + // create our device-side connection + m_connection = m_session.CreateEndpointConnection(m_virtualDevice.DeviceEndpointDeviceId()); + + // add the virtual device as a message processing plugin so it receives the messages + m_connection.AddMessageProcessingPlugin(m_virtualDevice); + + // wire up the stream configuration request received handler + auto streamEventToken = m_virtualDevice.StreamConfigRequestReceived({ this, &MainWindow::OnStreamConfigurationRequestReceived }); + + // wire up the message received handler on the connection itself + auto messageEventToken = m_connection.MessageReceived({ this, &MainWindow::OnMidiMessageReceived }); + + if (m_connection.Open()) + { + // AppWindow().Title(creationConfig.Name() + L": Connected"); + } + else + { + // AppWindow().Title(creationConfig.Name() + L": (no connection)"); + } + + } + + _Use_decl_annotations_ + void MainWindow::OnMidiMessageReceived(midi2::IMidiMessageReceivedEventSource const&, midi2::MidiMessageReceivedEventArgs const& /*args*/) + { + // handle incoming messages as they arrive + + } + + _Use_decl_annotations_ + void MainWindow::OnStreamConfigurationRequestReceived(virt::MidiVirtualDevice const&, virt::MidiStreamConfigRequestReceivedEventArgs const& /*args*/) + { + // respond with an appropriate stream configuration response + } + + + + virt::MidiVirtualDeviceCreationConfig MainWindow::DefineDevice() + { + // some of these values may seem redundant, but for physical devices + // they are all sourced from different locations, and we want virtual + // devices to behave like physical devices. + + winrt::hstring userSuppliedName = L"Pad Controller App"; + winrt::hstring userSuppliedDescription = L"My favorite demo app for Windows MIDI Services"; + + winrt::hstring transportSuppliedName = L"Contoso Pad Controller 1.0"; + winrt::hstring transportSuppliedDescription = L"A sample app-to-app MIDI virtual device"; + winrt::hstring transportSuppliedManufacturerName = L"Constoso, Inc."; + + winrt::hstring endpointSuppliedName = transportSuppliedName; + + + midi2::MidiDeclaredEndpointInfo declaredEndpointInfo{ }; + declaredEndpointInfo.Name = endpointSuppliedName; + declaredEndpointInfo.ProductInstanceId = L"PMB_APP2_3263827"; + declaredEndpointInfo.SpecificationVersionMajor = 1; // see latest MIDI 2 UMP spec + declaredEndpointInfo.SpecificationVersionMinor = 1; // see latest MIDI 2 UMP spec + declaredEndpointInfo.SupportsMidi10Protocol = true; + declaredEndpointInfo.SupportsMidi20Protocol = true; + declaredEndpointInfo.SupportsReceivingJitterReductionTimestamps = false; + declaredEndpointInfo.SupportsSendingJitterReductionTimestamps = false; + declaredEndpointInfo.HasStaticFunctionBlocks = true; + + midi2::MidiDeclaredDeviceIdentity declaredDeviceIdentity{ }; + // todo: set any device identity values if you want. This is optional + + midi2::MidiEndpointUserSuppliedInfo userSuppliedInfo{ }; + userSuppliedInfo.Name = userSuppliedName; // for names, this will bubble to the top in priority + userSuppliedInfo.Description = userSuppliedDescription; + + + virt::MidiVirtualDeviceCreationConfig config( + transportSuppliedName, // this could be a different "transport-supplied" name value here + transportSuppliedDescription, // transport-supplied description + transportSuppliedManufacturerName, // transport-supplied company name + declaredEndpointInfo, // for endpoint discovery + declaredDeviceIdentity, // for endpoint discovery + userSuppliedInfo + ); + + // Function blocks. The MIDI 2 UMP specification covers the meanings + // of these values + midi2::MidiFunctionBlock block1{}; + block1.Number(0); + block1.Name(L"Pads Output"); + block1.IsActive(true); + block1.UIHint(midi2::MidiFunctionBlockUIHint::Sender); + block1.FirstGroupIndex(0); + block1.GroupCount(1); + block1.Direction(midi2::MidiFunctionBlockDirection::Bidirectional); + block1.RepresentsMidi10Connection(midi2::MidiFunctionBlockRepresentsMidi10Connection::Not10); + block1.MaxSystemExclusive8Streams(0); + block1.MidiCIMessageVersionFormat(0); + + config.FunctionBlocks().Append(block1); + + midi2::MidiFunctionBlock block2{}; + block2.Number(1); + block2.Name(L"A Function Block"); + block2.IsActive(true); + block2.UIHint(midi2::MidiFunctionBlockUIHint::Sender); + block2.FirstGroupIndex(1); + block2.GroupCount(2); + block2.Direction(midi2::MidiFunctionBlockDirection::Bidirectional); + block2.RepresentsMidi10Connection(midi2::MidiFunctionBlockRepresentsMidi10Connection::Not10); + block2.MaxSystemExclusive8Streams(0); + block2.MidiCIMessageVersionFormat(0); + + config.FunctionBlocks().Append(block2); + + return config; + } + + + + +} diff --git a/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml.h b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml.h new file mode 100644 index 000000000..aa1760f7d --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/MainWindow.xaml.h @@ -0,0 +1,37 @@ +#pragma once + +#include "MainWindow.g.h" + +namespace winrt::virtual_device_app_winui::implementation +{ + struct MainWindow : MainWindowT + { + MainWindow() + { + // Xaml objects should not call InitializeComponent during construction. + // See https://github.com/microsoft/cppwinrt/tree/master/nuget#initializecomponent + } + + //void myButton_Click(IInspectable const& sender, Microsoft::UI::Xaml::RoutedEventArgs const& args); + + private: + void OnMidiMessageReceived(_In_ midi2::IMidiMessageReceivedEventSource const&, _In_ midi2::MidiMessageReceivedEventArgs const& args); + void OnStreamConfigurationRequestReceived(_In_ virt::MidiVirtualDevice const&, _In_ virt::MidiStreamConfigRequestReceivedEventArgs const& args); + + virt::MidiVirtualDeviceCreationConfig DefineDevice(); + void StartVirtualDevice(); + + + midi2::MidiSession m_session{ nullptr }; + midi2::MidiEndpointConnection m_connection{ nullptr }; + virt::MidiVirtualDevice m_virtualDevice{ nullptr }; + + }; +} + +namespace winrt::virtual_device_app_winui::factory_implementation +{ + struct MainWindow : MainWindowT + { + }; +} diff --git a/samples/cpp-winrt/virtual-device-app-winui/Note.cpp b/samples/cpp-winrt/virtual-device-app-winui/Note.cpp new file mode 100644 index 000000000..9fd669508 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/Note.cpp @@ -0,0 +1,15 @@ +#include "pch.h" +#include "Note.h" +#include "Note.g.cpp" + +namespace winrt::virtual_device_app_winui::implementation +{ + void Note::NoteOn() + { + throw hresult_not_implemented(); + } + void Note::NoteOff() + { + throw hresult_not_implemented(); + } +} diff --git a/samples/cpp-winrt/virtual-device-app-winui/Note.h b/samples/cpp-winrt/virtual-device-app-winui/Note.h new file mode 100644 index 000000000..a270382c9 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/Note.h @@ -0,0 +1,39 @@ +#pragma once +#include "Note.g.h" + +namespace winrt::virtual_device_app_winui::implementation +{ + struct Note : NoteT + { + Note() = default; + + uint8_t NoteNumber() { return m_noteNumber; } + void NoteNumber(_In_ uint8_t value) { m_noteNumber = value; } + + uint8_t GroupIndex() { return m_groupIndex; } + void GroupIndex(_In_ uint8_t value) { m_groupIndex = value; } + + uint8_t ChannelIndex() { return m_channelIndex; } + void ChannelIndex(_In_ uint8_t value) { m_channelIndex = value; } + + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointConnection Connection() { return m_connection; } + void Connection(_In_ winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointConnection const& value) { m_connection = value; } + + void NoteOn(); + void NoteOff(); + + private: + uint8_t m_noteNumber{}; + uint8_t m_groupIndex{}; + uint8_t m_channelIndex{}; + + winrt::Microsoft::Windows::Devices::Midi2::MidiEndpointConnection m_connection{ nullptr }; + + }; +} +namespace winrt::virtual_device_app_winui::factory_implementation +{ + struct Note : NoteT + { + }; +} \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/Note.idl b/samples/cpp-winrt/virtual-device-app-winui/Note.idl new file mode 100644 index 000000000..43f5fab8c --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/Note.idl @@ -0,0 +1,18 @@ +namespace virtual_device_app_winui +{ + [default_interface] + runtimeclass Note + { + Note(); + + UInt8 NoteNumber; + UInt8 GroupIndex; + UInt8 ChannelIndex; + + Microsoft.Windows.Devices.Midi2.MidiEndpointConnection Connection; + + void NoteOn(); + void NoteOff(); + + } +} \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/Package.appxmanifest b/samples/cpp-winrt/virtual-device-app-winui/Package.appxmanifest new file mode 100644 index 000000000..38fa83ef7 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/Package.appxmanifest @@ -0,0 +1,51 @@ + + + + + + + + + + virtual-device-app-winui + peteb + Assets\StoreLogo.png + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/cpp-winrt/virtual-device-app-winui/app.manifest b/samples/cpp-winrt/virtual-device-app-winui/app.manifest new file mode 100644 index 000000000..8b63d21d0 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/app.manifest @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + PerMonitorV2 + + + \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/packages.config b/samples/cpp-winrt/virtual-device-app-winui/packages.config new file mode 100644 index 000000000..e696494ef --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/pch.cpp b/samples/cpp-winrt/virtual-device-app-winui/pch.cpp new file mode 100644 index 000000000..1d9f38c57 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/pch.cpp @@ -0,0 +1 @@ +#include "pch.h" diff --git a/samples/cpp-winrt/virtual-device-app-winui/pch.h b/samples/cpp-winrt/virtual-device-app-winui/pch.h new file mode 100644 index 000000000..44c4d6caa --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/pch.h @@ -0,0 +1,38 @@ +#pragma once +#include +#include +#include +#include + +// Undefine GetCurrentTime macro to prevent +// conflict with Storyboard::GetCurrentTime +#undef GetCurrentTime + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +#include +#include +#include +#include + +namespace init = winrt::Microsoft::Windows::Devices::Midi2::Initialization; +namespace midi2 = winrt::Microsoft::Windows::Devices::Midi2; +namespace virt = winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual; +namespace msgs = winrt::Microsoft::Windows::Devices::Midi2::Messages; + +#include "note.h" \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/readme.txt b/samples/cpp-winrt/virtual-device-app-winui/readme.txt new file mode 100644 index 000000000..b61479634 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/readme.txt @@ -0,0 +1,27 @@ +======================================================================== + virtual-device-app-winui Project Overview +======================================================================== + +This project demonstrates how to get started writing WinUI3 apps directly +with standard C++, using the Windows App SDK and C++/WinRT packages and +XAML compiler support to generate implementation headers from interface +(IDL) files. These headers can then be used to implement the local +Windows Runtime classes referenced in the app's XAML pages. + +Steps: +1. Create an interface (IDL) file to define any local Windows Runtime + classes referenced in the app's XAML pages. +2. Build the project once to generate implementation templates under + the "Generated Files" folder, as well as skeleton class definitions + under "Generated Files\sources". +3. Use the skeleton class definitions for reference to implement your + Windows Runtime classes. + +======================================================================== +Learn more about Windows App SDK here: +https://docs.microsoft.com/windows/apps/windows-app-sdk/ +Learn more about WinUI3 here: +https://docs.microsoft.com/windows/apps/winui/winui3/ +Learn more about C++/WinRT here: +http://aka.ms/cppwinrt/ +======================================================================== diff --git a/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj b/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj new file mode 100644 index 000000000..904ff71af --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj @@ -0,0 +1,207 @@ + + + + + + + + true + true + true + {ae87fdf9-202f-4b21-b4d1-d83886c29053} + virtual-device-app-winui + virtual_device_app_winui + + $(RootNamespace) + en-US + 16.0 + false + true + Windows Store + 10.0 + 10.0 + 10.0.17763.0 + true + true + + + + + Debug + ARM64EC + + + Debug + Win32 + + + Debug + x64 + + + Debug + ARM64 + + + Release + ARM64EC + + + Release + Win32 + + + Release + x64 + + + Release + ARM64 + + + + Application + v143 + Unicode + true + + + true + true + + + false + true + false + + + + + + + + + + + Use + pch.h + $(IntDir)pch.pch + Level4 + %(AdditionalOptions) /bigobj + + + + + _DEBUG;%(PreprocessorDefinitions) + + + + + NDEBUG;%(PreprocessorDefinitions) + + + true + true + + + + + Designer + + + + + + + + + + App.xaml + + + MainWindow.xaml + + + + + + + + + + Create + + + App.xaml + + + MainWindow.xaml + + + + + + Code + MainWindow.xaml + + + + + + false + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj.filters b/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj.filters new file mode 100644 index 000000000..b1648ba33 --- /dev/null +++ b/samples/cpp-winrt/virtual-device-app-winui/virtual-device-app-winui.vcxproj.filters @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + Assets + + + Assets + + + Assets + + + Assets + + + Assets + + + Assets + + + Assets + + + + + {ae87fdf9-202f-4b21-b4d1-d83886c29053} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/watch-endpoints/main.cpp b/samples/cpp-winrt/watch-endpoints/main.cpp index 31442e2e1..8a76af458 100644 --- a/samples/cpp-winrt/watch-endpoints/main.cpp +++ b/samples/cpp-winrt/watch-endpoints/main.cpp @@ -56,15 +56,15 @@ int main() std::cout << "Enumerating endpoints..." << std::endl; auto filter = - MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative | - MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative | - MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder; + MidiEndpointDeviceInformationFilters::StandardNativeMidi1ByteFormat | + MidiEndpointDeviceInformationFilters::StandardNativeUniversalMidiPacketFormat | + MidiEndpointDeviceInformationFilters::VirtualDeviceResponder; // apps normally don't use this type // normally, applications should not include diagnostics endpoints unless they are // providing diagnostics functions. if (includeDiagnosticsEndpoints) { - filter |= MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback; + filter |= MidiEndpointDeviceInformationFilters::DiagnosticLoopback; } auto watcher = MidiEndpointDeviceWatcher::Create(filter); diff --git a/samples/cpp-winrt/watch-endpoints/packages.config b/samples/cpp-winrt/watch-endpoints/packages.config index 8288024a1..565dc83e6 100644 --- a/samples/cpp-winrt/watch-endpoints/packages.config +++ b/samples/cpp-winrt/watch-endpoints/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj index 7f5b51c6e..bfce23ce2 100644 --- a/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj +++ b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj @@ -1,6 +1,6 @@ - + true @@ -74,21 +74,33 @@ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ $(IncludePath) + bin\$(Platform)\$(Configuration)\ + intermediate\$(Platform)\$(Configuration)\ @@ -155,7 +167,7 @@ - + @@ -163,7 +175,7 @@ - - + + \ No newline at end of file diff --git a/samples/csharp-net/basics/Program.cs b/samples/csharp-net/basics/Program.cs index 8b06d537c..7e8e8d81c 100644 --- a/samples/csharp-net/basics/Program.cs +++ b/samples/csharp-net/basics/Program.cs @@ -1,4 +1,8 @@ -using Microsoft.Devices.Midi2; +using Microsoft.Windows.Devices.Midi2; +using Microsoft.Windows.Devices.Midi2.Initialization; +using Microsoft.Windows.Devices.Midi2.Diagnostics; +using Microsoft.Windows.Devices.Midi2.Messages; + using Windows.Devices.Enumeration; using System; @@ -8,20 +12,24 @@ Console.WriteLine("Checking for Windows MIDI Services"); // you only need to check this once -if (!MidiService.IsAvailable()) +if (!MidiServicesInitializer.EnsureServiceAvailable()) { // In your application, you may decide it is appropriate to fall back to an older MIDI API Console.WriteLine("Windows MIDI Services is not available"); } else { + // bootstrap the SDK runtime. Should check the return result here + MidiServicesInitializer.InitializeSdkRuntime(); + + Console.WriteLine("Creating session"); // session implements IDisposable - using (var session = MidiSession.CreateSession("API Sample Session")) + using (var session = MidiSession.Create("API Sample Session")) { - var endpointAId = MidiEndpointDeviceInformation.DiagnosticsLoopbackAEndpointId; - var endpointBId = MidiEndpointDeviceInformation.DiagnosticsLoopbackBEndpointId; + var endpointAId = MidiDiagnostics.DiagnosticsLoopbackAEndpointDeviceId; + var endpointBId = MidiDiagnostics.DiagnosticsLoopbackBEndpointDeviceId; Console.WriteLine("Connecting to Sender UMP Endpoint: " + endpointAId); Console.WriteLine("Connecting to Receiver UMP Endpoint: " + endpointBId); @@ -42,7 +50,7 @@ void MessageReceivedHandler(object sender, MidiMessageReceivedEventArgs args) Console.WriteLine("- UMP Timestamp: " + ump.Timestamp); Console.WriteLine("- UMP Msg Type: " + ump.MessageType); Console.WriteLine("- UMP Packet Type: " + ump.PacketType); - Console.WriteLine("- Message: " + MidiMessageUtility.GetMessageFriendlyNameFromFirstWord(args.PeekFirstWord())); + Console.WriteLine("- Message: " + MidiMessageHelper.GetMessageDisplayNameFromFirstWord(args.PeekFirstWord())); if (ump is MidiMessage32) { diff --git a/samples/csharp-net/basics/client-basics-cs.csproj b/samples/csharp-net/basics/client-basics-cs.csproj index 26cebf5ec..9564aa30c 100644 --- a/samples/csharp-net/basics/client-basics-cs.csproj +++ b/samples/csharp-net/basics/client-basics-cs.csproj @@ -10,8 +10,8 @@ - + diff --git a/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs b/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs index c650f7c23..3b7511509 100644 --- a/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs +++ b/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs @@ -16,9 +16,10 @@ using Windows.Foundation.Collections; using WinUIEx; -using midi2 = Microsoft.Windows.Devices.Midi2; -using msgs = Microsoft.Windows.Devices.Midi2.Messages; -using virt = Microsoft.Windows.Devices.Midi2.Endpoints.Virtual; +using Microsoft.Windows.Devices.Midi2; +using Microsoft.Windows.Devices.Midi2.Messages; +using Microsoft.Windows.Devices.Midi2.Endpoints.Virtual; +using Microsoft.Windows.Devices.Midi2.Initialization; namespace MidiSample.AppToAppMidi @@ -26,8 +27,9 @@ namespace MidiSample.AppToAppMidi public sealed partial class MainWindow : Microsoft.UI.Xaml.Window { - private midi2.MidiSession _session; - private midi2.MidiEndpointConnection _connection; + private MidiSession _session; + private MidiEndpointConnection _connection; + private MidiVirtualDevice _virtualDevice; public List Notes { get; } @@ -35,19 +37,27 @@ public MainWindow() { this.InitializeComponent(); - OpenConnection(); + if (!MidiServicesInitializer.EnsureServiceAvailable()) + { + // In your application, you may decide it is appropriate to fall back to an older MIDI API + Console.WriteLine("Windows MIDI Services is not available"); + } + else + { + // bootstrap the SDK runtime. Should check the return result here + MidiServicesInitializer.InitializeSdkRuntime(); - var notes = new byte[] { 50, 52, 53, 55, 57, 58, 60, 62, 64, 65, 67, 69, 70, 72, 74, 76 }; - - Notes = notes.Select(n=>new Note() { NoteNumber = n, Connection = _connection, GroupIndex = 0, ChannelIndex = 0 }).ToList(); + StartVirtualDevice(); - this.Closed += MainWindow_Closed; + var notes = new byte[] { 50, 52, 53, 55, 57, 58, 60, 62, 64, 65, 67, 69, 70, 72, 74, 76 }; - //this.AppWindow.MoveAndResize(new Windows.Graphics.RectInt32(100, 100, 600, 600)); + Notes = notes.Select(n => new Note() { NoteNumber = n, Connection = _connection, GroupIndex = 0, ChannelIndex = 0 }).ToList(); + } + + this.Closed += MainWindow_Closed; this.SetWindowSize(500, 550); this.SetIsAlwaysOnTop(true); - } private void MainWindow_Closed(object sender, WindowEventArgs args) @@ -62,95 +72,51 @@ private void MainWindow_Closed(object sender, WindowEventArgs args) _session.Dispose(); } - private void OpenConnection() + private void StartVirtualDevice() { try { - System.Diagnostics.Debug.WriteLine("Open Connection enter"); - // create our function blocks and endpoint info to be reported back through MIDI + System.Diagnostics.Debug.WriteLine("StartVirtualDevice Connection enter"); - var deviceDefinition = new midi2.MidiVirtualEndpointDeviceDefinition(); + // define our virtual device + var creationConfig = DefineDevice(); - deviceDefinition.FunctionBlocks.Add(new midi2.MidiFunctionBlock() - { - Number = 0, - IsActive = true, - Name = "Pads Output", - UIHint = midi2.MidiFunctionBlockUIHint.Sender, - FirstGroupIndex = 0, - GroupCount = 1, - Direction = midi2.MidiFunctionBlockDirection.Bidirectional, - Midi10Connection = midi2.MidiFunctionBlockMidi10.Not10, - MaxSystemExclusive8Streams = 0, - MidiCIMessageVersionFormat = 0 - }); - - deviceDefinition.FunctionBlocks.Add(new midi2.MidiFunctionBlock() - { - Number = 1, - IsActive = true, - Name = "A Function Block", - UIHint = midi2.MidiFunctionBlockUIHint.Sender, - FirstGroupIndex = 1, - GroupCount = 1, - Direction = midi2.MidiFunctionBlockDirection.Bidirectional, - Midi10Connection = midi2.MidiFunctionBlockMidi10.Not10, - MaxSystemExclusive8Streams = 0, - MidiCIMessageVersionFormat = 0 - }); - - deviceDefinition.AreFunctionBlocksStatic = true; - deviceDefinition.EndpointName = "Pad Controller App"; - deviceDefinition.EndpointProductInstanceId = "PMB_APP2_3263827"; - deviceDefinition.SupportsMidi2ProtocolMessages = true; - deviceDefinition.SupportsMidi1ProtocolMessages = true; - deviceDefinition.SupportsReceivingJRTimestamps = false; - deviceDefinition.SupportsSendingJRTimestamps = false; - - - System.Diagnostics.Debug.WriteLine("Creating session"); - _session = midi2.MidiSession.CreateSession(deviceDefinition.EndpointName); - - if (_session != null) + // create the session. The name here is just convenience. + _session = MidiSession.Create(creationConfig.Name); + + // return if unable to create session + if (_session == null) return; + + // create the virtual device, so we can get the endpoint device id to connect to + _virtualDevice = MidiVirtualDeviceManager.CreateVirtualDevice(creationConfig); + + // return if unable to create virtual device + if (_virtualDevice == null ) return; + + // create our device-side connection + _connection = _session.CreateEndpointConnection(_virtualDevice.DeviceEndpointDeviceId); + + // wire up the stream configuration request received handler + _virtualDevice.StreamConfigRequestReceived += OnStreamConfigurationRequestReceived; + + // wire up the message received handler on the connection itself + _connection.MessageReceived += OnMidiMessageReceived; + + + if (_connection.Open()) { - System.Diagnostics.Debug.WriteLine("Creating virtual device"); - _connection = _session.CreateVirtualDeviceAndConnection(deviceDefinition); - - if (_connection != null) - { - System.Diagnostics.Debug.WriteLine("Created endpoint id: " + _connection.EndpointDeviceId); - System.Diagnostics.Debug.WriteLine("Connection created. Wiring up MessageReceived event"); - - _connection.MessageReceived += _connection_MessageReceived; - - // do anything else needed here. The public endpoint is not available to other - // applications until you open the device endpoint - - System.Diagnostics.Debug.WriteLine("Connection created. About to open it."); - - if (_connection.Open()) - { - System.Diagnostics.Debug.WriteLine("Connection Opened"); - - this.AppWindow.Title = deviceDefinition.EndpointName + ": Connected"; - } - else - { - System.Diagnostics.Debug.WriteLine("Connection Open Failed"); - this.AppWindow.Title = deviceDefinition.EndpointName + ": (no connection)"; - } - } - else - { - System.Diagnostics.Debug.WriteLine("Returned connection is null"); - } + System.Diagnostics.Debug.WriteLine("Connection Opened"); + + this.AppWindow.Title = creationConfig.Name + ": Connected"; } else { - System.Diagnostics.Debug.WriteLine("Session Open Failed"); + System.Diagnostics.Debug.WriteLine("Connection Open Failed"); + this.AppWindow.Title = creationConfig.Name + ": (no connection)"; } + } catch (Exception ex) { @@ -158,10 +124,95 @@ private void OpenConnection() } } - private void _connection_MessageReceived(midi2.IMidiMessageReceivedEventSource sender, midi2.MidiMessageReceivedEventArgs args) + private void OnMidiMessageReceived(IMidiMessageReceivedEventSource sender, MidiMessageReceivedEventArgs args) { - System.Diagnostics.Debug.WriteLine("Message Received " + msgs.MidiMessageUtility.GetMessageDisplayNameFromFirstWord( + System.Diagnostics.Debug.WriteLine("Message Received " + MidiMessageHelper.GetMessageDisplayNameFromFirstWord( args.PeekFirstWord())); } + + private void OnStreamConfigurationRequestReceived(MidiVirtualDevice sender, MidiStreamConfigRequestReceivedEventArgs args) + { + + + } + + + MidiVirtualDeviceCreationConfig DefineDevice() + { + // some of these values may seem redundant, but for physical devices + // they are all sourced from different locations, and we want virtual + // devices to behave like physical devices. + + string userSuppliedName = "Pad Controller App"; + string userSuppliedDescription = "My favorite demo app for Windows MIDI Services"; + + string transportSuppliedName = "Contoso Pad Controller 1.0"; + string transportSuppliedDescription = "A sample app-to-app MIDI virtual device"; + string transportSuppliedManufacturerName = "Constoso, Inc."; + + string endpointSuppliedName = transportSuppliedName; + + + var declaredEndpointInfo = new MidiDeclaredEndpointInfo(); + declaredEndpointInfo.Name = endpointSuppliedName; + declaredEndpointInfo.ProductInstanceId = "PMB_APP2_3263827"; + declaredEndpointInfo.SpecificationVersionMajor = 1; // see latest MIDI 2 UMP spec + declaredEndpointInfo.SpecificationVersionMinor = 1; // see latest MIDI 2 UMP spec + declaredEndpointInfo.SupportsMidi10Protocol = true; + declaredEndpointInfo.SupportsMidi20Protocol = true; + declaredEndpointInfo.SupportsReceivingJitterReductionTimestamps = false; + declaredEndpointInfo.SupportsSendingJitterReductionTimestamps = false; + declaredEndpointInfo.HasStaticFunctionBlocks = true; + + var declaredDeviceIdentity = new MidiDeclaredDeviceIdentity() ; + // todo: set any device identity values if you want. This is optional + + var userSuppliedInfo = new MidiEndpointUserSuppliedInfo() ; + userSuppliedInfo.Name = userSuppliedName; // for names, this will bubble to the top in priority + userSuppliedInfo.Description = userSuppliedDescription; + + + var config = new MidiVirtualDeviceCreationConfig( + transportSuppliedName, // this could be a different "transport-supplied" name value here + transportSuppliedDescription, // transport-supplied description + transportSuppliedManufacturerName, // transport-supplied company name + declaredEndpointInfo, // for endpoint discovery + declaredDeviceIdentity, // for endpoint discovery + userSuppliedInfo + + ); + + // Function blocks. The MIDI 2 UMP specification covers the meanings + // of these values + var block1 = new MidiFunctionBlock(); + block1.Number = 0; + block1.Name = "Pads Output"; + block1.IsActive = true; + block1.UIHint = MidiFunctionBlockUIHint.Sender; + block1.FirstGroupIndex = 0; + block1.GroupCount = 1; + block1.Direction = MidiFunctionBlockDirection.Bidirectional; + block1.RepresentsMidi10Connection = MidiFunctionBlockRepresentsMidi10Connection.Not10; + block1.MaxSystemExclusive8Streams = 0; + block1.MidiCIMessageVersionFormat = 0; + + config.FunctionBlocks.Add(block1); + + var block2 = new MidiFunctionBlock(); + block2.Number = 1; + block2.Name = "A Function Block"; + block2.IsActive = true; + block2.UIHint = MidiFunctionBlockUIHint.Sender; + block2.FirstGroupIndex = 1; + block2.GroupCount = 2; + block2.Direction = MidiFunctionBlockDirection.Bidirectional; + block2.RepresentsMidi10Connection = MidiFunctionBlockRepresentsMidi10Connection.Not10; + block2.MaxSystemExclusive8Streams = 0; + block2.MidiCIMessageVersionFormat = 0; + + config.FunctionBlocks.Add(block2); + + return config; + } } } diff --git a/samples/csharp-net/virtual-device-app-winui/Note.cs b/samples/csharp-net/virtual-device-app-winui/Note.cs index a9afd7424..f58de022f 100644 --- a/samples/csharp-net/virtual-device-app-winui/Note.cs +++ b/samples/csharp-net/virtual-device-app-winui/Note.cs @@ -3,15 +3,15 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using Windows.Devices.Midi2; -using midi2 = Windows.Devices.Midi2; +using Microsoft.Windows.Devices.Midi2; +using Microsoft.Windows.Devices.Midi2.Messages; namespace MidiSample.AppToAppMidi { public class Note { - public midi2.MidiEndpointConnection Connection { get; set; } + public MidiEndpointConnection Connection { get; set; } public byte NoteNumber { get; set; } public byte GroupIndex { get; set; } @@ -30,10 +30,10 @@ public void NoteOn() UInt32 word1 = (UInt32)velocity << 16; if (MidiEndpointConnection.SendMessageSucceeded(Connection.SendSingleMessagePacket( - midi2.MidiMessageBuilder.BuildMidi2ChannelVoiceMessage( + MidiMessageBuilder.BuildMidi2ChannelVoiceMessage( 0, new MidiGroup(GroupIndex), - midi2.Midi2ChannelVoiceMessageStatus.NoteOn, + Midi2ChannelVoiceMessageStatus.NoteOn, new MidiChannel(ChannelIndex), index, word1)))) @@ -49,10 +49,10 @@ public void NoteOff() index <<= 8; if (MidiEndpointConnection.SendMessageSucceeded(Connection.SendSingleMessagePacket( - midi2.MidiMessageBuilder.BuildMidi2ChannelVoiceMessage( + MidiMessageBuilder.BuildMidi2ChannelVoiceMessage( 0, new MidiGroup(GroupIndex), - midi2.Midi2ChannelVoiceMessageStatus.NoteOff, + Midi2ChannelVoiceMessageStatus.NoteOff, new MidiChannel(ChannelIndex), index, 0)))) diff --git a/samples/csharp-net/virtual-device-app-winui/virtual-device-app-winui-cs.csproj b/samples/csharp-net/virtual-device-app-winui/virtual-device-app-winui-cs.csproj index 6a3d2b1ba..b3d4d7a41 100644 --- a/samples/csharp-net/virtual-device-app-winui/virtual-device-app-winui-cs.csproj +++ b/samples/csharp-net/virtual-device-app-winui/virtual-device-app-winui-cs.csproj @@ -1,4 +1,4 @@ - + WinExe net8.0-windows10.0.22621.0 @@ -27,9 +27,10 @@ + + - diff --git a/samples/csharp-net/virtual-device-app-wpf/virtual-device-app-wpf.csproj b/samples/csharp-net/virtual-device-app-wpf/virtual-device-app-wpf.csproj index 3bfdd362c..16845ff49 100644 --- a/samples/csharp-net/virtual-device-app-wpf/virtual-device-app-wpf.csproj +++ b/samples/csharp-net/virtual-device-app-wpf/virtual-device-app-wpf.csproj @@ -9,4 +9,8 @@ true + + + + diff --git a/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiConfigurationManager.cpp b/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiConfigurationManager.cpp index da3c7a9a3..203b93153 100644 --- a/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiConfigurationManager.cpp +++ b/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiConfigurationManager.cpp @@ -120,11 +120,36 @@ CMidi2VirtualMidiConfigurationManager::UpdateConfiguration( deviceEntry.BaseEndpointName = jsonEntry.GetNamedString(MIDI_CONFIG_JSON_ENDPOINT_COMMON_NAME_PROPERTY, L""); deviceEntry.Description = jsonEntry.GetNamedString(MIDI_CONFIG_JSON_ENDPOINT_COMMON_DESCRIPTION_PROPERTY, L""); - // TODO: if no association id, or it already exists in the table, bail - - // TODO: if no unique Id, bail or maybe generate one - - // TODO: if a unique id and it's larger than the max length, truncate it + // If no association id generate one + if (deviceEntry.VirtualEndpointAssociationId.empty()) + { + deviceEntry.VirtualEndpointAssociationId = internal::GuidToString(winrt::Windows::Foundation::GuidHelper::CreateNewGuid()); + } + + if (deviceEntry.BaseEndpointName.empty()) + { + deviceEntry.BaseEndpointName = L"Unnamed Virtual"; + } + + if (deviceEntry.ShortUniqueId.empty()) + { + // get a guid and strip all non-alphanumeric characters + auto guidString = internal::GuidToString(winrt::Windows::Foundation::GuidHelper::CreateNewGuid()); + + guidString.erase( + std::remove_if( + guidString.begin(), + guidString.end(), + [](wchar_t c) { return !std::isalnum(c); }) + ); + + deviceEntry.ShortUniqueId = guidString; + } + else + { + // If a unique id and it's larger than the max length, truncate it + deviceEntry.ShortUniqueId = deviceEntry.ShortUniqueId.substr(0, MIDI_CONFIG_JSON_ENDPOINT_VIRTUAL_DEVICE_UNIQUE_ID_MAX_LEN); + } // create the device-side endpoint LOG_IF_FAILED(AbstractionState::Current().GetEndpointManager()->CreateDeviceSideEndpoint(deviceEntry)); diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib index aee7a924f..0505b9f91 100644 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib and b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json index 6b843d381..2a2d005f4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", - "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-ab22e0f4-4fe8-4374-a9e2-6dd1dc23c17c", + "name": "libmidi2:arm64-windows@0.10 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-06-10T01:01:05Z" + "created": "2024-06-21T00:04:20Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "versionInfo": "8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt index 4ad9308ab..619d97c46 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt @@ -18,14 +18,14 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Release //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -43,7 +43,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -105,7 +105,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamT CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -208,7 +208,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=ARM64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26227 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index 9b0ec6528..646339329 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,8 +7,8 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:200 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26227 - ARM64 - The host system is: Windows - 10.0.26227 - AMD64 + The target system is: Windows - 10.0.26236 - ARM64 + The host system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -18,7 +18,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -56,7 +56,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log index 34552ec58..dcf1f0bf4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 1467 7396844593007150 ../CMakeCache.txt 160e317a7baeaa2a +1 2006 7406314527765517 ../CMakeCache.txt 160e317a7baeaa2a diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index 1ec1578a2..6b5137e02 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... @@ -27,7 +27,7 @@ CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -45,7 +45,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -107,7 +107,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamT CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26227 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index eaf890bd5..38ea4e3aa 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,7 +7,7 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:2 (project)" message: | - The system is: Windows - 10.0.26227 - AMD64 + The system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -17,7 +17,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -55,7 +55,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index 22fffd463..fb279f39f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -3 1968 7396844539259693 ../CMakeCache.txt e0ace58993906a82 +1 2178 7406314466091508 ../CMakeCache.txt e0ace58993906a82 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL index bb8aaa3ee..9a39d111f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL @@ -3,5 +3,5 @@ Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 +Abi: 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088 Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib index aee7a924f..0505b9f91 100644 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib and b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json index 6b843d381..2a2d005f4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", - "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-ab22e0f4-4fe8-4374-a9e2-6dd1dc23c17c", + "name": "libmidi2:arm64-windows@0.10 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-06-10T01:01:05Z" + "created": "2024-06-21T00:04:20Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "versionInfo": "8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index 6fff4cf98..167fbbeee 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL @@ -3,4 +3,4 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +Abi: 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index 25eb6ee2a..fa23972f4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL @@ -2,4 +2,4 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +Abi: 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 index 7ab86bfb2..5c678e690 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb +Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 index da3998465..5f3bd44b8 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb +Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 index 7d886f477..8bc5478e6 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 index 605fd8bf4..3f63df1f9 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 index b591edcf4..aedcbea3b 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 index 11599923a..eb2a77be3 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index f6f64fa84..ef99feec7 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... @@ -27,7 +27,7 @@ CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -45,7 +45,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -107,7 +107,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamT CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26217 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index b26a9dbac..360a57f30 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,7 +7,7 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:2 (project)" message: | - The system is: Windows - 10.0.26217 - AMD64 + The system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -17,7 +17,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -55,7 +55,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index 1b41f19e4..a5e254edd 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 1502 7387308163123112 ../CMakeCache.txt d2e139863bc4fb6e +3 3091 7406316934147089 ../CMakeCache.txt d2e139863bc4fb6e diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index a7fa9f55d..a4a5a9923 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -3,5 +3,5 @@ Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 +Abi: 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 6f204f3fa..1e364a212 100644 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index d87f6696b..dcabc34b5 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", - "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-6fdc751e-b90a-441f-ac1b-65fb2d9edcbe", + "name": "libmidi2:x64-windows@0.10 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:34Z" + "created": "2024-06-21T00:08:22Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "versionInfo": "93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index 6fff4cf98..167fbbeee 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL @@ -3,4 +3,4 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +Abi: 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index 25eb6ee2a..fa23972f4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL @@ -2,4 +2,4 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +Abi: 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 index 02aa40de4..45a0568c4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 index c5cefa3e4..048d6bc79 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 index 7d886f477..8bc5478e6 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 index 605fd8bf4..3f63df1f9 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 index b591edcf4..aedcbea3b 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 index 11599923a..eb2a77be3 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib index 6f204f3fa..1e364a212 100644 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib and b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json index d87f6696b..dcabc34b5 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", - "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-6fdc751e-b90a-441f-ac1b-65fb2d9edcbe", + "name": "libmidi2:x64-windows@0.10 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:34Z" + "created": "2024-06-21T00:08:22Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "versionInfo": "93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib index aee7a924f..0505b9f91 100644 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib and b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json index 6b843d381..2a2d005f4 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", - "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-ab22e0f4-4fe8-4374-a9e2-6dd1dc23c17c", + "name": "libmidi2:arm64-windows@0.10 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-06-10T01:01:05Z" + "created": "2024-06-21T00:04:20Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "versionInfo": "8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt index aca35460c..09abc5928 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt @@ -18,14 +18,14 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Release //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -43,7 +43,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -105,7 +105,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteSt CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -208,7 +208,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=ARM64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26227 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index 1f966e78f..d2642e7e8 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,8 +7,8 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:200 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26227 - ARM64 - The host system is: Windows - 10.0.26227 - AMD64 + The target system is: Windows - 10.0.26236 - ARM64 + The host system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -18,7 +18,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -56,7 +56,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log index 9a310b10e..1c2b03c1e 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -0 1302 7396846235926612 ../CMakeCache.txt 42bbeb552796b56a +1 1215 7406314870701038 ../CMakeCache.txt 42bbeb552796b56a diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index 038510225..8c1bde710 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... @@ -27,7 +27,7 @@ CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -45,7 +45,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -107,7 +107,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteSt CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26227 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index 7fd37628f..d1c0c202e 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,7 +7,7 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:2 (project)" message: | - The system is: Windows - 10.0.26227 - AMD64 + The system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -17,7 +17,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -55,7 +55,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index b2fcfaf11..a1c75db3f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 1030 7396846183434429 ../CMakeCache.txt 299040e4d5398c76 +1 1317 7406314809025122 ../CMakeCache.txt 299040e4d5398c76 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL index bb8aaa3ee..9a39d111f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL @@ -3,5 +3,5 @@ Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 +Abi: 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088 Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib index aee7a924f..0505b9f91 100644 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib and b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json index 6b843d381..2a2d005f4 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", - "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-ab22e0f4-4fe8-4374-a9e2-6dd1dc23c17c", + "name": "libmidi2:arm64-windows@0.10 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-06-10T01:01:05Z" + "created": "2024-06-21T00:04:20Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "versionInfo": "8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index 6fff4cf98..167fbbeee 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL @@ -3,4 +3,4 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +Abi: 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index 25eb6ee2a..fa23972f4 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL @@ -2,4 +2,4 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +Abi: 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 index 7ab86bfb2..5c678e690 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb +Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 index da3998465..5f3bd44b8 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb +Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 index 7d886f477..8bc5478e6 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 index 605fd8bf4..3f63df1f9 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 index b591edcf4..aedcbea3b 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 index 11599923a..eb2a77be3 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index e66c4fe20..e4e7c1d7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... @@ -27,7 +27,7 @@ CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -45,7 +45,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -107,7 +107,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteSt CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26217 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index 3126ec15a..c646bba55 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,7 +7,7 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:2 (project)" message: | - The system is: Windows - 10.0.26217 - AMD64 + The system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -17,7 +17,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -55,7 +55,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index 6b348cdd1..b95e70fd7 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -0 1221 7387308048815536 ../CMakeCache.txt 8a84c03127a00806 +3 1998 7406317116071133 ../CMakeCache.txt 8a84c03127a00806 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index a7fa9f55d..a4a5a9923 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -3,5 +3,5 @@ Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 +Abi: 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 6f204f3fa..1e364a212 100644 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index d87f6696b..dcabc34b5 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", - "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-6fdc751e-b90a-441f-ac1b-65fb2d9edcbe", + "name": "libmidi2:x64-windows@0.10 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:34Z" + "created": "2024-06-21T00:08:22Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "versionInfo": "93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index 6fff4cf98..167fbbeee 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL @@ -3,4 +3,4 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +Abi: 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index 25eb6ee2a..fa23972f4 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL @@ -2,4 +2,4 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +Abi: 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 index 02aa40de4..45a0568c4 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 index c5cefa3e4..048d6bc79 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 index 7d886f477..8bc5478e6 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 index 605fd8bf4..3f63df1f9 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 index b591edcf4..aedcbea3b 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 index 11599923a..eb2a77be3 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib index 6f204f3fa..1e364a212 100644 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib and b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json index d87f6696b..dcabc34b5 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", - "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-6fdc751e-b90a-441f-ac1b-65fb2d9edcbe", + "name": "libmidi2:x64-windows@0.10 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:34Z" + "created": "2024-06-21T00:08:22Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "versionInfo": "93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib index aee7a924f..0505b9f91 100644 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib and b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json index 6b843d381..2a2d005f4 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", - "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-ab22e0f4-4fe8-4374-a9e2-6dd1dc23c17c", + "name": "libmidi2:arm64-windows@0.10 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-06-10T01:01:05Z" + "created": "2024-06-21T00:04:20Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "versionInfo": "8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt index 64635b7a5..0a00d54db 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt @@ -18,14 +18,14 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Release //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -43,7 +43,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -105,7 +105,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocol CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -208,7 +208,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=ARM64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26227 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index e2c5a7887..a5786027d 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,8 +7,8 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:200 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26227 - ARM64 - The host system is: Windows - 10.0.26227 - AMD64 + The target system is: Windows - 10.0.26236 - ARM64 + The host system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -18,7 +18,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -56,7 +56,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log index 341757820..19db64396 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 1032 7396845775828846 ../CMakeCache.txt 723ef2fbed82d9b3 +1 1201 7406314728172093 ../CMakeCache.txt 723ef2fbed82d9b3 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index f76ab9f7b..6917379cf 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... @@ -27,7 +27,7 @@ CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -45,7 +45,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -107,7 +107,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocol CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26227 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index a3241b638..b216ca1ba 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,7 +7,7 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:2 (project)" message: | - The system is: Windows - 10.0.26227 - AMD64 + The system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -17,7 +17,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -55,7 +55,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index f1bdb1df1..3e95ab0b4 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -0 1035 7396845729550351 ../CMakeCache.txt 89f15a047ceac477 +2 1165 7406314673621268 ../CMakeCache.txt 89f15a047ceac477 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL index bb8aaa3ee..9a39d111f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL @@ -3,5 +3,5 @@ Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 +Abi: 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088 Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib index aee7a924f..0505b9f91 100644 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib and b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json index 6b843d381..2a2d005f4 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", - "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-ab22e0f4-4fe8-4374-a9e2-6dd1dc23c17c", + "name": "libmidi2:arm64-windows@0.10 8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-06-10T01:01:05Z" + "created": "2024-06-21T00:04:20Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", + "versionInfo": "8c2bcfbfc643abf44c95fc907ebb17e5d8d74dec95d4ad37a306d962a6d20088", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt index 0f5370a02..34727182f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-efd67389dec7460af4e04a109d7cc33478b75066 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index 6fff4cf98..167fbbeee 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL @@ -3,4 +3,4 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +Abi: 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index 25eb6ee2a..fa23972f4 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL @@ -2,4 +2,4 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +Abi: 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 index 7ab86bfb2..5c678e690 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb +Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 index da3998465..5f3bd44b8 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb +Abi: 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 index 7d886f477..8bc5478e6 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 index 605fd8bf4..3f63df1f9 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 index b591edcf4..aedcbea3b 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 index 11599923a..eb2a77be3 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index 8f4b9315a..250f1fb7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=ON //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... @@ -27,7 +27,7 @@ CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' @@ -45,7 +45,7 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler -CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -107,7 +107,7 @@ CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocol CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. -CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26217 +CMAKE_SYSTEM_VERSION:STRING=10.0.26236 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index 9cabff853..d0b330423 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,7 +7,7 @@ events: - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:2 (project)" message: | - The system is: Windows - 10.0.26217 - AMD64 + The system is: Windows - 10.0.26236 - AMD64 - kind: "message-v1" backtrace: @@ -17,7 +17,7 @@ events: - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -55,7 +55,7 @@ events: - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33923/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index e523068c6..8a7b4ed68 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 2257 7387307844113861 ../CMakeCache.txt 6bd5ca61d8dd7c93 +2 1997 7406317206445132 ../CMakeCache.txt 6bd5ca61d8dd7c93 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index a7fa9f55d..a4a5a9923 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -3,5 +3,5 @@ Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 +Abi: 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 6f204f3fa..1e364a212 100644 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index d87f6696b..dcabc34b5 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", - "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-6fdc751e-b90a-441f-ac1b-65fb2d9edcbe", + "name": "libmidi2:x64-windows@0.10 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:34Z" + "created": "2024-06-21T00:08:22Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "versionInfo": "93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index 6fff4cf98..167fbbeee 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL @@ -3,4 +3,4 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +Abi: 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index 25eb6ee2a..fa23972f4 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL @@ -2,4 +2,4 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +Abi: 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 index 02aa40de4..45a0568c4 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 index c5cefa3e4..048d6bc79 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 @@ -1,8 +1,8 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01 Description: General purpose Midi 2 library for bytestream conversions and midi-ci Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 index 7d886f477..8bc5478e6 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 index 605fd8bf4..3f63df1f9 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 @@ -2,5 +2,5 @@ Package: vcpkg-cmake Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 index b591edcf4..aedcbea3b 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 index 11599923a..eb2a77be3 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 @@ -3,5 +3,5 @@ Version: 2022-02-06 Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib index 6f204f3fa..1e364a212 100644 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib and b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json index d87f6696b..dcabc34b5 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", - "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-6fdc751e-b90a-441f-ac1b-65fb2d9edcbe", + "name": "libmidi2:x64-windows@0.10 93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:34Z" + "created": "2024-06-21T00:08:22Z" }, "relationships": [ { @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", + "versionInfo": "93e4704360ef8cb1f4da73c642c6b9659b8ac05b535baf2c0713a6f3824efb4c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 33d0df10b..8b22a0e8f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -5,9 +5,9 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 -vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 -vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 +vcpkg-cmake 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46 +vcpkg-cmake-config 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index 911a68419..be4eecdaa 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-46b44167-b19a-46a1-abf6-b29ee28efab3", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-65ef782e-1282-4073-8153-8fcfd88dbdf3", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", + "versionInfo": "6047560c3a5451e843f52549883681ede192473a2296b34af5f7668bd67ec87f", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 2db7df73c..baa16c507 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 18ff19cec..f5f8a8c02 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-cc955d8f-936d-41c9-8d3b-901a59187732", - "name": "vcpkg-cmake:x64-windows@2024-04-18 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-29d4c1ad-9be0-4b7c-a7f7-f40899b734e4", + "name": "vcpkg-cmake:x64-windows@2024-04-18 351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "creationInfo": { "creators": [ "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-30T00:06:25Z" + "created": "2024-06-21T00:04:13Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", + "versionInfo": "351da614dff6bf83aabcdbf4c297bcb3443711a56decc1e9cb7ddde07a1c6d46", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index c0ec65782..05c0d3c7f 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -5,7 +5,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-2ad61ecdf63344c044ff86a0e2f423e7a439d9c5 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/app-sdk/mididiag/main.cpp b/src/app-sdk/mididiag/main.cpp index 55b93f591..59c0871d4 100644 --- a/src/app-sdk/mididiag/main.cpp +++ b/src/app-sdk/mididiag/main.cpp @@ -209,11 +209,11 @@ bool DoSectionMidi2ApiEndpoints(_In_ bool const verbose) // list all devices devices = midi2::MidiEndpointDeviceInformation::FindAll( midi2::MidiEndpointDeviceInformationSortOrder::Name, - midi2::MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative | - midi2::MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative | - midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback | - midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticPing | - midi2::MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder + midi2::MidiEndpointDeviceInformationFilters::StandardNativeMidi1ByteFormat | + midi2::MidiEndpointDeviceInformationFilters::StandardNativeUniversalMidiPacketFormat | + midi2::MidiEndpointDeviceInformationFilters::DiagnosticLoopback | + midi2::MidiEndpointDeviceInformationFilters::DiagnosticPing | + midi2::MidiEndpointDeviceInformationFilters::VirtualDeviceResponder ); } catch (...) diff --git a/src/app-sdk/mididiag/mididiag.vcxproj b/src/app-sdk/mididiag/mididiag.vcxproj index e0b91aa39..e65652c45 100644 --- a/src/app-sdk/mididiag/mididiag.vcxproj +++ b/src/app-sdk/mididiag/mididiag.vcxproj @@ -1,206 +1,3 @@ -<<<<<<< HEAD:src/api/InBoxApps/mididmp/mididmp.vcxproj - - - - - true - true - true - true - 15.0 - {5ec6d5eb-53d4-4731-891e-f746f0201429} - Win32Proj - mididmp - 10.0 - 10.0.20348.0 - - - - - Debug - ARM64 - - - Debug - ARM64EC - - - Release - ARM64 - - - Debug - x64 - - - Release - ARM64EC - - - Release - x64 - - - - Application - v143 - v142 - v141 - v140 - Unicode - - - true - true - - - false - true - false - - - - - - - - - - - - - - - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(IncludePath) - $(LibraryPath) - - - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(IncludePath) - $(LibraryPath) - - - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(IncludePath) - $(LibraryPath) - - - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(IncludePath) - $(LibraryPath) - - - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(IncludePath) - $(LibraryPath) - - - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(IncludePath) - $(LibraryPath) - - - - Use - pch.h - $(IntDir)pch.pch - _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - Level4 - %(AdditionalOptions) /permissive- /bigobj - - - - - Disabled - _DEBUG;%(PreprocessorDefinitions) - stdcpp20 - stdcpp20 - stdcpp20 - %(AdditionalIncludeDirectories);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(IntDir); - %(AdditionalIncludeDirectories);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(IntDir); - %(AdditionalIncludeDirectories);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(IntDir); - - - Console - false - %(AdditionalDependencies) - %(AdditionalDependencies) - %(AdditionalDependencies) - - - - - WIN32;%(PreprocessorDefinitions) - stdcpp20 - - - ntdll.lib;%(AdditionalDependencies) - - - - - MaxSpeed - true - true - NDEBUG;%(PreprocessorDefinitions) - stdcpp20 - stdcpp20 - stdcpp20 - %(AdditionalIncludeDirectories);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(IntDir); - %(AdditionalIncludeDirectories);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(IntDir); - %(AdditionalIncludeDirectories);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(IntDir); - - - Console - true - true - false - %(AdditionalDependencies) - %(AdditionalDependencies) - %(AdditionalDependencies) - - - - - - - - - - Create - - - - - - - false - - - - - {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - -======= @@ -417,5 +214,4 @@ ->>>>>>> pete-dev:src/app-sdk/mididiag/mididiag.vcxproj \ No newline at end of file diff --git a/src/app-sdk/projections/dotnet-and-cpp/Microsoft.Windows.Devices.Midi2.NetProjection.csproj b/src/app-sdk/projections/dotnet-and-cpp/Microsoft.Windows.Devices.Midi2.NetProjection.csproj index 10b65b540..38160f7bf 100644 --- a/src/app-sdk/projections/dotnet-and-cpp/Microsoft.Windows.Devices.Midi2.NetProjection.csproj +++ b/src/app-sdk/projections/dotnet-and-cpp/Microsoft.Windows.Devices.Midi2.NetProjection.csproj @@ -54,6 +54,7 @@ + diff --git a/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.nuspec b/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.nuspec index 74cd31ce0..587b2b11a 100644 --- a/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.nuspec +++ b/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.nuspec @@ -13,6 +13,9 @@ midi midi2 windows music audio native + + + @@ -22,6 +25,16 @@ + + + + + + + + + + @@ -33,6 +46,7 @@ + @@ -42,6 +56,7 @@ + @@ -64,6 +79,18 @@ + + + + + + + + + @@ -75,6 +102,19 @@ + + + + + + + + + + diff --git a/src/app-sdk/winrt-client-plugins/MidiChannelEndpointListener.h b/src/app-sdk/winrt-client-plugins/MidiChannelEndpointListener.h index 97b0c6e85..576bb8cfe 100644 --- a/src/app-sdk/winrt-client-plugins/MidiChannelEndpointListener.h +++ b/src/app-sdk/winrt-client-plugins/MidiChannelEndpointListener.h @@ -17,17 +17,17 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::implementati { MidiChannelEndpointListener() = default; - winrt::guid Id() const noexcept { return m_id; } + winrt::guid PluginId() const noexcept { return m_id; } - winrt::hstring Name() const noexcept { return m_name; } - void Name(_In_ winrt::hstring const& value) noexcept { m_name = internal::TrimmedHStringCopy(value); } + winrt::hstring PluginName() const noexcept { return m_name; } + void PluginName(_In_ winrt::hstring const& value) noexcept { m_name = internal::TrimmedHStringCopy(value); } bool IsEnabled() const noexcept { return m_enabled; } void IsEnabled(_In_ bool const& value) noexcept { m_enabled = value; } - foundation::IInspectable Tag() const noexcept { return m_tag; } - void Tag(_In_ foundation::IInspectable const& value) { m_tag = value; } + foundation::IInspectable PluginTag() const noexcept { return m_tag; } + void PluginTag(_In_ foundation::IInspectable const& value) { m_tag = value; } //midi2::MidiEndpointConnection Connection() const noexcept { return m_endpointConnection; } //void Connection(_In_ midi2::MidiEndpointConnection const& value) noexcept { m_endpointConnection = value; } diff --git a/src/app-sdk/winrt-client-plugins/MidiGroupEndpointListener.h b/src/app-sdk/winrt-client-plugins/MidiGroupEndpointListener.h index 49042aa8f..5e970c3ae 100644 --- a/src/app-sdk/winrt-client-plugins/MidiGroupEndpointListener.h +++ b/src/app-sdk/winrt-client-plugins/MidiGroupEndpointListener.h @@ -17,16 +17,16 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::implementati { MidiGroupEndpointListener() = default; - winrt::guid Id() const noexcept { return m_id; } + winrt::guid PluginId() const noexcept { return m_id; } - winrt::hstring Name() const noexcept { return m_name; } - void Name(_In_ winrt::hstring const& value) noexcept { m_name = internal::TrimmedHStringCopy(value); } + winrt::hstring PluginName() const noexcept { return m_name; } + void PluginName(_In_ winrt::hstring const& value) noexcept { m_name = internal::TrimmedHStringCopy(value); } bool IsEnabled() const noexcept { return m_enabled; } void IsEnabled(_In_ bool const& value) noexcept { m_enabled = value; } - foundation::IInspectable Tag() const noexcept { return m_tag; } - void Tag(_In_ foundation::IInspectable const& value) noexcept { m_tag = value; } + foundation::IInspectable PluginTag() const noexcept { return m_tag; } + void PluginTag(_In_ foundation::IInspectable const& value) noexcept { m_tag = value; } //midi2::MidiEndpointConnection Connection() const noexcept { return m_endpointConnection; } //void Connection(_In_ midi2::MidiEndpointConnection const& value) noexcept { m_endpointConnection = value; } diff --git a/src/app-sdk/winrt-client-plugins/MidiMessageTypeEndpointListener.h b/src/app-sdk/winrt-client-plugins/MidiMessageTypeEndpointListener.h index 83e281ba3..277ca4e81 100644 --- a/src/app-sdk/winrt-client-plugins/MidiMessageTypeEndpointListener.h +++ b/src/app-sdk/winrt-client-plugins/MidiMessageTypeEndpointListener.h @@ -16,16 +16,16 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins::implementati { MidiMessageTypeEndpointListener() = default; - winrt::guid Id() const noexcept { return m_id; } + winrt::guid PluginId() const noexcept { return m_id; } - winrt::hstring Name() const noexcept { return m_name; } - void Name(_In_ hstring const& value) { m_name = internal::TrimmedHStringCopy(value); } + winrt::hstring PluginName() const noexcept { return m_name; } + void PluginName(_In_ hstring const& value) { m_name = internal::TrimmedHStringCopy(value); } bool IsEnabled() const noexcept { return m_enabled; } void IsEnabled(_In_ bool const& value) { m_enabled = value; } - foundation::IInspectable Tag() const noexcept { return m_tag; } - void Tag(_In_ foundation::IInspectable const& value) { m_tag = value; } + foundation::IInspectable PluginTag() const noexcept { return m_tag; } + void PluginTag(_In_ foundation::IInspectable const& value) { m_tag = value; } collections::IVector IncludedMessageTypes() { return m_includedMessageTypes; } diff --git a/src/app-sdk/winrt-core/IMidiEndpointMessageProcessingPlugin.idl b/src/app-sdk/winrt-core/IMidiEndpointMessageProcessingPlugin.idl index 2ceca97d8..02e097e20 100644 --- a/src/app-sdk/winrt-core/IMidiEndpointMessageProcessingPlugin.idl +++ b/src/app-sdk/winrt-core/IMidiEndpointMessageProcessingPlugin.idl @@ -16,10 +16,10 @@ namespace Microsoft.Windows.Devices.Midi2 [uuid("198d5ef2-313f-41af-9259-a42997e060f0"), version(1.0)] interface IMidiEndpointMessageProcessingPlugin { - Guid Id { get; }; + Guid PluginId { get; }; - String Name; - IInspectable Tag; + String PluginName; + IInspectable PluginTag; Boolean IsEnabled; diff --git a/src/app-sdk/winrt-core/Microsoft.Windows.Devices.Midi2.vcxproj b/src/app-sdk/winrt-core/Microsoft.Windows.Devices.Midi2.vcxproj index e9efa0b6f..2d52f7690 100644 --- a/src/app-sdk/winrt-core/Microsoft.Windows.Devices.Midi2.vcxproj +++ b/src/app-sdk/winrt-core/Microsoft.Windows.Devices.Midi2.vcxproj @@ -1,649 +1,3 @@ -<<<<<<< HEAD:src/api/Client/Midi2Client/Windows.Devices.Midi2.vcxproj - - - - - Microsoft.Devices.Midi2 - Microsoft.Devices.Midi2 - {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - true - true - true - true - C++/WinRT - true - 10.0 - 10.0.20348.0 - true - en-US - 14.0 - true - Windows Store - 10.0 - - - - - - - Debug - ARM64 - - - Debug - ARM64EC - - - Debug - x64 - - - Release - ARM64 - - - Release - ARM64EC - - - Release - x64 - - - - DynamicLibrary - v143 - v142 - v141 - v140 - Unicode - false - - - true - - - false - true - - - true - - - true - - - true - - - true - - - true - - - true - - - - - - - - - - - - - - - $(IncludePath) - Microsoft.Devices.Midi2 - true - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ - $(LibraryPath) - - - $(IncludePath) - Microsoft.Devices.Midi2 - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ - $(LibraryPath) - - - $(IncludePath) - Microsoft.Devices.Midi2 - true - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ - $(LibraryPath) - - - $(IncludePath) - Microsoft.Devices.Midi2 - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ - $(LibraryPath) - - - $(IncludePath) - Microsoft.Devices.Midi2 - true - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ - $(LibraryPath) - - - $(IncludePath) - Microsoft.Devices.Midi2 - $(SolutionDir)VSFiles\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ - $(LibraryPath) - - - - Use - pch.h - $(IntDir)pch.pch - Level4 - %(AdditionalOptions) /bigobj - _WINRT_DLL;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - false - midi-app-api.def - - - - - _DEBUG;%(PreprocessorDefinitions);WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP - stdcpp20 - false - true - true - true - $(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories) - $(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories) - $(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories) - stdcpp20 - stdcpp20 - %(AdditionalOptions) /arm64EC /bigobj - - - false - false - %(AdditionalDependencies) - - - false - false - %(AdditionalDependencies) - - - false - false - %(AdditionalDependencies) - - - - - - - - - - - - - - - Yes - - - Yes - - - Yes - - - - - NDEBUG;%(PreprocessorDefinitions);WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP - $(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories) - $(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories) - $(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)inc;$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration);$(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories) - true - true - true - stdcpp20 - stdcpp20 - stdcpp20 - %(AdditionalOptions) /arm64EC /bigobj - - - true - true - false - false - false - %(AdditionalDependencies) - %(AdditionalDependencies) - %(AdditionalDependencies) - - - - - - - - - - - - - - - Yes - - - Yes - - - Yes - - - - - - MidiEndpointConnection.idl - - - MidiEndpointDeviceInformation.idl - - - MidiEndpointDeviceInformationAddedEventArgs.idl - - - MidiEndpointDeviceInformationUpdatedEventArgs.idl - - - MidiEndpointDeviceInformationRemovedEventArgs.idl - - - MidiEndpointDeviceWatcher.idl - - - MidiGroupTerminalBlock.idl - - - MidiMessageBuilder.idl - - - MidiMessageConverter.idl - - - MidiServiceConfigurationResponse.idl - - - MidiServiceLoopbackEndpointCreationResult.idl - - - MidiServiceLoopbackEndpointDefinition.idl - - - MidiServiceMessageProcessingPluginInfo.idl - - - MidiService.idl - - - MidiServicePingResponse.idl - - - MidiServicePingResponseSummary.idl - - - MidiChannel.idl - - - MidiChannelEndpointListener.idl - - - MidiClock.idl - - - MidiFunctionBlock.idl - - - MidiGroup.idl - - - MidiGroupEndpointListener.idl - - - MidiMessageReceivedEventArgs.idl - - - MidiMessageTypeEndpointListener.idl - - - MidiServiceSessionConnectionInfo.idl - - - MidiServiceSessionInfo.idl - - - MidiSessionSettings.idl - - - MidiStreamConfigurationRequestedSettings.idl - - - MidiStreamConfigurationRequestReceivedEventArgs.idl - - - MidiStreamMessageBuilder.idl - - - MidiServiceTransportPluginInfo.idl - - - MidiMessage128.idl - - - MidiMessage32.idl - - - MidiMessage64.idl - - - MidiMessage96.idl - - - MidiMessageUtility.idl - - - MidiUniqueId.idl - - - MidiVirtualEndpointDevice.idl - - - MidiVirtualEndpointDeviceDefinition.idl - - - - - - - - - - MidiSession.idl - - - - - - - MidiEndpointConnection.idl - - - MidiEndpointConnection.idl - - - MidiEndpointConnection.idl - - - MidiEndpointConnection.idl - - - MidiEndpointConnection.idl - - - MidiEndpointConnection.idl - - - MidiEndpointConnection.idl - - - MidiEndpointDeviceInformation.idl - - - MidiEndpointDeviceInformationAddedEventArgs.idl - - - MidiEndpointDeviceInformationRemovedEventArgs.idl - - - MidiEndpointDeviceInformationUpdatedEventArgs.idl - - - MidiEndpointDeviceWatcher.idl - - - MidiGroupTerminalBlock.idl - - - MidiMessageBuilder.idl - - - MidiMessageConverter.idl - - - MidiServiceConfigurationResponse.idl - - - MidiServiceLoopbackEndpointCreationResult.idl - - - MidiServiceLoopbackEndpointDefinition.idl - - - MidiServiceMessageProcessingPluginInfo.idl - - - MidiService.idl - - - MidiServicePingResponse.idl - - - MidiServicePingResponseSummary.idl - - - MidiChannel.idl - - - MidiChannelEndpointListener.idl - - - MidiClock.idl - - - MidiFunctionBlock.idl - - - MidiGroup.idl - - - MidiGroupEndpointListener.idl - - - MidiMessageReceivedEventArgs.idl - - - MidiMessageTypeEndpointListener.idl - - - MidiServiceSessionConnectionInfo.idl - - - MidiServiceSessionInfo.idl - - - MidiSessionSettings.idl - - - MidiSession.idl - - - MidiSession.idl - - - MidiSession.idl - - - MidiSession.idl - - - MidiStreamConfigurationRequestedSettings.idl - - - MidiStreamConfigurationRequestReceivedEventArgs.idl - - - MidiStreamMessageBuilder.idl - - - MidiServiceTransportPluginInfo.idl - - - MidiMessage128.idl - - - MidiMessage32.idl - - - MidiMessage64.idl - - - MidiMessage96.idl - - - MidiMessageUtility.idl - - - MidiUniqueId.idl - - - MidiVirtualEndpointDevice.idl - - - MidiVirtualEndpointDeviceDefinition.idl - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - -======= @@ -1111,5 +465,4 @@ ->>>>>>> pete-dev:src/app-sdk/winrt-core/Microsoft.Devices.Midi2.vcxproj \ No newline at end of file diff --git a/src/app-sdk/winrt-core/MidiEndpointConnection_Plugins.cpp b/src/app-sdk/winrt-core/MidiEndpointConnection_Plugins.cpp index 33ae4cb6b..2b66f659c 100644 --- a/src/app-sdk/winrt-core/MidiEndpointConnection_Plugins.cpp +++ b/src/app-sdk/winrt-core/MidiEndpointConnection_Plugins.cpp @@ -129,11 +129,11 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation } _Use_decl_annotations_ - void MidiEndpointConnection::RemoveMessageProcessingPlugin(winrt::guid id) + void MidiEndpointConnection::RemoveMessageProcessingPlugin(winrt::guid pluginId) { for (uint32_t i = 0; i < m_messageProcessingPlugins.Size(); i++) { - if (m_messageProcessingPlugins.GetAt(i).Id() == id) + if (m_messageProcessingPlugins.GetAt(i).PluginId() == pluginId) { m_messageProcessingPlugins.RemoveAt(i); break; diff --git a/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.cpp b/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.cpp index 34d3814fc..753f164b8 100644 --- a/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.cpp +++ b/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.cpp @@ -241,8 +241,8 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation // check if diagnostic loopback if (deviceInformation.EndpointPurpose() == MidiEndpointDevicePurpose::DiagnosticLoopback) { - if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback) == - midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback) + if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::DiagnosticLoopback) == + midi2::MidiEndpointDeviceInformationFilters::DiagnosticLoopback) { return true; } @@ -251,8 +251,8 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation // check if diagnostic ping else if (deviceInformation.EndpointPurpose() == MidiEndpointDevicePurpose::DiagnosticPing) { - if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticPing) == - midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticPing) + if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::DiagnosticPing) == + midi2::MidiEndpointDeviceInformationFilters::DiagnosticPing) { return true; } @@ -261,8 +261,8 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation // check if virtual device responder else if (deviceInformation.EndpointPurpose() == MidiEndpointDevicePurpose::VirtualDeviceResponder) { - if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder) == - midi2::MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder) + if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::VirtualDeviceResponder) == + midi2::MidiEndpointDeviceInformationFilters::VirtualDeviceResponder) { return true; } @@ -270,10 +270,10 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation // check if normal client MIDI 1.0 / bytestream else if ((deviceInformation.EndpointPurpose() == MidiEndpointDevicePurpose::NormalMessageEndpoint) && - (deviceInformation.GetTransportSuppliedInfo().NativeDataFormat == MidiEndpointNativeDataFormat::ByteStream)) + (deviceInformation.GetTransportSuppliedInfo().NativeDataFormat == MidiEndpointNativeDataFormat::Midi1ByteFormat)) { - if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative) == - midi2::MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative) + if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::StandardNativeMidi1ByteFormat) == + midi2::MidiEndpointDeviceInformationFilters::StandardNativeMidi1ByteFormat) { return true; } @@ -281,11 +281,11 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation // check if normal client MIDI 2.0 / UMP else if ((deviceInformation.EndpointPurpose() == MidiEndpointDevicePurpose::NormalMessageEndpoint) && - (deviceInformation.GetTransportSuppliedInfo().NativeDataFormat == MidiEndpointNativeDataFormat::UniversalMidiPacket || + (deviceInformation.GetTransportSuppliedInfo().NativeDataFormat == MidiEndpointNativeDataFormat::UniversalMidiPacketFormat || deviceInformation.GetTransportSuppliedInfo().NativeDataFormat == MidiEndpointNativeDataFormat::Unknown)) { - if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative) == - midi2::MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative) + if ((endpointFilters & midi2::MidiEndpointDeviceInformationFilters::StandardNativeUniversalMidiPacketFormat) == + midi2::MidiEndpointDeviceInformationFilters::StandardNativeUniversalMidiPacketFormat) { return true; } @@ -457,7 +457,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation midi2::MidiEndpointDeviceInformationSortOrder const& sortOrder) noexcept { return FindAll(sortOrder, - MidiEndpointDeviceInformationFilters::AllTypicalEndpoints + MidiEndpointDeviceInformationFilters::AllStandardEndpoints ); } @@ -842,9 +842,9 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation auto formatProperty = GetByteProperty(STRING_PKEY_MIDI_NativeDataFormat, 0); if (formatProperty == MIDI_PROP_NATIVEDATAFORMAT_BYTESTREAM) - info.NativeDataFormat = midi2::MidiEndpointNativeDataFormat::ByteStream; + info.NativeDataFormat = midi2::MidiEndpointNativeDataFormat::Midi1ByteFormat; else if (formatProperty == MIDI_PROP_NATIVEDATAFORMAT_UMP) - info.NativeDataFormat = midi2::MidiEndpointNativeDataFormat::UniversalMidiPacket; + info.NativeDataFormat = midi2::MidiEndpointNativeDataFormat::UniversalMidiPacketFormat; else info.NativeDataFormat = midi2::MidiEndpointNativeDataFormat::Unknown; diff --git a/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.idl b/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.idl index b5c88b7af..98632870c 100644 --- a/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.idl +++ b/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.idl @@ -30,13 +30,13 @@ namespace Microsoft.Windows.Devices.Midi2 static IVectorView FindAll(); static IVectorView FindAll(MidiEndpointDeviceInformationSortOrder sortOrder); - static IVectorView FindAll(MidiEndpointDeviceInformationSortOrder sortOrder, MidiEndpointDeviceInformationFilters endpointFilters); + static IVectorView FindAll(MidiEndpointDeviceInformationSortOrder sortOrder, MidiEndpointDeviceInformationFilters endpointTypesToInclude); static Guid EndpointInterfaceClass{ get; }; static IVectorView GetAdditionalPropertiesList(); - static Boolean DeviceMatchesFilter(MidiEndpointDeviceInformation deviceInformation, MidiEndpointDeviceInformationFilters endpointFilters); + static Boolean DeviceMatchesFilter(MidiEndpointDeviceInformation deviceInformation, MidiEndpointDeviceInformationFilters endpointTypesToInclude); String EndpointDeviceId { get; }; diff --git a/src/app-sdk/winrt-core/MidiEndpointDeviceInformationFiltersEnum.idl b/src/app-sdk/winrt-core/MidiEndpointDeviceInformationFiltersEnum.idl index a22d5a194..e8838a806 100644 --- a/src/app-sdk/winrt-core/MidiEndpointDeviceInformationFiltersEnum.idl +++ b/src/app-sdk/winrt-core/MidiEndpointDeviceInformationFiltersEnum.idl @@ -12,15 +12,15 @@ namespace Microsoft.Windows.Devices.Midi2 [flags] enum MidiEndpointDeviceInformationFilters { - IncludeClientUmpFormatNative = 0x00000001, // a MIDI 2.0 UMP endpoint - IncludeClientByteFormatNative = 0x00000002, // a MIDI 1.0 endpoint upscaled to UMP by service or driver + StandardNativeUniversalMidiPacketFormat = 0x00000001, // a normal MIDI 2.0 UMP endpoint + StandardNativeMidi1ByteFormat = 0x00000002, // a normal MIDI 1.0 endpoint upscaled to UMP by service or driver - IncludeVirtualDeviceResponder = 0x00000100, // The app-side of a Virtual Device. Not normally presented to other apps. + VirtualDeviceResponder = 0x00000100, // The app-side of a Virtual Device. Not normally presented to other apps. - IncludeDiagnosticLoopback = 0x00010000, // Diagnostics loopback. Don't show this in typical apps. - IncludeDiagnosticPing = 0x00020000, // Internal ping. Don't show this in apps. For internal use. + DiagnosticLoopback = 0x00010000, // Diagnostics loopback. Don't show this in typical apps. + DiagnosticPing = 0x00020000, // Internal ping. Don't show this in apps. For internal use. - AllTypicalEndpoints = IncludeClientUmpFormatNative | IncludeClientByteFormatNative, + AllStandardEndpoints = StandardNativeUniversalMidiPacketFormat | StandardNativeMidi1ByteFormat, }; } \ No newline at end of file diff --git a/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.cpp b/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.cpp index 944da83fe..b67c610ce 100644 --- a/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.cpp +++ b/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.cpp @@ -393,7 +393,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation _Use_decl_annotations_ midi2::MidiEndpointDeviceWatcher MidiEndpointDeviceWatcher::Create() noexcept { - return Create(MidiEndpointDeviceInformationFilters::AllTypicalEndpoints); + return Create(MidiEndpointDeviceInformationFilters::AllStandardEndpoints); } diff --git a/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.h b/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.h index 6404f9350..8f75eeae9 100644 --- a/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.h +++ b/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.h @@ -104,7 +104,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::implementation _In_ winrt::Windows::Foundation::IInspectable args); - midi2::MidiEndpointDeviceInformationFilters m_endpointFilter{ MidiEndpointDeviceInformationFilters::AllTypicalEndpoints }; + midi2::MidiEndpointDeviceInformationFilters m_endpointFilter{ MidiEndpointDeviceInformationFilters::AllStandardEndpoints }; winrt::event> m_deviceAddedEvent; diff --git a/src/app-sdk/winrt-core/MidiEndpointNativeDataFormatEnum.idl b/src/app-sdk/winrt-core/MidiEndpointNativeDataFormatEnum.idl index c4c404619..ea6a00d97 100644 --- a/src/app-sdk/winrt-core/MidiEndpointNativeDataFormatEnum.idl +++ b/src/app-sdk/winrt-core/MidiEndpointNativeDataFormatEnum.idl @@ -12,7 +12,7 @@ namespace Microsoft.Windows.Devices.Midi2 enum MidiEndpointNativeDataFormat { Unknown = 0, - ByteFormat = 1, + Midi1ByteFormat = 1, UniversalMidiPacketFormat = 2, }; } \ No newline at end of file diff --git a/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj b/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj index 403405a9c..bb174e8e3 100644 --- a/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj +++ b/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj @@ -299,7 +299,6 @@ - diff --git a/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj.filters b/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj.filters index 1f194afa2..44dddca89 100644 --- a/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj.filters +++ b/src/app-sdk/winrt-endpoint-virtual/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj.filters @@ -36,9 +36,6 @@ SDK\Management - - SDK\Management - diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.cpp b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.cpp index 7ad21bcf6..3da64b9c9 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.cpp +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.cpp @@ -15,11 +15,30 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::implementation { + _Use_decl_annotations_ + void MidiVirtualDevice::InternalInitialize( + _In_ winrt::hstring const& deviceEndpointDeviceId, + _In_ virt::MidiVirtualDeviceCreationConfig const& config + ) noexcept + { + m_deviceEndpointDeviceId = deviceEndpointDeviceId; + + m_declaredDeviceIdentity = config.DeclaredDeviceIdentity(); + m_declaredEndpointInfo = config.DeclaredEndpointInfo(); + + + m_name = L"Virtual: " + m_declaredEndpointInfo.Name; + m_id = winrt::Windows::Foundation::GuidHelper::CreateNewGuid(); + + m_associationId = config.AssociationId(); + } + + _Use_decl_annotations_ bool MidiVirtualDevice::UpdateFunctionBlock(midi2::MidiFunctionBlock const& block) noexcept { // If blocks are static, return false. By spec, they are not allowed to be updated. - if (m_areFunctionBlocksStatic) + if (m_declaredEndpointInfo.HasStaticFunctionBlocks) { LOG_IF_FAILED(E_FAIL); // this also generates a fallback error with file and line number info @@ -108,10 +127,12 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme // TODO: update the name and send the notification message - if (m_endpointName != cleanedName) + if (m_declaredEndpointInfo.Name != cleanedName) { if (!SendEndpointNameNotificationMessages(cleanedName)) { + //m_declaredEndpointInfo.Name = cleanedName; + LOG_IF_FAILED(E_FAIL); // this also generates a fallback error with file and line number info TraceLoggingWrite( @@ -252,11 +273,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme if (args.MessageType() == MidiMessageType::Stream128) { -<<<<<<< HEAD:src/api/Client/Midi2Client/MidiVirtualEndpointDevice.cpp - auto message = winrt::make(); -======= midi2::MidiMessage128 message{}; ->>>>>>> pete-dev:src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.cpp if (args.FillMessage128(message)) { @@ -273,7 +290,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme MidiClock::TimestampConstantSendImmediately(), MIDI_PREFERRED_UMP_VERSION_MAJOR, MIDI_PREFERRED_UMP_VERSION_MINOR, - m_areFunctionBlocksStatic, + m_declaredEndpointInfo.HasStaticFunctionBlocks, (uint8_t)m_functionBlocks.Size(), m_declaredEndpointInfo.SupportsMidi20Protocol, m_declaredEndpointInfo.SupportsMidi10Protocol, @@ -340,11 +357,11 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme { // send endpoint name notification messages - if (!m_endpointName.empty()) + if (!m_declaredEndpointInfo.Name.empty()) { auto nameMessages = msgs::MidiStreamMessageBuilder::BuildEndpointNameNotificationMessages( MidiClock::TimestampConstantSendImmediately(), - m_endpointName + m_declaredEndpointInfo.Name ); if (midi2::MidiEndpointConnection::SendMessageFailed(m_endpointConnection.SendMultipleMessagesPacketList(nameMessages.GetView()))) @@ -367,11 +384,11 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme { // send product instance id notification messages - if (!m_endpointProductInstanceId.empty()) + if (!m_declaredEndpointInfo.ProductInstanceId.empty()) { auto instanceIdMessages = msgs::MidiStreamMessageBuilder::BuildProductInstanceIdNotificationMessages( MidiClock::TimestampConstantSendImmediately(), - m_endpointProductInstanceId + m_declaredEndpointInfo.ProductInstanceId ); if (midi2::MidiEndpointConnection::SendMessageFailed(m_endpointConnection.SendMultipleMessagesPacketList(instanceIdMessages.GetView()))) diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.h b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.h index f20d99db2..a477f3277 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.h +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.h @@ -18,19 +18,19 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme MidiVirtualDevice() = default; // plugin Id - winrt::guid Id() const noexcept { return m_id; } + winrt::guid PluginId() const noexcept { return m_id; } // plugin name - winrt::hstring Name() const noexcept { return m_name; } - void Name(_In_ winrt::hstring const& value) noexcept { m_name = internal::TrimmedHStringCopy(value); } + winrt::hstring PluginName() const noexcept { return m_name; } + void PluginName(_In_ winrt::hstring const& value) noexcept { m_name = internal::TrimmedHStringCopy(value); } // plugin isEnabled bool IsEnabled() const noexcept { return m_enabled; } void IsEnabled(_In_ bool const& value) noexcept { m_enabled = value; } // plugin tag - foundation::IInspectable Tag() const noexcept { return m_tag; } - void Tag(_In_ foundation::IInspectable const& value) { m_tag = value; } + foundation::IInspectable PluginTag() const noexcept { return m_tag; } + void PluginTag(_In_ foundation::IInspectable const& value) { m_tag = value; } winrt::event_token StreamConfigRequestReceived(_In_ foundation::TypedEventHandler const& handler) { @@ -46,18 +46,21 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme bool SuppressHandledMessages() { return m_suppressHandledMessages; } void SuppressHandledMessages(_In_ bool const value) { m_suppressHandledMessages = value; } - winrt::hstring EndpointName() const noexcept { return m_endpointName; } - winrt::hstring EndpointProductInstanceId() const noexcept { return m_endpointProductInstanceId; } + // TODO: This should be the calcualted final name + winrt::hstring EndpointName() const noexcept { return m_declaredEndpointInfo.Name; } + winrt::hstring EndpointProductInstanceId() const noexcept { return m_declaredEndpointInfo.ProductInstanceId; } - bool AreFunctionBlocksStatic() { return m_areFunctionBlocksStatic; } + bool AreFunctionBlocksStatic() { return m_declaredEndpointInfo.HasStaticFunctionBlocks; } collections::IMapView FunctionBlocks() noexcept { return m_functionBlocks.GetView(); } bool UpdateFunctionBlock(_In_ midi2::MidiFunctionBlock const& block) noexcept; bool UpdateEndpointName(_In_ winrt::hstring const& name) noexcept; + winrt::guid AssociationId() const noexcept { return m_associationId; } + winrt::hstring DeviceEndpointDeviceId() const noexcept{ return m_deviceEndpointDeviceId; } - winrt::hstring ClientEndpointDeviceId() const noexcept{ return m_clientEndpointDeviceId; } + //winrt::hstring ClientEndpointDeviceId() const noexcept{ return m_clientEndpointDeviceId; } void Initialize(_In_ midi2::IMidiEndpointConnectionSource const& endpointConnection) noexcept; @@ -70,6 +73,12 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme _Out_ bool& skipMainMessageReceivedEvent) noexcept; + + void InternalInitialize( + _In_ winrt::hstring const& deviceEndpointDeviceId, + _In_ virt::MidiVirtualDeviceCreationConfig const& config + ) noexcept; + private: //virt::IMidiVirtualDeviceCreationConfiguration m_virtualDeviceConfiguration{ nullptr }; @@ -98,14 +107,15 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme midi2::MidiEndpointConnection m_endpointConnection{ nullptr }; + winrt::guid m_associationId{}; winrt::hstring m_deviceEndpointDeviceId{}; - winrt::hstring m_clientEndpointDeviceId{}; + //winrt::hstring m_clientEndpointDeviceId{}; bool m_isMidiCIDevice{ false }; - winrt::hstring m_endpointName{}; - winrt::hstring m_endpointProductInstanceId{}; + //winrt::hstring m_endpointName{}; + //winrt::hstring m_endpointProductInstanceId{}; - bool m_areFunctionBlocksStatic{ false }; + //bool m_areFunctionBlocksStatic{ false }; bool m_suppressHandledMessages{ true }; diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.idl b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.idl index a1f1e1c7b..aea23ab07 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.idl +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDevice.idl @@ -16,7 +16,8 @@ namespace Microsoft.Windows.Devices.Midi2.Endpoints.Virtual runtimeclass MidiVirtualDevice : Microsoft.Windows.Devices.Midi2.IMidiEndpointMessageProcessingPlugin { String DeviceEndpointDeviceId{ get; }; - String ClientEndpointDeviceId{ get; }; + //String ClientEndpointDeviceId{ get; }; // this is not available at initial creation time + Guid AssociationId{ get; }; IMapView FunctionBlocks{ get; }; diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.cpp b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.cpp index dea0feb3a..e500682ef 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.cpp +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.cpp @@ -20,9 +20,10 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme midi2::MidiDeclaredEndpointInfo declaredEndpointInfo ) { - m_endpointName = name; - m_description = description; - m_manufacturer = manufacturer; + Name(name); + Description(description); + Manufacturer(manufacturer); + m_declaredEndpointInfo = declaredEndpointInfo; } @@ -77,19 +78,16 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme json::JsonObject topLevelTransportPluginSettingsObject; json::JsonObject outerWrapperObject; - // Create association guid - auto associationGuid = foundation::GuidHelper::CreateNewGuid(); - // set all of our properties. internal::JsonSetGuidProperty( endpointDefinitionObject, MIDI_CONFIG_JSON_ENDPOINT_VIRTUAL_DEVICE_ASSOCIATION_ID_PROPERTY_KEY, - associationGuid); + m_associationId); endpointDefinitionObject.SetNamedValue( MIDI_CONFIG_JSON_ENDPOINT_COMMON_UNIQUE_ID_PROPERTY, - json::JsonValue::CreateStringValue(m_declaredEndpointInfo.ProductInstanceId)); + json::JsonValue::CreateStringValue(m_declaredEndpointInfo.ProductInstanceId)); // don't truncate here. Happens in service endpointDefinitionObject.SetNamedValue( MIDI_CONFIG_JSON_ENDPOINT_COMMON_NAME_PROPERTY, diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.h b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.h index bd11b46b8..bf40b1c49 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.h +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.h @@ -66,12 +66,15 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme collections::IVector FunctionBlocks() { return m_functionBlocks; } + winrt::guid AssociationId() const noexcept { return m_associationId; } private: winrt::hstring m_endpointName{}; winrt::hstring m_description{}; winrt::hstring m_manufacturer{}; + winrt::guid m_associationId{ foundation::GuidHelper::CreateNewGuid() }; + midi2::MidiDeclaredDeviceIdentity m_declaredDeviceIdentity{}; midi2::MidiDeclaredEndpointInfo m_declaredEndpointInfo{}; midi2::MidiEndpointUserSuppliedInfo m_userSuppliedInfo{}; diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.idl b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.idl index 9bfdee107..dd8670863 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.idl +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.idl @@ -46,6 +46,8 @@ namespace Microsoft.Windows.Devices.Midi2.Endpoints.Virtual String Description; String Manufacturer; + Guid AssociationId{ get; }; + Microsoft.Windows.Devices.Midi2.MidiDeclaredDeviceIdentity DeclaredDeviceIdentity; Microsoft.Windows.Devices.Midi2.MidiDeclaredEndpointInfo DeclaredEndpointInfo; diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationResult.idl b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationResult.idl deleted file mode 100644 index 6db985698..000000000 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceCreationResult.idl +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) Microsoft Corporation and Contributors. -// Licensed under the MIT License -// ============================================================================ -// This is part of the Windows MIDI Services App SDK and should be used -// in your Windows application via an official binary distribution. -// Further information: https://aka.ms/midi -// ============================================================================ - - -namespace Microsoft.Windows.Devices.Midi2.Endpoints.Virtual -{ - struct MidiVirtualDeviceCreationResult - { - Boolean Success; - - String DeviceSideEndpointDeviceId; - }; -} \ No newline at end of file diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.cpp b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.cpp index 92140f949..f0689202a 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.cpp +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.cpp @@ -23,15 +23,12 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme } _Use_decl_annotations_ - virt::MidiVirtualDeviceCreationResult MidiVirtualDeviceManager::CreateVirtualDevice( + virt::MidiVirtualDevice MidiVirtualDeviceManager::CreateVirtualDevice( _In_ virt::MidiVirtualDeviceCreationConfig creationConfig ) noexcept { - UNREFERENCED_PARAMETER(creationConfig); - - virt::MidiVirtualDeviceCreationResult result{}; - - winrt::hstring endpointDeviceId{}; + winrt::hstring deviceEndpointDeviceId{}; + //winrt::hstring clientEndpointDeviceId{}; auto createResponse = svc::MidiServiceConfig::UpdateTransportPluginConfig(creationConfig); @@ -47,7 +44,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme { // internal::LogGeneralError(__FUNCTION__, L"Unexpected empty response array"); - result.Success = false; + return nullptr; } else { @@ -55,12 +52,20 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme auto firstObject = responseArray.GetObjectAt(0); - endpointDeviceId = firstObject.GetNamedString( + deviceEndpointDeviceId = firstObject.GetNamedString( MIDI_CONFIG_JSON_ENDPOINT_VIRTUAL_DEVICE_RESPONSE_CREATED_ID_PROPERTY_KEY, L""); - result.DeviceSideEndpointDeviceId = endpointDeviceId; - result.Success = true; + + // Create the MidiVirtualDevice + auto device = winrt::make_self(); + + // populate the virtual device with everything needed + + // TODO: We need to get the client id + device->InternalInitialize(deviceEndpointDeviceId, creationConfig); + + return *device; } } } @@ -69,7 +74,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme // failure return from service. createResponse.Status(). Should share this } - return result; + return nullptr; } } diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.h b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.h index 33a2e9022..b69f89e77 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.h +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.h @@ -20,7 +20,7 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::impleme static bool IsTransportAvailable() noexcept; static const winrt::guid AbstractionId() noexcept { return internal::StringToGuid(L"{8FEAAD91-70E1-4A19-997A-377720A719C1}"); } - static virt::MidiVirtualDeviceCreationResult CreateVirtualDevice(_In_ virt::MidiVirtualDeviceCreationConfig creationConfig) noexcept; + static virt::MidiVirtualDevice CreateVirtualDevice(_In_ virt::MidiVirtualDeviceCreationConfig creationConfig) noexcept; }; } namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual::factory_implementation diff --git a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.idl b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.idl index f5e8ab6ef..2b1c8879e 100644 --- a/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.idl +++ b/src/app-sdk/winrt-endpoint-virtual/MidiVirtualDeviceManager.idl @@ -7,8 +7,8 @@ // ============================================================================ -import "MidiVirtualDeviceCreationResult.idl"; import "MidiVirtualDeviceCreationConfig.idl"; +import "MidiVirtualDevice.idl"; namespace Microsoft.Windows.Devices.Midi2.Endpoints.Virtual { @@ -19,7 +19,7 @@ namespace Microsoft.Windows.Devices.Midi2.Endpoints.Virtual static Guid AbstractionId{ get; }; - static MidiVirtualDeviceCreationResult CreateVirtualDevice( + static MidiVirtualDevice CreateVirtualDevice( MidiVirtualDeviceCreationConfig creationConfig); //static Boolean RemoveTransientLoopbackEndpoints( diff --git a/src/app-sdk/winrt-messages/MidiMessageHelper.cpp b/src/app-sdk/winrt-messages/MidiMessageHelper.cpp index e9bc3fc02..37aec0ec7 100644 --- a/src/app-sdk/winrt-messages/MidiMessageHelper.cpp +++ b/src/app-sdk/winrt-messages/MidiMessageHelper.cpp @@ -30,12 +30,8 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Messages::implementation if (numWords == 1) { -<<<<<<< HEAD:src/api/Client/Midi2Client/MidiMessageUtility.cpp - auto ump = winrt::make(); -======= midi2::MidiMessage32 ump{}; //auto ump = winrt::make(); ->>>>>>> pete-dev:src/app-sdk/winrt-messages/MidiMessageHelper.cpp ump.Timestamp(timestamp); @@ -47,13 +43,9 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Messages::implementation else if (numWords == 2) { -<<<<<<< HEAD:src/api/Client/Midi2Client/MidiMessageUtility.cpp - auto ump = winrt::make(); -======= midi2::MidiMessage64 ump{}; //auto ump = winrt::make(); ->>>>>>> pete-dev:src/app-sdk/winrt-messages/MidiMessageHelper.cpp ump.Timestamp(timestamp); ump.Word0(iter.Current()); @@ -67,13 +59,9 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Messages::implementation else if (numWords == 3) { -<<<<<<< HEAD:src/api/Client/Midi2Client/MidiMessageUtility.cpp - auto ump = winrt::make(); -======= midi2::MidiMessage96 ump{}; //auto ump = winrt::make(); ->>>>>>> pete-dev:src/app-sdk/winrt-messages/MidiMessageHelper.cpp ump.Timestamp(timestamp); ump.Word0(iter.Current()); @@ -89,14 +77,9 @@ namespace winrt::Microsoft::Windows::Devices::Midi2::Messages::implementation else if (numWords == 4) { -<<<<<<< HEAD:src/api/Client/Midi2Client/MidiMessageUtility.cpp - auto ump = winrt::make(); - -======= midi2::MidiMessage128 ump{}; //auto ump = winrt::make(); ->>>>>>> pete-dev:src/app-sdk/winrt-messages/MidiMessageHelper.cpp ump.Timestamp(timestamp); ump.Word0(iter.Current()); diff --git a/src/app-sdk/winrt-service-config/MidiServiceConfigResponseStatusEnum.idl b/src/app-sdk/winrt-service-config/MidiServiceConfigResponseStatusEnum.idl index 07a513b1f..fee80e656 100644 --- a/src/app-sdk/winrt-service-config/MidiServiceConfigResponseStatusEnum.idl +++ b/src/app-sdk/winrt-service-config/MidiServiceConfigResponseStatusEnum.idl @@ -23,4 +23,4 @@ namespace Microsoft.Windows.Devices.Midi2.ServiceConfig //ErrorOther = 9999, }; -} \ No newline at end of file +}