diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index 44e1de3cc..34c49f24f 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -6,14 +6,6 @@ "build": { "type": "object", "properties": { - "Configuration": { - "type": "string", - "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", - "enum": [ - "Debug", - "Release" - ] - }, "Continue": { "type": "boolean", "description": "Indicates to continue a previously failed build attempt" @@ -72,13 +64,15 @@ "items": { "type": "string", "enum": [ + "BuildAndPackAllAppSDKs", "BuildAndPublishAll", + "BuildAppSdkRuntimeInstaller", "BuildConsoleApp", - "BuildSamples", - "BuildSDK", + "BuildCppSamples", + "BuildServiceAndPlugins", + "BuildServiceAndPluginsInstaller", "BuildSettingsApp", - "Clean", - "Restore" + "Prerequisites" ] } }, @@ -88,13 +82,15 @@ "items": { "type": "string", "enum": [ + "BuildAndPackAllAppSDKs", "BuildAndPublishAll", + "BuildAppSdkRuntimeInstaller", "BuildConsoleApp", - "BuildSamples", - "BuildSDK", + "BuildCppSamples", + "BuildServiceAndPlugins", + "BuildServiceAndPluginsInstaller", "BuildSettingsApp", - "Clean", - "Restore" + "Prerequisites" ] } }, diff --git a/build/.config/dotnet-tools.json b/build/.config/dotnet-tools.json deleted file mode 100644 index 8f3a4382f..000000000 --- a/build/.config/dotnet-tools.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": 1, - "isRoot": true, - "tools": { - "cake.tool": { - "version": "3.1.0", - "commands": [ - "dotnet-cake" - ] - } - } -} \ No newline at end of file diff --git a/build/nuke_build/Build.cs b/build/nuke_build/Build.cs index 32980e5f8..ceb556e00 100644 --- a/build/nuke_build/Build.cs +++ b/build/nuke_build/Build.cs @@ -1,11 +1,18 @@ using System; +using System.Collections.Generic; +using System.IO; using System.Linq; +using Microsoft.ApplicationInsights.Extensibility; using Nuke.Common; using Nuke.Common.CI; using Nuke.Common.Execution; using Nuke.Common.IO; using Nuke.Common.ProjectModel; using Nuke.Common.Tooling; +using Nuke.Common.Tools.DotNet; +using Nuke.Common.Tools.GitVersion; +using Nuke.Common.Tools.MSBuild; +using Nuke.Common.Tools.NuGet; using Nuke.Common.Utilities.Collections; using static Nuke.Common.EnvironmentInfo; using static Nuke.Common.IO.FileSystemTasks; @@ -20,109 +27,480 @@ class Build : NukeBuild /// - Microsoft VSCode https://nuke.build/vscode + // =========================================================== + + //[GitVersion] + //readonly GitVersion MasterBuildVersion; + + + string SetupVersionName => "Developer Preview 6"; + string NuGetVersionName => "preview.6"; + + // we set these here, especially the time, so it's the same for all platforms in the single build + string SetupBuildMajorMinor => "1.0"; + + + string SetupBuildDateNumber => DateTime.Now.ToString("yy") + DateTime.Now.DayOfYear.ToString("000"); // YYddd where ddd is the day number for the year + string SetupBuildTimeNumber => DateTime.Now.ToString("HHmm"); // HHmm + + + string NugetFullVersionString => SetupBuildMajorMinor + "." + SetupBuildDateNumber + "." + SetupBuildTimeNumber + "-" + NuGetVersionName; + string NugetFullPackageId => "Microsoft.Windows.Devices.Midi2"; + + + // =========================================================== // directories - const string RepoRootFolder = @"G:\GitHub\microsoft\midi"; // todo change to %midi_repo_root% - const string BuildRootFolder = RepoRootFolder + @"\build"; - - const string StagingRootFolder = BuildRootFolder + @"\staging"; - const string MidiConsoleStagingFolder = StagingRootFolder + @"\midi-console"; - const string MidiSettingsStagingFolder = StagingRootFolder + @"\midi-settings"; - const string MidiSdkStagingFolder = StagingRootFolder + @"\sdk"; + AbsolutePath BuildRootFolder => NukeBuild.RootDirectory / "build"; + + + AbsolutePath StagingRootFolder => BuildRootFolder / "staging"; + AbsolutePath AppSdkStagingFolder => StagingRootFolder / "app-sdk"; + AbsolutePath ApiStagingFolder => StagingRootFolder / "api"; + + + AbsolutePath ReleaseRootFolder => BuildRootFolder / "release"; + AbsolutePath AppSdkNugetOutputFolder => ReleaseRootFolder / "nuget"; + + AbsolutePath AppSdkImplementationInstallerReleaseFolder => BuildRootFolder / "app-sdk-impl"; + + AbsolutePath SourceRootFolder => NukeBuild.RootDirectory / "src"; + AbsolutePath AppSdkSolutionFolder => SourceRootFolder / "app-sdk"; + AbsolutePath ApiSolutionFolder => SourceRootFolder / "api"; + + AbsolutePath InBoxComponentsSetupSolutionFolder => SourceRootFolder / "oob-setup"; + AbsolutePath ApiReferenceFolder => SourceRootFolder / "shared" / "api-ref"; + + + + AbsolutePath UserToolsRootFolder => SourceRootFolder / "user-tools"; - const string ReleaseRootFolder = BuildRootFolder + @"\release"; - const string AppSdkNugetReleaseFolder = BuildRootFolder + @"\nuget"; - const string AppSdkInstallerReleaseFolder = BuildRootFolder + @"\app-sdk"; + AbsolutePath MidiConsoleSolutionFolder => UserToolsRootFolder / "midi-console"; + AbsolutePath MidiConsoleStagingFolder => StagingRootFolder / "midi-console"; - const string SourceRootFolder = RepoRootFolder + @"\src"; - const string AppSdkSolutionFolder = SourceRootFolder + @"\app-sdk"; - const string UserToolsRootFolder = SourceRootFolder + @"\user-tools"; - const string MidiConsoleSolutionFolder = UserToolsRootFolder + @"\midi-console"; - const string MidiSettingsSolutionFolder = UserToolsRootFolder + @"\midi-settings"; + AbsolutePath MidiSettingsSolutionFolder => UserToolsRootFolder / "midi-settings"; + AbsolutePath MidiSettingsStagingFolder => StagingRootFolder / "midi-settings"; + // AbsolutePath RustWinRTSamplesRootFolder => SamplesRootFolder / "rust-winrt"; + // AbsolutePath ElectronJSSamplesRootFolder => SamplesRootFolder / "electron-js"; + + + AbsolutePath SetupBundleInfoIncludeFile => StagingRootFolder / "version" / "BundleInfo.wxi"; + + + AbsolutePath SamplesRootFolder => NukeBuild.RootDirectory / "samples"; + AbsolutePath SamplesCppWinRTSolutionFolder => SamplesRootFolder / "cpp-winrt"; + + AbsolutePath SamplesCSWinRTSolutionFolder => SamplesRootFolder / "csharp-net"; + + + string[] AllPlatforms => new string[] { "Arm64", "Arm64EC", "x64" }; + string[] ServicePlatforms => new string[] { "Arm64", "x64" }; public static int Main () => Execute(x => x.BuildAndPublishAll); - [Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")] - readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release; - Target Clean => _ => _ - .Before(Restore) + Target Prerequisites => _ => _ .Executes(() => { + // Need to verify that %MIDI_REPO_ROOT% is set (it's used by setup). If not, set it to the root \midi folder + var rootVariableExists = !string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("MIDI_REPO_ROOT")); + + if (!rootVariableExists) + { + Environment.SetEnvironmentVariable("MIDI_REPO_ROOT", NukeBuild.RootDirectory); + } + + + }); - Target Restore => _ => _ + + Target BuildServiceAndPlugins => _ => _ + .DependsOn(Prerequisites) .Executes(() => + { + foreach (var platform in ServicePlatforms) { - }); + string solutionDir = ApiSolutionFolder.ToString() + @"\"; + var msbuildProperties = new Dictionary(); + msbuildProperties.Add("Platform", platform); + msbuildProperties.Add("SolutionDir", solutionDir); // to include trailing slash + msbuildProperties.Add("NoWarn", "MIDL2111"); // IDL identifier length warning + Console.Out.WriteLine($"----------------------------------------------------------------------"); + Console.Out.WriteLine($"SolutionDir: {solutionDir}"); + Console.Out.WriteLine($"Platform: {platform}"); + MSBuildTasks.MSBuild(_ => _ + .SetTargetPath(ApiSolutionFolder / "midi2.sln") + .SetMaxCpuCount(14) + /*.SetOutDir(outputFolder) */ + /*.SetProcessWorkingDirectory(ApiSolutionFolder)*/ + /*.SetTargets("Build") */ + .SetProperties(msbuildProperties) + .SetConfiguration(Configuration.Release) + .SetVerbosity(MSBuildVerbosity.Minimal) + .EnableNodeReuse() + ); - Target BuildCoreSDK => _ => _ - .DependsOn(Restore) - .Executes(() => + + // copy binaries to staging folder + var stagingFiles = new List(); + + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midisrv.exe"); + + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.MidiSrvAbstraction.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.DiagnosticsAbstraction.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.KSAbstraction.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.KSAggregateAbstraction.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.VirtualMidiAbstraction.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.LoopbackMidiAbstraction.dll"); + + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.BS2UMPTransform.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.UMP2BSTransform.dll"); + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.UmpProtocolDownscalerTransform.dll"); + + stagingFiles.Add(ApiSolutionFolder / "vsfiles" / platform / Configuration.Release / $"Midi2.SchedulerTransform.dll"); + + foreach (var file in stagingFiles) + { + FileSystemTasks.CopyFileToDirectory(file, ApiStagingFolder / platform, FileExistsPolicy.Overwrite, true); + } + + + } + + // Copy reference files to reference folder. This requires + // the SDK projects reference those instead of the current version + // which references deep into the API project + + // copy x64 files to Arm64EC folder as well. No reason for the full + // service and plugins to be Arm64EC just to provide a few headers + + var intermediateFolder = ApiSolutionFolder / "vsfiles" / "intermediate"; + + foreach (var platform in AllPlatforms) { + var referenceFiles = new List(); - + // for the destination platform, we use x64 files here since they're not + // binaries anyway + string sourcePlatform = (platform == "Arm64EC" ? "x64" : platform); + + referenceFiles.Add(intermediateFolder / "idl" / sourcePlatform / Configuration.Release / "WindowsMidiServices.h"); + referenceFiles.Add(intermediateFolder / "idl" / sourcePlatform / Configuration.Release / "WindowsMidiServices_i.c"); + referenceFiles.Add(intermediateFolder / "idl" / sourcePlatform / Configuration.Release / "WindowsMidiServices_i.c"); + + referenceFiles.Add(intermediateFolder / "Midi2.MidiSrvAbstraction" / sourcePlatform / Configuration.Release / "Midi2MidiSrvAbstraction.h"); + + // copy the files over to the reference location + foreach (var file in referenceFiles) + { + FileSystemTasks.CopyFileToDirectory(file, ApiReferenceFolder / platform, FileExistsPolicy.Overwrite, true); + } + } + + }); + + + Target BuildAndPackAllAppSDKs => _ => _ + .DependsOn(Prerequisites) + .DependsOn(BuildServiceAndPlugins) + .Executes(() => + { + foreach (var platform in AllPlatforms) + { + string solutionDir = AppSdkSolutionFolder.ToString() + @"\"; + + var msbuildProperties = new Dictionary(); + msbuildProperties.Add("Platform", platform); + msbuildProperties.Add("SolutionDir", solutionDir); // to include trailing slash + msbuildProperties.Add("NoWarn", "MSB3271"); // winmd and dll platform mismatch with Arm64EC + + Console.Out.WriteLine($"----------------------------------------------------------------------"); + Console.Out.WriteLine($"SolutionDir: {solutionDir}"); + Console.Out.WriteLine($"Platform: {platform}"); + + + MSBuildTasks.MSBuild(_ => _ + .SetTargetPath(AppSdkSolutionFolder / "app-sdk.sln") + .SetMaxCpuCount(14) + /*.SetOutDir(outputFolder) */ + /*.SetProcessWorkingDirectory(ApiSolutionFolder)*/ + /*.SetTargets("Build") */ + .SetProperties(msbuildProperties) + .SetConfiguration(Configuration.Release) + //.SetVerbosity(MSBuildVerbosity.Minimal) + .EnableNodeReuse() + ); + + } + + var sdkOutputRootFolder = AppSdkSolutionFolder / "vsfiles" / "out"; + + foreach (var platform in AllPlatforms) + { + var sdkBinaries = new List(); + + foreach (var ns in new string[] { + "Microsoft.Windows.Devices.Midi2", + "Microsoft.Windows.Devices.Midi2.ServiceConfig", + "Microsoft.Windows.Devices.Midi2.CapabilityInquiry", + "Microsoft.Windows.Devices.Midi2.ClientPlugins", + "Microsoft.Windows.Devices.Midi2.Diagnostics", + "Microsoft.Windows.Devices.Midi2.Messages", + "Microsoft.Windows.Devices.Midi2.Endpoints.Loopback", + "Microsoft.Windows.Devices.Midi2.Endpoints.Virtual", + "Microsoft.Windows.Devices.Midi2.Initialization" // this last one gets packed 100% in the nuget, including the impl + }) + { + sdkBinaries.Add(sdkOutputRootFolder / "coalesce" / platform / Configuration.Release / $"{ns}.winmd"); + sdkBinaries.Add(sdkOutputRootFolder / "coalesce" / platform / Configuration.Release / $"{ns}.dll"); + sdkBinaries.Add(sdkOutputRootFolder / "coalesce" / platform / Configuration.Release / $"{ns}.pri"); + + // todo: CS projection dll + } + + // create the nuget package + // todo: it would be better to see if any of the generated winmds have changed and only + // do this step if those have changed. Maybe do a before/after date/time check? + + + NuGetTasks.NuGetPack(_ => _ + .SetTargetPath(AppSdkSolutionFolder / "projections" / "dotnet-and-cpp" / "nuget" / "Microsoft.Windows.Devices.Midi2.nuspec") + .AddProperty("version", NugetFullVersionString) + .AddProperty("id", NugetFullPackageId) + .SetOutputDirectory(AppSdkNugetOutputFolder) + ); + + // copy the files over to the reference location + foreach (var file in sdkBinaries) + { + FileSystemTasks.CopyFileToDirectory(file, AppSdkStagingFolder / platform, FileExistsPolicy.Overwrite, true); + } + + FileSystemTasks.CopyFileToDirectory(sdkOutputRootFolder / "mididiag" / platform / Configuration.Release / $"mididiag.exe", AppSdkStagingFolder / platform, FileExistsPolicy.Overwrite, true); + } }); - Target BuildDiagnosticsSDK => _ => _ - .DependsOn(BuildCoreSDK) + + + Target BuildAppSdkRuntimeInstaller => _ => _ + .DependsOn(Prerequisites) + .DependsOn(BuildAndPackAllAppSDKs) .Executes(() => { + // we build for Arm64 and x64. No EC required here + foreach (var platform in ServicePlatforms) + { + UpdateSetupBundleInfoIncludeFile(platform); + + string fullSetupVersionString = $"{SetupVersionName} {SetupBuildMajorMinor}.{SetupBuildDateNumber}.{SetupBuildTimeNumber}"; + + string solutionDir = AppSdkSolutionFolder.ToString() + @"\"; + + var msbuildProperties = new Dictionary(); + msbuildProperties.Add("Platform", platform); + msbuildProperties.Add("SolutionDir", solutionDir); // to include trailing slash + Console.Out.WriteLine($"----------------------------------------------------------------------"); + Console.Out.WriteLine($"SolutionDir: {solutionDir}"); + Console.Out.WriteLine($"Platform: {platform}"); + var setupSolutionFolder = AppSdkSolutionFolder / "sdk-runtime-installer"; + + MSBuildTasks.MSBuild(_ => _ + .SetTargetPath(setupSolutionFolder / "midi-services-app-sdk-runtime-setup.sln") + .SetMaxCpuCount(14) + /*.SetOutDir(outputFolder) */ + /*.SetProcessWorkingDirectory(ApiSolutionFolder)*/ + /*.SetTargets("Build") */ + .SetProperties(msbuildProperties) + .SetConfiguration(Configuration.Release) + .EnableNodeReuse() + ); + + // todo: it would be better to see if any of the sdk files have changed and only + // do this copy if a new setup file was created. Maybe do a before/after date/time check? + + FileSystemTasks.CopyFile( + setupSolutionFolder / "main-bundle" / "bin" / platform / Configuration.Release / "WindowsMidiServicesSdkRuntimeSetup.exe", + ReleaseRootFolder / $"Windows MIDI Services (App SDK Runtime) - {fullSetupVersionString}-{platform.ToLower()}.exe"); + + } }); + void UpdateSetupBundleInfoIncludeFile(string platform) + { + string versionString = $"{SetupBuildMajorMinor}.{SetupBuildDateNumber}.{SetupBuildTimeNumber}"; - Target BuildSettingsApp => _ => _ - .DependsOn(BuildCoreSDK) - .DependsOn(BuildDiagnosticsSDK) + using (StreamWriter writer = System.IO.File.CreateText(SetupBundleInfoIncludeFile)) + { + writer.WriteLine(""); + writer.WriteLine($" "); + writer.WriteLine($" "); + writer.WriteLine(""); + } + } + + Target BuildServiceAndPluginsInstaller => _ => _ + .DependsOn(Prerequisites) + .DependsOn(BuildServiceAndPlugins) .Executes(() => { + // we build for Arm64 and x64. No EC required here + foreach (var platform in ServicePlatforms) + { + UpdateSetupBundleInfoIncludeFile(platform); + + string fullSetupVersionString = $"{SetupVersionName} {SetupBuildMajorMinor}.{SetupBuildDateNumber}.{SetupBuildTimeNumber}"; + + string solutionDir = InBoxComponentsSetupSolutionFolder.ToString() + @"\"; + + var msbuildProperties = new Dictionary(); + msbuildProperties.Add("Platform", platform); + msbuildProperties.Add("SolutionDir", solutionDir); // to include trailing slash + + Console.Out.WriteLine($"----------------------------------------------------------------------"); + Console.Out.WriteLine($"SolutionDir: {solutionDir}"); + Console.Out.WriteLine($"Platform: {platform}"); + + var output = MSBuildTasks.MSBuild(_ => _ + .SetTargetPath(InBoxComponentsSetupSolutionFolder / "midi-services-in-box-setup.sln") + .SetMaxCpuCount(14) + /*.SetOutDir(outputFolder) */ + /*.SetProcessWorkingDirectory(ApiSolutionFolder)*/ + /*.SetTargets("Build") */ + .SetProperties(msbuildProperties) + .SetConfiguration(Configuration.Release) + .EnableNodeReuse() + ); + + + // todo: it would be better to see if any of the sdk files have changed and only + // do this copy if a new setup file was created. Maybe do a before/after date/time check? + FileSystemTasks.CopyFile( + InBoxComponentsSetupSolutionFolder / "main-bundle" / "bin" / platform / Configuration.Release / "WindowsMidiServicesInBoxComponentsSetup.exe", + ReleaseRootFolder / $"Windows MIDI Services (In-Box Service) - {fullSetupVersionString}-{platform.ToLower()}.exe"); + } }); - Target BuildConsoleApp => _ => _ - .DependsOn(BuildCoreSDK) - .DependsOn(BuildDiagnosticsSDK) + + Target BuildSettingsApp => _ => _ + .DependsOn(Prerequisites) + .DependsOn(BuildAndPackAllAppSDKs) .Executes(() => { + // update nuget packages + // build x64 and Arm64 + }); + Target BuildConsoleApp => _ => _ + .DependsOn(Prerequisites) + .DependsOn(BuildAndPackAllAppSDKs) + .Executes(() => + { + // update nuget packages - + // build x64 and Arm64 }); - - - Target BuildSamples => _ => _ - .DependsOn(BuildCoreSDK) - .DependsOn(BuildDiagnosticsSDK) + Target BuildCppSamples => _ => _ + .DependsOn(BuildAndPackAllAppSDKs) .Executes(() => { + var solution = SamplesCppWinRTSolutionFolder / "cpp-winrt-samples.sln"; + + // update nuget packages + + // for the MIDI nuget package + NuGetTasks.NuGetInstall(_ => _ + .SetProcessWorkingDirectory(SamplesCppWinRTSolutionFolder) + .SetPreRelease(true) + .SetSource(AppSdkNugetOutputFolder) + .SetPackageID(NugetFullPackageId) + ); + + // for cppwinrt + NuGetTasks.NuGetInstall(_ => _ + .SetProcessWorkingDirectory(SamplesCppWinRTSolutionFolder) + .SetPreRelease(true) + .SetSource("https://api.nuget.org/v3/index.json") + .SetPackageID("Microsoft.Windows.CppWinRT") + ); + + // for WIL + //NuGetTasks.NuGetInstall(_ => _ + // .SetProcessWorkingDirectory(SamplesCppWinRTSolutionFolder) + // .SetPreRelease(true) + // .SetSource("https://api.nuget.org/v3/index.json") + // .SetPackageID("Microsoft.Windows.ImplementationLibrary") + //); + + + NuGetTasks.NuGetRestore(_ => _ + .SetProcessWorkingDirectory(SamplesCppWinRTSolutionFolder) + .SetSolutionDirectory(SamplesCppWinRTSolutionFolder) + .SetSource(AppSdkNugetOutputFolder) + /*.SetConfigFile(solution)*/ + ); + + + // make sure they compile + foreach (var platform in AllPlatforms) + { + string solutionDir = AppSdkSolutionFolder.ToString() + @"\"; + + var msbuildProperties = new Dictionary(); + msbuildProperties.Add("Platform", platform); + msbuildProperties.Add("SolutionDir", solutionDir); // to include trailing slash + //msbuildProperties.Add("NoWarn", "MSB3271"); // winmd and dll platform mismatch with Arm64EC + + Console.Out.WriteLine($"----------------------------------------------------------------------"); + Console.Out.WriteLine($"Solution: {solution}"); + Console.Out.WriteLine($"SolutionDir: {solutionDir}"); + Console.Out.WriteLine($"Platform: {platform}"); + + + MSBuildTasks.MSBuild(_ => _ + .SetTargetPath(solution) + .SetMaxCpuCount(14) + /*.SetOutDir(outputFolder) */ + /*.SetProcessWorkingDirectory(ApiSolutionFolder)*/ + /*.SetTargets("Build") */ + .SetProperties(msbuildProperties) + .SetConfiguration(Configuration.Release) + //.SetVerbosity(MSBuildVerbosity.Minimal) + .EnableNodeReuse() + ); + + } }); Target BuildAndPublishAll => _ => _ - .DependsOn(BuildCoreSDK) - .DependsOn(BuildDiagnosticsSDK) + .DependsOn(Prerequisites) + .DependsOn(BuildServiceAndPlugins) + .DependsOn(BuildServiceAndPluginsInstaller) + .DependsOn(BuildAndPackAllAppSDKs) + .DependsOn(BuildAppSdkRuntimeInstaller) + .DependsOn(BuildCppSamples) .DependsOn(BuildSettingsApp) .DependsOn(BuildConsoleApp) - .DependsOn(BuildSamples) .Executes(() => { - }); diff --git a/build/nuke_build/_build.csproj b/build/nuke_build/_build.csproj index 35d0743ba..c5510f008 100644 --- a/build/nuke_build/_build.csproj +++ b/build/nuke_build/_build.csproj @@ -12,7 +12,12 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + 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 new file mode 100644 index 000000000..e70570afa Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.pri new file mode 100644 index 000000000..4af4a0be4 Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.pri 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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null 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 new file mode 100644 index 000000000..b7a23dbb8 Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.pri new file mode 100644 index 000000000..efbf4b049 Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.pri 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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null 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 new file mode 100644 index 000000000..af70049f0 Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.pri new file mode 100644 index 000000000..999cb8dfa Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.pri 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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null 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 new file mode 100644 index 000000000..9dabac27d Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.pri new file mode 100644 index 000000000..e45544f7c Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.pri 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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null 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 new file mode 100644 index 000000000..22aac98cf Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.pri new file mode 100644 index 000000000..4fcb1d74c Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.pri 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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null 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.Initialization.dll b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll new file mode 100644 index 000000000..3e71dd3a7 Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri new file mode 100644 index 000000000..fc8fd508a Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri differ diff --git a/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..15faccfac Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.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 new file mode 100644 index 000000000..6584f5799 Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.pri new file mode 100644 index 000000000..516db2a4e Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.pri 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 new file mode 100644 index 000000000..885759693 Binary files /dev/null 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 new file mode 100644 index 000000000..66b1efd88 Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.pri new file mode 100644 index 000000000..423fbea31 Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.pri 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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null 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 new file mode 100644 index 000000000..35a4e4e9f Binary files /dev/null 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.pri b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.pri new file mode 100644 index 000000000..2192ad1f6 Binary files /dev/null and b/build/staging/app-sdk/Arm64EC/Microsoft.Windows.Devices.Midi2.pri 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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null 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 new file mode 100644 index 000000000..15c86c532 Binary files /dev/null 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 c4d77d26f..c438fa0c5 100644 --- a/build/staging/version/BundleInfo.wxi +++ b/build/staging/version/BundleInfo.wxi @@ -1,4 +1,4 @@ - - + + diff --git a/build/stale_cake/cake_build.bat b/build/stale_cake/cake_build.bat deleted file mode 100644 index 654d61c45..000000000 --- a/build/stale_cake/cake_build.bat +++ /dev/null @@ -1,4 +0,0 @@ -dotnet cake --target Default - -@echo off -@echo Build completed %date% %time% \ No newline at end of file diff --git a/build/stale_cake/cake_build.cake b/build/stale_cake/cake_build.cake deleted file mode 100644 index 79183492a..000000000 --- a/build/stale_cake/cake_build.cake +++ /dev/null @@ -1,722 +0,0 @@ -#tool nuget:?package=NuGet.CommandLine&version=5.10 -//#addin nuget:?package=Cake.Compression&version=0.3.0 - -const string MIDI2_NAMESPACE = "Microsoft.Devices.Midi2"; - - -// =========================================================================================== -string setupVersionName = "Developer Preview 6"; - -// we set these here, especially the time, so it's the same for all platforms in the single build -string setupBuildMajorMinor = "1.0"; -string setupBuildDateNumber = DateTime.Now.ToString("yy") + DateTime.Now.DayOfYear.ToString("000"); // YYddd where ddd is the day number for the year -string setupBuildTimeNumber = DateTime.Now.ToString("HHmm"); // HHmm -// =========================================================================================== - - - - -var target = Argument("target", "Default"); - - -var ridX64 = "win10-x64"; -var ridArm64 = "win10-arm64"; -var frameworkVersion = "net8.0-windows10.0.20348.0"; - - -var platformTargets = new[]{PlatformTarget.x64, PlatformTarget.ARM64}; -//var platformTargets = new[]{PlatformTarget.x64}; - - - -// we don't actually support debug builds for this. -var configuration = "Release"; - -var repoRootDir = MakeAbsolute(Directory("../")).ToString(); - -var srcDir = System.IO.Path.Combine(repoRootDir, "src"); -var buildRootDir = System.IO.Path.Combine(repoRootDir, "build"); - -var stagingRootDir = System.IO.Path.Combine(buildRootDir, "staging"); -var releaseRootDir = System.IO.Path.Combine(buildRootDir, "release"); - -var stagingX64Dir = System.IO.Path.Combine(stagingRootDir, ridX64); -var stagingArm64Dir = System.IO.Path.Combine(stagingRootDir, ridArm64); - -string stagingDir; - -////////////////////////////////////////////////////////////////////// -// PROJECT LOCATIONS -////////////////////////////////////////////////////////////////////// -/// - -var registrySettingsStagingDir = System.IO.Path.Combine(stagingRootDir, "reg"); - -var apiAndServiceSolutionDir = System.IO.Path.Combine(srcDir, "api"); -var apiAndServiceSolutionFile = System.IO.Path.Combine(apiAndServiceSolutionDir, "Midi2.sln"); -var apiAndServiceStagingDir = System.IO.Path.Combine(stagingRootDir, "api"); - - -var sdkSolutionDir = System.IO.Path.Combine(srcDir, "app-dev-sdk"); -var sdkSolutionFile = System.IO.Path.Combine(sdkSolutionDir, "midi-sdk.sln"); -var sdkStagingDir = System.IO.Path.Combine(stagingRootDir, "app-dev-sdk"); - -var vsFilesDir = System.IO.Path.Combine(apiAndServiceSolutionDir, "VSFiles"); - -var consoleAppSolutionDir = System.IO.Path.Combine(srcDir, "user-tools", "midi-console"); -var consoleAppSolutionFile = System.IO.Path.Combine(consoleAppSolutionDir, "midi-console.sln"); -var consoleAppProjectDir = System.IO.Path.Combine(consoleAppSolutionDir, "Midi"); -var consoleAppProjectFile = System.IO.Path.Combine(consoleAppProjectDir, "Midi.csproj"); -var consoleAppStagingDir = System.IO.Path.Combine(stagingRootDir, "midi-console"); - -var settingsAppSolutionDir = System.IO.Path.Combine(srcDir, "user-tools", "midi-settings"); -var settingsAppSolutionFile = System.IO.Path.Combine(settingsAppSolutionDir, "midi-settings.sln"); - -var settingsAppProjectDir = System.IO.Path.Combine(settingsAppSolutionDir, "Microsoft.Midi.Settings"); -var settingsAppProjectFile = System.IO.Path.Combine(settingsAppProjectDir, "Microsoft.Midi.Settings.csproj"); - -var settingsAppStagingDir = System.IO.Path.Combine(stagingRootDir, "midi-settings"); - - -var setupSolutionDir = System.IO.Path.Combine(srcDir, "oob-setup"); -var setupSolutionFile = System.IO.Path.Combine(setupSolutionDir, "midi-services-setup.sln"); -var setupBundleInfoIncludeFile = System.IO.Path.Combine(stagingRootDir, "version", "BundleInfo.wxi"); - - -var setupReleaseDir = releaseRootDir; - -var apiReleaseArtifactsFolder = System.IO.Path.Combine(releaseRootDir, "api"); - - -// we always want the latest redist. These are permalinks. -var vcRedistArm64URL = new Uri("https://aka.ms/vs/17/release/vc_redist.arm64.exe"); -var vcRedistX64URL = new Uri("https://aka.ms/vs/17/release/vc_redist.x64.exe"); - -var vcRedistDir = ""; - -var allowPreviewVersionOfBuildTools = true; - -////////////////////////////////////////////////////////////////////// -// TASKS -////////////////////////////////////////////////////////////////////// - -Task("Clean") - .WithCriteria(c => HasArgument("rebuild")) - .Does(() => -{ - CleanDirectory(stagingRootDir); - CleanDirectory(vsFilesDir); - - //CleanDirectory(buildX64Dir); - //CleanDirectory(buildArm64Dir); -}); - - -Task("VerifyDependencies") - .Does(() => -{ - // Grab latest VC runtime - - // https://aka.ms/vs/17/release/vc_redist.x64.exe - - - // Grab lates t.NET runtime if the file isn't there. It will have a long name with a - // version number, like dotnet-runtime-8.0.0-rc.1.23419.4-win-x64 so you'llneed to - // rename that for the installer - // https://aka.ms/dotnet/8.0/preview/windowsdesktop-runtime-win-x64.exe - - - -}); - -Task("SetupEnvironment") - .Does(()=> -{ - // TODO: Need to verify that %MIDI_REPO_ROOT% is set. If not, set it to the root \midi folder - var rootVariableExists = !string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("MIDI_REPO_ROOT")); - - if (!rootVariableExists) - { - // this will only work if this folder is located in \midi\build or some other subfolder of the root \midi folder - Environment.SetEnvironmentVariable("MIDI_REPO_ROOT", System.IO.Path.GetFullPath("..\\")); - } -}); - - - Task("BuildService") - .DoesForEach(platformTargets, plat => -{ - Information("\nBuilding service and API for " + plat.ToString()); - - string abstractionRootDir = System.IO.Path.Combine(apiAndServiceSolutionDir, "Abstraction"); - - // the projects, as configured for internal Razzle build, rely on this folder - - string workingDirectory = string.Empty; - - var buildSettings = new MSBuildSettings - { - MaxCpuCount = 0, - Configuration = configuration, - AllowPreviewVersion = allowPreviewVersionOfBuildTools, - PlatformTarget = plat, - Verbosity = Verbosity.Minimal, - }; - - MSBuild(System.IO.Path.Combine(apiAndServiceSolutionDir, "Midi2.sln"), buildSettings); - - // Copy key output files from VSFiles to staging to allow building installer - - var outputDir = System.IO.Path.Combine(apiAndServiceSolutionDir, "VSFiles", plat.ToString(), configuration); - var generatedFilesDir = System.IO.Path.Combine(apiAndServiceSolutionDir, "VSFiles", "intermediate", $"{MIDI2_NAMESPACE}", plat.ToString(), configuration, "GeneratedFiles", "winrt"); - //var apiHeaderDir = System.IO.Path.Combine(apiAndServiceSolutionDir, "VSFiles\\intermediate\\Windows.Devices.Midi2", plat.ToString(), configuration, "GeneratedFiles\\winrt"); - - Information("\nCopying service and API for " + plat.ToString()); - - var copyToDir = System.IO.Path.Combine(apiAndServiceStagingDir, plat.ToString()); - - if (!DirectoryExists(copyToDir)) - CreateDirectory(copyToDir); - - - // copy all the DLLs - CopyFiles(System.IO.Path.Combine(outputDir, "*.dll"), copyToDir); - - CopyFiles(System.IO.Path.Combine(outputDir, "*.pri"), copyToDir); - CopyFiles(System.IO.Path.Combine(outputDir, "*.pdb"), copyToDir); - - CopyFiles(System.IO.Path.Combine(outputDir, "MidiSrv.exe"), copyToDir); - //CopyFiles(System.IO.Path.Combine(outputDir, "mididmp.exe"), copyToDir); - - CopyFiles(System.IO.Path.Combine(outputDir, $"{MIDI2_NAMESPACE}.winmd"), copyToDir); - - CopyFiles(System.IO.Path.Combine(outputDir, "WinRTActivationEntries.txt"), copyToDir); - - // copy the C++ header for the API - CopyFiles(System.IO.Path.Combine(generatedFilesDir, $"{MIDI2_NAMESPACE}.h"), copyToDir); - - - - - // copy the API Header and the .winmd to the "API bare" folder - - var apiBareCopyToDir = System.IO.Path.Combine(releaseRootDir, "api"); - - if (!DirectoryExists(apiBareCopyToDir)) - CreateDirectory(apiBareCopyToDir); - - if (!DirectoryExists(System.IO.Path.Combine(apiBareCopyToDir, "winrt"))) - CreateDirectory(System.IO.Path.Combine(apiBareCopyToDir, "winrt")); - - if (!DirectoryExists(System.IO.Path.Combine(apiBareCopyToDir, "winrt", "impl"))) - CreateDirectory(System.IO.Path.Combine(apiBareCopyToDir, "winrt", "impl")); - - - CopyFiles(System.IO.Path.Combine(copyToDir, $"{MIDI2_NAMESPACE}.h"), apiBareCopyToDir); - - CopyFiles(System.IO.Path.Combine(generatedFilesDir, "base.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/")); - CopyFiles(System.IO.Path.Combine(generatedFilesDir, "Windows.Devices.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/")); - CopyFiles(System.IO.Path.Combine(generatedFilesDir, "impl/Windows.Devices.Enumeration.2.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(generatedFilesDir, "impl/Windows.Devices.Midi.2.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(generatedFilesDir, "impl/Windows.Foundation.2.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(generatedFilesDir, "impl/Windows.Foundation.Collections.2.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(generatedFilesDir, $"impl/{MIDI2_NAMESPACE}.2.h"), System.IO.Path.Combine(apiBareCopyToDir, "winrt/impl/")); - - CopyFiles(System.IO.Path.Combine(copyToDir, $"{MIDI2_NAMESPACE}.dll"), apiBareCopyToDir); - CopyFiles(System.IO.Path.Combine(copyToDir, $"{MIDI2_NAMESPACE}.winmd"), apiBareCopyToDir); - CopyFiles(System.IO.Path.Combine(copyToDir, $"{MIDI2_NAMESPACE}.pri"), apiBareCopyToDir); - - -}); - - - - - -Task("BuildApiActivationRegEntriesCSharp") - .IsDependentOn("BuildServiceAndAPI") - .Does(() => -{ - Information("\nBuilding WinRT Activation Entries "); - - var sourceFileName = System.IO.Path.Combine(apiAndServiceStagingDir, "x64", "WinRTActivationEntries.txt"); - var csDestinationFileName = System.IO.Path.Combine(registrySettingsStagingDir, "WinRTActivationEntries.cs"); - -// const string parentHKLMRegKey = "SOFTWARE\\Microsoft\\WindowsRuntime\\ActivatableClassId\\"; -// const string wixWinrtLibFileName = "[API_INSTALLFOLDER]Windows.Devices.Midi2.dll"; - - if (!System.IO.File.Exists(sourceFileName)) - throw new ArgumentException("Missing WinRT Activation entries file " + sourceFileName); - - using (StreamReader reader = System.IO.File.OpenText(sourceFileName)) - { - - if (!DirectoryExists(registrySettingsStagingDir)) - CreateDirectory(registrySettingsStagingDir); - - using (StreamWriter csWriter = System.IO.File.CreateText(csDestinationFileName)) - { - csWriter.WriteLine("//"); - csWriter.WriteLine("// This file was generated by the build process. Edits to this file will be lost."); - csWriter.WriteLine("//"); - csWriter.WriteLine("using RegistryCustomActions;"); - csWriter.WriteLine("class RegistryEntries"); - csWriter.WriteLine("{"); - csWriter.WriteLine($" public static string ApiImplementationLib => \"{MIDI2_NAMESPACE}.dll\";"); - csWriter.WriteLine(); - csWriter.WriteLine(" public RegEntry[] ActivationEntries = new RegEntry[]"); - csWriter.WriteLine(" {"); - - string line; - - while ((line = reader.ReadLine()) != null) - { - string trimmedLine = line.Trim(); - - if (string.IsNullOrWhiteSpace(trimmedLine) || trimmedLine.StartsWith("#")) - { - // comment or empty line - continue; - } - - // pipe-delimited lines - var elements = trimmedLine.Split('|'); - - if (elements.Count() != 4) - throw new ArgumentException("Bad line: " + trimmedLine); - - // entries in order are - // ClassName | ActivationType | Threading | TrustLevel - - string className = elements[0].Trim(); - string activationType = elements[1].Trim(); - string threading = elements[2].Trim(); - string trustLevel = elements[3].Trim(); - - csWriter.WriteLine($" new RegEntry{{ ClassName=\"{className}\", ActivationType={activationType}, Threading={threading}, TrustLevel={trustLevel} }},"); - - - } - - csWriter.WriteLine(" };"); - csWriter.WriteLine("}"); - - - } - } - -}); - - -Task("BuildApiActivationRegEntriesInternal") - .IsDependentOn("BuildServiceAndAPI") - .Does(() => -{ - Information("\nBuilding WinRT Internaml XML Activation Entries"); - - // read the file of dependencies - var sourceFileName = System.IO.Path.Combine(apiAndServiceStagingDir, "x64", "WinRTActivationEntries.txt"); - var destinationFileName = System.IO.Path.Combine(registrySettingsStagingDir, "WinRTActivationEntries.xml"); - - if (!System.IO.File.Exists(sourceFileName)) - throw new ArgumentException("Missing WinRT Activation entries file " + sourceFileName); - - using (StreamReader reader = System.IO.File.OpenText(sourceFileName)) - { - - if (!DirectoryExists(registrySettingsStagingDir)) - CreateDirectory(registrySettingsStagingDir); - - using (StreamWriter writer = System.IO.File.CreateText(destinationFileName)) - { - string line; - - while ((line = reader.ReadLine()) != null) - { - string trimmedLine = line.Trim(); - - if (string.IsNullOrWhiteSpace(trimmedLine) || trimmedLine.StartsWith("#")) - { - // comment or empty line - continue; - } - - // pipe-delimited lines - var elements = trimmedLine.Split('|'); - - if (elements.Count() != 4) - throw new ArgumentException("Bad line: " + trimmedLine); - - // entries in order are - // ClassName | ActivationType | Threading | TrustLevel - - string className = elements[0].Trim(); - var activationType = int.Parse(elements[1].Trim()); - var threading = int.Parse(elements[2].Trim()); - var trustLevel = int.Parse(elements[3].Trim()); - - // TODO: Need to read the values from the file. These are hard-coded right now. - string threadingEnum = "Both"; // STA / MTA / Both - string trustLevelEnum = "Base"; // Base / Partial / Full - - writer.WriteLine(" "); - } - - } - } - -}); - -// -// See https://blogs.windows.com/windowsdeveloper/2019/04/30/enhancing-non-packaged-desktop-apps-using-windows-runtime-components/ -// -Task("BuildRegistrationFreeWinRTActivationEntries") - .IsDependentOn("BuildServiceAndAPI") - .Does(() => -{ - Information("\nBuilding Reg Free WinRT Manifest Activation Entries"); - - // read the file of dependencies - var sourceFileName = System.IO.Path.Combine(apiAndServiceStagingDir, "x64", "WinRTActivationEntries.txt"); - var destinationFileName = System.IO.Path.Combine(registrySettingsStagingDir, "MyApplicationName.exe.manifest"); - - if (!System.IO.File.Exists(sourceFileName)) - throw new ArgumentException("Missing WinRT Activation entries file " + sourceFileName); - - using (StreamReader reader = System.IO.File.OpenText(sourceFileName)) - { - if (!DirectoryExists(registrySettingsStagingDir)) - CreateDirectory(registrySettingsStagingDir); - - using (StreamWriter writer = System.IO.File.CreateText(destinationFileName)) - { - string line; - - writer.WriteLine($""); - writer.WriteLine($""); - writer.WriteLine($" "); - writer.WriteLine($" "); - - while ((line = reader.ReadLine()) != null) - { - string trimmedLine = line.Trim(); - - if (string.IsNullOrWhiteSpace(trimmedLine) || trimmedLine.StartsWith("#")) - { - // comment or empty line - continue; - } - - // pipe-delimited lines - var elements = trimmedLine.Split('|'); - - if (elements.Count() != 4) - throw new ArgumentException("Bad line: " + trimmedLine); - - // entries in order are - // ClassName | ActivationType | Threading | TrustLevel - - string className = elements[0].Trim(); - var activationType = int.Parse(elements[1].Trim()); - var threading = int.Parse(elements[2].Trim()); - var trustLevel = int.Parse(elements[3].Trim()); - - // TODO: Need to read the values from the file. These are hard-coded right now. - string threadingEnum = "both"; // STA / MTA / Both - string trustLevelEnum = "Base"; // Base / Partial / Full - - writer.WriteLine($" "); - } - - writer.WriteLine(" "); - writer.WriteLine(""); - } - } - -}); - -/* -Task("PackAPIProjection") - .IsDependentOn("BuildServiceAndAPI") - .Does(() => -{ - Information("\nPacking API Projection..."); - - var workingDirectory = System.IO.Path.Combine(apiAndServiceSolutionDir, "Client", "Midi2Client-Projection"); - - NuGetPack(System.IO.Path.Combine(workingDirectory, "nuget", $"{MIDI2_NAMESPACE}.nuspec"), new NuGetPackSettings - { - WorkingDirectory = workingDirectory, - OutputDirectory = System.IO.Path.Combine(releaseRootDir, "NuGet") // NuGet packages cover multiple platforms - }); -}); -*/ - -/* -Task("BuildConsoleApp") - .IsDependentOn("PackAPIProjection") - .DoesForEach(platformTargets, plat => -{ - // TODO: Update nuget ref in console app to the new version - - - Information("\nBuilding MIDI console app for " + plat.ToString()); - - // update nuget packages for the entire solution. This is important for API/SDK NuGet in particular - // NOTE: This doesn't work on packagereference projects. Need to consider a tool like - // dotnet-outdated https://github.com/dotnet-outdated/dotnet-outdated - - NuGetUpdate(consoleAppSolutionFile, new NuGetUpdateSettings - { - WorkingDirectory = consoleAppSolutionDir, - Prerelease = true, - }); - - // we're specifying a rid, so we need to compile the project, not the solution - - string rid = ""; - if (plat == PlatformTarget.x64) - rid = ridX64; - else if (plat == PlatformTarget.ARM64) - rid = ridArm64; - else - throw new ArgumentException("Invalid platform target " + plat.ToString()); - - DotNetBuild(consoleAppProjectFile, new DotNetBuildSettings - { - WorkingDirectory = consoleAppProjectDir, - Configuration = configuration, - Runtime = rid, - }); - - - // Note: Spectre.Console doesn't support trimming, so you get a huge exe. - // Consider making this framework-dependent once .NET 8 releases - DotNetPublish(consoleAppProjectFile, new DotNetPublishSettings - { - WorkingDirectory = consoleAppProjectDir, - OutputDirectory = System.IO.Path.Combine(consoleAppStagingDir, plat.ToString()), - Configuration = configuration, - - PublishSingleFile = false, - PublishTrimmed = false, // must be true for AOT - //PublishAot = false, // not currently supported in cake, so make sure this is set in project file - SelfContained = false, - Framework = frameworkVersion, - Runtime = rid - }); - -}); -*/ - -/* -Task("BuildSettingsApp") - .IsDependentOn("PackAPIProjection") - .DoesForEach(platformTargets, plat => -{ - // TODO: Update nuget ref in settings app to the new version - - //NuGetUpdate(settingsAppSolutionFile); - - // TODO: Update nuget ref in console app to the new version - - - Information("\nBuilding MIDI settings app for " + plat.ToString() + " " + configuration); - - // update nuget packages for the entire solution. This is important for API/SDK NuGet in particular - - //NuGetUpdate(settingsAppSolutionFile, new NuGetUpdateSettings - //{ - // WorkingDirectory = settingsAppSolutionDir, - //}); - - // we're specifying a rid, so we need to compile the project, not the solution - - string rid = ""; - if (plat == PlatformTarget.x64) - rid = ridX64; - else if (plat == PlatformTarget.ARM64) - rid = ridArm64; - else - throw new ArgumentException("Invalid platform target " + plat.ToString()); - - DotNetBuild(settingsAppProjectFile, new DotNetBuildSettings - { - WorkingDirectory = settingsAppSolutionDir, - Configuration = configuration, - Runtime = rid, - }); - - - DotNetPublish(settingsAppProjectFile, new DotNetPublishSettings - { - WorkingDirectory = settingsAppSolutionDir, - OutputDirectory = System.IO.Path.Combine(settingsAppStagingDir, plat.ToString()), - Configuration = configuration, - - Runtime = rid, - PublishSingleFile = false, - PublishTrimmed = false, - SelfContained = false, - Framework = frameworkVersion - }); - - // WinUI makes me manually copy this over. If not for the hacked-in post-build step, would need all the .xbf files as well - -}); -*/ - -string finalSetupNamex64 = string.Empty; -string finalSetupNameArm64 = string.Empty; - -Task("BuildInstaller") - .IsDependentOn("SetupEnvironment") - .IsDependentOn("BuildServiceAndAPI") - .IsDependentOn("BuildApiActivationRegEntriesCSharp") - .IsDependentOn("BuildSettingsApp") - .IsDependentOn("BuildConsoleApp") - .DoesForEach(platformTargets, plat => -{ - Information($"\nBuilding Installer for {plat.ToString()} {configuration}"); - - System.Threading.Thread.Sleep(1000); - - var mainBundleProjectDir = System.IO.Path.Combine(setupSolutionDir, "main-bundle"); - var apiSetupProjectDir = System.IO.Path.Combine(setupSolutionDir, "api-package"); - var consoleOnlySetupProjectDir = System.IO.Path.Combine(setupSolutionDir, "console-package"); - var settingsOnlySetupProjectDir = System.IO.Path.Combine(setupSolutionDir, "settings-package"); - - string rid = ""; - if (plat == PlatformTarget.x64) - rid = ridX64; - else if (plat == PlatformTarget.ARM64) - rid = ridArm64; - else - throw new ArgumentException("Invalid platform target " + plat.ToString()); - - string setupBuildPlatform = plat.ToString().ToLower(); - - string setupBuildFullVersionString = setupBuildMajorMinor + "." + setupBuildDateNumber + "." + setupBuildTimeNumber; - //string setupBuildFullVersionStringFile = setupBuildFullVersionString.Replace('.', '-'); - - using (StreamWriter writer = System.IO.File.CreateText(setupBundleInfoIncludeFile)) - { - writer.WriteLine(""); - writer.WriteLine($" "); - writer.WriteLine($" "); - writer.WriteLine(""); - } - - var setupName = $"Windows MIDI Services {setupVersionName} {setupBuildFullVersionString}-{setupBuildPlatform}.exe"; - - if (plat == PlatformTarget.x64) - finalSetupNamex64 = setupName; - else if (plat == PlatformTarget.ARM64) - finalSetupNameArm64 = setupName; - - - string workingDirectory = string.Empty; - - var buildSettings = new MSBuildSettings - { - MaxCpuCount = 1, // Set to 1 to avoid file locking problems - Configuration = configuration, - AllowPreviewVersion = allowPreviewVersionOfBuildTools, - PlatformTarget = plat, - Verbosity = Verbosity.Minimal, - }; - - MSBuild(setupSolutionFile, buildSettings); - - System.Threading.Thread.Sleep(1000); - - string releaseStandAloneInstallerFolder = System.IO.Path.Combine(setupReleaseDir, "Component Installs", plat.ToString().ToLower()); - - if (!DirectoryExists(setupReleaseDir)) - CreateDirectory(setupReleaseDir); - - if (!DirectoryExists(releaseStandAloneInstallerFolder)) - CreateDirectory(releaseStandAloneInstallerFolder); - - - // copy and rename the main bundle installer to include version and platform - - CopyFiles(System.IO.Path.Combine(mainBundleProjectDir, "bin", plat.ToString(), "Release", "WindowsMidiServicesCompleteSetup.exe"), setupReleaseDir); - - // rename - MoveFile(System.IO.Path.Combine(setupReleaseDir, "WindowsMidiServicesCompleteSetup.exe"), - (System.IO.Path.Combine(setupReleaseDir, setupName))); - - CopyFiles(System.IO.Path.Combine(consoleOnlySetupProjectDir, "bin", plat.ToString(), "Release", "*.msi"), releaseStandAloneInstallerFolder); - CopyFiles(System.IO.Path.Combine(settingsOnlySetupProjectDir, "bin", plat.ToString(), "Release", "*.msi"), releaseStandAloneInstallerFolder); - CopyFiles(System.IO.Path.Combine(apiSetupProjectDir, "bin", plat.ToString(), "Release", "*.msi"), releaseStandAloneInstallerFolder); - -}); - -/* -Task("CopyAPIArtifacts") - .IsDependentOn("BuildInstaller") - .IsDependentOn("PackAPIProjection") - .DoesForEach(platformTargets, plat => -{ - Information($"\nCopying API artifacts for {plat.ToString()} {configuration}"); - - string apiStagingDir = System.IO.Path.Combine(apiAndServiceStagingDir, "bin", plat.ToString().ToLower()); - string platReleaseFolder = System.IO.Path.Combine(apiReleaseArtifactsFolder, plat.ToString().ToLower()); - - if (!DirectoryExists(apiStagingDir)) - CreateDirectory(apiStagingDir); - - if (!DirectoryExists(platReleaseFolder)) - CreateDirectory(platReleaseFolder); - - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"{MIDI2_NAMESPACE}.winmd"), platReleaseFolder); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"{MIDI2_NAMESPACE}.dll"), platReleaseFolder); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"{MIDI2_NAMESPACE}.pri"), platReleaseFolder); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"{MIDI2_NAMESPACE}.h"), platReleaseFolder); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/base.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/")); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/Windows.Devices.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/")); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/impl/Windows.Devices.Enumeration.2.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/impl/Windows.Devices.Midi.2.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/impl/Windows.Foundation.2.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/impl/Windows.Foundation.Collections.2.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/impl/")); - CopyFiles(System.IO.Path.Combine(apiStagingDir, $"winrt/impl/{MIDI2_NAMESPACE}.2.h"), System.IO.Path.Combine(platReleaseFolder, "winrt/impl/")); -}); -*/ - -////////////////////////////////////////////////////////////////////// -// TASK TARGETS -////////////////////////////////////////////////////////////////////// - -Task("Default") - .IsDependentOn("Clean") - .IsDependentOn("BuildApiActivationRegEntriesInternal") - .IsDependentOn("BuildRegistrationFreeWinRTActivationEntries") - .IsDependentOn("BuildInstaller") - .IsDependentOn("CopyAPIArtifacts") - .Does(() => -{ - - Information("\n\n"); - Information($"Installer x64 >> \"{finalSetupNamex64}\""); - Information($"Installer Arm64 >> \"{finalSetupNameArm64}\""); - Information("\n\n"); - -}); - - - - -////////////////////////////////////////////////////////////////////// -// EXECUTION -////////////////////////////////////////////////////////////////////// - -RunTarget(target); \ No newline at end of file diff --git a/build/stale_cake/cake_build.ps1 b/build/stale_cake/cake_build.ps1 deleted file mode 100644 index 21821d291..000000000 --- a/build/stale_cake/cake_build.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -$ErrorActionPreference = 'Stop' - -Set-Location -LiteralPath $PSScriptRoot - -$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = '1' -$env:DOTNET_CLI_TELEMETRY_OPTOUT = '1' -$env:DOTNET_NOLOGO = '1' - -dotnet tool restore -if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - -dotnet cake @args -if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } diff --git a/build/stale_cake/rebuild.bat b/build/stale_cake/rebuild.bat deleted file mode 100644 index 37347f118..000000000 --- a/build/stale_cake/rebuild.bat +++ /dev/null @@ -1 +0,0 @@ -dotnet cake --target Default --rebuild \ No newline at end of file diff --git a/docs/developer-how-to/developer-how-to.md b/docs/developer-how-to/developer-how-to.md new file mode 100644 index 000000000..b3db44073 --- /dev/null +++ b/docs/developer-how-to/developer-how-to.md @@ -0,0 +1,9 @@ +--- +layout: page +title: Developer How-to +has_children: true +--- + +# Developer How-to + +Here are tutorials for key features in Windows MIDI Services 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 new file mode 100644 index 000000000..17c1804bc --- /dev/null +++ b/docs/developer-how-to/how-to-check-for-windows-midi-services.md @@ -0,0 +1,106 @@ +--- +layout: page +title: Check for Windows MIDI Services +parent: Developer How-to +has_children: false +--- + +# How to check for Windows MIDI Services on the PC + +TODO: Explain why we chose this model + + + +## Verify that the OS is supported + +Windows MIDI Services runs on the latest Windows 10 public release, as well as all supported versions of Windows 11. + +```cpp +if (MidiServicesInitializer::IsOperatingSystemSupported()) +{ + // continue with other checking +} +else +{ + // fallback to older MIDI APIs +} +``` + +## Verify that the Windows Service is installed and running + +The Windows Service (midisrv.exe) used for Windows MIDI Services is, by Microsoft policy, set to demand-start by default, so that it does not impact Windows start-up performance. (Any customer is free to change it to start automatically should they wish.) To ensure the service is available and started, call the `EnsureServiceAvailable` function + +```cpp +if (MidiServicesInitializer::EnsureServiceAvailable()) +{ + // MIDI Service is now available. If it was not previously started, + // Devices enumeration and protocol discovery/negotiation will now + // begin. +} +else +{ + // service is not installed or otherwise couldn't start +} + +``` + +### 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. + +Once the service is started, all the devices it is responsible for begin to be enumerated. + +Once the service is demand-started, it remains running until manually shut down or the next reboot. + +## Bootstrap the Windows MIDI Services SDK runtime (Desktop apps only) + +For desktop apps, other than the initializer, the rest of the SDK is installed centrally on the PC rather than shipped with applications. This enables bug and security fixes without asking each software developer to ship a new version of their application. + +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. + +Manifest contents: + +```xml + + + + + + + + + + + + +``` + +The manifest may contain other information unrelated to Windows MIDI Services. More details about application manifests may be found on the [Microsoft Learn documentation site](https://learn.microsoft.com/windows/win32/sbscs/application-manifests). + +In addition to the manifest, the application must include the `Microsoft.Windows.Devices.Midi2.Initialization.dll` and `Microsoft.Windows.Devices.Midi2.Initialization.winmd` files in its application folder, side-by-side with the executable. + +### What to do if the runtime is not present + +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()) +``` + +> 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. + +## 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 + +TODO + + diff --git a/docs/developer-how-to/how-to-create-loopback-endpoints.md b/docs/developer-how-to/how-to-create-loopback-endpoints.md new file mode 100644 index 000000000..1124cb806 --- /dev/null +++ b/docs/developer-how-to/how-to-create-loopback-endpoints.md @@ -0,0 +1,78 @@ +--- +layout: page +title: Create Loopback Endpoints= 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. + +```cpp +MidiLoopbackEndpointDefinition definitionA; +MidiLoopbackEndpointDefinition definitionB; + +// A-side of the loopback +definitionA.Name = L"Sample App Loopback A"; +definitionA.Description = L"The first description is optional, but is displayed to users. This becomes the transport-defined description."; +definitionA.UniqueId = L"8675309-OU812-5150"; + +// B-side of the loopback +definitionB.Name = L"Sample App Loopback B"; +definitionB.Description = L"The second description is optional, but is displayed to users. This becomes the transport-defined description."; +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 + +```cpp +MidiLoopbackEndpointCreationConfig creationConfig(m_associationId, definitionA, definitionB); + +auto response = MidiLoopbackEndpointManager::CreateTransientLoopbackEndpoints(creationConfig); + +if (response.Success) +{ + std::wcout << L"Endpoints created successfully" << std::endl << std::endl; + + std::cout + << "Loopback Endpoint A: " << std::endl + << " - " << winrt::to_string(definitionA.Name) << std::endl + << " - " << winrt::to_string(response.EndpointDeviceIdA) << std::endl << std::endl; + + std::cout + << "Loopback Endpoint B: " << std::endl + << " - " << winrt::to_string(definitionB.Name) << std::endl + << " - " << winrt::to_string(response.EndpointDeviceIdB) << std::endl << std::endl; + + m_endpointAId = response.EndpointDeviceIdA; + m_endpointBId = response.EndpointDeviceIdB; +} +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. + +```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. + +## Sample Code + +* [C++ / WinRT Sample](https://github.com/microsoft/MIDI/blob/main/samples/cpp-winrt/loopback-endpoints/main.cpp) 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 new file mode 100644 index 000000000..3f4ed28ec --- /dev/null +++ b/docs/developer-how-to/how-to-create-virtual-ump-device.md @@ -0,0 +1,39 @@ +--- +layout: page +title: Create Virtual Devices +parent: Developer How-to +has_children: false +--- + +# How to Create Virtual UMP 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. + +## 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. + +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. + +### Example + +TODO + + + + +## Sample Code + +* [C# Sample](https://github.com/microsoft/MIDI/tree/main/samples/csharp-net/app-to-app-midi-cs) + + +> 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. diff --git a/docs/developer-how-to/how-to-enumerate-endpoints.md b/docs/developer-how-to/how-to-enumerate-endpoints.md new file mode 100644 index 000000000..b29489349 --- /dev/null +++ b/docs/developer-how-to/how-to-enumerate-endpoints.md @@ -0,0 +1,37 @@ +--- +layout: page +title: Enumerate UMP Endpoints +parent: Developer How-to +has_children: false +--- + +# How to Enumerate UMP Endpoints + +Sometimes, an application wants to get a snapshot of active endpoints. For example, the MIDI console application does this when it presents a list of devices to pick from. This process is called enumeration. + +> Enumerating endpoints one time is good only for a brief snapshot listing. If you want to have a list of devices that is always up to date when devices are plugged/unplugged, come into range, have property updates, etc., see the [how to watch endpoints](./how-to-watch-endpoints.md) topic. + +```cpp +auto endpointList = MidiEndpointDeviceInformation::FindAll(); +``` + +That is the equivalent of passing in a sort order of the name, and a filter of the two types of UMP endpoints that an application will work with. (All endpoints are presented through the API/SDK as UMP, but their native data format is part of the device information and part of the filter options.) + +```cpp +auto endpointList = MidiEndpointDeviceInformation::FindAll( + MidiEndpointDeviceInformationSortOrder::Name, + MidiEndpointDeviceInformationFilters::AllTypicalEndpoints +); +``` + +The application may then iterate through the list, reading the properties as needed. + +## UMP Endpoint properties + +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. + +## Sample Code + +* [C++ Sample to Statically Enumerate Endpoints](https://github.com/microsoft/MIDI/tree/main/samples/cpp-winrt/static-enum-endpoints) diff --git a/docs/developer-how-to/how-to-watch-endpoints.md b/docs/developer-how-to/how-to-watch-endpoints.md new file mode 100644 index 000000000..4e64b85f5 --- /dev/null +++ b/docs/developer-how-to/how-to-watch-endpoints.md @@ -0,0 +1,50 @@ +--- +layout: page +title: Enumerate UMP Endpoints (with add/remove/change detection) +parent: Developer How-to +has_children: false +--- + +# Enumerate UMP Endpoints (with add/remove/change detection) + +In WinRT, a device watcher is a type class which raises events when specific devices are added, removed, or have had property changes. The concept of a device watcher is central to working with all types of devices in Windows. The Windows SDK ships with a general `Windows::Devices::Enumeration::DeviceWatcher` class which can be used for any type of device query. + +In Windows MIDI Services, we've provided a specialized version of the device watcher called the `Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher`. This class takes the research and guesswork out of watching a device, and supports the additional information we capture in custom device properties. + +> Using a device watcher is a best practice for most MIDI applications. However, if you want to retrieve a one-time snapshot of active devices, see the [How to Enumerate Endpoints](how-to-enumerate-endpoints.md) document. + +## 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. + +Once the event handlers have been wired up, create the watcher using the static `Create` function. + +```cpp +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); +``` + +And, conversely, to show only up-converted MIDI 1.0 byte format endpoints: + +```cpp +auto watcher = MidiEndpointDeviceWatcher::Create(MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative); +``` + +The default is to include both, which is also represented by `MidiEndpointDeviceInformationFilters::AllTypicalEndpoints`. + +## Accessing the list + +An application may track added / updated / removed devices in its own container, by handling the appropriate events, or it may use the `EnumeratedEndpointDevices` map. + +That this map is dynamic, and changes when devices are added or removed. For that reason, we recommend not caching copies of the objects in there, but instead accessing them by the `EndpointDeviceId` (the map key) each time. This will help ensure you always have the latest properties, and also that you are not holding references to invalidated (removed) objects. + +## Samples + +* [C++/WinRT Endpoint Device Watcher Sample](https://github.com/microsoft/MIDI/tree/main/samples/cpp-winrt/watch-endpoints) + + diff --git a/docs/endpoints/diagnostic-endpoints.md b/docs/endpoints/diagnostic-endpoints.md index 62be33d86..22ce12ff4 100644 --- a/docs/endpoints/diagnostic-endpoints.md +++ b/docs/endpoints/diagnostic-endpoints.md @@ -11,7 +11,7 @@ has_children: false | Property | Value | | -------- | ----- | | Abstraction Id | `{ac9b5417-3fe0-4e62-960f-034ee4235a1a}` | -| Mnemonic | `DIAG` | +| Abbreviation | `DIAG` | (Note: This transport cannot be disabled and is not listed in the registry. Its activation is hard-coded into the Windows service. Settings for this transport are not read from the configuration file and cannot be changed.) @@ -58,4 +58,8 @@ The Loopback endpoints capture Endpoint and Function Block metadata just like an The ping endpoint is not normally returned through any enumeration. It is for internal use only, and should not be used by any applications. It recognizes only one type of proprietary message. -Behavior and implementation of the Ping endpoint is subject to change and should not be relied upon by any code outside of the API. \ No newline at end of file +Behavior and implementation of the Ping endpoint is subject to change and should not be relied upon by any code outside of the API. + +## Compatibility + +Diagnostics endpoints are available only to applications using the Windows MIDI Services SDK and service. diff --git a/docs/endpoints/endpoint-ids.md b/docs/endpoints/endpoint-ids.md index f86299363..513721304 100644 --- a/docs/endpoints/endpoint-ids.md +++ b/docs/endpoints/endpoint-ids.md @@ -19,11 +19,11 @@ Example for one of the built-in loopback endpoints: | `SWD` | Software device. This is any device that is not a physical device connected to the PC, and which is created using the Software Device APIs. All MIDI endpoints are software devices and may or may not have a physical connected device as a parent. | | `MIDISRV` | The name of the enumerator. For Windows MIDI Services, this is the MidiSrv Windows Service | | `MIDI` or `MIDIU` | Indicates a MIDI interface. | -| `DIAG` | Mnemonic for the transport which created this device interface. | +| `DIAG` | Abbreviation for the transport which created this device interface. | | `LOOPBACK_A` | Arbitrary unique identification string provided by the transport. Typically includes a unique identifier like a serial number. It may also contain other information like the pin pairs used to provide the bidirectional communication. | | `MIDIU_DIAG_LOOPBACK_A` | The entire string here is controlled by the transport. By convention it breaks down into the fields mentioned above, but that is not something you should count on. In general, parsing these strings is not recommended. | | `GUID` | The interface Id. For Windows MIDI Services, every interface is a bidirectional interface, even if the connected device is MIDI 1.0 with a single unidirectional interface. For MIDI 1.0 devices, you can look at the group terminal blocks to identify active groups/directions. For MIDI 2.0 devices, you can look at the function blocks for the same information and more.| If you look at the device in Device Manager, and look at Details/Device Instance Path, you'll see all of the information here except for the interface Id. When you enumerate devices through `Windows::Devices::Enumeration` or through Windows MIDI Services, the interface Id is included and required. -> Tip: Although it was required in the past, we don't recommend parsing these strings. If there's information you need about the device which is not contained in the enumerated properties, please let us know and we'll look into whether or not we can create a custom property to hold that. +> Tip: We don't recommend parsing these strings. If there's information you need about the device which is not contained in the enumerated properties, please let us know and we'll look into whether or not we can create a custom property to hold that. diff --git a/docs/endpoints/kernel-streaming-aggregate.md b/docs/endpoints/kernel-streaming-aggregate.md index 57f7d4011..6b84b20bc 100644 --- a/docs/endpoints/kernel-streaming-aggregate.md +++ b/docs/endpoints/kernel-streaming-aggregate.md @@ -11,16 +11,34 @@ has_children: false | Property | Value | | -------- | ----- | | Abstraction Id | `TBA` | -| Mnemonic | `KSA` | +| Abbreviation | `KSA` | ## Overview The Kernel Streaming Aggregator transport creates UMP endpoints for MIDI 1.0 devices using MIDI 1.0 byte format devices, like third-party MIDI 1.0 drivers. +> NOTE: This transport may be recombined with the base Kernel Streaming transport in the future + ## Suggested Uses Although this transport is primarily recommended for USB devices, it may be used for access to most other existing MIDI 1.0 devices on Windows. +## Compatibility + +The best experience for Windows MIDI Services will be with applications using the new Windows MIDI Services SDK. + +| API | Compatible | Notes | +| --- | ---------- | ----- | +| Windows MIDI Services Native | Yes | Data is translated between UMP and MIDI bytes (MIDI 1.0 data format) as required. | +| WinRT MIDI 1.0 | Yes | Data is translated between UMP and MIDI bytes (MIDI 1.0 data format) as required. | +| WinMM MIDI 1.0 | Yes | Data is translated between UMP and MIDI bytes (MIDI 1.0 data format) as required. | + +## Naming + +MIDI 1.0 port names use a new algorithm for naming, compared to what we have had in the past. Specifically, the device interface (the filter) name is the default root of the name. If there is no filter name, then we walk up to the parent device and use that device's name as the root. Next, we query for the pin names, if provided via `iJack`, and append that to the name. + +> When the MIDI 1.0 endpoints for a device are combined into a single UMP endpoint for use in Windows MIDI Services, the MIDI 1.0 port names, without the parent device name, are used as the virtual Group Terminal Block names. The groups are mapped to the individual IO pins, starting at 0 (input and output both start at 0) and increasing monotonically for both input and output. + ## Configuration Endpoints for this transport are not created through the configuration file, but certain properties, such as the name and description, are updatable through it. diff --git a/docs/endpoints/kernel-streaming.md b/docs/endpoints/kernel-streaming.md index 7c799c72c..0136ad4b3 100644 --- a/docs/endpoints/kernel-streaming.md +++ b/docs/endpoints/kernel-streaming.md @@ -11,7 +11,7 @@ has_children: false | Property | Value | | -------- | ----- | | Abstraction Id | `{26FA740D-469C-4D33-BEB1-3885DE7D6DF1}` | -| Mnemonic | `KS` | +| Abbreviation | `KS` | ## Overview @@ -19,6 +19,18 @@ Kernel Streaming is the mechanism through which MIDI 1.0 and MIDI 2.0 devices us In addition, any third-party UMP drivers will also route through this service. +## Compatibility + +The best experience for Windows MIDI Services will be with applications using the new Windows MIDI Services SDK. + +| API | Compatible | Notes | +| --- | ---------- | ----- | +| Windows MIDI Services Native | Yes | This provides the best experience for applications. | +| WinRT MIDI 1.0 | Yes | Data is translated between UMP and MIDI bytes (MIDI 1.0 data format) as required. | +| WinMM MIDI 1.0 | Yes | Data is translated between UMP and MIDI bytes (MIDI 1.0 data format) as required. | + +> When creating endpoints for use by MIDI 1.0 applications which connect to MIDI 2.0 devices, we're limited to using the declared Group Terminal blocks and their associated groups, unless the device is MIDI 2.0 and the function blocks retrieved are marked as static function blocks. + ## Configuration Endpoints for this transport are not created through the configuration file, but certain properties, such as the name and description, are updatable through it. diff --git a/docs/endpoints/virtual-device-app.md b/docs/endpoints/virtual-device-app.md index b866d6c7d..09799fd14 100644 --- a/docs/endpoints/virtual-device-app.md +++ b/docs/endpoints/virtual-device-app.md @@ -11,7 +11,7 @@ has_children: false | Property | Value | | -------- | ----- | | Abstraction Id | `{8FEAAD91-70E1-4A19-997A-377720A719C1}` | -| Mnemonic | `APP` | +| Abbreviation | `APP` | ## Overview @@ -21,12 +21,27 @@ 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. +### 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. + ## Suggested Uses This is the right kind of endpoint to create if you have an application which operates as a synthesizer, tone generator, or an input device, and you want the app to act and be seen in the same way a piece of MIDI hardware would be seen. Today, the API provides support for MIDI 2.0 / UMP protocol. In the future, we'll add MIDI CI and other capabilities to these virtual devices (today, those need to be done manually or through a third-party library). +## Compatibility + +The best experience for Windows MIDI Services will be with applications using the new Windows MIDI Services SDK. Only apps using the new SDK, and which are MIDI 2.0-aware, will be able to define and host Virtual Devices. + +| 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. | + ## 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. diff --git a/docs/endpoints/virtual-loopback.md b/docs/endpoints/virtual-loopback.md index f8c563cc8..bcec07cb5 100644 --- a/docs/endpoints/virtual-loopback.md +++ b/docs/endpoints/virtual-loopback.md @@ -11,7 +11,7 @@ has_children: false | Property | Value | | -------- | ----- | | Abstraction Id | `{942BF02D-93C0-4EA8-B03E-D51156CA75E1}` | -| Mnemonic | `LOOP` | +| Abbreviation | `LOOP` | ## Overview diff --git a/docs/other-developer-docs/basic-app-workflow.png b/docs/other-developer-docs/basic-app-workflow.png new file mode 100644 index 000000000..79fd069f3 Binary files /dev/null and b/docs/other-developer-docs/basic-app-workflow.png differ diff --git a/docs/other-developer-docs/best-practices.md b/docs/other-developer-docs/best-practices.md index 00bc9340a..5d4b3fa40 100644 --- a/docs/other-developer-docs/best-practices.md +++ b/docs/other-developer-docs/best-practices.md @@ -43,9 +43,11 @@ Most apps need to display device and endpoint connection information to their us ### Use the MidiEndpointDeviceWatcher to respond to device changes -MIDI devices come and go based on connecting/disconnecting USB cables, or new network endpoints coming online. In addition, properties like Function Blocks and Endpoint Name are subject to change at any time. Use the `Windows::Devices::Midi2::MidiEndpointDeviceWatcher` class on a background thread to monitor these endpoints, and receive notifications when anything changes. This is a much more robust approach vs simply enumerating a snapshot of devices up-front. +MIDI devices come and go based on connecting/disconnecting USB cables, or new network endpoints coming online. In addition, properties like Function Blocks and Endpoint Name are subject to change at any time. Use the `Microsoft::Windows::Devices::Midi2::MidiEndpointDeviceWatcher` class on a background thread to monitor these endpoints, and receive notifications when anything changes. This is a much more robust approach vs simply enumerating a snapshot of devices up-front. -There's no API or service reason to require a customer to reboot or reload/restart a MIDI DAW or other application to see newly added endpoints. +There's no API or service reason to require a customer to reboot or reload/restart a MIDI DAW or other application to see newly added endpoints when using Windows MIDI Services. + +For more information, see the How to Watch Endpoints page. ### Don't include diagnostics endpoints for most apps diff --git a/docs/other-developer-docs/internal-interfaces.md b/docs/other-developer-docs/internal-interfaces.md deleted file mode 100644 index 419436a4a..000000000 --- a/docs/other-developer-docs/internal-interfaces.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: Internal Interfaces -parent: For Developers -has_children: false ---- - -# Internal Interfaces - -There are a number of interfaces which are internal/private to Windows MIDI Services and are not part of the public API contract. But because this is an open source project, you can of course see them in the source code and even cocreate them on Windows. - -**These COM interfaces shall not be used by any non-Microsoft-authored applications.** In addition to not providing all the functionality expected by your users, it's likely they will change from revision to revision as we add features. Examples include, but are not limited to, `IMidiBiDi`, `IMidiAbstraction`, `IMidiCallback` `IMidiIn`, `IMidiOut`, `IMidiEndpointManager`, `IMidiTransform`, `IMidiDataTransform`, `IMidiAbstractionConfigurationManager`, `IMidiSessionTracker` and others. - -Some of those interfaces may be used if you create various types of service plugins executing within the service process. That use is allowed within the defined plugin framework. See the sample MIDI Abstraction and MIDI Transforms for examples. - -For client applications, regardless of type, the only supported way to communicate with the Windows Service, plugins, and drivers, are the WinRT types in the WinRT `Windows.Devices.Midi2` namespace. Use of the internal COM interfaces is not permitted. - -> If you find that you need to use these private interfaces for something, talk to us so we can see if there's a supported way to accomplish what you want to do. We want to optimize for the end-user experience, and taking dependencies on unsupported interface contracts will not help accomplish that. diff --git a/docs/sdk-winrt-ci/MidiUniqueId.md b/docs/sdk-winrt-ci/MidiUniqueId.md index 671916d1e..4b415ffe9 100644 --- a/docs/sdk-winrt-ci/MidiUniqueId.md +++ b/docs/sdk-winrt-ci/MidiUniqueId.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiUniqueId -parent: Microsoft.Devices.Midi2.CapabilityInquiry +parent: Midi2.CapabilityInquiry has_children: false --- @@ -25,7 +25,7 @@ In the specification, Byte1 is the LSB and Byte4 is the MSB. We follow that conv | `Byte2` | The data value for byte 2 of the MUID (second-most LSB) | | `Byte3` | The data value for byte 3 of the MUID (second-most MSB) | | `Byte4` | The data value for byte 4 of the MUID (MSB) | -| `As28BitInteger` | The data value converted to a 28 bit integer | +| `AsCombined28BitValue` | The data value converted to a 28 bit integer | | `IsBroadcast` | True if this is the broadcast MUID value from the MIDI CI specification | | `IsReserved` | True if this is the reserved MUID value from the MIDI CI specification | @@ -41,4 +41,4 @@ In the specification, Byte1 is the LSB and Byte4 is the MSB. We follow that conv ## See also -[MidiUniqueId IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiUniqueId.idl) +[MidiUniqueId IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-ci/MidiUniqueId.idl) diff --git a/docs/sdk-winrt-ci/README.md b/docs/sdk-winrt-ci/README.md index 5f02b497a..44e35f545 100644 --- a/docs/sdk-winrt-ci/README.md +++ b/docs/sdk-winrt-ci/README.md @@ -1,7 +1,7 @@ --- layout: page -title: Microsoft.Devices.Midi2.CapabilityInquiry +title: Midi2.CapabilityInquiry has_children: true --- -# Microsoft.Devices.Midi2.CapabilityInquiry +# Microsoft.Windows.Devices.Midi2.CapabilityInquiry diff --git a/docs/sdk-winrt-client-plugins/MidiChannelEndpointListener.md b/docs/sdk-winrt-client-plugins/MidiChannelEndpointListener.md new file mode 100644 index 000000000..7853ac35e --- /dev/null +++ b/docs/sdk-winrt-client-plugins/MidiChannelEndpointListener.md @@ -0,0 +1,97 @@ +--- +layout: api_page +title: MidiChannelEndpointListener +parent: Midi2.ClientPlugins +has_children: false +--- + +# MidiChannelEndpointListener + +This class acts as a filter. Incoming messages with the specified group and channel will be provided through the `MessageReceived` event. Other messages will be ignored. + +In addition to the properties and methods in `IMidiEndpointMessageProcessingPlugin`, and the MessageReceived event from `IMidiMessageReceivedEventSource` the class provides the following: + +## Properties + +| Property | Description | +| ---- | ---- | +| `IncludedGroup` | The `MidiGroup` that this listener will listen to. | +| `IncludedChannels` | The channels that this listener will listen to on the group. | +| `PreventCallingFurtherListeners` | True if this plugin should prevent further listeners from processing a message that is in-scope for this processor. | +| `PreventFiringMainMessageReceivedEvent` | True if this plugin should prevent the endpoint's `MessageReceived` event from firing if the message was in-scope for this plugin. | + +## Functions + +| Property | Description | +| ---- | ---- | +| `MidiChannelEndpointListener()` | Construct a new instance of this type | + +## Examples + +```cpp +// set up your message receive handler and create your connection +// before setting up the individual message listeners. The event +// handler has the same signature as the main message received +// event on the connection. + +midi2::MidiChannelEndpointListener channelsListener; + +// listening to channels generally only makes sense if you also +// specify the group you are listening to. +channelsListener.IncludedGroup(midi2::MidiGroup(5)); + +// add the channels you are listening to. Any messages which do +// not have channels will not be raised through the event here. +channelsListener.IncludedChannels().Append(midi2::MidiChannel(3)); +channelsListener.IncludedChannels().Append(midi2::MidiChannel(7)); + +// set this if you don't want the main message received event on the +// connection to fire for any messages this plugin handles. +channelsListener.PreventFiringMainMessageReceivedEvent(true); + +auto channelMessagesReceivedEventToken = channelsListener.MessageReceived(MyMessageReceivedHandler); + +myConnection.AddMessageProcessingPlugin(channelsListener); + +// open after setting up the plugin so you don't miss any messages +myConnection.Open(); + +// ... +``` + +```csharp +// set up your message receive handler and create your connection +// before setting up the individual message listeners. The event +// handler has the same signature as the main message received +// event on the connection. + +var channelsListener = new MidiChannelEndpointListener(); + +// listening to channels generally only makes sense if you also +// specify the group you are listening to. +channelsListener.IncludedGroup = new MidiGroup(5); + +// add the channels you are listening to. Any messages which do +// not have channels will not be raised through the event here. +channelsListener.IncludedChannels.Add(new MidiChannel(3)); +channelsListener.IncludedChannels.Add(new MidiChannel(7)); + +// set this if you don't want the main message received event on the +// connection to fire for any messages this plugin handles. +channelsListener.PreventFiringMainMessageReceivedEvent = true; + +channelsListener.MessageReceived += MyMessageReceivedHandler; + +myConnection.AddMessageProcessingPlugin(channelsListener); + +// open after setting up the plugin so you don't miss any messages +myConnection.Open(); + +// ... +``` + + + +## IDL + +[MidiChannelEndpointListener IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-client-plugins/MidiChannelEndpointListener.idl) diff --git a/docs/sdk-winrt-plugins/MidiGroupEndpointListener.md b/docs/sdk-winrt-client-plugins/MidiGroupEndpointListener.md similarity index 86% rename from docs/sdk-winrt-plugins/MidiGroupEndpointListener.md rename to docs/sdk-winrt-client-plugins/MidiGroupEndpointListener.md index 561e76f3f..8dcaebdfa 100644 --- a/docs/sdk-winrt-plugins/MidiGroupEndpointListener.md +++ b/docs/sdk-winrt-client-plugins/MidiGroupEndpointListener.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiGroupEndpointListener -parent: Microsoft.Devices.Midi2.ClientPlugins +parent: Midi2.ClientPlugins has_children: false --- @@ -17,7 +17,7 @@ In addition to the properties and methods in `IMidiEndpointMessageProcessingPlug | Property | Description | | ---- | ---- | -| `IncludeGroups` | The list of `MidiGroup` numbers that this listener will listen to. | +| `IncludedGroups` | The list of `MidiGroup` numbers that this listener will listen to. | | `PreventCallingFurtherListeners` | True if this plugin should prevent further listeners from processing a message that is in-scope for this processor. | | `PreventFiringMainMessageReceivedEvent` | True if this plugin should prevent the endpoint's `MessageReceived` event from firing if the message was in-scope for this plugin. | @@ -35,8 +35,8 @@ In addition to the properties and methods in `IMidiEndpointMessageProcessingPlug // event on the connection. midi2::MidiGroupEndpointListener groupsListener; -groupsListener.IncludeGroups().Append(midi2::MidiGroup(5)); -groupsListener.IncludeGroups().Append(midi2::MidiGroup(6)); +groupsListener.IncludedGroups().Append(midi2::MidiGroup(5)); +groupsListener.IncludedGroups().Append(midi2::MidiGroup(6)); // set this if you don't want the main message received event on the // connection to fire for any messages this plugin handles. @@ -54,4 +54,4 @@ myConnection.Open(); ## IDL -[MidiGroupEndpointListener IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiGroupEndpointListener.idl) +[MidiGroupEndpointListener IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-client-plugins/MidiGroupEndpointListener.idl) diff --git a/docs/sdk-winrt-plugins/MidiMessageTypeEndpointListener.md b/docs/sdk-winrt-client-plugins/MidiMessageTypeEndpointListener.md similarity index 79% rename from docs/sdk-winrt-plugins/MidiMessageTypeEndpointListener.md rename to docs/sdk-winrt-client-plugins/MidiMessageTypeEndpointListener.md index fc03d9f7f..740fe8790 100644 --- a/docs/sdk-winrt-plugins/MidiMessageTypeEndpointListener.md +++ b/docs/sdk-winrt-client-plugins/MidiMessageTypeEndpointListener.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiMessageTypeEndpointListener -parent: Microsoft.Devices.Midi2.ClientPlugins +parent: Midi2.ClientPlugins has_children: false --- @@ -15,7 +15,7 @@ In addition to the properties and methods in `IMidiEndpointMessageProcessingPlug | Property | Description | | ---- | ---- | -| `IncludeMessageTypes` | The list of `MidiMessageType` values that this listener will listen to. | +| `IncludedMessageTypes` | The list of `MidiMessageType` values that this listener will listen to. | | `PreventCallingFurtherListeners` | True if this plugin should prevent further listeners from processing a message that is in-scope for this processor. | | `PreventFiringMainMessageReceivedEvent` | True if this plugin should prevent the endpoint's `MessageReceived` event from firing if the message was in-scope for this plugin. | @@ -23,10 +23,8 @@ In addition to the properties and methods in `IMidiEndpointMessageProcessingPlug | Property | Description | | ---- | ---- | -| `MidiGroupEndpointListener()` | Construct a new instance of this type | - - +| `MidiMessageTypeEndpointListener()` | Construct a new instance of this type | ## IDL -[MidiMessageTypeEndpointListener IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageTypeEndpointListener.idl) +[MidiMessageTypeEndpointListener IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-client-plugins/MidiMessageTypeEndpointListener.idl) diff --git a/docs/sdk-winrt-client-plugins/README.md b/docs/sdk-winrt-client-plugins/README.md new file mode 100644 index 000000000..f15549b56 --- /dev/null +++ b/docs/sdk-winrt-client-plugins/README.md @@ -0,0 +1,18 @@ +--- +layout: api_group_page +title: Midi2.ClientPlugins +has_children: true +--- + +# Client-side Processing Plugins + +Connections allocate service resources (time and memory), so we recommend applications maintain only a single connection to an endpoint within any session. But because the new endpoint stream-focused approach aggregates what used to be considered ports, we provide processing plugins to parcel out the incoming messages based on criteria set by the application. In this way, an application can have the logical equivalent of several input ports, without the associated resource usage. + +MIDI 1.0 had the concept of ports. Each port was just a single cable/jack from a MIDI stream exposed by the device. The API and driver were responsible for merging all of the different cables into the single stream for outgoing data, or pulling them apart for incoming data. + +In MIDI 2.0, what used to be a Port is now morally equivalent to a Group address in the message data. Instead of speaking to N different enumerated entities for a device, the application speaks to a single bidirectional UMP endpoint which aggregates all of this information, much like the driver did behind the scenes in MIDI 1.0. We recognize that there are cases when the old model of MIDI Ports is more convenient for passing around in a DAW or similar app, particularly for incoming data. + +To help, there are plugins which implement `IMidiEndpointMessageProcessingPlugin`. The API includes a few stock plugins, but developers are free to provide their own. + +Listener instances are 1:1 with endpoint connections. We don't support using the same listener on multiple endpoints. + diff --git a/docs/sdk-winrt-core/README.md b/docs/sdk-winrt-core/README.md index 48b05bf08..b8205dea1 100644 --- a/docs/sdk-winrt-core/README.md +++ b/docs/sdk-winrt-core/README.md @@ -1,12 +1,12 @@ --- layout: page -title: Microsoft.Devices.Midi2 +title: Midi2 has_children: true --- -# Microsoft.Devices.Midi2 +# Microsoft.Windows.Devices.Midi2 -The Microsoft.Devices.Midi2 types are documented in these pages. +The Microsoft.Windows.Devices.Midi2 types are documented in these pages. Typical API workflow: diff --git a/docs/sdk-winrt-core/common/MidiChannel.md b/docs/sdk-winrt-core/common/MidiChannel.md new file mode 100644 index 000000000..09afedc70 --- /dev/null +++ b/docs/sdk-winrt-core/common/MidiChannel.md @@ -0,0 +1,35 @@ +--- +layout: api_page +title: MidiChannel +parent: Simple Types +grand_parent: Midi2 +has_children: false +--- + +# MidiChannel + +## Remarks + +The `MidiChannel` class is used to provide formatting and data validation for MIDI 1.0 and MIDI 2.0 channels. For clarity, the 0-15 value used in all messages is the `Index` and the 1-16 value those are mapped to for user display, is the `DisplayValue`. + +## Constructors + +| `MidiChannel(UInt8)` | Create a MidiChannel with the specified channel Index (0-15). Any data in the upper 4 bits of the provided byte is ignored, so you may pass in an entire status + channel value here without first cleaning it. | + +## Properties + +| `Index` | The data value, or channel Index (0-15) | +| `DisplayValue` | The number that should be displayed in any UI. (1-16) | + +## Static Properties + +| `ShortLabel` | Returns the localized abbreviation. For example, "Ch" in English. | +| `LongLabel` | Returns the localized full name. For example, "Channel" in English. | + +## Static Methods + +| `IsValidIndex(UInt8)` | Verifies that the provided index is valid (between 0 and 15) | + +## See also + +[MidiChannel IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiChannel.idl) diff --git a/docs/sdk-winrt-core/clock/MidiClock.md b/docs/sdk-winrt-core/common/MidiClock.md similarity index 85% rename from docs/sdk-winrt-core/clock/MidiClock.md rename to docs/sdk-winrt-core/common/MidiClock.md index 080d028fa..2287af0c7 100644 --- a/docs/sdk-winrt-core/clock/MidiClock.md +++ b/docs/sdk-winrt-core/common/MidiClock.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiClock -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: false --- @@ -29,9 +29,10 @@ The static functions are for convenience in calculating offsets to a timestamp, | Static Function | Description | | --------------- | ----------- | -| `ConvertTimestampToMicroseconds(timestampValue)` | Converts the provided timestamp to microseconds | -| `ConvertTimestampToMilliseconds(timestampValue)` | Converts the provided timestamp to milliseconds | -| `ConvertTimestampToSeconds(timestampValue)` | Converts the provided timestamp to seconds | +| `ConvertTimestampTicksToNanoseconds(timestampValue)` | Converts the provided timestamp to nanoseconds | +| `ConvertTimestampTicksToMicroseconds(timestampValue)` | Converts the provided timestamp to microseconds | +| `ConvertTimestampTicksToMilliseconds(timestampValue)` | Converts the provided timestamp to milliseconds | +| `ConvertTimestampTicksToSeconds(timestampValue)` | Converts the provided timestamp to seconds | ## Static Functions for Offset @@ -46,4 +47,4 @@ When scheduling messages, you may want to use a more convenient time units. Thes ## IDL -[MidiClock IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiClock.idl) +[MidiClock IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiClock.idl) diff --git a/docs/sdk-winrt-core/common/MidiGroup.md b/docs/sdk-winrt-core/common/MidiGroup.md new file mode 100644 index 000000000..78a5b9358 --- /dev/null +++ b/docs/sdk-winrt-core/common/MidiGroup.md @@ -0,0 +1,35 @@ +--- +layout: api_page +title: MidiGroup +parent: Simple Types +grand_parent: Midi2 +has_children: false +--- + +# MidiGroup + +## Remarks + +The `MidiGroup` class is used to provide formatting and data validation for MIDI 2.0 groups. For clarity, the 0-15 value used in all messages is the `Index` and the 1-16 value those are mapped to for user display, is the `DisplayValue`. + +## Constructors + +| `MidiChannel(UInt8)` | Create a MidiChannel with the specified channel Index (0-15) | + +## Properties + +| `Index` | The data value, or channel Index (0-15) | +| `DisplayValue` | The number that should be displayed in any UI. (1-16) | + +## Static Properties + +| `ShortLabel` | Returns the localized abbreviation. For example, "Gr" in English. | +| `LongLabel` | Returns the localized full name. For example, "Group" in English. | + +## Static Methods + +| `IsValidIndex(UInt8)` | Verifies that the provided index is valid (between 0 and 15) | + +## See also + +[MidiGroup IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiGroup.idl) diff --git a/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSettings.md b/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSettings.md index cc342c808..78a27502d 100644 --- a/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSettings.md +++ b/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSettings.md @@ -2,7 +2,7 @@ layout: api_page title: IMidiEndpointConnectionSettings parent: Connections -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -14,9 +14,9 @@ Settings which are optionally provided when connecting to an endpoint. Typically | Property | Description | | -------- | ----------- | -| `SettingsJson` | The JSON representation of the settings. | +| `SettingsJson` | The JSON string representation of the settings. Any implementation of this class must provide a valid JSON string from this property. | ## IDL -[IMidiEndpointConnectionSettings IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/IMidiEndpointConnectionSettings.idl) +[IMidiEndpointConnectionSettings IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/IMidiEndpointConnectionSettings.idl) diff --git a/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSource.md b/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSource.md index 392b24083..bb8581d03 100644 --- a/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSource.md +++ b/docs/sdk-winrt-core/connections/IMidiEndpointConnectionSource.md @@ -2,15 +2,22 @@ layout: api_page title: IMidiEndpointConnectionSource parent: Connections -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- # IMidiEndpointConnectionSource -Marker interface which is used to prevent circular references in the API, specifically with message processing plugins. This interface is only supported when used by the `MidiEndpointConnection` class. +Interface which is used to prevent circular references in the SDK, specifically with message processing plugins. This interface is only supported when used by the `MidiEndpointConnection` class. + +## Events + +| Event | Description | +| -------- | ----------- | +| `EndpointDeviceDisconnected(source, args)` | Raised when the endpoint device has disconnected. | +| `EndpointDeviceReconnected(source, args)` | Raised when the endpoint device has reconnected, when automatic reconnection is enabled. | ## IDL -[IMidiEndpointConnectionSource IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/IMidiEndpointConnectionSource.idl) +[IMidiEndpointConnectionSource IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/IMidiEndpointConnectionSource.idl) diff --git a/docs/sdk-winrt-core/connections/IMidiMessageReceivedEventSource.md b/docs/sdk-winrt-core/connections/IMidiMessageReceivedEventSource.md index ce9ac7cbb..e408f193c 100644 --- a/docs/sdk-winrt-core/connections/IMidiMessageReceivedEventSource.md +++ b/docs/sdk-winrt-core/connections/IMidiMessageReceivedEventSource.md @@ -2,7 +2,7 @@ layout: api_page title: IMidiMessageReceivedEventSource parent: Connections -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -18,5 +18,5 @@ Interface which contains the event definition used by any class which raises the ## IDL -[IMidiMessageReceivedEventSource IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/IMidiMessageReceivedEventSource.idl) +[IMidiMessageReceivedEventSource IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/IMidiMessageReceivedEventSource.idl) diff --git a/docs/sdk-winrt-core/connections/MidiEndpointConnection.md b/docs/sdk-winrt-core/connections/MidiEndpointConnection.md index ebae1a232..22dbb6ed5 100644 --- a/docs/sdk-winrt-core/connections/MidiEndpointConnection.md +++ b/docs/sdk-winrt-core/connections/MidiEndpointConnection.md @@ -2,7 +2,7 @@ layout: api_page title: MidiEndpointConnection parent: Connections -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -25,11 +25,13 @@ Currently, in the implementation behind the scenes, the service receives each ti | Property | Description | | -------- | ----------- | | `ConnectionId` | The generated GUID which uniquely identifes this connection instance. This is what is provided to the `MidiSession` when disconnecting an endpoint | -| `EndpointDeviceId` | The system-wide identifier for the endpoint device. This is returned through enumeration calls. | +| `ConnectedEndpointDeviceId` | The system-wide identifier for the endpoint device. This is returned through enumeration calls. | +| `LogMessageDataValidationErrorDetails` | When true, message data validation errors are logged to any connected ETL listener, in addition to other errors. | | `Tag` | You may use this `Tag` property to hold any additional information you wish to have associated with the connection. | | `IsOpen` | True if this connection is currently open. When first created, the connection is not open until the consuming code calls the `Open` method | | `Settings` | Settings used to create this connection. Treat this as read-only. | | `MessageProcessingPlugins` | Collection of all message processing plugins which will optionally handle incoming messages. | +| `IsAutoReconnectEnabled` | True if endpoints are automatically reconnected if they are, for example, unplugged and then replugged. The value is set at the session level. | ## Static Member Functions @@ -80,8 +82,8 @@ When sending multiple messages, there is no implied all-or-nothing transaction. | Function | Description | | -------- | ----------- | | `Open()` | Open the connection and start receiving messages. Wire up the message event handler before calling this method. | -| `AddEndpointProcessingPlugin(plugin)` | Add an endpoint processing plugin to this connection | -| `RemoveEndpointProcessingPlugin(id)` | Remove an endpoint processing plugin from this connection | +| `AddMessageProcessingPlugin(plugin)` | Add a message processing plugin to this connection | +| `RemoveMessageProcessingPlugin(id)` | Remove a message processing plugin from this connection | ## Events @@ -97,19 +99,19 @@ When processing the `MessageReceived` event, do so quickly. This event is synchr ## IDL -[MidiEndpointConnection IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointConnection.idl) +[MidiEndpointConnection IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointConnection.idl) ## Sample -Here's an excerpt from the full "API client basics" sample. It shows sending and receiving messages using the two built-in loopback endpoints. For more information on the loopback endpoints, see [diagnostics endpoints](../../../diagnostic-endpoints.md). +Here's an excerpt from the full "API client basics" sample. It shows sending and receiving messages using the two built-in loopback endpoints. For more information on the loopback endpoints, see [diagnostics endpoints](../../endpoints/diagnostic-endpoints.md). ```cs using (var session = MidiSession.CreateSession("API Sample Session")) { // get the endpoint Ids. Normally, you'd use enumeration functions to get this // for non-diagnostics endpoints. - var endpointAId = MidiEndpointDeviceInformation.DiagnosticsLoopbackAEndpointId; - var endpointBId = MidiEndpointDeviceInformation.DiagnosticsLoopbackBEndpointId; + var endpointAId = MidiDiagnostics.DiagnosticsLoopbackAEndpointId; + var endpointBId = MidiDiagnostics.DiagnosticsLoopbackBEndpointId; Console.WriteLine("Connecting to Sender UMP Endpoint: " + endpointAId); Console.WriteLine("Connecting to Receiver UMP Endpoint: " + endpointBId); @@ -127,7 +129,7 @@ using (var session = MidiSession.CreateSession("API Sample Session")) 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.GetMessageFriendlyNameFromFirstWord(args.PeekFirstWord())); if (ump is MidiMessage32) { @@ -150,13 +152,13 @@ using (var session = MidiSession.CreateSession("API Sample Session")) var ump32 = MidiMessageBuilder.BuildMidi1ChannelVoiceMessage( MidiClock.Now, // use current timestamp - 5, // group 5 + 5, // group 4 Midi1ChannelVoiceMessageStatus.NoteOn, // 9 - 3, // channel 3 + 3, // channel 2 120, // note 120 - hex 0x78 100); // velocity 100 hex 0x64 - sendEndpoint.SendMessagePacket((IMidiUniversalPacket)ump32); // could also use the SendWords methods, etc. + sendEndpoint.SendSingleMessagePacket((IMidiUniversalPacket)ump32); // could also use the SendWords methods, etc. Console.WriteLine(" ** Wait for the message to arrive, and then press enter to cleanup. ** "); Console.ReadLine(); diff --git a/docs/sdk-winrt-core/connections/MidiMessageReceivedEventArgs.md b/docs/sdk-winrt-core/connections/MidiMessageReceivedEventArgs.md index 5d44c988c..5433f56da 100644 --- a/docs/sdk-winrt-core/connections/MidiMessageReceivedEventArgs.md +++ b/docs/sdk-winrt-core/connections/MidiMessageReceivedEventArgs.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessageReceivedEventArgs parent: Connections -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -39,4 +39,4 @@ This is the main class to use when receving MIDI data from a message source such ## IDL -[MidiMessageReceivedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageReceivedEventArgs.idl) +[MidiMessageReceivedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessageReceivedEventArgs.idl) diff --git a/docs/sdk-winrt-core/connections/MidiSendMessageResultEnum.md b/docs/sdk-winrt-core/connections/MidiSendMessageResultEnum.md index ffc86e0cd..f2c8f612c 100644 --- a/docs/sdk-winrt-core/connections/MidiSendMessageResultEnum.md +++ b/docs/sdk-winrt-core/connections/MidiSendMessageResultEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiSendMessageResult parent: Connections -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -38,10 +38,9 @@ else | `InvalidMessageOther` | `0x00200000` | The message sent was invalid for another reason. | | `DataIndexOutOfRange` | `0x00400000` | Reading a full message would result in overrunning the provided array, collection, or buffer. | | `TimestampOutOfRange` | `0x00800000` | The provided timestamp is too far in the future to be scheduled. | -| `MessageListPartiallyProcessed` | `0x00A00000` | The message list was only partially processed. Not all messages were sent. | -| `Other` | `0x01000000` | Other reason that cannot be determined. | +| `MessageListPartiallyProcessed` | `0x00F00000` | The message list was only partially processed. Not all messages were sent. | ## IDL -[MidiSendMessageResult IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiSendMessageResult.idl) +[MidiSendMessageResult IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiSendMessageResult.idl) diff --git a/docs/sdk-winrt-core/connections/README.md b/docs/sdk-winrt-core/connections/README.md index 1035a809c..e23eb5c09 100644 --- a/docs/sdk-winrt-core/connections/README.md +++ b/docs/sdk-winrt-core/connections/README.md @@ -1,7 +1,7 @@ --- layout: api_page title: Connections -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/enumeration/MidiDeclaredDeviceIdentity.md b/docs/sdk-winrt-core/enumeration/MidiDeclaredDeviceIdentity.md new file mode 100644 index 000000000..3be524b01 --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiDeclaredDeviceIdentity.md @@ -0,0 +1,33 @@ +--- +layout: api_page +title: MidiDeclaredDeviceIdentity +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiDeclaredDeviceIdentity + +This information is populated by the Windows Service during the MIDI 2.0 endpoint discovery process. + +## Fields + +| Field | Description | +| --------------- | ----------- | +| `SystemExclusiveIdByte1` | Byte 1 of the System Exclusive Id per the MIDI 2.0 UMP spec | +| `SystemExclusiveIdByte2` | Byte 2 of the System Exclusive Id per the MIDI 2.0 UMP spec | +| `SystemExclusiveIdByte3` | Byte 3 of the System Exclusive Id per the MIDI 2.0 UMP spec | +| `DeviceFamilyLsb` | Least Significant Byte of the Device Family per the MIDI 2.0 UMP spec | +| `DeviceFamilyMsb` | Most Significant Byte of the Device Family per the MIDI 2.0 UMP spec | +| `DeviceFamilyModelNumberLsb` | Least Significant Byte of the Device Family Model Number per the MIDI 2.0 UMP spec | +| `DeviceFamilyModelNumberMsb` | Least Significant Byte of the Device Family Model Number per the MIDI 2.0 UMP spec | +| `SoftwareRevisionLevelByte1` | Byte 1 of the Software Revision Level per the MIDI 2.0 UMP spec | +| `SoftwareRevisionLevelByte2` | Byte 2 of the Software Revision Level per the MIDI 2.0 UMP spec | +| `SoftwareRevisionLevelByte3` | Byte 3 of the Software Revision Level per the MIDI 2.0 UMP spec | +| `SoftwareRevisionLevelByte4` | Byte 4 of the Software Revision Level per the MIDI 2.0 UMP spec | + +## IDL + +[MidiDeclaredDeviceIdentity IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiDeclaredDeviceIdentity.idl) + + diff --git a/docs/sdk-winrt-core/enumeration/MidiDeclaredEndpointInfo.md b/docs/sdk-winrt-core/enumeration/MidiDeclaredEndpointInfo.md new file mode 100644 index 000000000..f56c3999a --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiDeclaredEndpointInfo.md @@ -0,0 +1,30 @@ +--- +layout: api_page +title: MidiDeclaredEndpointInfo +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiDeclaredEndpointInfo + +This information is populated by the Windows Service during the MIDI 2.0 endpoint discovery process. + +## Fields + +| Field | Description | +| --------------- | ----------- | +| `Name` | The name as provided by endpoint discovery | +| `ProductInstanceId` | Product Instance Id (a type of unique identifier) from the endpoint | +| `SupportsMidi10Protocol` | True if the endpoint is capable of using the MIDI 1.0 protocol in UMP. This does not indicate if it is configured to do so, only that it is capable. | +| `SupportsMidi20Protocol` | True if the endpoint is capable of using the MIDI 2.0 protocol in UMP. This does not indicate if it is configured to do so, only that it is capable. | +| `SupportsReceivingJitterReductionTimestamps` | True if the endpoint supports receiving JR timestamps. Applications should not send or process JR timestamps. | +| `SupportsSendingJitterReductionTimestamps` | True if the endpoint supports receiving JR timestamps. Applications should not send or process JR timestamps. | +| `HasStaticFunctionBlocks` | True if this device declares that the function blocks are static for the lifetime of its connection to Windows. | +| `DeclaredFunctionBlockCount` | This is the number of function blocks the endpoint claims to have. Note that this should not be used as an upper bound when iterating through the collection of function blocks, because this is not the count of function blocks actually received by the Windows service. | +| `SpecificationVersionMajor` | UMP specification version as described in the MIDI 2.0 UMP spec. | +| `SpecificationVersionMinor` | UMP specification version as described in the MIDI 2.0 UMP spec. | + +## IDL + +[MidiDeclaredEndpointInfo IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiDeclaredEndpointInfo.idl) diff --git a/docs/sdk-winrt-core/enumeration/MidiDeclaredStreamConfiguration.md b/docs/sdk-winrt-core/enumeration/MidiDeclaredStreamConfiguration.md new file mode 100644 index 000000000..dfb515a61 --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiDeclaredStreamConfiguration.md @@ -0,0 +1,24 @@ +--- +layout: api_page +title: MidiDeclaredStreamConfiguration +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiDeclaredStreamConfiguration + +This information is populated by the Windows Service during the MIDI 2.0 endpoint protocol negotiation process. + +## Fields + +| Field | Description | +| --------------- | ----------- | +| `Protocol` | The agreed upon [MIDI protocol](MidiProtocolEnum.md) | +| `ReceiveJitterReductionTimestamps` | True if the endpoint is configured to receive JR timestamps | +| `SendJitterReductionTimestamps` | True if the endpoint is configured to send JR timestamps | + +## IDL + +[MidiDeclaredStreamConfiguration IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiDeclaredStreamConfiguration.idl) + diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformation.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformation.md index 019fdcf8c..96377ff64 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformation.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformation.md @@ -2,7 +2,7 @@ layout: api_page title: MidiEndpointDeviceInformation parent: Endpoint Enumeration -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -14,7 +14,7 @@ We've heard from developers that we did not provide sufficient information about > Note: the MidiEndpointDeviceWatcher is a better way to retrieve devices because you can then keep the watcher open in a background thread, and be notified of property changes, device add/remove, etc. -When displaying endpoint devices to users, you'll typically want to stick to the defaults: `IncludeClientUmpNative | IncludeClientByteStreamNative`. You do not want to show the Diagnostic Ping ever, and you typically will not want to show the system-wide Diagnostic Loopback singletons. Finally, you don't want to show the Virtual Device Responder endpoints because those should be reserved only for the "device" application in app-to-app MIDI. +When displaying endpoint devices to users, you'll typically want to stick to the defaults: `IncludeClientUmpFormatNative | IncludeClientByteFormatNative`. You do not want to show the Diagnostic Ping ever, and you typically will not want to show the system-wide Diagnostic Loopback singletons. Finally, you don't want to show the Virtual Device Responder endpoints because those should be reserved only for the "device" application in app-to-app MIDI. ## In-protocol discovered information @@ -24,61 +24,35 @@ When a device is first enumerated by the MIDI Service, if it is a UMP-native dev | Property | Source | Description | | --------------- | ------ | ----------- | -| `Id` | Windows | The endpoint device interface id. This is sometimes called "the SWD" in short-hand because it's the string that uniquely identifies the software device interface that represents the endpoint. | +| `EndpointDeviceId` | Windows | The endpoint device interface id. This is sometimes called "the SWD" in short-hand because it's the string that uniquely identifies the software device interface that represents the endpoint. | +| `Name` | Various | This is the name which should be displayed in any application. It calculates the correct name based on the hierarchy of possible names, including a user-specified name. Always respect the user's choice here. | | `ContainerId` | Windows | The device container | | `DeviceInstanceId` | Windows | The device instance id without the interface information | -| `Name` | Various | This is the name which should be displayed in any application. It calculates the correct name based on the hierarchy of possible names, including a user-specified name. Always respect the user's choice here. | -| `TransportSuppliedName` | Transports | The name provided by the driver or the endpoint transport. | -| `EndpointSuppliedName` | MIDI 2.0 | The name provided by MIDI 2.0 endpoint information. This is discovered in-protocol. | -| `UserSuppliedName` | Configuration | The name provided by the user. | -| `ProductInstanceId` | MIDI 2.0 | Property of the same name discovered by MIDI 2.0 in-protocol endpoint information. | -| `SpecificationVersionMajor` | MIDI 2.0 | Discovered UMP version | -| `SpecificationVersionMinor` | MIDI 2.0 | Discovered UMP version | -| `SupportsMidi10Protocol` | MIDI 2.0 | Discovered protocol support. For all devices, this defaults to true. | -| `SupportsMidi20Protocol` | MIDI 2.0 | Discovered protocol support. For UMP-native devices, this defaults to true. | -| `ConfiguredToReceiveJRTimestamps | MIDI 2.0 | Note that JR timestamps are handled entirely in the service and are not sent back down to the client. | -| `ConfiguredToSendJRTimestamps | MIDI 2.0 | Note that JR timestamps are handled entirely in the service and are not sent back down to the client. | -| `DeviceIdentitySystemExclusiveId` | MIDI 2.0 | Device Identity information -| `DeviceIdentityDeviceFamilyLsb` | MIDI 2.0 | Device Identity information -| `DeviceIdentityDeviceFamilyMsb` | MIDI 2.0 | Device Identity information -| `DeviceIdentityDeviceFamilyModelNumberLsb` | MIDI 2.0 | Device Identity information -| `DeviceIdentityDeviceFamilyModelNumberMsb` | MIDI 2.0 | Device Identity information -| `DeviceIdentitySoftwareRevisionLevel` | MIDI 2.0 | Device Identity information -| `TransportId` | Windows | The Id of the transport abstraction that manages this endpoint | -| `TransportMnemonic` | Windows | A short abbreviation for the transport. This can be used as a transport identifier. | -| `TransportSuppliedSerialNumber` | Windows | iSerialNumber, when available in USB, and other ids from other transports. | -| `TransportSuppliedVendorId` | Windows | For a USB device, this is the VID of the parent device | -| `TransportSuppliedProductId` | Windows | For a USB device, this is the PID of the parent device | -| `ManufacturerName` | Windows | The name of the manufacturer of the device, if available | -| `SupportsMultiClient` | Windows | True if this endpoint supports multi-client use | -| `NativeDataFormat` | Windows | Because the driver and service handle data format translation, it's not immediately obvious if the device is natively UMP or natively Byte Stream. This property provides that information | -| `GroupTerminalBlocks` | Windows | A collection of Group Terminal Blocks. These are used only in USB. For MIDI 2.0 devices, Function Blocks are preferred. | -| `HasStaticFunctionBlocks` | MIDI 2.0 | True if the function blocks are static. That is, the groups never change. | -| `FunctionBlockCount` | MIDI 2.0 | The number of function blocks the endpoint has declared. Function blocks always start at index zero and go to FunctionBlockCount-1 | | `EndpointPurpose` | Windows | The purpose of the endpoint. This is used primarily for filtering. | -| `Description` | Configuration | An endpoint description which is typically provided by the user | -| `LargeImagePath` | Configuration | The path to a png or jpg image that represents this endpoint. Typically user-supplied. | -| `SmallImagePath` | Configuration | The path to a png or jpg image that represents this endpoint. Typically user-supplied. | -| `RequiresNoteOffTranslation` | Configuration | True if the endpoint requires internal translation of Note On with zero velocity (in the case of MIDI 1.0) to a Note Off message. Typically user-supplied. | -| `RecommendedCCAutomationIntervalMS` | Configuration | Number of milliseconds between automation value changes. This is usually only for old and slow MIDI 1.0 devices that are prone to data flooding. User-supplied. | -| `Properties` | Windows | A collection of all the raw properties. | +| `DeclaredEndpointInfoLastUpdateTime` | Discovery | The time of the last update for endpoint information discovered in-protocol | +| `DeclaredDeviceIdentityLastUpdateTime` | Discovery | The time of the last update for device identity information discovered in-protocol | +| `DeclaredStreamConfigurationLastUpdateTime` | Protocol Negotiation | The time of the last update from protocol negotiation | +| `DeclaredFunctionBlocksLastUpdateTime` | Discovery | The time of the last update of function blocks | ## Static Properties | Static Property | Description | | --------------- | ----------- | -| `DiagnosticsLoopbackAEndpointId` | Endpoint Id for the diagnostic loopback used for development and support purposes. | -| `DiagnosticsLoopbackBEndpointId` | Endpoint Id for the diagnostic loopback used for development and support purposes. | | `EndpointInterfaceClass` | The class GUID which appears at the end of the Endpoint Ids | ## Functions | Function | Description | | --------------- | ----------- | +| `GetDeclaredEndpointInfo()` | Returns a `MidiDeclaredEndpointInfo` structure with the currently stored endpoint discovery information | +| `GetDeclaredDeviceIdentity()` | Returns a `MidiDeclaredDeviceIdentity` structure with the currently stored device identity information | +| `GetDeclaredStreamConfiguration()` | Returns a `MidiDeclaredStreamConfiguration` structure with the currently stored stream configuration | +| `GetDeclaredFunctionBlocks()` | Returns a snapshot of the currently stored function blocks | +| `GetGroupTerminalBlocks()` | Returns the currently stored group terminal blocks (USB devices only) | +| `GetUserSuppliedInfo()` | Returns a `MidiEndpointUserSuppliedInfo` structure currently stored user-supplied information | +| `GetTransportSuppliedInfo()` | Returns a `MidiEndpointTransportSuppliedInfo` with the currently stored transport-supplied information | | `GetParentDeviceInformation()` | Finds and then retrieves the parent `DeviceInformation` type with appropriate properties. | | `GetContainerInformation()` | Gets the device container information and returns its `DeviceInformation` with appropriate properties | -| `UpdateFromDeviceInformation(deviceInformation)` | For use by any watcher which must update this object | -| `UpdateFromDeviceInformationUpdate(deviceInformationUpdate)` | For use by any watcher which must update this object | ## Static Functions @@ -93,54 +67,5 @@ When a device is first enumerated by the MIDI Service, if it is a UMP-native dev ## IDL -[MidiEndpointDeviceInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDeviceInformation.idl) - -## Sample - -What follows is an excerpt of the larger C++/WinRT enumeration sample. - -```cpp -#include "pch.h" -#include - -using namespace winrt::Windows::Devices::Midi2; // API - -int main() -{ - winrt::init_apartment(); - - bool includeDiagnosticsEndpoints = true; - - // enumerate all endpoints. A normal application should enumerate only - // IncludeClientByteStreamNative | IncludeClientUmpNative - auto endpoints = MidiEndpointDeviceInformation::FindAll( - MidiEndpointDeviceInformationSortOrder::Name, - MidiEndpointDeviceInformationFilter::IncludeClientByteStreamNative | - MidiEndpointDeviceInformationFilter::IncludeClientUmpNative | - MidiEndpointDeviceInformationFilter::IncludeDiagnosticLoopback | - MidiEndpointDeviceInformationFilter::IncludeVirtualDeviceResponder - ); - - std::cout << endpoints.Size() << " endpoints returned" << std::endl << std::endl; - - for (auto const& endpoint : endpoints) - { - std::cout << "Identification" << std::endl; - std::cout << "- Name: " << winrt::to_string(endpoint.Name()) << std::endl; - std::cout << "- Id: " << winrt::to_string(endpoint.Id()) << std::endl; - - std::cout << std::endl << "Endpoint Metadata" << std::endl; - std::cout << "- Product Instance Id: " << winrt::to_string(endpoint.ProductInstanceId()) << std::endl; - std::cout << "- Endpoint-supplied Name: " << winrt::to_string(endpoint.EndpointSuppliedName()) << std::endl; - - std::cout << std::endl << "User-supplied Metadata" << std::endl; - std::cout << "- User-supplied Name: " << winrt::to_string(endpoint.UserSuppliedName()) << std::endl; - std::cout << "- Description: " << winrt::to_string(endpoint.Description()) << std::endl; - std::cout << "- Small Image Path: " << winrt::to_string(endpoint.SmallImagePath()) << std::endl; - std::cout << "- Large Image Path: " << winrt::to_string(endpoint.LargeImagePath()) << std::endl; - - // ... +[MidiEndpointDeviceInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDeviceInformation.idl) - } -} -``` \ No newline at end of file diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationAddedEventArgs.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationAddedEventArgs.md new file mode 100644 index 000000000..cea69b589 --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationAddedEventArgs.md @@ -0,0 +1,22 @@ +--- +layout: api_page +title: MidiEndpointDeviceInformationAddedEventArgs +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiEndpointDeviceInformationAddedEventArgs + +Represents a notification that endpoint properties have been updated + +## Functions + +| Property | Description | +| --------------- | ----------- | +| `AddedDevice` | `MidiEndpointDeviceInformation` for the new endpoint device | + +## IDL + +[MidiEndpointDeviceInformationAddedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDeviceInformationAddedEventArgs.idl) + diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md index ac20442c5..7b6f93a2b 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationFilterEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiEndpointDeviceInformationFilter parent: Endpoint Enumeration -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -23,5 +23,5 @@ When enumerating devices, it is helpful to be able to filter for different types ## IDL -[MidiEndpointDeviceInformationFilterEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDeviceInformationFilterEnum.idl) +[MidiEndpointDeviceInformationFilterEnum IDL](https://github.com/microsoft/MIDI/blob/main/srcapp-sdk/winrt-core/MidiEndpointDeviceInformationFilterEnum.idl) diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationRemovedEventArgs.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationRemovedEventArgs.md new file mode 100644 index 000000000..b90aba498 --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationRemovedEventArgs.md @@ -0,0 +1,22 @@ +--- +layout: api_page +title: MidiEndpointDeviceInformationRemovedEventArgs +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiEndpointDeviceInformationRemovedEventArgs + +Represents a notification that endpoint properties have been updated + +## Functions + +| Property | Description | +| --------------- | ----------- | +| `EndpointDeviceId` | Id for the removed endpoint device | +| `DeviceInformationUpdate` | The source `Windows.Devices.Enumeration.DeviceInformationUpdate` object. | + +## IDL + +[MidiEndpointDeviceInformationRemovedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDeviceInformationRemovedEventArgs.idl) diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationSortOrderEnum.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationSortOrderEnum.md index bf38190f9..b2a1632b7 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationSortOrderEnum.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationSortOrderEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiEndpointDeviceInformationSortOrder parent: Endpoint Enumeration -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -27,5 +27,5 @@ Specifies the sort order to use when enumerating a static list of devices. ## IDL -[MidiEndpointDeviceInformationSortOrderEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDeviceInformationSortOrderEnum.idl) +[MidiEndpointDeviceInformationSortOrderEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDeviceInformationSortOrderEnum.idl) diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationUpdateEventArgs.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationUpdateEventArgs.md deleted file mode 100644 index 66e9e95b4..000000000 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationUpdateEventArgs.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -layout: api_page -title: MidiEndpointDeviceInformationUpdateEventArgs -parent: Endpoint Enumeration -grand_parent: Microsoft.Devices.Midi2 -has_children: false ---- - -# MidiEndpointDeviceInformationUpdateEventArgs - -Represents a notification that endpoint properties have been updated - -## Functions - -| Property | Description | -| --------------- | ----------- | -| `Id` | Id of the endpoint which has been updated | -| `UpdatedName` | True if the name properties have been updated | -| `UpdatedEndpointInformation` | True if the in-protocol endpoint information has been updated | -| `UpdatedDeviceIdentity` | True if the in-protocol device identity information has been updated | -| `UpdatedStreamConfiguration` | True if protocol negotiation changed configuration of the endpoint | -| `UpdatedFunctionBlocks` | True if any function blocks have been updated | -| `UpdatedUserMetadata` | True if any user-supplied metadata fields have been updated | -| `UpdatedAdditionalCapabilities` | True if the additional capabilities have been updated | -| `DeviceInformationUpdate` | The source `Windows.Devices.Enumeration.DeviceInformationUpdate` object. | - -If none of the `UpdatedXX` properties are true, then other properties have been updated. - -## IDL - -[MidiEndpointDeviceInformationUpdateEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDeviceInformationUpdateEventArgs.idl) - diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationUpdatedEventArgs.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationUpdatedEventArgs.md new file mode 100644 index 000000000..9db80009b --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceInformationUpdatedEventArgs.md @@ -0,0 +1,32 @@ +--- +layout: api_page +title: MidiEndpointDeviceInformationUpdatedEventArgs +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiEndpointDeviceInformationUpdatedEventArgs + +Represents a notification that endpoint properties have been updated + +## Functions + +| Property | Description | +| --------------- | ----------- | +| `EndpointDeviceId` | Id of the endpoint which has been updated | +| `IsNameUpdated` | True if the name properties have been updated | +| `IsEndpointInformationUpdated` | True if the in-protocol endpoint information has been updated | +| `IsDeviceIdentityUpdated` | True if the in-protocol device identity information has been updated | +| `IsStreamConfigurationUpdated` | True if protocol negotiation changed configuration of the endpoint | +| `AreFunctionBlocksUpdated` | True if any function blocks have been updated | +| `IsUserMetadataUpdated` | True if any user-supplied metadata fields have been updated | +| `AreAdditionalCapabilitiesUpdated` | True if the additional capabilities have been updated | +| `DeviceInformationUpdate` | The source `Windows.Devices.Enumeration.DeviceInformationUpdate` object. | + +If none of the `UpdatedXX` properties are true, then other properties have been updated. + +## IDL + +[MidiEndpointDeviceInformationUpdatedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDeviceInformationUpdatedEventArgs.idl) + diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDevicePurposeEnum.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDevicePurposeEnum.md index 111889499..57272483b 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDevicePurposeEnum.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDevicePurposeEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiEndpointDevicePurpose parent: Endpoint Enumeration -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -22,5 +22,5 @@ Indicates the intended purpose of the endpoint. Use this to help classify endpoi ## IDL -[MidiEndpointDevicePurposeEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDevicePurposeEnum.idl) +[MidiEndpointDevicePurposeEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDevicePurposeEnum.idl) diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceWatcher.md b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceWatcher.md index 559fa899c..6975e6717 100644 --- a/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceWatcher.md +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointDeviceWatcher.md @@ -2,7 +2,7 @@ layout: api_page title: MidiEndpointDeviceWatcher parent: Endpoint Enumeration -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -33,7 +33,8 @@ Create a `MidiEndpointDeviceWatcher` on a background thread, and use the interna | Static Function | Description | | --------------- | ----------- | -| `CreateWatcher(endpointFilter)` | Create a watcher which will enumerate devices based on the provided filter | +| `Create(endpointFilter)` | Create a watcher which will enumerate devices based on the provided filter | +| `Create()` | Create a watcher which will enumerate devices based on the default filter, appropriate for most apps | ## Events @@ -73,6 +74,8 @@ Loopback endpoints (other than the two diagnostic loopbacks built-in for testing When an endpoint is disconnected due to the parent device going away, all client connections are closed, and the device connection in the service is also closed. The cross-process message queues are torn down, and any messages there, in the outbound scheduler, or otherwise in the service pipelines are lost. +If the auto-reconnect option was used when creating the connection from the SDK, a watcher is set up behind the scenes, and the endpoint is reconnected when it comes back online, assuming its id has not changed. + ## IDL -[MidiEndpointDeviceWatcher IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDeviceWatcher.idl) +[MidiEndpointDeviceWatcher IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointDeviceWatcher.idl) diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md b/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md new file mode 100644 index 000000000..4d007833b --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointNativeDataFormatEnum.md @@ -0,0 +1,22 @@ +--- +layout: api_page +title: MidiEndpointNativeDataFormat +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiEndpointNativeDataFormat enum + +## Properties + +| Property | Value | Description | +| --------------- | ---------- | ----------- | +| `Unknown` | `0` | Unknown native data format | +| `ByteFormat` | `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 + +[MidiEndpointNativeDataFormat IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointNativeDataFormatEnum.idl) + diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointTransportSuppliedInfo.md b/docs/sdk-winrt-core/enumeration/MidiEndpointTransportSuppliedInfo.md new file mode 100644 index 000000000..3f4fd9f7f --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointTransportSuppliedInfo.md @@ -0,0 +1,29 @@ +--- +layout: api_page +title: MidiEndpointTransportSuppliedInfo +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiEndpointTransportSuppliedInfo + +## Fields + +| Field | Description | +| --------------- | ----------- | +| `Name` | The endpoint name as provided by the transport | +| `Description` | The description, if any, as provided by the transport | +| `SerialNumber` | Any unique serial number (iSerial in USB, for example) form the transport | +| `VendorId` | If the device is connected to the new UMP USB driver, this is the USB VID | +| `ProductId` | If the device is connected to the new UMP USB driver, this is the USB PID | +| `ManufacturerName` | If the device is connected to the new UMP USB driver, this is the manufactruer name from the USB headers | +| `SupportsMultiClient` | True if the endpoint supports multi-client use through Windows MIDI Services | +| `NativeDataFormat` | The `MidiEndpointNativeDataFormat` indicating if this device natively uses the MIDI 1.0 byte format, or the UMP format | +| `TransportId` | GUID identifying the transport in use | +| `TransportAbbreviation` | Short identifier for the transport, such as `KS` or `BLE` | + +## IDL + +[MidiEndpointTransportSuppliedInfo IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointTransportSuppliedInfo.idl) + diff --git a/docs/sdk-winrt-core/enumeration/MidiEndpointUserSuppliedInfo.md b/docs/sdk-winrt-core/enumeration/MidiEndpointUserSuppliedInfo.md new file mode 100644 index 000000000..288e0519d --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiEndpointUserSuppliedInfo.md @@ -0,0 +1,28 @@ +--- +layout: api_page +title: MidiEndpointUserSuppliedInfo +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiEndpointUserSuppliedInfo + +This is all information supplied by the user through the MIDI Settings app and/or through the main configuration file. + +## Fields + +| Field | Description | +| --------------- | ----------- | +| `Name` | The endpoint name as provided by the transport | +| `Description` | The description, if any, as provided by the transport | +| `LargeImagePath` | Path to the small image for use in applications | +| `SmallImagePath` | Path to the larger image for use in applications | +| `RequiresNoteOffTranslation` | True if a Note On of zero velocity should be translated to a Note Off message | +| `RecommendedControlChangeAutomationIntervalMilliseconds` | For applications, this is the recommended maximum CC interval to use to avoid flooding the device | +| `SupportsMidiPolyphonicExpression` | True if this device is known to support MPE | + +## IDL + +[MidiEndpointUserSuppliedInfo IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiEndpointUserSuppliedInfo.idl) + diff --git a/docs/sdk-winrt-core/enumeration/MidiProtocolEnum.md b/docs/sdk-winrt-core/enumeration/MidiProtocolEnum.md new file mode 100644 index 000000000..b0399f3c7 --- /dev/null +++ b/docs/sdk-winrt-core/enumeration/MidiProtocolEnum.md @@ -0,0 +1,21 @@ +--- +layout: api_page +title: MidiProtocolEnum +parent: Endpoint Enumeration +grand_parent: Midi2 +has_children: false +--- + +# MidiProtocol enum + +## Properties + +| Property | Value | Description | +| --------------- | ---------- | ----------- | +| `Default` | `0x0` | No configured value | +| `Midi1` | `0x1` | Configured for MIDI 1.0 | +| `Midi2` | `0x2` | Configured for MIDI 2.0 | + +## IDL + +[MidiProtocol IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiProtocolEnum.idl) diff --git a/docs/sdk-winrt-core/enumeration/README.md b/docs/sdk-winrt-core/enumeration/README.md index c62b78b9e..f66ed0173 100644 --- a/docs/sdk-winrt-core/enumeration/README.md +++ b/docs/sdk-winrt-core/enumeration/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Endpoint Enumeration -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/messages/IMidiUniversalPacket.md b/docs/sdk-winrt-core/messages/IMidiUniversalPacket.md index 6c972bb9e..280a245e4 100644 --- a/docs/sdk-winrt-core/messages/IMidiUniversalPacket.md +++ b/docs/sdk-winrt-core/messages/IMidiUniversalPacket.md @@ -2,7 +2,7 @@ layout: api_page title: IMidiUniversalPacket parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -29,5 +29,5 @@ This interface is implemented by the rich MidiMessageXX runtime class types. It ## IDL -[IMidiUniversalPacket IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/IMidiUniversalPacket.idl) +[IMidiUniversalPacket IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/IMidiUniversalPacket.idl) diff --git a/docs/sdk-winrt-core/messages/MidiEndpointDiscoveryFilterFlagsEnum.md b/docs/sdk-winrt-core/messages/MidiEndpointDiscoveryFilterFlagsEnum.md deleted file mode 100644 index 89aa1483f..000000000 --- a/docs/sdk-winrt-core/messages/MidiEndpointDiscoveryFilterFlagsEnum.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -layout: api_page -title: MidiEndpointDiscoveryFilterFlags -parent: Messages -grand_parent: Microsoft.Devices.Midi2 -has_children: false ---- - -# MidiEndpointDiscoveryFilterFlags Enumeration - -Used to indicate which endpoint discovery messages you want to receive when you query an endpoint. - -## Properties - -| Property | Value | Description | -| -------- | ------- | ------ | -| `None` | `0x00000000` | Request nothing. | -| `RequestEndpointInformation` | `0x00000001` | Request the details of the endpoint. | -| `RequestDeviceIdentity` | `0x00000002` | Request identity information including System Exclusive Ids and version information | -| `RequestEndpointName` | `0x00000004` | Request endpoint name messages | -| `RequestProductInstanceId` | `0x00000008` | Request product instance id messages | -| `RequestStreamConfiguration` | `0x00000010` | Request the stream configuration | - - -## IDL - -[MidiEndpointDiscoveryFilterFlagsEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiEndpointDiscoveryFilterFlagsEnum.idl) diff --git a/docs/sdk-winrt-core/messages/MidiFunctionBlockDiscoveryFilterFlagsEnum.md b/docs/sdk-winrt-core/messages/MidiFunctionBlockDiscoveryFilterFlagsEnum.md deleted file mode 100644 index 334c284b7..000000000 --- a/docs/sdk-winrt-core/messages/MidiFunctionBlockDiscoveryFilterFlagsEnum.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: api_page -title: MidiFunctionBlockDiscoveryFilterFlags -parent: Messages -grand_parent: Microsoft.Devices.Midi2 -has_children: false ---- - -# MidiFunctionBlockDiscoveryFilterFlags Enumeration - -Used to indicate which function block messages you want to receive when you request function blocks. - -## Properties - -| Property | Value | Description | -| -------- | ------- | ------ | -| `None` | `0x00000000` | No information requested | -| `RequestFunctionBlockInformation` | `0x00000001` | Request the core function block information | -| `RequestFunctionBlockName` | `0x00000002` | Request a set of function block name messages | - -## IDL - -[MidiFunctionBlockDiscoveryFilterFlagsEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiFunctionBlockDiscoveryFilterFlagsEnum.idl) diff --git a/docs/sdk-winrt-core/messages/MidiMessage128.md b/docs/sdk-winrt-core/messages/MidiMessage128.md index daca996b0..58633089b 100644 --- a/docs/sdk-winrt-core/messages/MidiMessage128.md +++ b/docs/sdk-winrt-core/messages/MidiMessage128.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessage128 parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -26,4 +26,4 @@ Includes all functions and properties in `IMidiUniversalPacket`, as well as: ## IDL -[MidiMessage128 IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessage128.idl) +[MidiMessage128 IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessage128.idl) diff --git a/docs/sdk-winrt-core/messages/MidiMessage32.md b/docs/sdk-winrt-core/messages/MidiMessage32.md index 9476f7acb..b792018ed 100644 --- a/docs/sdk-winrt-core/messages/MidiMessage32.md +++ b/docs/sdk-winrt-core/messages/MidiMessage32.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessage32 parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -23,4 +23,4 @@ Includes all functions and properties in `IMidiUniversalPacket`, as well as: ## IDL -[MidiMessage32 IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessage32.idl) +[MidiMessage32 IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessage32.idl) diff --git a/docs/sdk-winrt-core/messages/MidiMessage64.md b/docs/sdk-winrt-core/messages/MidiMessage64.md index 7f9dc33f1..fe007331d 100644 --- a/docs/sdk-winrt-core/messages/MidiMessage64.md +++ b/docs/sdk-winrt-core/messages/MidiMessage64.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessage64 parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -24,5 +24,5 @@ Includes all functions and properties in `IMidiUniversalPacket`, as well as: ## IDL -[MidiMessage64 IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessage64.idl) +[MidiMessage64 IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessage64.idl) diff --git a/docs/sdk-winrt-core/messages/MidiMessage96.md b/docs/sdk-winrt-core/messages/MidiMessage96.md index c7f9ef2c0..46a4453a0 100644 --- a/docs/sdk-winrt-core/messages/MidiMessage96.md +++ b/docs/sdk-winrt-core/messages/MidiMessage96.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessage96 parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -25,5 +25,5 @@ Includes all functions and properties in `IMidiUniversalPacket`, as well as: ## IDL -[MidiMessage96 IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessage96.idl) +[MidiMessage96 IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessage96.idl) diff --git a/docs/sdk-winrt-core/messages/MidiMessageStruct.md b/docs/sdk-winrt-core/messages/MidiMessageStruct.md index e22fd82e7..d415d360c 100644 --- a/docs/sdk-winrt-core/messages/MidiMessageStruct.md +++ b/docs/sdk-winrt-core/messages/MidiMessageStruct.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessageStruct parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -19,4 +19,4 @@ has_children: false ## IDL -[MidiMessageStruct IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageStruct.idl) +[MidiMessageStruct IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessageStruct.idl) diff --git a/docs/sdk-winrt-core/messages/MidiMessageTypeEnum.md b/docs/sdk-winrt-core/messages/MidiMessageTypeEnum.md index 1a2155d74..1ade21c15 100644 --- a/docs/sdk-winrt-core/messages/MidiMessageTypeEnum.md +++ b/docs/sdk-winrt-core/messages/MidiMessageTypeEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiMessageType parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -31,4 +31,4 @@ The values correspond directly to the "mt" field in the MIDI UMP packet and may ## IDL -[MidiMessageType IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageTypeEnum.idl) +[MidiMessageType IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiMessageTypeEnum.idl) diff --git a/docs/sdk-winrt-core/messages/MidiPacketTypeEnum.md b/docs/sdk-winrt-core/messages/MidiPacketTypeEnum.md index aad51e304..61a62c2dc 100644 --- a/docs/sdk-winrt-core/messages/MidiPacketTypeEnum.md +++ b/docs/sdk-winrt-core/messages/MidiPacketTypeEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiPacketType parent: Messages -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -20,4 +20,4 @@ The values correspond to the number of 32-bit MIDI words in the packet. ## IDL -[MidiPacketType IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiPacketTypeEnum.idl) +[MidiPacketType IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiPacketTypeEnum.idl) diff --git a/docs/sdk-winrt-core/messages/README.md b/docs/sdk-winrt-core/messages/README.md index 102e34a95..e8c80ab4e 100644 --- a/docs/sdk-winrt-core/messages/README.md +++ b/docs/sdk-winrt-core/messages/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Messages -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/metadata/MidiFunctionBlock.md b/docs/sdk-winrt-core/metadata/MidiFunctionBlock.md index 2d0e3fc97..b7090b1c2 100644 --- a/docs/sdk-winrt-core/metadata/MidiFunctionBlock.md +++ b/docs/sdk-winrt-core/metadata/MidiFunctionBlock.md @@ -2,7 +2,7 @@ layout: api_page title: MidiFunctionBlock parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -40,7 +40,7 @@ Most properties are 1:1 with the MIDI 2.0 UMP specification section on function | `IsActive` | True if this block is active | | `Direction` | The direction of the block from the block's point of view. | | `UIHint` | A hint which tells you how this block should be treated in a user interface. This should be considered a "soft filter" for display, not a mechanism to keep blocks completely hidden from a user. | -| `Midi10Connection` | How to treat this block if it is a MIDI 1.0 connection | +| `RepresentsMidi10Connection` | How to treat this block if it is a MIDI 1.0 connection | | `FirstGroupIndex` | Zero-based index of the first group spanned by this block. | | `GroupCount` | The number of groups spanned. | | `MidiCIMessageVersionFormat` | MIDI CI version format value | @@ -55,4 +55,4 @@ Most properties are 1:1 with the MIDI 2.0 UMP specification section on function ## IDL -[MidiFunctionBlock IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiFunctionBlock.idl) +[MidiFunctionBlock IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiFunctionBlock.idl) diff --git a/docs/sdk-winrt-core/metadata/MidiFunctionBlockDirectionEnum.md b/docs/sdk-winrt-core/metadata/MidiFunctionBlockDirectionEnum.md index 162eacc58..191b3e6f0 100644 --- a/docs/sdk-winrt-core/metadata/MidiFunctionBlockDirectionEnum.md +++ b/docs/sdk-winrt-core/metadata/MidiFunctionBlockDirectionEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiFunctionBlockDirection parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -21,4 +21,4 @@ Indicates the message flow for a function block. Note that this is, per the spec ## IDL -[MidiFunctionBlockDirectionEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiFunctionBlockDirectionEnum.idl) +[MidiFunctionBlockDirectionEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiFunctionBlockDirectionEnum.idl) diff --git a/docs/sdk-winrt-core/metadata/MidiFunctionBlockMidi10Enum.md b/docs/sdk-winrt-core/metadata/MidiFunctionBlockMidi10Enum.md index e0125aca0..a73ce0e29 100644 --- a/docs/sdk-winrt-core/metadata/MidiFunctionBlockMidi10Enum.md +++ b/docs/sdk-winrt-core/metadata/MidiFunctionBlockMidi10Enum.md @@ -1,8 +1,8 @@ --- layout: api_page -title: MidiFunctionBlockMidi10 +title: MidiFunctionBlockRepresentsMidi10Connection parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -21,4 +21,4 @@ Indicates the MIDI 1.0 capability restrictions for a function block. Note that W ## IDL -[MidiFunctionBlockMidi10Enum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiFunctionBlockMidi10Enum.idl) +[MidiFunctionBlockRepresentsMidi10Connection IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiFunctionBlockRepresentsMidi10ConnectionEnum.idl) diff --git a/docs/sdk-winrt-core/metadata/MidiFunctionBlockUIHintEnum.md b/docs/sdk-winrt-core/metadata/MidiFunctionBlockUIHintEnum.md index e20eac322..ac3c51f2b 100644 --- a/docs/sdk-winrt-core/metadata/MidiFunctionBlockUIHintEnum.md +++ b/docs/sdk-winrt-core/metadata/MidiFunctionBlockUIHintEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiFunctionBlockUIHint parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -23,4 +23,4 @@ In general, these values should not restrict completely what you enable a user t ## IDL -[MidiFunctionBlockUIHintEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiFunctionBlockUIHintEnum.idl) +[MidiFunctionBlockUIHint IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiFunctionBlockUIHintEnum.idl) diff --git a/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlock.md b/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlock.md index baf32d4e4..640c1ff1a 100644 --- a/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlock.md +++ b/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlock.md @@ -2,7 +2,7 @@ layout: api_page title: MidiGroupTerminalBlock parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -36,4 +36,4 @@ A Group Terminal Block is a USB-only feature used to describe the groups on a de ## IDL -[MidiGroupTerminalBlock IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiGroupTerminalBlock.idl) +[MidiGroupTerminalBlock IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiGroupTerminalBlock.idl) diff --git a/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockDirectionEnum.md b/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockDirectionEnum.md index 64326db41..f187bbd52 100644 --- a/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockDirectionEnum.md +++ b/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockDirectionEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiGroupTerminalBlockDirection parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -20,4 +20,4 @@ Indicates the message flow for a group terminal block. Note that this is, per th ## IDL -[MidiGroupTerminalBlockDirectionEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiGroupTerminalBlockDirectionEnum.idl) +[MidiGroupTerminalBlockDirection IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiGroupTerminalBlockDirectionEnum.idl) diff --git a/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockProtocolEnum.md b/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockProtocolEnum.md index 241143859..e31905852 100644 --- a/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockProtocolEnum.md +++ b/docs/sdk-winrt-core/metadata/MidiGroupTerminalBlockProtocolEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiGroupTerminalBlockProtocol parent: Metadata -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -26,4 +26,4 @@ Indicates the protocol specifics for the Group Terminal Block. Group terminal bl ## IDL -[MidiGroupTerminalBlockProtocolEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiGroupTerminalBlockProtocolEnum.idl) +[MidiGroupTerminalBlockProtocol IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiGroupTerminalBlockProtocolEnum.idl) diff --git a/docs/sdk-winrt-core/metadata/README.md b/docs/sdk-winrt-core/metadata/README.md index d37da1d94..8283b98d0 100644 --- a/docs/sdk-winrt-core/metadata/README.md +++ b/docs/sdk-winrt-core/metadata/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Metadata -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/processing-plugins/IMidiEndpointMessageProcessingPlugin.md b/docs/sdk-winrt-core/processing-plugins/IMidiEndpointMessageProcessingPlugin.md index 76680f643..4810e67bc 100644 --- a/docs/sdk-winrt-core/processing-plugins/IMidiEndpointMessageProcessingPlugin.md +++ b/docs/sdk-winrt-core/processing-plugins/IMidiEndpointMessageProcessingPlugin.md @@ -2,7 +2,7 @@ layout: api_page title: IMidiEndpointMessageProcessingPlugin parent: Client Plugins -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -34,4 +34,4 @@ The main part of message processing is the `ProcessIncomingMessage` callback. ## IDL -[IMidiEndpointMessageProcessingPlugin IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/IMidiEndpointMessageProcessingPlugin.idl) +[IMidiEndpointMessageProcessingPlugin IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/IMidiEndpointMessageProcessingPlugin.idl) diff --git a/docs/sdk-winrt-core/processing-plugins/README.md b/docs/sdk-winrt-core/processing-plugins/README.md index fda1b032f..1dc3afdd0 100644 --- a/docs/sdk-winrt-core/processing-plugins/README.md +++ b/docs/sdk-winrt-core/processing-plugins/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Client Plugins -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/service/MidiService.md b/docs/sdk-winrt-core/service/MidiService.md index b450dc3cc..62be75c38 100644 --- a/docs/sdk-winrt-core/service/MidiService.md +++ b/docs/sdk-winrt-core/service/MidiService.md @@ -2,7 +2,7 @@ layout: api_page title: MidiService parent: Service -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -26,4 +26,4 @@ For plugins which support updates at runtime, developers of those plugins should ## See also -[MidiService IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiService.idl) \ No newline at end of file +[MidiService IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiService.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-core/service/MidiServiceConfigurationResponseStatusEnum.md b/docs/sdk-winrt-core/service/MidiServiceConfigurationResponseStatusEnum.md index 12f36806a..042db4b9b 100644 --- a/docs/sdk-winrt-core/service/MidiServiceConfigurationResponseStatusEnum.md +++ b/docs/sdk-winrt-core/service/MidiServiceConfigurationResponseStatusEnum.md @@ -2,7 +2,7 @@ layout: api_page title: MidiServiceConfigurationResponseStatus parent: Service -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -23,4 +23,4 @@ Indicates success or failure mode for configuring an endpoint or message process ## IDL -[MidiServiceConfigurationResponseStatus IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceConfigurationResponseStatusEnum.idl) +[MidiServiceConfigurationResponseStatus IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiServiceConfigurationResponseStatusEnum.idl) diff --git a/docs/sdk-winrt-core/service/README.md b/docs/sdk-winrt-core/service/README.md index a9ec38db0..cd50db27d 100644 --- a/docs/sdk-winrt-core/service/README.md +++ b/docs/sdk-winrt-core/service/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Service -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/session/MidiSession.md b/docs/sdk-winrt-core/session/MidiSession.md index 3d7a1ce38..ed29db323 100644 --- a/docs/sdk-winrt-core/session/MidiSession.md +++ b/docs/sdk-winrt-core/session/MidiSession.md @@ -2,7 +2,7 @@ layout: api_page title: MidiSession parent: Session -grand_parent: Microsoft.Devices.Midi2 +grand_parent: Midi2 has_children: false --- @@ -16,7 +16,7 @@ An application may have any number of sessions open. For example, the applicatio ## Properties -| `Id` | Generated Id for the session | +| `SessionId` | Generated Id for the session | | `Name` | Name for this session. To change the name after creating the session, use the `UpdateName()` function. This will update the service | | `Settings` | The settings used to create this session | | `IsOpen` | True if this session is open and ready to use | @@ -26,8 +26,7 @@ An application may have any number of sessions open. For example, the applicatio The two static functions are factory-pattern methods for creating a new session. -| `CreateSession(sessionName)` | Create and return a new session with the specified name | -| `CreateSession(sessionName, settings)` | Create and return a new session with the specified name and settings | +| `Create(sessionName)` | Create and return a new session with the specified name | ## Methods @@ -41,7 +40,7 @@ The two static functions are factory-pattern methods for creating a new session. ## See also -[MidiSession IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiSession.idl) +[MidiSession IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-core/MidiSession.idl) ### Sample diff --git a/docs/sdk-winrt-core/session/README.md b/docs/sdk-winrt-core/session/README.md index f6b8c1db1..9c9466aba 100644 --- a/docs/sdk-winrt-core/session/README.md +++ b/docs/sdk-winrt-core/session/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Session -parent: Microsoft.Devices.Midi2 +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-core/simple-types/MidiChannel.md b/docs/sdk-winrt-core/simple-types/MidiChannel.md deleted file mode 100644 index 91fdc1113..000000000 --- a/docs/sdk-winrt-core/simple-types/MidiChannel.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -layout: api_page -title: MidiChannel -parent: Simple Types -grand_parent: Microsoft.Devices.Midi2 -has_children: false ---- - -# MidiChannel - -## Remarks - -The `MidiChannel` class is used to provide formatting and data validation for MIDI 1.0 and MIDI 2.0 channels. For clarity, the 0-15 value used in all messages is the `Index` and the 1-16 value those are mapped to for user display, is the `NumberForDisplay`. - -## Constructors - -| `MidiChannel` | Create an empty MidiChannel object (Index 0) | -| `MidiChannel(UInt8)` | Create a MidiChannel with the specified channel Index (0-15) | - -## Properties - -| `Index` | The data value, or channel Index (0-15) | -| `NumberForDisplay` | The number that should be displayed in any UI. (1-16) | - -## Static Properties - -| `ShortLabel` | Returns the localized abbreviation. For example, "Ch" in English. | -| `LongLabel` | Returns the localized full name. For example, "Channel" in English. | - -## Static Methods - -| `IsValidChannelIndex(UInt8)` | Verifies that the provided index is valid (between 0 and 15) | - -## See also - -[MidiChannel IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiChannel.idl) diff --git a/docs/sdk-winrt-core/simple-types/MidiGroup.md b/docs/sdk-winrt-core/simple-types/MidiGroup.md deleted file mode 100644 index f76570e5f..000000000 --- a/docs/sdk-winrt-core/simple-types/MidiGroup.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -layout: api_page -title: MidiGroup -parent: Simple Types -grand_parent: Microsoft.Devices.Midi2 -has_children: false ---- - -# MidiGroup - -## Remarks - -The `MidiGroup` class is used to provide formatting and data validation for MIDI 2.0 groups. For clarity, the 0-15 value used in all messages is the `Index` and the 1-16 value those are mapped to for user display, is the `NumberForDisplay`. - -## Constructors - -| `MidiGroup` | Create an empty MidiGroup object (Index 0) | -| `MidiChannel(UInt8)` | Create a MidiChannel with the specified channel Index (0-15) | - -## Properties - -| `Index` | The data value, or channel Index (0-15) | -| `NumberForDisplay` | The number that should be displayed in any UI. (1-16) | - -## Static Properties - -| `ShortLabel` | Returns the localized abbreviation. For example, "Gr" in English. | -| `LongLabel` | Returns the localized full name. For example, "Group" in English. | - -## Static Methods - -| `IsValidGroupIndex(UInt8)` | Verifies that the provided index is valid (between 0 and 15) | - -## See also - -[MidiGroup IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiGroup.idl) diff --git a/docs/sdk-winrt-core/simple-types/README.md b/docs/sdk-winrt-core/simple-types/README.md index 1b00580f7..730046046 100644 --- a/docs/sdk-winrt-core/simple-types/README.md +++ b/docs/sdk-winrt-core/simple-types/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Simple Types -parent: Windows.Devices.Midi2 API +parent: Midi2 has_children: true --- diff --git a/docs/sdk-winrt-diagnostics/MidiDiagnostics.md b/docs/sdk-winrt-diagnostics/MidiDiagnostics.md index 1eb32f906..a3b030abe 100644 --- a/docs/sdk-winrt-diagnostics/MidiDiagnostics.md +++ b/docs/sdk-winrt-diagnostics/MidiDiagnostics.md @@ -1,21 +1,25 @@ --- layout: api_page -title: MidiService -parent: Microsoft.Devices.Midi2.Diagnostics +title: MidiDiagnostics +parent: Midi2.Diagnostics has_children: false --- -# MidiService +# MidiDiagnostics ## Remarks -The MidiService class contains a number of static functions which enable working with the service outside of a specific session. +The MidiDiagnostics class contains a number of static functions which enable working with the service outside of a specific session. ## Static Methods +| Static Property | Description | +| --------------- | ----------- | +| `DiagnosticsLoopbackAEndpointId` | Endpoint Id for the diagnostic loopback used for development and support purposes. | +| `DiagnosticsLoopbackBEndpointId` | Endpoint Id for the diagnostic loopback used for development and support purposes. | + ### Service Health -| `IsAvailable()` | Returns true of Windows MIDI Services is available on this PC. Calling this function is typically the first step in using Windows MIDI Services in your application. | | `PingService(UInt8)` | Send the specified count of ping messages to the ping endpoint and report on the status and time. Return if the responses are not received in an internally calculated timeout period. | | `PingService(UInt8, UInt32)` | Send the specified count of ping messages to the ping endpoint and report on the status and time. Return if responses are not received in the specified timeout period (milliseconds). | @@ -29,30 +33,6 @@ Here's an example of ping responses through the MIDI console app ![MIDI Console Ping](./console-ping.png) -### Reporting - -| `GetInstalledTransportPlugins()` | Returns a list of `MidiServiceTransportPluginInformation` representing all service transport plugins (also called Abstractions) | -| `GetInstalledMessageProcessingPlugins()` | Returns a list of `MidiServiceMessageProcessingPluginInformation` objects representing all service message processing plugins (also called Transforms) | -| `GetActiveSessions()` | Returns a list of `MidiSessionInformation` detailing all active Windows MIDI Services sessions on this PC. | - -### Loopback Endpoints - -| `CreateTemporaryLoopbackEndpoints(Guid, MidiServiceLoopbackEndpointDefinition, MidiServiceLoopbackEndpointDefinition)` | Create a pair of loopback endpoints which will live until removed through the API or the service is restarted. | -| `RemoveTemporaryLoopbackEndpoints(Guid)` | Remove a pair of temporary loopback endpoints when provided their association Id Guid. | - -Applications creating endpoints for app-to-app MIDI should generally use the Virtual Device support built into the API. However, applications may need to create lightweight loopback endpoints without the protocol negotiation, MIDI 2.0 discovery process, and lifetime management provided by the Virtual Device support. For those scenarios, we have a simple loopback endpoint type. - -Loopback endpoints created by the user and stored in the configuration file will persist after the service is restarted or the PC rebooted. Loopback endpoints created through this API call are temporary, and will disappear if the service is restarted. In both cases, this feature requires that the loopback endpoint transport is installed and enabled. - -### Runtime Configuration - -| `UpdateTransportPluginConfiguration(IMidiServiceTransportPluginConfiguration)` | Sends an update to the service to be used by a transport plugin ("Abstraction") | -| `UpdateProcessingPluginConfiguration(IMidiServiceMessageProcessingPluginConfiguration)` | Sends an update to the service to be used by a message processing plugin ("Transform") | - -For plugins which support updates at runtime, developers of those plugins should create configuration WinRT types which implement the required configuration interfaces, and create the JSON that is used in the service. In this way, third-party service transport and message processing plugins can be created and configured without changes to the API. - -> Note: In version 1 of the API, only transports can be configured at runtime. We're working on enabling configuration of message processing plugins. The API is a no-op. - -## See also +## IDL -[MidiService IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiService.idl) \ No newline at end of file +[MidiDiagnostics IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiDiagnostics.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-diagnostics/MidiReporting.md b/docs/sdk-winrt-diagnostics/MidiReporting.md new file mode 100644 index 000000000..742a44b9e --- /dev/null +++ b/docs/sdk-winrt-diagnostics/MidiReporting.md @@ -0,0 +1,24 @@ +--- +layout: api_page +title: MidiReporting +parent: Midi2.Diagnostics +has_children: false +--- + +# MidiReporting + +## Remarks + +The MidiReporting class contains functions to report on data from the MIDI Service + +## Static Methods + +| Static Property | Description | +| --------------- | ----------- | +| `GetInstalledTransportPlugins()` | Returns a list of `MidiServiceTransportPluginInfo` representing all service transport plugins (also called Abstractions) | +| `GetInstalledMessageProcessingPlugins()` | Returns a list of `MidiServiceMessageProcessingPluginInfo` objects representing all service message processing plugins (also called Transforms) | +| `GetActiveSessions()` | Returns a list of `MidiServiceSessionInfo` detailing all active Windows MIDI Services sessions on this PC. | + +## IDL + +[MidiReporting IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiReporting.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-diagnostics/MidiServiceMessageProcessingPluginInformation.md b/docs/sdk-winrt-diagnostics/MidiServiceMessageProcessingPluginInformation.md index 8fb3356f7..a8b4f1b43 100644 --- a/docs/sdk-winrt-diagnostics/MidiServiceMessageProcessingPluginInformation.md +++ b/docs/sdk-winrt-diagnostics/MidiServiceMessageProcessingPluginInformation.md @@ -1,16 +1,14 @@ --- layout: api_page -title: MidiServiceMessageProcessingPluginInformation -parent: Microsoft.Devices.Midi2.Diagnostics +title: MidiServiceMessageProcessingPluginInfo +parent: Midi2.Diagnostics has_children: false --- -# MidiServiceMessageProcessingPluginInformation +# MidiServiceMessageProcessingPluginInfo (section in progress) ## IDL -[MidiSessionMidiServiceMessageProcessingPluginInformationInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceMessageProcessingPluginInformation.idl) - - +[MidiServiceMessageProcessingPluginInfo IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiServiceMessageProcessingPluginInfo.idl) diff --git a/docs/sdk-winrt-diagnostics/MidiServicePingResponse.md b/docs/sdk-winrt-diagnostics/MidiServicePingResponse.md index 0d0d8fdd1..dad363050 100644 --- a/docs/sdk-winrt-diagnostics/MidiServicePingResponse.md +++ b/docs/sdk-winrt-diagnostics/MidiServicePingResponse.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiServicePingResponse -parent: Microsoft.Devices.Midi2.Diagnostics +parent: Midi2.Diagnostics has_children: false --- # MidiServicePingResponse @@ -21,5 +21,5 @@ This class represents a single ping message response. This is used to assess hea ## IDL -[MidiServicePingResponse IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServicePingResponse.idl) +[MidiServicePingResponse IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiServicePingResponse.idl) diff --git a/docs/sdk-winrt-diagnostics/MidiServicePingResponseSummary.md b/docs/sdk-winrt-diagnostics/MidiServicePingResponseSummary.md index 1cbff240e..c9e32b051 100644 --- a/docs/sdk-winrt-diagnostics/MidiServicePingResponseSummary.md +++ b/docs/sdk-winrt-diagnostics/MidiServicePingResponseSummary.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiServicePingResponseSummary -parent: Microsoft.Devices.Midi2.Diagnostics +parent: Midi2.Diagnostics has_children: false --- @@ -21,5 +21,5 @@ This class represents a summary of the ping attempts against the Windows service ## IDL -[MidiServicePingResponseSummary IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServicePingResponseSummary.idl) +[MidiServicePingResponseSummary IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiServicePingResponseSummary.idl) diff --git a/docs/sdk-winrt-diagnostics/MidiServiceSessionConnectionInformation.md b/docs/sdk-winrt-diagnostics/MidiServiceSessionConnectionInformation.md new file mode 100644 index 000000000..ca12a82c1 --- /dev/null +++ b/docs/sdk-winrt-diagnostics/MidiServiceSessionConnectionInformation.md @@ -0,0 +1,23 @@ +--- +layout: api_page +title: MidiSessionConnectionInformation +parent: Midi2.Diagnostics +has_children: false +--- + +# MidiSessionConnectionInformation + +This class represents an open connection in a Windows MIDI Services session. This is an informational class only for reporting system-wide connection usage. + +## Properties + +| Property | Description | +|---|---| +| `EndpointDeviceId` | The endpoint device id for the connection | +| `InstanceCount` | The number of instances of this connection which are open in the parent session | +| `EarliestConnectionTime` | The date and time the first instance of the connection was opened | + +## IDL + +[MidiSessionConnectionInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiSessionConnectionInformation.idl) + diff --git a/docs/sdk-winrt-diagnostics/MidiServiceTransportPluginInformation.md b/docs/sdk-winrt-diagnostics/MidiServiceTransportPluginInformation.md index 2a10006f9..b20898989 100644 --- a/docs/sdk-winrt-diagnostics/MidiServiceTransportPluginInformation.md +++ b/docs/sdk-winrt-diagnostics/MidiServiceTransportPluginInformation.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiServiceTransportPluginInformation -parent: Microsoft.Devices.Midi2.Diagnostics +parent: Midi2.Diagnostics has_children: false --- @@ -11,4 +11,4 @@ has_children: false ## IDL -[MidiServiceTransportPluginInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceTransportPluginInformation.idl) +[MidiServiceTransportPluginInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiServiceTransportPluginInformation.idl) diff --git a/docs/sdk-winrt-diagnostics/MidiSessionConnectionInformation.md b/docs/sdk-winrt-diagnostics/MidiSessionConnectionInformation.md deleted file mode 100644 index 23589e868..000000000 --- a/docs/sdk-winrt-diagnostics/MidiSessionConnectionInformation.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: api_page -title: MidiSessionConnectionInformation -parent: Microsoft.Devices.Midi2.Diagnostics -has_children: false ---- - -# MidiSessionConnectionInformation - -This class represents an open connection in a Windows MIDI Services session. This is an informational class only for reporting system-wide connection usage. - -## Properties - -| Property | Description | -|---|---| -| `EndpointDeviceId` | The endpoint device id for the connection | -| `InstanceCount` | The number of instances of this connection which are open in the parent session | -| `EarliestConnectionTime` | The date and time the first instance of the connection was opened | - -## IDL - -[MidiSessionConnectionInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiSessionConnectionInformation.idl) - diff --git a/docs/sdk-winrt-diagnostics/MidiSessionInformation.md b/docs/sdk-winrt-diagnostics/MidiSessionInformation.md index 1459f3629..c6d1de711 100644 --- a/docs/sdk-winrt-diagnostics/MidiSessionInformation.md +++ b/docs/sdk-winrt-diagnostics/MidiSessionInformation.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiSessionInformation -parent: Microsoft.Devices.Midi2.Diagnostics +parent: Midi2.Diagnostics has_children: false --- @@ -30,5 +30,4 @@ In this case, you can see three open sessions. The process name and process id a ## IDL -[MidiSessionInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiSessionInformation.idl) - +[MidiSessionInformation IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-diagnostics/MidiSessionInformation.idl) diff --git a/docs/sdk-winrt-diagnostics/README.md b/docs/sdk-winrt-diagnostics/README.md index 948bbf0f1..0a42aafe1 100644 --- a/docs/sdk-winrt-diagnostics/README.md +++ b/docs/sdk-winrt-diagnostics/README.md @@ -1,6 +1,6 @@ --- layout: page -title: Microsoft.Devices.Midi2.Diagnostics +title: Midi2.Diagnostics has_children: true --- diff --git a/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointCreationConfig.md b/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointCreationConfig.md new file mode 100644 index 000000000..0ff735d2d --- /dev/null +++ b/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointCreationConfig.md @@ -0,0 +1,20 @@ +--- +layout: api_page +title: MidiLoopbackEndpointCreationConfig +parent: Midi2.Endpoints.Loopback +has_children: false +--- + +# MidiLoopbackEndpointCreationConfig + +## Properties + +| Property | Description | +| -------- | ----------- | +| `AssociationId` | The GUID used to uniquely identify this endpoint pair | +| `EndpointDefinitionA` | `MidiLoopbackEndpointDefinition` for the A-side of the pair | +| `EndpointDefinitionB` | `MidiLoopbackEndpointDefinition` for the B-side of the pair | + +## IDL + +[MidiLoopbackEndpointCreationConfig IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-loopback/MidiLoopbackEndpointCreationConfig.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointDeletionConfig.md b/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointDeletionConfig.md new file mode 100644 index 000000000..6cc2b46d5 --- /dev/null +++ b/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointDeletionConfig.md @@ -0,0 +1,18 @@ +--- +layout: api_page +title: MidiLoopbackEndpointDeletionConfig +parent: Midi2.Endpoints.Loopback +has_children: false +--- + +# MidiLoopbackEndpointDeletionConfig + +## Properties + +| Property | Description | +| -------- | ----------- | +| `AssociationId` | The GUID used to uniquely identify the endpoint pair to remove | + +## IDL + +[MidiLoopbackEndpointDeletionConfig IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-loopback/MidiLoopbackEndpointDeletionConfig.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointManager.md b/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointManager.md index c853ed402..20b24d1b4 100644 --- a/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointManager.md +++ b/docs/sdk-winrt-endpoint-loopback/MidiLoopbackEndpointManager.md @@ -1,25 +1,23 @@ --- layout: api_page title: MidiLoopbackEndpointManager -parent: Microsoft.Devices.Midi2.Endpoints.Loopback +parent: Midi2.Endpoints.Loopback has_children: false --- # MidiLoopbackEndpointManager -## Remarks +## Static Functions -The MidiService class contains a number of static functions which enable working with the service outside of a specific session. - -## Loopback Endpoints - -| `CreateTemporaryLoopbackEndpoints(Guid, MidiServiceLoopbackEndpointDefinition, MidiServiceLoopbackEndpointDefinition)` | Create a pair of loopback endpoints which will live until removed through the API or the service is restarted. | -| `RemoveTemporaryLoopbackEndpoints(Guid)` | Remove a pair of temporary loopback endpoints when provided their association Id Guid. | +| Function | Description | +| -------- | ----------- | +| `CreateTransientLoopbackEndpoints(MidiLoopbackEndpointCreationConfig)` | Create a pair of loopback endpoints which will live until removed through the API or the service is restarted. | +| `RemoveTemporaryLoopbackEndpoints(MidiLoopbackEndpointDeletionConfig)` | Remove a pair of temporary loopback endpoints when provided their association Id Guid. | Applications creating endpoints for app-to-app MIDI should generally use the Virtual Device support built into the API. However, applications may need to create lightweight loopback endpoints without the protocol negotiation, MIDI 2.0 discovery process, and lifetime management provided by the Virtual Device support. For those scenarios, we have a simple loopback endpoint type. Loopback endpoints created by the user and stored in the configuration file will persist after the service is restarted or the PC rebooted. Loopback endpoints created through this API call are temporary, and will disappear if the service is restarted. In both cases, this feature requires that the loopback endpoint transport is installed and enabled. -## See also +## IDL -[MidiService IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiService.idl) \ No newline at end of file +[MidiLoopbackEndpointManager IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-loopback/MidiLoopbackEndpointManager.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-endpoint-loopback/MidiServiceEndpointDefinition.md b/docs/sdk-winrt-endpoint-loopback/MidiServiceEndpointDefinition.md index 911253a08..173d884ee 100644 --- a/docs/sdk-winrt-endpoint-loopback/MidiServiceEndpointDefinition.md +++ b/docs/sdk-winrt-endpoint-loopback/MidiServiceEndpointDefinition.md @@ -1,13 +1,12 @@ --- layout: api_page title: MidiServiceLoopbackEndpointDefinition -parent: Microsoft.Devices.Midi2.Endpoints.Loopback +parent: Midi2.Endpoints.Loopback has_children: false --- # MidiServiceLoopbackEndpointDefinition -This class defines the properties of an endpoint which can be created at runtime. For example, a loopback endpoint. ## Properties @@ -19,5 +18,4 @@ This class defines the properties of an endpoint which can be created at runtime ## IDL -[MidiServiceLoopbackEndpointDefinition IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiServiceLoopbackEndpointDefinition.idl) - +[MidiServiceLoopbackEndpointDefinition IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-loopback/MidiServiceLoopbackEndpointDefinition.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-endpoint-loopback/MidiServiceLoopbackEndpointCreationResult.md b/docs/sdk-winrt-endpoint-loopback/MidiServiceLoopbackEndpointCreationResult.md index 89d1776b3..da8dbdb91 100644 --- a/docs/sdk-winrt-endpoint-loopback/MidiServiceLoopbackEndpointCreationResult.md +++ b/docs/sdk-winrt-endpoint-loopback/MidiServiceLoopbackEndpointCreationResult.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiServiceLoopbackEndpointCreationResult -parent: Microsoft.Devices.Midi2.Endpoints.Loopback +parent: Midi2.Endpoints.Loopback has_children: false --- diff --git a/docs/sdk-winrt-endpoint-loopback/README.md b/docs/sdk-winrt-endpoint-loopback/README.md index 1ef544e63..bea97882d 100644 --- a/docs/sdk-winrt-endpoint-loopback/README.md +++ b/docs/sdk-winrt-endpoint-loopback/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Service -parent: Microsoft.Devices.Midi2.Endpoints.Loopback +parent: Midi2.Endpoints.Loopback has_children: true --- diff --git a/docs/sdk-winrt-endpoint-virtual/MidiStreamConfigurationRequestReceivedEventArgs.md b/docs/sdk-winrt-endpoint-virtual/MidiStreamConfigurationRequestReceivedEventArgs.md index 053c2941c..b8368e86f 100644 --- a/docs/sdk-winrt-endpoint-virtual/MidiStreamConfigurationRequestReceivedEventArgs.md +++ b/docs/sdk-winrt-endpoint-virtual/MidiStreamConfigurationRequestReceivedEventArgs.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiStreamConfigurationRequestReceivedEventArgs -parent: Microsoft.Devices.Midi2.Endpoints.Virtual +parent: Midi2.Endpoints.Virtual has_children: false --- @@ -11,4 +11,4 @@ has_children: false ## IDL -[MidiStreamConfigurationRequestReceivedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiStreamConfigurationRequestReceivedEventArgs.idl) +[MidiStreamConfigurationRequestReceivedEventArgs IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-virtual/MidiStreamConfigurationRequestReceivedEventArgs.idl) diff --git a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDevice.md b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDevice.md index 2bc43e597..7e6a93ec0 100644 --- a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDevice.md +++ b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDevice.md @@ -1,19 +1,20 @@ --- layout: api_page -title: MidiVirtualEndpointDevice -parent: Microsoft.Devices.Midi2.Endpoints.Virtual +title: MidiVirtualDevice +parent: Midi2.Endpoints.Virtual has_children: false --- -# MidiVirtualEndpointDevice - -The `MidiVirtualEndpointDeviceDefinition` class specifies, in an easy to use format, the responses for discovery and protocol negotiation, as well as the properties to use when constructing the device endpoint. +# MidiVirtualDevice ## Properties | Property | Description | | --------------- | ----------- | -| `DeviceDefinition` | The MidiVirtualEndpointDeviceDefinition used to create this device. This should be treated as read-only data. | +| `DeviceEndpointDeviceId` | The EndpointDeviceId to be used by the app creating the virtual device | +| `ClientEndpointDeviceId` | The EndpointDeviceId to be used by apps which want to connect to this virtual device | + + | `FunctionBlocks` | Current list of function blocks for this device. | | `SuppressHandledMessages` | True if the protocol messages handled by this class should be filtered out of the incoming message stream | @@ -28,8 +29,8 @@ The `MidiVirtualEndpointDeviceDefinition` class specifies, in an easy to use for | Event | Description | | --------------- | ----------- | -| `StreamConfigurationRequestReceived(device, args)` | Raised when this device receives a Stream Configuration Request UMP message. | +| `StreamConfigRequestReceived(device, args)` | Raised when this device receives a Stream Configuration Request UMP message. | ## IDL -[MidiVirtualEndpointDevice IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiVirtualEndpointDevice.idl) +[MidiVirtualDevice IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-virtual/MidiVirtualDevice.idl) diff --git a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.md b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.md new file mode 100644 index 000000000..781b9b01e --- /dev/null +++ b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceCreationConfig.md @@ -0,0 +1,30 @@ +--- +layout: api_page +title: MidiVirtualDeviceCreationConfig +parent: Midi2.Endpoints.Virtual +has_children: false +--- + +# MidiVirtualDeviceCreationConfig + +The `MidiVirtualDeviceCreationConfig` class specifies, in an easy to use format, the responses for endpoint discovery as well as the properties to use when constructing the device endpoint. + +## Properties + +| Property | Description | +| --------------- | ----------- | +| `Name` | The transport-supplied name to use for this device | +| `Description` | The transport-supplied description to use for this device | +| `Manufacturer` | The transport-supplied manufacturer name to use for this device | +| `DeclaredDeviceIdentity` | The `MidiDeclaredDeviceIdentity` to use for responding to MIDI 2.0 endpoint discovery | +| `DeclaredEndpointInfo` | The `MidiDeclaredEndpointInfo` to use for responding to MIDI 2.0 endpoint discovery | +| `UserSuppliedInfo` | Any user-supplied information for this endpoint | +| `FunctionBlocks` | The set of function blocks to be declared for this endpoint | + +## Sample + +[Full Example](https://github.com/microsoft/MIDI/tree/main/samples/csharp-net/app-to-app-midi-cs) + +## IDL + +[MidiVirtualDeviceCreationConfig IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-virtual/MidiVirtualDeviceCreationConfig.idl) diff --git a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceCreationConfiguration.md b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceCreationConfiguration.md deleted file mode 100644 index 076483fe0..000000000 --- a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceCreationConfiguration.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -layout: api_page -title: MidiVirtualEndpointDeviceDefinition -parent: Microsoft.Devices.Midi2.Endpoints.Virtual -has_children: false ---- - -# MidiVirtualEndpointDeviceDefinition - -The `MidiVirtualEndpointDeviceDefinition` class specifies, in an easy to use format, the responses for discovery and protocol negotiation, as well as the properties to use when constructing the device endpoint. - -## Properties - -| Property | Description | -| --------------- | ----------- | -| `EndpointName` | Name of the endpoint used for both the device enumeration and for responding to the endpoint name request UMP message | -| `EndpointProductInstanceId` | The unique identifier for this device. This value is used when creating the device Id, and is also used as the response for endpoint discovery when the id is requested. In general, this value should be kept to less than 32 characters and not include any special characters or symbols | -| `SupportsMidi1ProtocolMessages` | For endpoint discovery. True if this endpoint supports MIDI 1.0 protocol messages over UMP | -| `SupportsMidi2ProtocolMessages` | For endpoint discovery. True if this endpoint supports MIDI 2.0 protocol messages over UMP | -| `SupportsReceivingJRTimestamps` | For endpoint discovery. True if this endpoint supports recieving JR timestamps (typically, you'll want to set this to false) | -| `SupportsSendingJRTimestamps` | For endpoint discovery. True if this endpoint supports sending JR timestamps (typically, you'll want to set this to false) | -| `DeviceManufacturerSystemExclusiveId` | MIDI 2.0 UMP Device Identity value| -| `DeviceFamilyLsb` | MIDI 2.0 UMP Device Identity value | -| `DeviceFamilyMsb` | MIDI 2.0 UMP Device Identity value | -| `DeviceFamilyModelLsb` | MIDI 2.0 UMP Device Identity value | -| `DeviceFamilyModelMsb` | MIDI 2.0 UMP Device Identity value | -| `SoftwareRevisionLevel` | MIDI 2.0 UMP Device Identity value | -| `AreFunctionBlocksStatic` | True if the function blocks will not change in any way | -| `FunctionBlocks` | list of function blocks for this device | -| `TransportSuppliedDescription` | The description for the endpoint. Optional. | - -## Functions - -| Function | Description | -| --------------- | ----------- | -| `MidiVirtualEndpointDeviceDefinition()` | Construct a new device definition | - - -## Example - -```cs -var deviceDefinition = new Windows.Devices.Midi2.MidiVirtualEndpointDeviceDefinition(); - -// Define the first function block -deviceDefinition.FunctionBlocks.Add(new Windows.Devices.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 -}); - -// Define the section function block -deviceDefinition.FunctionBlocks.Add(new Windows.Devices.Midi2.MidiFunctionBlock() -{ - Number = 1, - IsActive = true, - Name = "Controller", - 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; - -// ... - -// Create the device and return the connection to that device. Once you -// call Open() on the connection, the client-visible endpoint will be -// enumerated and available for use. -_connection = _session.CreateVirtualDeviceAndConnection(deviceDefinition); -``` - -[Full Example](https://github.com/microsoft/MIDI/tree/main/samples/csharp-net/app-to-app-midi-cs) - -## IDL - -[MidiVirtualEndpointDeviceDefinition IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiVirtualEndpointDeviceDefinition.idl) diff --git a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceManager.md b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceManager.md index 5b0bc2112..496718590 100644 --- a/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceManager.md +++ b/docs/sdk-winrt-endpoint-virtual/MidiVirtualDeviceManager.md @@ -1,58 +1,16 @@ --- layout: api_page -title: MidiService -parent: Microsoft.Devices.Midi2.Endpoints.Virtual +title: MidiVirtualDeviceManager +parent: Midi2.Endpoints.Virtual has_children: false --- -# MidiService +# MidiVirtualDeviceManager ## Remarks -The MidiService class contains a number of static functions which enable working with the service outside of a specific session. -## Static Methods - -### Service Health - -| `IsAvailable()` | Returns true of Windows MIDI Services is available on this PC. Calling this function is typically the first step in using Windows MIDI Services in your application. | -| `PingService(UInt8)` | Send the specified count of ping messages to the ping endpoint and report on the status and time. Return if the responses are not received in an internally calculated timeout period. | -| `PingService(UInt8, UInt32)` | Send the specified count of ping messages to the ping endpoint and report on the status and time. Return if responses are not received in the specified timeout period (milliseconds). | - -Pinging the Windows service uses the same mechanism as sending any UMP message. The actual message sent is a prioprietary message. (At the time this was created, there was no standard MIDI 2.0 UMP ping message). The message itself is sent to the diagnostics endpoint in the service, which is implemented like any other transport. Therefore, the speed of the pings here and the success of the ping process is a reasonable indicator of service, cross-process queue, and client API health. - -The diagnostic ping endpoint does not understand any other type of message, and should not be used by applications other than through the ping functions here. - -The ping does not tell you if a specific transport or device is in a bad state. For example, if a specific USB MIDI device has crashed, this ping message will still work because it is not sent out over USB. - -Here's an example of ping responses through the MIDI console app - -![MIDI Console Ping](./console-ping.png) - -### Reporting - -| `GetInstalledTransportPlugins()` | Returns a list of `MidiServiceTransportPluginInformation` representing all service transport plugins (also called Abstractions) | -| `GetInstalledMessageProcessingPlugins()` | Returns a list of `MidiServiceMessageProcessingPluginInformation` objects representing all service message processing plugins (also called Transforms) | -| `GetActiveSessions()` | Returns a list of `MidiSessionInformation` detailing all active Windows MIDI Services sessions on this PC. | - -### Loopback Endpoints - -| `CreateTemporaryLoopbackEndpoints(Guid, MidiServiceLoopbackEndpointDefinition, MidiServiceLoopbackEndpointDefinition)` | Create a pair of loopback endpoints which will live until removed through the API or the service is restarted. | -| `RemoveTemporaryLoopbackEndpoints(Guid)` | Remove a pair of temporary loopback endpoints when provided their association Id Guid. | - -Applications creating endpoints for app-to-app MIDI should generally use the Virtual Device support built into the API. However, applications may need to create lightweight loopback endpoints without the protocol negotiation, MIDI 2.0 discovery process, and lifetime management provided by the Virtual Device support. For those scenarios, we have a simple loopback endpoint type. - -Loopback endpoints created by the user and stored in the configuration file will persist after the service is restarted or the PC rebooted. Loopback endpoints created through this API call are temporary, and will disappear if the service is restarted. In both cases, this feature requires that the loopback endpoint transport is installed and enabled. - -### Runtime Configuration - -| `UpdateTransportPluginConfiguration(IMidiServiceTransportPluginConfiguration)` | Sends an update to the service to be used by a transport plugin ("Abstraction") | -| `UpdateProcessingPluginConfiguration(IMidiServiceMessageProcessingPluginConfiguration)` | Sends an update to the service to be used by a message processing plugin ("Transform") | - -For plugins which support updates at runtime, developers of those plugins should create configuration WinRT types which implement the required configuration interfaces, and create the JSON that is used in the service. In this way, third-party service transport and message processing plugins can be created and configured without changes to the API. - -> Note: In version 1 of the API, only transports can be configured at runtime. We're working on enabling configuration of message processing plugins. The API is a no-op. ## See also -[MidiService IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiService.idl) \ No newline at end of file +[MidiVirtualDeviceManager IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-endpoints-virtual/MidiVirtualDeviceManager.idl) \ No newline at end of file diff --git a/docs/sdk-winrt-endpoint-virtual/README.md b/docs/sdk-winrt-endpoint-virtual/README.md index f0c6e5e72..9d8d88c95 100644 --- a/docs/sdk-winrt-endpoint-virtual/README.md +++ b/docs/sdk-winrt-endpoint-virtual/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Virtual Devices -parent: Microsoft.Devices.Midi2.Endpoints.Virtual +parent: Midi2.Endpoints.Virtual has_children: true --- diff --git a/docs/sdk-winrt-messages/Midi1ChannelVoiceMessageStatusEnum.md b/docs/sdk-winrt-messages/Midi1ChannelVoiceMessageStatusEnum.md index 563eca648..d333bd272 100644 --- a/docs/sdk-winrt-messages/Midi1ChannelVoiceMessageStatusEnum.md +++ b/docs/sdk-winrt-messages/Midi1ChannelVoiceMessageStatusEnum.md @@ -1,8 +1,7 @@ --- layout: api_page title: Midi1ChannelVoiceMessageStatus -parent: Messages -grand_parent: Windows.Devices.Midi2 API +parent: Midi2.Messages has_children: false --- @@ -24,4 +23,4 @@ Status to use for MIDI 1.0 Channel Voice messages. Note that not all MIDI 1.0 me ## IDL -[Midi1ChannelVoiceMessageStatusEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/Midi1ChannelVoiceMessageStatusEnum.idl) +[Midi1ChannelVoiceMessageStatus IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/Midi1ChannelVoiceMessageStatusEnum.idl) diff --git a/docs/sdk-winrt-messages/Midi2ChannelVoiceMessageStatusEnum.md b/docs/sdk-winrt-messages/Midi2ChannelVoiceMessageStatusEnum.md index 6d86282ac..d1adabb2e 100644 --- a/docs/sdk-winrt-messages/Midi2ChannelVoiceMessageStatusEnum.md +++ b/docs/sdk-winrt-messages/Midi2ChannelVoiceMessageStatusEnum.md @@ -1,8 +1,7 @@ --- layout: api_page title: Midi2ChannelVoiceMessageStatus -parent: Messages -grand_parent: Windows.Devices.Midi2 API +parent: Midi2.Messages has_children: false --- @@ -32,4 +31,4 @@ Status to use for MIDI 2.0 Channel Voice messages. These are message type 4 mess ## IDL -[Midi2ChannelVoiceMessageStatusEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/Midi2ChannelVoiceMessageStatusEnum.idl) +[Midi2ChannelVoiceMessageStatus IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/Midi2ChannelVoiceMessageStatusEnum.idl) diff --git a/docs/sdk-winrt-messages/MidiEndpointDiscoveryRequestsEnum.md b/docs/sdk-winrt-messages/MidiEndpointDiscoveryRequestsEnum.md new file mode 100644 index 000000000..75b06f5ca --- /dev/null +++ b/docs/sdk-winrt-messages/MidiEndpointDiscoveryRequestsEnum.md @@ -0,0 +1,26 @@ +--- +layout: api_page +title: MidiEndpointDiscoveryRequests +parent: Midi2.Messages +has_children: false +--- + +# MidiEndpointDiscoveryFilterFlags Enumeration + +Used to indicate which endpoint discovery messages you want to receive when you query an endpoint. + +## Properties + +| Property | Value | Description | +| -------- | ------- | ------ | +| `None` | `0x00000000` | Request nothing. | +| `RequestEndpointInformation` | `0x00000001` | Request the details of the endpoint. | +| `RequestDeviceIdentity` | `0x00000002` | Request identity information including System Exclusive Ids and version information | +| `RequestEndpointName` | `0x00000004` | Request endpoint name messages | +| `RequestProductInstanceId` | `0x00000008` | Request product instance id messages | +| `RequestStreamConfiguration` | `0x00000010` | Request the stream configuration | + + +## IDL + +[MidiEndpointDiscoveryRequests IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiEndpointDiscoveryRequestsEnum.idl) diff --git a/docs/sdk-winrt-messages/MidiFunctionBlockDiscoveryRequestsEnum.md b/docs/sdk-winrt-messages/MidiFunctionBlockDiscoveryRequestsEnum.md new file mode 100644 index 000000000..ab28def5f --- /dev/null +++ b/docs/sdk-winrt-messages/MidiFunctionBlockDiscoveryRequestsEnum.md @@ -0,0 +1,22 @@ +--- +layout: api_page +title: MidiFunctionBlockDiscoveryRequests +parent: Midi2.Messages +has_children: false +--- + +# MidiFunctionBlockDiscoveryFilterFlags Enumeration + +Used to indicate which function block messages you want to receive when you request function blocks. + +## Properties + +| Property | Value | Description | +| -------- | ------- | ------ | +| `None` | `0x00000000` | No information requested | +| `RequestFunctionBlockInformation` | `0x00000001` | Request the core function block information | +| `RequestFunctionBlockName` | `0x00000002` | Request a set of function block name messages | + +## IDL + +[MidiFunctionBlockDiscoveryRequests IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiFunctionBlockDiscoveryRequestsEnum.idl) diff --git a/docs/sdk-winrt-messages/MidiMessageBuilder.md b/docs/sdk-winrt-messages/MidiMessageBuilder.md index 278cb9f5b..f13155f98 100644 --- a/docs/sdk-winrt-messages/MidiMessageBuilder.md +++ b/docs/sdk-winrt-messages/MidiMessageBuilder.md @@ -1,23 +1,29 @@ --- layout: api_page title: MidiMessageBuilder -parent: Microsoft.Devices.Midi2.Messages +parent: Midi2.Messages has_children: false --- # MidiMessageBuilder -(In progress) +This class includes static functions to assist in constructing common message types. -## Functions +## Static Functions | Function | Description | | --------------- | ----------- | -| | | -| | | -| | | -| | | +| `BuildUtilityMessage` | Returns a `MidiMessage32` with the provided data. | +| `BuildSystemMessage` | Returns a `MidiMessage32` with the provided data. | +| `BuildMidi1ChannelVoiceMessage` | Returns a `MidiMessage32` with the provided data. | +| `BuildSystemExclusive7Message` | Returns a `MidiMessage64` with the provided data. | +| `BuildMidi2ChannelVoiceMessage` | Returns a `MidiMessage64` with the provided data. | +| `BuildSystemExclusive8Message` | Returns a `MidiMessage128` with the provided data. | +| `BuildMixedDataSetChunkHeaderMessage` | Returns a `MidiMessage128` with the provided data. | +| `BuildMixedDataSetChunkDataMessage` | Returns a `MidiMessage128` with the provided data. | +| `BuildFlexDataMessage` | Returns a `MidiMessage128` with the provided data. | +| `BuildStreamMessage` | Returns a `MidiMessage128` with the provided data. | ## IDL -[MidiMessageBuilder IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageBuilder.idl) +[MidiMessageBuilder IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiMessageBuilder.idl) diff --git a/docs/sdk-winrt-messages/MidiMessageConverter.md b/docs/sdk-winrt-messages/MidiMessageConverter.md index 0a19ec85a..d8f748e4e 100644 --- a/docs/sdk-winrt-messages/MidiMessageConverter.md +++ b/docs/sdk-winrt-messages/MidiMessageConverter.md @@ -1,7 +1,7 @@ --- layout: api_page title: MidiMessageConverter -parent: Microsoft.Devices.Midi2.Messages +parent: Midi2.Messages has_children: false --- @@ -45,5 +45,5 @@ This class provides support for representing MIDI 1.0 messages in the Universal ## IDL -[MidiMessageConverter IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageConverter.idl) +[MidiMessageConverter IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiMessageConverter.idl) diff --git a/docs/sdk-winrt-messages/MidiMessageHelper.md b/docs/sdk-winrt-messages/MidiMessageHelper.md new file mode 100644 index 000000000..14bc1a8e6 --- /dev/null +++ b/docs/sdk-winrt-messages/MidiMessageHelper.md @@ -0,0 +1,68 @@ +--- +layout: api_page +title: MidiMessageHelper +parent: Midi2.Messages +has_children: false +--- + +# MidiMessageHelper + +(TODO: This page is not complete) + +This class contains a number of static helper functions for reading information from Universal MIDI Packets, and also manipulating that information. + +In most cases, the calling application needs to do some validation before calling functions which return specific fields. If, for example, the application asks for the Flex Data Status, but doesn't provide a valid Flex Data message, the function will happily return whatever other data is in the position of that field. + +## Validation Functions + +| Function | Description | +| --------------- | ----------- | +| `ValidateMessage32MessageType(word0)` | Validate that the message type field in the word is for a 32-bit UMP | +| `ValidateMessage64MessageType(word0)` | Validate that the message type field in the word is for a 64-bit UMP | +| `ValidateMessage96MessageType(word0)` | Validate that the message type field in the word is for a 96-bit UMP | +| `ValidateMessage128MessageType(word0)` | Validate that the message type field in the word is for a 128-bit UMP | + +## Informational Functions + +| Function | Description | +| --------------- | ----------- | +| `MessageTypeHasGroupField(messageType)` | Returns true if the message type is known to be one which contains a group field. Valid only for message types known at the type the API was written. | +| `MessageTypeHasChannelField(messageType)` | Returns true if the message type is known to be one which contains a channel field. Valid only for message types known at the type the API was written. | + +## Field Access Functions + +| Function | Description | +| --------------- | ----------- | +| `GetMessageTypeFromMessageFirstWord(word0)` | Returns the `MidiMessageType` for the message | +| `GetPacketTypeFromMessageFirstWord(word0)` | Returns the `MidiPacketType` for the message | +| `GetGroupFromMessageFirstWord(word0)` | Returns the `MidiGroup` for the message. First check to see if the message type has a group field. | +| `GetChannelFromMessageFirstWord(word0)` | Returns the `MidiChannel` for the message. First check to see if the message type has a channel field. | +| `GetStatusFromUtilityMessage(word0)` | Returns the status byte | +| `GetStatusFromMidi1ChannelVoiceMessage(word0)` | When provided a MIDI 1.0 channel voice message, returns the `Midi1ChannelVoiceMessageStatus` for the message. | +| `GetStatusFromMidi2ChannelVoiceMessageFirstWord(word0)` | When provided a MIDI 2.0 channel voice message, returns the `Midi2ChannelVoiceMessageStatus` for the message. | +| `GetStatusBankFromFlexDataMessageFirstWord(word0)` | Returns the status bank byte | +| `GetStatusFromFlexDataMessageFirstWord(word0)` | Returns the status byte | +| `GetStatusFromSystemCommonMessage(word0)` | Returns the status byte | +| `GetStatusFromDataMessage64FirstWord(word0)` | Returns the status byte | +| `GetNumberOfBytesFromDataMessage64FirstWord(word0)` | Returns the byte count field | +| `GetStatusFromDataMessage128FirstWord(word0)` | Returns the status byte | +| `GetNumberOfBytesFromDataMessage128FirstWord(word0)` | Returns the byte count field | +| `GetFormFromStreamMessageFirstWord(word0)` | Returns the form nibble as a byte | +| `GetStatusFromStreamMessageFirstWord(word0)` | Returns the status byte | + +## Field Manipulation Functions + +| Function | Description | +| --------------- | ----------- | +| `ReplaceGroupInMessageFirstWord(word0, newGroup)` | Replaces the group field in word0 and returns the resulting MIDI word | +| `ReplaceChannelInMessageFirstWord(word0, newChannel)` | Replaces the channel field in word0 and returns the resulting MIDI word | + +## Additional Functions + +| Function | Description | +| --------------- | ----------- | +| `GetMessageDisplayNameFromFirstWord(UInt32 word0)` | Returns the localized "Friendly Name" string for a message. For example, this is what is displayed in the console output when you are monitoring an endpoint in verbose mode. | + +## IDL + +[MidiMessageUtility IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiMessageHelper.idl) diff --git a/docs/sdk-winrt-messages/MidiMessageUtility.md b/docs/sdk-winrt-messages/MidiMessageUtility.md deleted file mode 100644 index 31acfe4b9..000000000 --- a/docs/sdk-winrt-messages/MidiMessageUtility.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -layout: api_page -title: MidiMessageUtility -parent: Microsoft.Devices.Midi2.Messages -has_children: false ---- - -# MidiMessageUtility - -This class contains a number of static helper functions for reading information from Universal MIDI Packets, and also manipulating that information. - -In most cases, the calling application needs to do some validation before calling functions which return specific fields. If, for example, the application asks for the Flex Data Status, but doesn't provide a valid Flex Data message, the function will happily return whatever other data is in the position of that field. - -## Validation Functions - -| Function | Description | -| --------------- | ----------- | -| `ValidateMessage32MessageType(word0)` | Validate that the message type field in the word is for a 32-bit UMP | -| `ValidateMessage64MessageType(word0)` | Validate that the message type field in the word is for a 64-bit UMP | -| `ValidateMessage96MessageType(word0)` | Validate that the message type field in the word is for a 96-bit UMP | -| `ValidateMessage128MessageType(word0)` | Validate that the message type field in the word is for a 128-bit UMP | - -## Informational Functions - -| Function | Description | -| --------------- | ----------- | -| `MessageTypeHasGroupField(messageType)` | Returns true if the message type is known to be one which contains a group field. Valid only for message types known at the type the API was written. | -| `MessageTypeHasChannelField(messageType)` | Returns true if the message type is known to be one which contains a channel field. Valid only for message types known at the type the API was written. | - -## Field Access Functions - -| Function | Description | -| --------------- | ----------- | -| `GetMessageTypeFromMessageFirstWord(word0)` | Returns the `MidiMessageType` for the message | -| `GetPacketTypeFromMessageFirstWord(word0)` | Returns the `MidiPacketType` for the message | -| `GetGroupFromMessageFirstWord(word0)` | Returns the `MidiGroup` for the message. First check to see if the message type has a group field. | -| `GetChannelFromMessageFirstWord(word0)` | Returns the `MidiChannel` for the message. First check to see if the message type has a channel field. | -| `GetStatusFromUtilityMessage(word0)` | Returns the status byte | -| `GetStatusFromMidi1ChannelVoiceMessage(word0)` | When provided a MIDI 1.0 channel voice message, returns the `Midi1ChannelVoiceMessageStatus` for the message. | -| `GetStatusFromMidi2ChannelVoiceMessageFirstWord(word0)` | When provided a MIDI 2.0 channel voice message, returns the `Midi2ChannelVoiceMessageStatus` for the message. | -| `GetStatusBankFromFlexDataMessageFirstWord(word0)` | Returns the status bank byte | -| `GetStatusFromFlexDataMessageFirstWord(word0)` | Returns the status byte | -| `GetStatusFromSystemCommonMessage(word0)` | Returns the status byte | -| `GetStatusFromDataMessage64FirstWord(word0)` | Returns the status byte | -| `GetNumberOfBytesFromDataMessage64FirstWord(word0)` | Returns the byte count field | -| `GetStatusFromDataMessage128FirstWord(word0)` | Returns the status byte | -| `GetNumberOfBytesFromDataMessage128FirstWord(word0)` | Returns the byte count field | -| `GetFormFromStreamMessageFirstWord(word0)` | Returns the form nibble as a byte | -| `GetStatusFromStreamMessageFirstWord(word0)` | Returns the status byte | - -## Field Manipulation Functions - -| Function | Description | -| --------------- | ----------- | -| `ReplaceGroupInMessageFirstWord(word0, newGroup)` | Replaces the group field in word0 and returns the resulting MIDI word | -| `ReplaceChannelInMessageFirstWord(word0, newChannel)` | Replaces the channel field in word0 and returns the resulting MIDI word | - -## Additional Functions - -| Function | Description | -| --------------- | ----------- | -| `GetMessageFriendlyNameFromFirstWord(UInt32 word0)` | Returns the localized "Friendly Name" string for a message. For example, this is what is displayed in the console output when you are monitoring an endpoint in verbose mode. | - -## IDL - -[MidiMessageUtility IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiMessageUtility.idl) diff --git a/docs/sdk-winrt-messages/MidiStreamMessageBuilder.md b/docs/sdk-winrt-messages/MidiStreamMessageBuilder.md index 442b2371a..c727c81c9 100644 --- a/docs/sdk-winrt-messages/MidiStreamMessageBuilder.md +++ b/docs/sdk-winrt-messages/MidiStreamMessageBuilder.md @@ -1,23 +1,35 @@ --- layout: api_page title: MidiStreamMessageBuilder -parent: Microsoft.Devices.Midi2.Messages +parent: Midi2.Messages has_children: false --- # MidiStreamMessageBuilder -(In progress) +Most of the message builders in this class will not be needed by typical applications outside of those used for virtual devices. -## Functions +## Static Functions + +(TODO: This section is not complete) | Function | Description | | --------------- | ----------- | -| | | -| | | -| | | -| | | +| `BuildEndpointDiscoveryMessage` | | +| `BuildEndpointInfoNotificationMessage` | | +| `BuildDeviceIdentityNotificationMessage` | | +| `BuildEndpointNameNotificationMessages` | | +| `BuildProductInstanceIdNotificationMessages` | | +| `ParseEndpointNameNotificationMessages` | | +| `ParseProductInstanceIdNotificationMessages` | | +| `BuildStreamConfigurationRequestMessage` | | +| `BuildStreamConfigurationNotificationMessage` | | +| `BuildFunctionBlockDiscoveryMessage` | | +| `BuildFunctionBlockInfoNotificationMessage` | | +| `BuildFunctionBlockNameNotificationMessages` | | +| `ParseFunctionBlockNameNotificationMessages` | | + ## IDL -[MidiStreamMessageBuilder IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiStreamMessageBuilder.idl) +[MidiStreamMessageBuilder IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiStreamMessageBuilder.idl) diff --git a/docs/sdk-winrt-messages/MidiSystemExclusive8StatusEnum.md b/docs/sdk-winrt-messages/MidiSystemExclusive8StatusEnum.md index 23545c554..a969899e2 100644 --- a/docs/sdk-winrt-messages/MidiSystemExclusive8StatusEnum.md +++ b/docs/sdk-winrt-messages/MidiSystemExclusive8StatusEnum.md @@ -1,8 +1,7 @@ --- layout: api_page title: MidiSystemExclusive8Status -parent: Messages -grand_parent: Windows.Devices.Midi2 API +parent: Midi2.Messages has_children: false --- @@ -21,4 +20,4 @@ Used to indicate the type of System Exclusive 8 Universal MIDI Packet (UMP) as p ## IDL -[MidiSystemExclusive8StatusEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiSystemExclusive8StatusEnum.idl) +[MidiSystemExclusive8StatusEnum IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-messages/MidiSystemExclusive8StatusEnum.idl) diff --git a/docs/sdk-winrt-messages/README.md b/docs/sdk-winrt-messages/README.md index e56adcf0c..06c486229 100644 --- a/docs/sdk-winrt-messages/README.md +++ b/docs/sdk-winrt-messages/README.md @@ -1,7 +1,7 @@ --- layout: api_group_page title: Message Utilities -parent: Microsoft.Devices.Midi2.Messages +parent: Midi2.Messages has_children: true --- diff --git a/docs/sdk-winrt-plugins/MidiChannelEndpointListener.md b/docs/sdk-winrt-plugins/MidiChannelEndpointListener.md deleted file mode 100644 index 113e35deb..000000000 --- a/docs/sdk-winrt-plugins/MidiChannelEndpointListener.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -layout: api_page -title: MidiChannelEndpointListener -parent: Microsoft.Devices.Midi2.ClientPlugins -has_children: false ---- - -# MidiChannelEndpointListener - -This class acts as a filter. Incoming messages with the specified group and channel will be provided through the `MessageReceived` event. Other messages will be ignored. - -In addition to the properties and methods in `IMidiEndpointMessageProcessingPlugin`, and the MessageReceived event from `IMidiMessageReceivedEventSource` the class provides the following: - -## Properties - -| Property | Description | -| ---- | ---- | -| `IncludeGroup` | The `MidiGroup` that this listener will listen to. | -| `IncludeChannels` | The channels that this listener will listen to on the group. | -| `PreventCallingFurtherListeners` | True if this plugin should prevent further listeners from processing a message that is in-scope for this processor. | -| `PreventFiringMainMessageReceivedEvent` | True if this plugin should prevent the endpoint's `MessageReceived` event from firing if the message was in-scope for this plugin. | - -## Functions - -| Property | Description | -| ---- | ---- | -| `MidiChannelEndpointListener()` | Construct a new instance of this type | - -## Example - -```cpp -// set up your message receive handler and create your connection -// before setting up the individual message listeners. The event -// handler has the same signature as the main message received -// event on the connection. - -midi2::MidiChannelEndpointListener channelsListener; - -// listening to channels generally only makes sense if you also -// specify the group you are listening to. -channelsListener.IncludeGroup(midi2::MidiGroup(5)); - -// add the channels you are listening to. Any messages which do -// not have channels will not be raised through the event here. -channelsListener.IncludeChannels().Append(midi2::MidiChannel(3)); -channelsListener.IncludeChannels().Append(midi2::MidiChannel(7)); - -// set this if you don't want the main message received event on the -// connection to fire for any messages this plugin handles. -channelsListener.PreventFiringMainMessageReceivedEvent(true); - -auto channelMessagesReceivedEventToken = channelsListener.MessageReceived(MyMessageReceivedHandler); - -myConnection.AddMessageProcessingPlugin(channelsListener); - -// open after setting up the plugin so you don't miss any messages -myConnection.Open(); - -// ... -``` - -## IDL - -[MidiChannelEndpointListener IDL](https://github.com/microsoft/MIDI/blob/main/src/api/Client/Midi2Client/MidiChannelEndpointListener.idl) diff --git a/docs/sdk-winrt-plugins/README.md b/docs/sdk-winrt-plugins/README.md deleted file mode 100644 index e3230a542..000000000 --- a/docs/sdk-winrt-plugins/README.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: api_group_page -title: Microsoft.Devices.Midi2.ClientPlugins -has_children: true ---- - -# Client-side Processing Plugins - -Connections allocate service resources (time and memory), so we recommend applications maintain only a single connection to an endpoint within any session. But because the new endpoint stream-focused approach aggregates what used to be considered ports, we provide processing plugins to parcel out the incoming messages based on criteria set by the application. In this way, an application can have the logical equivalent of several input ports, without the associated resource usage. - -MIDI 1.0 had the concept of ports. Each port was just a single cable/jack from a MIDI stream exposed by the device. The API and driver were responsible for merging all of the different cables into the single stream for outgoing data, or pulling them apart for incoming data. - -In MIDI 2.0, what used to be a Port is now morally equivalent to a Group address in the message data. Instead of speaking to N different enumerated entities for a device, the application speaks to a single bidirectional UMP endpoint which aggregates all of this information, much like the driver did behind the scenes in MIDI 1.0. We recognize that there are cases when the old model of MIDI Ports is more convenient for passing around in a DAW or similar app, particularly for incoming data. - -To help, there are plugins which implement `IMidiEndpointMessageProcessingPlugin`. The API includes a few stock plugins, but developers are free to provide their own. - -Listener instances are 1:1 with endpoint connections. We don't support using the same listener on multiple endpoints. - diff --git a/docs/sdk-winrt-service-config/IMidiServiceMessageProcessingPluginConfig.md b/docs/sdk-winrt-service-config/IMidiServiceMessageProcessingPluginConfig.md new file mode 100644 index 000000000..ad6c9ade2 --- /dev/null +++ b/docs/sdk-winrt-service-config/IMidiServiceMessageProcessingPluginConfig.md @@ -0,0 +1,14 @@ +--- +layout: api_page +title: IMidiServiceMessageProcessingPluginConfig +parent: Midi2.ServiceConfig +has_children: false +--- + +# IMidiServiceMessageProcessingPluginConfig + +(TODO: This section is not complete) + +## IDL + +[IMidiServiceMessageProcessingPluginConfig IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-service-config/IMidiServiceMessageProcessingPluginConfig.idl) diff --git a/docs/sdk-winrt-service-config/IMidiServiceTransportPluginConfig.md b/docs/sdk-winrt-service-config/IMidiServiceTransportPluginConfig.md new file mode 100644 index 000000000..39ff942eb --- /dev/null +++ b/docs/sdk-winrt-service-config/IMidiServiceTransportPluginConfig.md @@ -0,0 +1,14 @@ +--- +layout: api_page +title: IMidiServiceTransportPluginConfig +parent: Midi2.ServiceConfig +has_children: false +--- + +# IMidiServiceTransportPluginConfig + +(TODO: This section is not complete) + +## IDL + +[IMidiServiceTransportPluginConfig IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-service-config/IMidiServiceTransportPluginConfig.idl) diff --git a/docs/sdk-winrt-service-config/MidiServiceConfig.md b/docs/sdk-winrt-service-config/MidiServiceConfig.md new file mode 100644 index 000000000..b658516bf --- /dev/null +++ b/docs/sdk-winrt-service-config/MidiServiceConfig.md @@ -0,0 +1,27 @@ +--- +layout: api_page +title: MidiServiceConfig +parent: Midi2.ServiceConfig +has_children: false +--- + +# MidiServiceConfig + +## Remarks + +The MidiServiceConfig class contains methods which are typically used only by the client-side configuration components of transports and message transforms. The JSON in these messages must be understood by the service and known to the service transport/transform to be processed properly. + +## Static Functions + +| Property | Description | +| --------------- | ----------- | +| `UpdateTransportPluginConfiguration(IMidiServiceTransportPluginConfiguration)` | Sends an update to the service to be used by a transport plugin ("Abstraction") | +| `UpdateProcessingPluginConfiguration(IMidiServiceMessageProcessingPluginConfiguration)` | Sends an update to the service to be used by a message processing plugin ("Transform") | + +For plugins which support updates at runtime, developers of those plugins should create configuration WinRT types which implement the required configuration interfaces, and create the JSON that is used in the service. In this way, third-party service transport and message processing plugins can be created and configured without changes to the API. + +> Note: In version 1 of the API, only transports can be configured at runtime. We're working on enabling configuration of message processing plugins. The API is a no-op. + +## IDL + +[MidiServiceConfig IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-service-config/MidiService.idl) diff --git a/docs/sdk-winrt-service-config/MidiServiceConfigResponse.md b/docs/sdk-winrt-service-config/MidiServiceConfigResponse.md new file mode 100644 index 000000000..ec9471b0a --- /dev/null +++ b/docs/sdk-winrt-service-config/MidiServiceConfigResponse.md @@ -0,0 +1,14 @@ +--- +layout: api_page +title: MidiServiceConfigResponse +parent: Midi2.ServiceConfig +has_children: false +--- + +# MidiServiceConfigResponse + +(TODO: This section is not complete) + +## IDL + +[MidiServiceConfigResponse IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-service-config/MidiServiceConfigResponse.idl) diff --git a/docs/sdk-winrt-service-config/MidiServiceConfigResponseStatusEnum.md b/docs/sdk-winrt-service-config/MidiServiceConfigResponseStatusEnum.md new file mode 100644 index 000000000..1073be29b --- /dev/null +++ b/docs/sdk-winrt-service-config/MidiServiceConfigResponseStatusEnum.md @@ -0,0 +1,14 @@ +--- +layout: api_page +title: MidiServiceConfigResponseStatus +parent: Midi2.ServiceConfig +has_children: false +--- + +# MidiServiceConfigResponseStatus + +(TODO: This section is not complete) + +## IDL + +[MidiServiceConfigResponseStatus IDL](https://github.com/microsoft/MIDI/blob/main/src/app-sdk/winrt-service-config/MidiServiceConfigResponseStatusEnum.idl) diff --git a/docs/sdk-winrt-service-config/README.md b/docs/sdk-winrt-service-config/README.md new file mode 100644 index 000000000..e9fe351b7 --- /dev/null +++ b/docs/sdk-winrt-service-config/README.md @@ -0,0 +1,10 @@ +--- +layout: api_group_page +title: Midi2.ServiceConfig +has_children: true +--- + +# MIDI Service Configuration + + + diff --git a/docs/troubleshooting/midi-diag.md b/docs/troubleshooting/midi-diag.md new file mode 100644 index 000000000..168b7c39a --- /dev/null +++ b/docs/troubleshooting/midi-diag.md @@ -0,0 +1,109 @@ +--- +layout: page +title: MIDI Diagnostics Utility +parent: Troubleshooting +--- + +# Windows Dump Utility + +Windows MIDI Services comes with a simple command-line utility `mididmp.exe`. This has been designed for use by DAWs and support applications which need to shell out to a known executable to capture health information about the system. + +The utility returns information only about MIDI. Here is example output: + +``` +C:\Users\peteb>mididmp +Microsoft Windows MIDI Services + +=============================================================================== +header +=============================================================================== + +current_time : 2024-02-08 18:44:31 + +=============================================================================== +enum_endpoints +=============================================================================== + +endpoint_device_id : \\?\swd#midisrv#midiu_diag_loopback_a#{e7cce071-3c03-423f-88d3-f1045d02552b} +name : Diagnostics Loopback A +transport_mnemonic : DIAG +name_user_supplied : +name_user_endpoint_supplied : +name_user_transport_supplied : Diagnostics Loopback A +description_transport_supplied : +description_user_supplied : Diagnostics loopback endpoint. For testing purposes. +parent_id : SWD\MIDISRV\MIDIU_DIAG_TRANSPORT +parent_name : MIDI 2.0 Diagnostics Devices +------------------------------------------------------------------------------- +endpoint_device_id : \\?\swd#midisrv#midiu_diag_loopback_b#{e7cce071-3c03-423f-88d3-f1045d02552b} +name : Diagnostics Loopback B +transport_mnemonic : DIAG +name_user_supplied : +name_user_endpoint_supplied : +name_user_transport_supplied : Diagnostics Loopback B +description_transport_supplied : +description_user_supplied : Diagnostics loopback endpoint. For testing purposes. +parent_id : SWD\MIDISRV\MIDIU_DIAG_TRANSPORT +parent_name : MIDI 2.0 Diagnostics Devices +------------------------------------------------------------------------------- +endpoint_device_id : \\?\swd#midisrv#midiu_diag_ping#{e7cce071-3c03-423f-88d3-f1045d02552b} +name : Diagnostics Ping (Internal) +transport_mnemonic : DIAG +name_user_supplied : +name_user_endpoint_supplied : +name_user_transport_supplied : Diagnostics Ping (Internal) +description_transport_supplied : +description_user_supplied : Internal UMP Ping endpoint. Do not send messages to this endpoint. +parent_id : SWD\MIDISRV\MIDIU_DIAG_TRANSPORT +parent_name : MIDI 2.0 Diagnostics Devices +------------------------------------------------------------------------------- +endpoint_device_id : \\?\swd#midisrv#midiu_ks_bidi_16024944077548273316_outpin.0_inpin.2#{e7cce071-3c03-423f-88d3-f1045d02552b} +name : Unnamed Awesome MIDI 2.0 Synth +transport_mnemonic : KS +name_user_supplied : Unnamed Awesome MIDI 2.0 Synth +name_user_endpoint_supplied : Foo Synth Amazing +name_user_transport_supplied : Foo Synth +description_transport_supplied : +description_user_supplied : I love this synthesizer, but can't name it in public. +parent_id : USB\VID_6666&PID_7777&MI_03\9&1663efa2&0&0003 +parent_name : Foo Synth + +=============================================================================== +ping_test +=============================================================================== + +ping_attempt_count : 10 +ping_return_count : 10 +ping_time_round_trip_total_ticks : 7954 +ping_time_round_trip_average_ticks : 795 + +=============================================================================== +midi_clock +=============================================================================== + +clock_frequency : 10000000 +clock_now : 912988511667 +``` + +If the MIDI Service is not running or not installed, you'll get output like this: + +``` +C:\Users\peteb>mididmp +=============================================================================== +header +=============================================================================== + +current_time : 2024-02-08 18:47:14 + +=============================================================================== +enum_endpoints +=============================================================================== + +ERROR : Enumerating devices returned no matches. This is not expected and indicates an installation problem or that the service is not running. +``` + +We may add more fields or sections in the future. If you are machine parsing this file, do not rely on the order of fields or sections. The actual names of fields shown and the section headers will remain static and can be used in machine parsing, however. The tokens are not localized. + +The date at the top of the file is in YYYY-MM-DD format. Time is in 24-hour format. + +The executable returns 0 when succeeded, and non-zero when failed. diff --git a/docs/troubleshooting/midi-dump.md b/docs/troubleshooting/midi-dump.md deleted file mode 100644 index c402e9b73..000000000 --- a/docs/troubleshooting/midi-dump.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -layout: page -title: MIDI Dump Utility -parent: Troubleshooting ---- - -# Windows Dump Utility - -Windows MIDI Services comes with a simple command-line utility `mididmp.exe`. This has been designed for use by DAWs and support applications which need to shell out to a known executable to capture health information about the system. - -The utility returns information only about MIDI. Here is example output: - -``` -C:\Users\peteb>mididmp -Microsoft Windows MIDI Services - -=============================================================================== -header -=============================================================================== - -current_time : 2024-02-08 18:44:31 - -=============================================================================== -enum_endpoints -=============================================================================== - -endpoint_device_id : \\?\swd#midisrv#midiu_diag_loopback_a#{e7cce071-3c03-423f-88d3-f1045d02552b} -name : Diagnostics Loopback A -transport_mnemonic : DIAG -name_user_supplied : -name_user_endpoint_supplied : -name_user_transport_supplied : Diagnostics Loopback A -description_transport_supplied : -description_user_supplied : Diagnostics loopback endpoint. For testing purposes. -parent_id : SWD\MIDISRV\MIDIU_DIAG_TRANSPORT -parent_name : MIDI 2.0 Diagnostics Devices -------------------------------------------------------------------------------- -endpoint_device_id : \\?\swd#midisrv#midiu_diag_loopback_b#{e7cce071-3c03-423f-88d3-f1045d02552b} -name : Diagnostics Loopback B -transport_mnemonic : DIAG -name_user_supplied : -name_user_endpoint_supplied : -name_user_transport_supplied : Diagnostics Loopback B -description_transport_supplied : -description_user_supplied : Diagnostics loopback endpoint. For testing purposes. -parent_id : SWD\MIDISRV\MIDIU_DIAG_TRANSPORT -parent_name : MIDI 2.0 Diagnostics Devices -------------------------------------------------------------------------------- -endpoint_device_id : \\?\swd#midisrv#midiu_diag_ping#{e7cce071-3c03-423f-88d3-f1045d02552b} -name : Diagnostics Ping (Internal) -transport_mnemonic : DIAG -name_user_supplied : -name_user_endpoint_supplied : -name_user_transport_supplied : Diagnostics Ping (Internal) -description_transport_supplied : -description_user_supplied : Internal UMP Ping endpoint. Do not send messages to this endpoint. -parent_id : SWD\MIDISRV\MIDIU_DIAG_TRANSPORT -parent_name : MIDI 2.0 Diagnostics Devices -------------------------------------------------------------------------------- -endpoint_device_id : \\?\swd#midisrv#midiu_ks_bidi_16024944077548273316_outpin.0_inpin.2#{e7cce071-3c03-423f-88d3-f1045d02552b} -name : Unnamed Awesome MIDI 2.0 Synth -transport_mnemonic : KS -name_user_supplied : Unnamed Awesome MIDI 2.0 Synth -name_user_endpoint_supplied : Foo Synth Amazing -name_user_transport_supplied : Foo Synth -description_transport_supplied : -description_user_supplied : I love this synthesizer, but can't name it in public. -parent_id : USB\VID_6666&PID_7777&MI_03\9&1663efa2&0&0003 -parent_name : Foo Synth - -=============================================================================== -ping_test -=============================================================================== - -ping_attempt_count : 10 -ping_return_count : 10 -ping_time_round_trip_total_ticks : 7954 -ping_time_round_trip_average_ticks : 795 - -=============================================================================== -midi_clock -=============================================================================== - -clock_frequency : 10000000 -clock_now : 912988511667 -``` - -If the MIDI Service is not running or not installed, you'll get output like this: - -``` -C:\Users\peteb>mididmp -=============================================================================== -header -=============================================================================== - -current_time : 2024-02-08 18:47:14 - -=============================================================================== -enum_endpoints -=============================================================================== - -ERROR : Enumerating devices returned no matches. This is not expected and indicates an installation problem or that the service is not running. -``` - -We may add more fields or sections in the future. If you are machine parsing this file, do not rely on the order of fields or sections. The actual names of fields shown and the section headers will remain static and can be used in machine parsing, however. The tokens are not localized. - -The date at the top of the file is in YYYY-MM-DD format. Time is in 24-hour format. - -The executable returns 0 when succeeded, and non-zero when failed. diff --git a/global.json b/global.json new file mode 100644 index 000000000..2e1d7002b --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "8.0.300" + } +} diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/.signature.p7s b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/.signature.p7s new file mode 100644 index 000000000..0bdc03625 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/.signature.p7s differ diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/LICENSE b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/LICENSE new file mode 100644 index 000000000..9e841e7a2 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/CppWinrtRules.Project.xml b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/CppWinrtRules.Project.xml new file mode 100644 index 000000000..7f69fcd74 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/CppWinrtRules.Project.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/Microsoft.Windows.CppWinRT.props b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/Microsoft.Windows.CppWinRT.props new file mode 100644 index 000000000..60736e177 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/Microsoft.Windows.CppWinRT.props @@ -0,0 +1,66 @@ + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + true + true + false + CppWinRT + true + + true + + PreventSdkUapPropsAssignment + true + + + + + false + stdcpp17 + + + true + $(IntDir)Unmerged\%(Filename).winmd + None + None + false + false + nul + nul + nul + nul + + true + + + + false + + + + false + + + + + + + + + diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/Microsoft.Windows.CppWinRT.targets b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/Microsoft.Windows.CppWinRT.targets new file mode 100644 index 000000000..4d861e12a --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/Microsoft.Windows.CppWinRT.targets @@ -0,0 +1,898 @@ + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + normal + -verbose + $(OutDir)$(RootNamespace).winmd + $(IntDir)Merged\ + $(IntDir)Unmerged\ + true + false + true + false + true + false + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)))..\..\ + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory))) + $(CppWinRTParameters) -fastabi + "$(CppWinRTPackageDir)bin\" + "$(CppWinRTPackageDir)" + + + true + C++ + Windows.UI.Xaml + $(GeneratedFilesDir)XamlMetaDataProvider.idl + $(GeneratedFilesDir)XamlMetaDataProvider.cpp + + $(IntDir)$(MSBuildProjectFile).mdmerge.rsp + $(IntDir)$(MSBuildProjectFile).midlrt.rsp + $(IntDir)$(MSBuildProjectFile).cppwinrt_plat.rsp + $(IntDir)$(MSBuildProjectFile).cppwinrt_ref.rsp + $(IntDir)$(MSBuildProjectFile).cppwinrt_comp.rsp + + + + false + + false + true + true + true + + $(IntDir)Generated Files\ + + $(GeneratedFilesDir) + + $(WindowsSDK_MetadataPathVersioned) + + $(GeneratedFilesDir);$(CAExcludePath) + + + $(PrepareForBuildDependsOn); + CppWinRTVerifyKitVersion; + + + + $(BeforeMidlCompileTargets);CppWinRTAddXamlMetaDataProviderIdl; + + + $(ComputeMidlInputsTargets);CppWinRTComputeXamlGeneratedMidlInputs;CppWinRTSetMidlReferences; + + + $(AfterMidlTargets); + GetCppWinRTMdMergeInputs; + CppWinRTMergeProjectWinMDInputs; + CppWinRTGetResolvedWinMD; + CppWinRTCopyWinMDToOutputDirectory; + + + $(ResolveReferencesDependsOn); + CppWinRTImplicitlyExpandTargetPlatform + + + $(ResolveAssemblyReferencesDependsOn);GetCppWinRTProjectWinMDReferences;CppWinRTMarkStaticLibrariesPrivate; + + + + $(BeforeClCompileTargets);CppWinRTAddXamlMetaDataProviderCpp;CppWinRTMakeProjections; + + + + + CppWinRTComputeXamlGeneratedCompileInputs;$(ComputeCompileInputsTargets);CppWinRTHeapEnforcementOptOut; + + + + $(MarkupCompilePass1DependsOn);CppWinRTAddXamlReferences + + + $(MarkupCompilePass2DependsOn);CppWinRTSetXamlLocalAssembly + + + $(CleanDependsOn);CppWinRTClean + + + $(GetTargetPathDependsOn);CppWinRTGetResolvedWinMD + + + $(GetPackagingOutputsDependsOn);CppWinRTGetResolvedWinMD + + + + + + + false + + + + + <_CppWinRT_RS4OrGreater>false + <_CppWinRT_RS4OrGreater Condition="'$(TargetPlatformVersion)' >= '10.0.17134.0'">true + + + + + + + <_FilesToDelete Remove="@(_FilesToDelete)"/> + <_FilesToDelete Include="$(GeneratedFilesDir)**"/> + <_FilesToDelete Include="$(CppWinRTMergedDir)**"/> + <_FilesToDelete Include="$(CppWinRTUnmergedDir)**"/> + <_FilesToDelete Include="$(CppWinRTProjectWinMD)" Condition="'$(CppWinRTGenerateWindowsMetadata)' == 'true'"/> + + + + + + + + %(ClCompile.AdditionalOptions) /DWINRT_NO_MAKE_DETECTION + + + + + + + + + <_TargetPlatformWinMDs Condition="'$(TargetPlatformSdkRootOverride)' != ''" Include="$(TargetPlatformSdkRootOverride)\References\$(XeWin10TargetVersion)\**\*.winmd"> + true + false + $(TargetPlatformMoniker) + $(TargetPlatformDisplayName) + CppWinRTImplicitlyExpandTargetPlatform + True + + <_TargetPlatformWinMDs Condition="'$(TargetPlatformSdkRootOverride)' == ''" Include="$(WindowsSDK_MetadataPathVersioned)\**\*.winmd"> + true + false + $(TargetPlatformMoniker) + $(TargetPlatformDisplayName) + CppWinRTImplicitlyExpandTargetPlatform + True + + + + + + + + + + <_ResolveAssemblyReferenceResolvedFiles Include="@(_TargetPlatformWinMDs)" /> + + + <_TargetPlatformWinMDs Remove="@(_TargetPlatformWinMDs)" /> + + + + + + + + <_IncludedIdlForComputeGenerateWindowsMetadata Remove="@(_IncludedIdlForComputeGenerateWindowsMetadata)" /> + <_IncludedIdlForComputeGenerateWindowsMetadata Include="@(Midl)" Condition="'%(Midl.ExcludedFromBuild)' != 'true'" /> + + + + + true + true + + + false + + + + + + + + + + + + + + + + + <_CppWinRTProjectWinMDItems Include="$(CppWinRTProjectWinMD)" /> + + + $([System.IO.Path]::GetFileName('$(CppWinRTProjectWinMD)')) + true + $(WinMDImplementationPath)$(TargetName)$(TargetExt) + winmd + true + $(MSBuildProjectName) + $(ConfigurationType) + + + <_CppWinRTProjectWinMDItems Remove="$(CppWinRTProjectWinMD)" /> + + + + + + + + + <_ResolvedProjectReferencePaths Condition="'%(_ResolvedProjectReferencePaths.ProjectType)' == 'StaticLibrary'"> + false + + + + + + + + <_CppWinRTPlatformWinMDInputs Remove="@(_CppWinRTPlatformWinMDInputs)" /> + <_CppWinRTPlatformWinMDInputs Include="@(CppWinRTPlatformWinMDReferences)" /> + + %(FullPath) + + + + + + + + + <_CppWinRTPlatformWinMDReferences Remove="@(_CppWinRTPlatformWinMDReferences)" /> + <_CppWinRTPlatformWinMDReferences Include="@(ReferencePath)" Condition="'%(ReferencePath.IsSystemReference)' == 'true' and '%(ReferencePath.WinMDFile)' == 'true' and '%(ReferencePath.ReferenceSourceTarget)' == 'ResolveAssemblyReference'" /> + + <_CppWinRTPlatformWinMDReferences Include="@(ReferencePath)" Condition="'%(ReferencePath.IsSystemReference)' == 'true' and '%(ReferencePath.WinMDFile)' == 'true' and '%(ReferencePath.ResolvedFrom)' == 'ImplicitlyExpandTargetPlatform'" /> + + <_CppWinRTPlatformWinMDReferences Include="@(ReferencePath)" Condition="'%(ReferencePath.IsSystemReference)' == 'true' and '%(ReferencePath.WinMDFile)' == 'true' and '%(ReferencePath.ResolvedFrom)' == 'CppWinRTImplicitlyExpandTargetPlatform'" /> + <_CppWinRTPlatformWinMDReferences Include="$(CppWinRTSDKReferences)" /> + + + %(FullPath) + + + + + + + + + <_CppWinRTDirectWinMDReferences Remove="@(_CppWinRTDirectWinMDReferences)" /> + <_CppWinRTDirectWinMDReferences Include="@(ReferencePath)" Condition="'%(ReferencePath.IsSystemReference)' != 'true' and '%(ReferencePath.WinMDFile)' == 'true' and '%(ReferencePath.ReferenceSourceTarget)' == 'ResolveAssemblyReference'" /> + <_CppWinRTDirectWinMDReferences Include="@(ReferencePath)" Condition="'%(ReferencePath.WinMDFile)' == 'true' and '%(ReferencePath.ReferenceSourceTarget)' == 'ExpandSDKReference'" /> + + + %(FullPath) + + + + + + + + + + <_CppWinRTStaticProjectReferences Remove="@(_CppWinRTStaticProjectReferences)"/> + <_CppWinRTStaticProjectReferences Include="@(_ResolvedProjectReferencePaths)" + Condition= "'%(_ResolvedProjectReferencePaths.ProjectType)'=='StaticLibrary' AND + '%(_ResolvedProjectReferencePaths.WinMDFile)' == 'true'"/> + + <_CppWinRTDynamicProjectReferences Remove="@(_CppWinRTDynamicProjectReferences)"/> + <_CppWinRTDynamicProjectReferences Include="@(_ResolvedProjectReferencePaths)" + Condition= "'%(_ResolvedProjectReferencePaths.ProjectType)'!='StaticLibrary' AND + ('%(_ResolvedProjectReferencePaths.WinMDFile)' == 'true' OR + ('%(_ResolvedProjectReferencePaths.WinMDFile)' == '' AND '%(_ResolvedProjectReferencePaths.Extension)' == '.winmd'))"/> + + + + + %(FullPath) + + + + %(FullPath) + + + + + + + + + + + + <_MdMergeInputs Remove="@(_MdMergeInputs)"/> + <_MdMergeInputs Include="@(Midl)" Condition="'%(Midl.ExcludedFromBuild)' != 'true'"> + %(Midl.OutputDirectory)%(Midl.MetadataFileName) + $(CppWinRTProjectWinMD) + + + <_MdMergeInputs Include="@(CppWinRTStaticProjectWinMDReferences)" Condition="'$(ConfigurationType)' != 'StaticLibrary'"> + $(CppWinRTProjectWinMD) + + <_MdMergeReferences Remove="@(_MdMergeReferences)" /> + + <_MdMergeReferences Include="@(CppWinRTStaticProjectWinMDReferences)" Condition="'$(ConfigurationType)' == 'StaticLibrary'" /> + <_MdMergeReferences Include="@(CppWinRTDirectWinMDReferences)" /> + <_MdMergeReferences Include="@(CppWinRTDynamicProjectWinMDReferences)" /> + <_MdMergeReferences Include="@(CppWinRTPlatformWinMDReferences)" /> + + + + + + + + + + + + + + <_DisableReferences>false + <_DisableReferences Condition="('$(CppWinRTOverrideSDKReferences)' != 'true') and ('$(TargetPlatformVersion)' < '10.0.18310.0')">true + + + + + + true + + + + + + + + + + + XamlGenerated + + + + + + + + <_DisableReferences>false + <_DisableReferences Condition="('$(CppWinRTOverrideSDKReferences)' != 'true') and ('$(TargetPlatformVersion)' < '10.0.18310.0')">true + [$(XamlNamespace).Markup.FullXamlMetadataProvider] + import "$(XamlNamespace).Markup.idl"%3b + +// This file is generated by the build to support Xaml apps +$(XamlMarkupIdlImport) +namespace $(RootNamespace) +{ + $(FullXamlMetadataProviderAttribute)runtimeclass XamlMetaDataProvider : [default] $(XamlNamespace).Markup.IXamlMetadataProvider + { + XamlMetaDataProvider()%3b + } +} + + + + + + + + + + <_PCH>@(ClCompile->Metadata('PrecompiledHeaderFile')->Distinct()) + #include "$(_PCH)" + +// This file is generated by the build to support Xaml apps +$(XamlMetaDataProviderPch) +#include "XamlMetaDataProvider.h" +#include "XamlMetaDataProvider.g.cpp" + + + + + + + + + + <_MidlReferences Remove="@(_MidlReferences)"/> + <_MidlReferences Include="@(CppWinRTDirectWinMDReferences)"/> + <_MidlReferences Include="@(CppWinRTStaticProjectWinMDReferences)"/> + <_MidlReferences Include="@(CppWinRTDynamicProjectWinMDReferences)"/> + <_MidlReferences Include="@(CppWinRTPlatformWinMDReferences)"/> + <_MidlReferencesDistinct Remove="@(_MidlReferencesDistinct)" /> + <_MidlReferencesDistinct Include="@(_MidlReferences->'%(WinMDPath)'->Distinct())" /> + + %(Midl.AdditionalOptions) /nomidl + + + %(Midl.AdditionalOptions) %40"$(CppWinRTMidlResponseFile)" + + + + <_MidlrtParameters>@(_MidlReferencesDistinct->'/reference "%(WinMDPath)"',' ') + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_MdMergeDepth Condition="'$(CppWinRTNamespaceMergeDepth)' != ''">-n:$(CppWinRTNamespaceMergeDepth) + <_MdMergeDepth Condition="'$(_MdMergeDepth)' == ''">$(CppWinRTMergeDepth) + <_MdMergeDepth Condition="'$(_MdMergeDepth)' == '' And '$(CppWinRTRootNamespaceAutoMerge)' == 'true'">-n:$(RootNamespace.Split('.').length) + <_MdMergeDepth Condition="'$(_MdMergeDepth)' == '' And ('@(Page)' != '' Or '@(ApplicationDefinition)' != '')">-n:1 + <_MdMergeCommand>$(MdMergePath)mdmerge %40"$(CppWinRTMdMergeResponseFile)" + + + + <_MdMergeParameters Condition="'$(CppWinRTMergeNoValidate)'!='true'">-v + <_MdMergeParameters>$(_MdMergeParameters) @(CppWinRTMdMergeMetadataDirectories->'-metadata_dir "%(RelativeDir)."', ' ') + <_MdMergeParameters>$(_MdMergeParameters) @(CppWinRTMdMergeInputs->'-i "%(Identity)"', ' ') + <_MdMergeParameters>$(_MdMergeParameters) -o "$(CppWinRTMergedDir.TrimEnd('\'))" -partial $(_MdMergeDepth) + + + + + + + + + + + <_MdMergedOutput Remove="@(_MdMergedOutput)"/> + <_MdMergedOutput Include="$(CppWinRTMergedDir)*.winmd"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CppWinRTPath)cppwinrt %40"$(CppWinRTPlatformProjectionResponseFile)" + + + <_CppwinrtInputs Remove="@(_CppwinrtInputs)"/> + <_CppwinrtInputs Include="@(CppWinRTPlatformWinMDInputs)"/> + + + <_CppwinrtParameters>$(CppWinRTCommandVerbosity) $(CppWinRTParameters) + <_CppwinrtParameters>$(_CppwinrtParameters) @(_CppwinrtInputs->'-in "%(WinMDPath)"', ' ') + <_CppwinrtParameters>$(_CppwinrtParameters) -out "$(GeneratedFilesDir)." + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CppWinRTPath)cppwinrt %40"$(CppWinRTReferenceProjectionResponseFile)" + + + <_CppwinrtRefInputs Remove="@(_CppwinrtRefInputs)"/> + <_CppwinrtRefInputs Include="@(CppWinRTDirectWinMDReferences)"/> + <_CppwinrtRefInputs Include="@(CppWinRTDynamicProjectWinMDReferences)"/> + <_CppwinrtRefRefs Remove="@(_CppwinrtRefRefs)"/> + <_CppwinrtRefRefs Include="@(CppWinRTPlatformWinMDReferences)"/> + + + <_CppwinrtParameters>$(CppWinRTCommandVerbosity) $(CppWinRTParameters) + <_CppwinrtParameters>$(_CppwinrtParameters) @(_CppwinrtRefInputs->'-in "%(WinMDPath)"', ' ') + <_CppwinrtParameters>$(_CppwinrtParameters) @(_CppwinrtRefRefs->'-ref "%(WinMDPath)"', ' ') + <_CppwinrtParameters>$(_CppwinrtParameters) -out "$(GeneratedFilesDir)." + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_PCH>@(ClCompile->Metadata('PrecompiledHeaderFile')->Distinct()) + + + + true + $(_PCH) + . + + + -prefix + -pch $(CppWinRTPrecompiledHeader) + $(CppWinRTPath)cppwinrt %40"$(CppWinRTComponentProjectionResponseFile)" + + + + <_MdMergedOutput Remove="@(_MdMergedOutput)"/> + <_MdMergedOutput Include="$(CppWinRTMergedDir)*.winmd"/> + <_CppwinrtCompInputs Remove="@(_CppwinrtCompInputs)"/> + <_CppwinrtCompInputs Include="@(_MdMergedOutput)"> + %(_MdMergedOutput.FullPath) + + + <_CppwinrtCompInputs Include="@(CppWinRTStaticProjectWinMDReferences)" Condition="'$(ConfigurationType)' == 'StaticLibrary'"> + %(CppWinRTStaticProjectWinMDReferences.FullPath) + + <_CppwinrtCompRefs Remove="@(_CppwinrtCompRefs)"/> + <_CppwinrtCompRefs Include="@(CppWinRTDirectWinMDReferences)"/> + <_CppwinrtCompRefs Include="@(CppWinRTDynamicProjectWinMDReferences)"/> + <_CppwinrtCompRefs Include="@(CppWinRTPlatformWinMDReferences)"/> + + + <_CppwinrtParameters>$(CppWinRTCommandVerbosity) $(CppWinRTParameters) -overwrite -name $(RootNamespace) $(CppWinRTCommandPrecompiledHeader) $(CppWinRTCommandUsePrefixes) -comp "$(GeneratedFilesDir)sources" + <_CppwinrtParameters Condition="'$(CppWinRTOptimized)'=='true'">$(_CppwinrtParameters) -opt + <_CppwinrtParameters>$(_CppwinrtParameters) @(_CppwinrtCompInputs->'-in "%(WinMDPath)"', ' ') + <_CppwinrtParameters>$(_CppwinrtParameters) @(_CppwinrtCompRefs->'-ref "%(WinMDPath)"', ' ') + <_CppwinrtParameters>$(_CppwinrtParameters) -out "$(GeneratedFilesDir)." + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CppWinRTProjectWinMD) + + + + + + + %(AdditionalOptions) /bigobj + %(AdditionalOptions) /await + %(AdditionalIncludeDirectories);$(GeneratedFilesDir) + + + $(WindowsSDK_MetadataFoundationPath);%(AdditionalMetadataDirectories) + $(WindowsSDK_MetadataPath);%(AdditionalMetadataDirectories) + + + %(AdditionalDependencies);WindowsApp.lib + %(AdditionalDependencies);$(CppWinRTPackageDir)build\native\lib\$(Platform)\cppwinrt_fast_forwarder.lib + + + + diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/lib/win32/cppwinrt_fast_forwarder.lib b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/lib/win32/cppwinrt_fast_forwarder.lib new file mode 100644 index 000000000..7738497cf Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/build/native/lib/win32/cppwinrt_fast_forwarder.lib differ diff --git a/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/readme.txt b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/readme.txt new file mode 100644 index 000000000..049ab13b8 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.CppWinRT.2.0.240405.15/readme.txt @@ -0,0 +1,22 @@ +======================================================================== +The Microsoft.Windows.CppWinRT NuGet package automatically generates C++/WinRT projection headers, +enabling you to both consume and produce Windows Runtime classes. +======================================================================== + +C++/WinRT detects Windows metadata required by the project, from: +* Platform winmd files in the SDK (both MSI and NuGet) +* NuGet package references containing winmd files +* Other project references producing winmd files +* Raw winmd file references +* Interface definition language (IDL) files in the project + +For any winmd file discovered above, C++/WinRT creates reference (consuming) projection headers. +Client code can simply #include these headers, which are created in the generated files directory (see below). + +For any IDL file contained in the project, C++/WinRT creates component (producing) projection headers. +In addition, C++/WinRT generates templates and skeleton implementations for each runtime class, under the Generated Files directory. + +======================================================================== +For more information, visit: +https://github.com/Microsoft/cppwinrt/tree/master/nuget +======================================================================== 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.24171.1631-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..225cbc82e --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,516 @@ +// 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.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..f8dcd9c51 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &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& endpointFilters) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &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::Id() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&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 + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(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 endpointFilters, 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))); + 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 endpointFilters, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + 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_Id(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + 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_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_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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + } + 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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + } + 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.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.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..08e41736d --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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 + { + 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.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.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.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..268cc0479 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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& endpointFilters); + [[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); + }; + 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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..2d6bba913 --- /dev/null +++ b/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 @@ -0,0 +1,242 @@ +// 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.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.24171.1631-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.24171.1631-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.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.24171.1631-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..1377c3c57 --- /dev/null +++ b/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 @@ -0,0 +1,69 @@ +// 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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.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.24171.1631-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.24171.1631-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.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-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.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll 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.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri 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.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.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.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and 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 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.24171.1631-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.24171.1631-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.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/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.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1631-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.24171.1639-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..225cbc82e --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,516 @@ +// 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.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..f8dcd9c51 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &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& endpointFilters) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &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::Id() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&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 + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(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 endpointFilters, 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))); + 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 endpointFilters, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + 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_Id(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + 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_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_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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + } + 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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + } + 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.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.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..08e41736d --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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 + { + 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.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.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.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..268cc0479 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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& endpointFilters); + [[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); + }; + 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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..2d6bba913 --- /dev/null +++ b/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 @@ -0,0 +1,242 @@ +// 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.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.24171.1639-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.24171.1639-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.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.24171.1639-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..1377c3c57 --- /dev/null +++ b/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 @@ -0,0 +1,69 @@ +// 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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.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.24171.1639-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.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll 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.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri 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.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.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.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and 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 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.24171.1639-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.24171.1639-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.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/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.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/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.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1639-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1639-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.24171.1650-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..225cbc82e --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,516 @@ +// 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.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..f8dcd9c51 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &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& endpointFilters) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &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::Id() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&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 + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(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 endpointFilters, 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))); + 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 endpointFilters, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + 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_Id(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + 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_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_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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + } + 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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + } + 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.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.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..08e41736d --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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 + { + 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.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.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.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..268cc0479 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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& endpointFilters); + [[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); + }; + 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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..2d6bba913 --- /dev/null +++ b/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 @@ -0,0 +1,242 @@ +// 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.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.24171.1650-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.24171.1650-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.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.24171.1650-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..1377c3c57 --- /dev/null +++ b/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 @@ -0,0 +1,69 @@ +// 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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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.24171.1650-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.24171.1650-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.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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-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.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll 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.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri 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.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.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.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 new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and 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 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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and 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 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.24171.1650-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.24171.1650-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.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 new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd 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 new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd 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 new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd 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 new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd 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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd 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 new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd 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 new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd 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 new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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 new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.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 new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1650-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.24171.1709-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..225cbc82e --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,516 @@ +// 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.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..f8dcd9c51 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &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& endpointFilters) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &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::Id() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&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 + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(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 endpointFilters, 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))); + 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 endpointFilters, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + 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_Id(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + 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_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_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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + } + 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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + } + 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.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.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..08e41736d --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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 + { + 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.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.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.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..268cc0479 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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& endpointFilters); + [[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); + }; + 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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..2d6bba913 --- /dev/null +++ b/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 @@ -0,0 +1,242 @@ +// 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.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.24171.1709-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.24171.1709-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.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.24171.1709-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..1377c3c57 --- /dev/null +++ b/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 @@ -0,0 +1,69 @@ +// 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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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.24171.1709-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.24171.1709-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.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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-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.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll 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.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri 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.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.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.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 new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and 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 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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and 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 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.24171.1709-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.24171.1709-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.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 new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd 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 new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd 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 new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd 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 new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd 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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd 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 new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd 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 new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd 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 new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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 new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.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 new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1709-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.24171.1720-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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 new file mode 100644 index 000000000..225cbc82e --- /dev/null +++ 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 @@ -0,0 +1,516 @@ +// 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/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..f8dcd9c51 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &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& endpointFilters) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &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::Id() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&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 + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(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 endpointFilters, 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))); + 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 endpointFilters, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + 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_Id(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + 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_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_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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + } + 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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + } + 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.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 new file mode 100644 index 000000000..08e41736d --- /dev/null +++ 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 @@ -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 + { + 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.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.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.24171.1720-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..268cc0479 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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& endpointFilters); + [[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); + }; + 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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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 new file mode 100644 index 000000000..2d6bba913 --- /dev/null +++ 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 @@ -0,0 +1,242 @@ +// 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.1.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.1.h new file mode 100644 index 000000000..83dc91a3a --- /dev/null +++ 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.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.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 new file mode 100644 index 000000000..1377c3c57 --- /dev/null +++ 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 @@ -0,0 +1,69 @@ +// 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/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.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.Initialization.0.h new file mode 100644 index 000000000..304eccc15 --- /dev/null +++ b/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 @@ -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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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.24171.1720-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.24171.1720-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.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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-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.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll 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.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri 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.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.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.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 new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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 new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and 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 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 new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and 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 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.24171.1720-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.24171.1720-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.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 new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd 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 new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd 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 new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd 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 new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd 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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd 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 new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd 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 new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd 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 new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd 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 new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and 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 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 new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-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.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 new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1720-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/README.md b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/build/native/Microsoft.Windows.Devices.Midi2.props b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/Microsoft.Windows.Devices.Midi2.targets b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ClientPlugins.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Diagnostics.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h new file mode 100644 index 000000000..225cbc82e --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.h @@ -0,0 +1,516 @@ +// 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.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Initialization.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.Messages.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.ServiceConfig.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/Microsoft.Windows.Devices.Midi2.h new file mode 100644 index 000000000..f8dcd9c51 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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& endpointFilters) const + { + void* result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->FindAll3(static_cast(sortOrder), static_cast(endpointFilters), &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& endpointFilters) const + { + bool result{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointDeviceInformationStatics)->DeviceMatchesFilter(*(void**)(&deviceInformation), static_cast(endpointFilters), &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::Id() const + { + winrt::guid value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Id(put_abi(value))); + return value; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Name(&value)); + return hstring{ value, take_ownership_from_abi }; + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Name(param::hstring const& value) const + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Name(*(void**)(&value))); + } + template auto consume_Microsoft_Windows_Devices_Midi2_IMidiEndpointMessageProcessingPlugin::Tag() const + { + void* value{}; + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->get_Tag(&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 + { + check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::Windows::Devices::Midi2::IMidiEndpointMessageProcessingPlugin)->put_Tag(*(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 endpointFilters, 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))); + 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 endpointFilters, bool* result) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *result = detach_from(this->shim().DeviceMatchesFilter(*reinterpret_cast(&deviceInformation), *reinterpret_cast(&endpointFilters))); + 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_Id(winrt::guid* value) noexcept final try + { + typename D::abi_guard guard(this->shim()); + *value = detach_from(this->shim().Id()); + 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_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_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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.FindAll(sortOrder, endpointFilters); }); + } + 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& endpointFilters) + { + return impl::call_factory([&](IMidiEndpointDeviceInformationStatics const& f) { return f.DeviceMatchesFilter(deviceInformation, endpointFilters); }); + } + 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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.0.h new file mode 100644 index 000000000..08e41736d --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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 + { + 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.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.2.h new file mode 100644 index 000000000..268cc0479 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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& endpointFilters); + [[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); + }; + 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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ClientPlugins.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Diagnostics.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h new file mode 100644 index 000000000..2d6bba913 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.0.h @@ -0,0 +1,242 @@ +// 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.1740-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.24171.1740-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.24171.1740-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.24171.1740-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.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h new file mode 100644 index 000000000..1377c3c57 --- /dev/null +++ b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.2.h @@ -0,0 +1,69 @@ +// 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.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Initialization.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.Messages.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.0.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.1.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/build/native/include/midi2/impl/Microsoft.Windows.Devices.Midi2.ServiceConfig.2.h b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.dll differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.pri differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/native/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..1fa35ceac Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..12a8de124 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..6dcb9b9bd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..e97d295dd Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..fa9a0361d Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-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.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..885759693 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..5fc5dd99b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/lib/uap10.0/Arm64EC/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..28ec69100 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Initialization.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.Messages.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/native/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/net6.0-windows10.0.20348.0/Microsoft.Windows.Devices.Midi2.NetProjection.dll new file mode 100644 index 000000000..1a508bd3e Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.CapabilityInquiry.winmd new file mode 100644 index 000000000..7fe83395a Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ClientPlugins.winmd new file mode 100644 index 000000000..13ddb6a25 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Diagnostics.winmd new file mode 100644 index 000000000..2b1aa5c4b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.winmd new file mode 100644 index 000000000..be3e131b5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.winmd new file mode 100644 index 000000000..cb529386b Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Initialization.winmd new file mode 100644 index 000000000..290e2d6c7 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.Messages.winmd new file mode 100644 index 000000000..43a8b1d39 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.ServiceConfig.winmd new file mode 100644 index 000000000..0d897d0a4 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-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.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd new file mode 100644 index 000000000..fb3647fa5 Binary files /dev/null and b/samples/cpp-winrt/Microsoft.Windows.Devices.Midi2.1.0.24171.1740-preview.6/ref/uap10.0/Microsoft.Windows.Devices.Midi2.winmd differ diff --git a/samples/cpp-winrt/README.md b/samples/cpp-winrt/README.md index ed74d2317..f2737f2ca 100644 --- a/samples/cpp-winrt/README.md +++ b/samples/cpp-winrt/README.md @@ -13,11 +13,11 @@ For C++, Windows MIDI Services is only being tested with C++/WinRT, not CX or WR | Sample | Description | | -------| ----------- | -| [Client API Basics](api-client-basics/) | Shows how to open a MidiSession, and connect to a MidiEndpoint to send and receive messages| -| [Enumerate Endpoints](api-enum-endpoints/) | Demonstrates enumerating endpoints, getting group terminal and function blocks, and other properties| -| [Watch Endpoints](api-watch-endpoints/) | Demonstrates handling device add/remove notifications, as well as device property changes. Most applications will want to use the watcher so they can properly react to device plug/unplug, as well as things like Function Block updates.| +| [App SDK Basics](basics/) | Shows how to open a MidiSession, and connect to a MidiEndpoint to send and receive messages| +| [Enumerate Endpoints](static-enum-endpoints/) | Demonstrates enumerating endpoints, getting group terminal and function blocks, and other properties| +| [Watch Endpoints](watch-endpoints/) | Demonstrates handling device add/remove notifications, as well as device property changes. Most applications will want to use the watcher so they can properly react to device plug/unplug, as well as things like Function Block updates.| ## Background information * [Get Started with C++/WinRT](https://learn.microsoft.com/windows/uwp/cpp-and-winrt-apis/get-started) -* [Enhancing Non-packaged Desktop Apps using Windows Runtime Components](https://blogs.windows.com/windowsdeveloper/2019/04/30/enhancing-non-packaged-desktop-apps-using-windows-runtime-components/) + diff --git a/samples/cpp-winrt/api-client-basics/api-client-basics-cpp.sln b/samples/cpp-winrt/api-client-basics/api-client-basics-cpp.sln deleted file mode 100644 index e65e5e213..000000000 --- a/samples/cpp-winrt/api-client-basics/api-client-basics-cpp.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.7.33711.374 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "api-client-basics", "api-client-basics.vcxproj", "{FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {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|Win32 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|x86.Build.0 = Debug|Win32 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.ActiveCfg = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.Build.0 = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.ActiveCfg = Release|Win32 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D03217C3-EF96-4030-B340-09EFBF5961D4} - EndGlobalSection -EndGlobal diff --git a/samples/cpp-winrt/api-client-basics/api-client-basics.vcxproj b/samples/cpp-winrt/api-client-basics/api-client-basics.vcxproj deleted file mode 100644 index 24ac173dc..000000000 --- a/samples/cpp-winrt/api-client-basics/api-client-basics.vcxproj +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - true - true - true - true - 15.0 - {fb9d8e00-e6e5-42fa-93b5-efe40dc66c04} - Win32Proj - api_client_basics - 10.0.20348.0 - 10.0.20348.0 - true - api-client-basics-cpp - - - - - Debug - ARM64 - - - Debug - ARM64EC - - - Release - ARM64 - - - Release - ARM64EC - - - Debug - x64 - - - Release - x64 - - - - Application - v143 - v142 - v141 - v140 - Unicode - - - true - true - - - false - true - false - - - - - - - - - - - - - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - - Use - pch.h - $(IntDir)pch.pch - _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - Level4 - %(AdditionalOptions) /permissive- /bigobj - - - - - Disabled - _DEBUG;%(PreprocessorDefinitions) - - - Console - false - - - - - WIN32;%(PreprocessorDefinitions) - - - - - WIN32;%(PreprocessorDefinitions) - - - - - MaxSpeed - true - true - NDEBUG;%(PreprocessorDefinitions) - - - Console - true - true - false - - - - - - - - - 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}. - - - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-client-basics/main.cpp b/samples/cpp-winrt/api-client-basics/main.cpp deleted file mode 100644 index 998c19646..000000000 --- a/samples/cpp-winrt/api-client-basics/main.cpp +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License -// Further information: https://github.com/microsoft/MIDI/ -// ============================================================================ - -// Windows MIDI Services sample code - -#include "pch.h" -#include - -using namespace winrt::Microsoft::Devices::Midi2; // API - -// where you find types like IAsyncOperation, IInspectable, etc. -namespace foundation = winrt::Windows::Foundation; - - -int main() -{ - winrt::init_apartment(); - - // Check to see if Windows MIDI Services is installed and running on this PC - if (!MidiService::IsAvailable()) - { - // you may wish to fallback to an older MIDI API if it suits your application's workflow - std::cout << std::endl << "Windows MIDI Services is not running on this PC" << std::endl; - - return 1; - } - - - // create the MIDI session, giving us access to Windows MIDI Services. An app may open - // more than one session. If so, the session name should be meaningful to the user, like - // the name of a browser tab, or a project. - - std::cout << std::endl << "Creating session..." << std::endl; - - auto session = MidiSession::CreateSession(L"Sample Session"); - - auto endpointAId = MidiEndpointDeviceInformation::DiagnosticsLoopbackAEndpointId(); - auto endpointBId = MidiEndpointDeviceInformation::DiagnosticsLoopbackBEndpointId(); - - auto sendEndpoint = session.CreateEndpointConnection(endpointAId); - std::cout << "Connected to sending endpoint: " << winrt::to_string(endpointAId) << std::endl; - - auto receiveEndpoint = session.CreateEndpointConnection(endpointBId); - std::cout << "Connected to receiving endpoint: " << winrt::to_string(endpointBId) << std::endl; - - // Wire up an event handler to receive the message. There is a single event handler type, but the - // MidiMessageReceivedEventArgs class provides the different ways to access the data - // Your event handlers should return quickly as they are called synchronously. - - auto MessageReceivedHandler = [&](foundation::IInspectable const& sender, MidiMessageReceivedEventArgs const& args) - { - // there are several ways to get the message data from the arguments. If you want to use - // strongly-typed UMP classes, then you may start with the GetUmp() method. The GetXXX calls - // are all generating something within the function, so you want to call them once and then - // keep the result around in a variable if you plan to refer to it multiple times. In - // contrast, the FillXXX functions will update values in provided (pre-allocated) types - // passed in to the functions. - auto ump = args.GetMessagePacket(); - - std::cout << std::endl; - std::cout << "Received UMP" << std::endl; - std::cout << "- Current Timestamp: " << std::dec << MidiClock::Now() << std::endl; - std::cout << "- UMP Timestamp: " << std::dec << ump.Timestamp() << std::endl; - std::cout << "- UMP Msg Type: 0x" << std::hex << (uint32_t)ump.MessageType() << std::endl; - std::cout << "- UMP Packet Type: 0x" << std::hex << (uint32_t)ump.PacketType() << std::endl; - std::cout << "- Message: " << winrt::to_string(MidiMessageUtility::GetMessageFriendlyNameFromFirstWord(args.PeekFirstWord())) << std::endl; - - // if you wish to cast the IMidiUmp to a specific Ump Type, you can do so using .as WinRT extension - - if (ump.PacketType() == MidiPacketType::UniversalMidiPacket32) - { - // we'll use the Ump32 type here. This is a runtimeclass that the strongly-typed - // 32-bit messages derive from. There are also MidiUmp64/96/128 classes. - auto ump32 = ump.as(); - - std::cout << "- Word 0: 0x" << std::hex << ump32.Word0() << std::endl; - } - - std::cout << std::endl; - - }; - - // the returned token is used to deregister the event later. - auto eventRevokeToken = receiveEndpoint.MessageReceived(MessageReceivedHandler); - - - std::cout << std::endl << "Opening endpoint connection" << std::endl; - - // once you have wired up all your event handlers, added any filters/listeners, etc. - // You can open the connection. Doing this will query the cache for the in-protocol - // endpoint information and function blocks. If not there, it will send out the requests - // which will come back asynchronously with responses. - sendEndpoint.Open(); - receiveEndpoint.Open(); - - - std::cout << std::endl << "Creating MIDI 1.0 Channel Voice 32-bit UMP..." << std::endl; - - auto ump32 = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( - MidiClock::Now(), // use current timestamp - MidiGroup(5), // group 5 - Midi1ChannelVoiceMessageStatus::NoteOn, // 9 - MidiChannel(3), // channel 3 - 120, // note 120 - hex 0x78 - 100); // velocity 100 hex 0x64 - - // here you would set other values in the UMP word(s) - - std::cout << "Sending single UMP..." << std::endl; - - auto ump = ump32.as(); - auto sendResult = sendEndpoint.SendSingleMessagePacket(ump); // could also use the SendWords methods, etc. - - std::cout << std::endl << " ** Wait for the sent UMP to arrive, and then press enter to cleanup. **" << std::endl; - - system("pause"); - - std::cout << std::endl << "Deregistering event handler..." << std::endl; - - // deregister the event by passing in the revoke token - receiveEndpoint.MessageReceived(eventRevokeToken); - - std::cout << "Disconnecting UMP Endpoint Connection..." << std::endl; - - - session.DisconnectEndpointConnection(sendEndpoint.ConnectionId()); - session.DisconnectEndpointConnection(receiveEndpoint.ConnectionId()); - - // close the session, detaching all Windows MIDI Services resources and closing all connections - // You can also disconnect individual Endpoint Connections when you are done with them, as we did above - session.Close(); - -} diff --git a/samples/cpp-winrt/api-client-basics/packages.config b/samples/cpp-winrt/api-client-basics/packages.config deleted file mode 100644 index 4a07d7353..000000000 --- a/samples/cpp-winrt/api-client-basics/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-client-basics/pch.cpp b/samples/cpp-winrt/api-client-basics/pch.cpp deleted file mode 100644 index bcb5590be..000000000 --- a/samples/cpp-winrt/api-client-basics/pch.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "pch.h" diff --git a/samples/cpp-winrt/api-client-basics/pch.h b/samples/cpp-winrt/api-client-basics/pch.h deleted file mode 100644 index 8dc5dcb95..000000000 --- a/samples/cpp-winrt/api-client-basics/pch.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once -#include -#include -#include - -#include \ No newline at end of file diff --git a/samples/cpp-winrt/api-client-send-speed/api-client-send-speed-cpp.sln b/samples/cpp-winrt/api-client-send-speed/api-client-send-speed-cpp.sln deleted file mode 100644 index e70cdbb2d..000000000 --- a/samples/cpp-winrt/api-client-send-speed/api-client-send-speed-cpp.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.7.33711.374 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "api-client-send-speed-cpp", "api-client-send-speed.vcxproj", "{FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {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|x64.ActiveCfg = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.Build.0 = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.ActiveCfg = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D03217C3-EF96-4030-B340-09EFBF5961D4} - EndGlobalSection -EndGlobal diff --git a/samples/cpp-winrt/api-client-send-speed/api-client-send-speed.vcxproj b/samples/cpp-winrt/api-client-send-speed/api-client-send-speed.vcxproj deleted file mode 100644 index 3fd49fa4c..000000000 --- a/samples/cpp-winrt/api-client-send-speed/api-client-send-speed.vcxproj +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - true - true - true - true - 15.0 - {fb9d8e00-e6e5-42fa-93b5-efe40dc66c04} - Win32Proj - api_client_send_speed - 10.0.20348.0 - 10.0.20348.0 - true - api-client-send-speed-cpp - - - - - Debug - ARM64 - - - Debug - ARM64EC - - - Release - ARM64 - - - Release - ARM64EC - - - Debug - x64 - - - Release - x64 - - - - Application - v143 - v142 - v141 - v140 - Unicode - - - true - true - - - false - true - false - - - - - - - - - - - - - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - - Use - pch.h - $(IntDir)pch.pch - _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - Level4 - %(AdditionalOptions) /permissive- /bigobj - - - - - Disabled - _DEBUG;%(PreprocessorDefinitions) - - - Console - false - - - - - WIN32;%(PreprocessorDefinitions) - - - - - WIN32;%(PreprocessorDefinitions) - - - - - MaxSpeed - true - true - NDEBUG;%(PreprocessorDefinitions) - - - Console - true - true - false - - - - - - - - - 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}. - - - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-client-send-speed/main.cpp b/samples/cpp-winrt/api-client-send-speed/main.cpp deleted file mode 100644 index d0a98aeb5..000000000 --- a/samples/cpp-winrt/api-client-send-speed/main.cpp +++ /dev/null @@ -1,352 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License -// Further information: https://github.com/microsoft/MIDI/ -// ============================================================================ - -// Windows MIDI Services sample code - -#include "pch.h" -#include -#include - -using namespace winrt::Windows::Devices::Midi2; // API - -// standard WinRT enumeration support. This is how you find attached devices. -using namespace winrt::Windows::Devices::Enumeration; - -// where you find types like IAsyncOperation, IInspectable, etc. -namespace foundation = winrt::Windows::Foundation; -namespace collections = winrt::Windows::Foundation::Collections; - -void DisplaySingleResult(std::wstring label, uint64_t totalTime, uint64_t errorCount, uint32_t totalMessageCount) -{ - std::wcout - << std::setw(35) << std::left - << label - << L"Total: " - << std::fixed << std::setprecision(2) << std::right - << MidiClock::ConvertTimestampToMilliseconds(totalTime) - << "ms, average: " - << std::fixed << std::setprecision(2) << std::right - << MidiClock::ConvertTimestampToMicroseconds((uint64_t)((double)totalTime / totalMessageCount)) - << " microseconds per message, " - << errorCount - << " errors" - << std::endl; - -} - -#define MESSAGE_COUNT_PER_ITERATION 100 -#define ITERATION_COUNT 2000 - -#define TOTAL_WORD_COUNT_PER_ITERATION (MESSAGE_COUNT_PER_ITERATION * 3) - - -int main() -{ - winrt::init_apartment(); - - auto endpointId = MidiEndpointDeviceInformation::DiagnosticsLoopbackAEndpointId(); - - uint64_t TotalSendTicksIndividualMessagePackets{ 0 }; - uint64_t TotalSendTicksIndividualMessageWords{ 0 }; - uint64_t TotalSendTicksIndividualMessageStructs{ 0 }; - - uint64_t TotalSendTicksVectorMessagePackets{ 0 }; - uint64_t TotalSendTicksVectorMessageWords{ 0 }; - uint64_t TotalSendTicksVectorMessageStructs{ 0 }; - - uint64_t TotalSendTicksArrayMessageWords{ 0 }; - uint64_t TotalSendTicksArrayMessageStructs{ 0 }; - - uint64_t TotalSendTicksMultipleMessageBuffer{ 0 }; - - uint64_t TotalSendErrorsIndividualMessagePackets{ 0 }; - uint64_t TotalSendErrorsIndividualMessageWords{ 0 }; - uint64_t TotalSendErrorsIndividualMessageStructs{ 0 }; - - uint64_t TotalSendErrorsVectorMessagePackets{ 0 }; - uint64_t TotalSendErrorsVectorMessageWords{ 0 }; - uint64_t TotalSendErrorsVectorMessageStructs{ 0 }; - - uint64_t TotalSendErrorsMultipleMessageBuffer{ 0 }; - - uint64_t TotalSendErrorsArrayMessageWords{ 0 }; - uint64_t TotalSendErrorsArrayMessageStructs{ 0 }; - - - // create the MIDI session, giving us access to Windows MIDI Services. An app may open - // more than one session. If so, the session name should be meaningful to the user, like - // the name of a browser tab, or a project. - - auto session = MidiSession::CreateSession(L"Speed Test"); - - auto sendEndpoint = session.CreateEndpointConnection(endpointId); - - // once you have wired up all your event handlers, added any filters/listeners, etc. - // You can open the connection. Doing this will query the cache for the in-protocol - // endpoint information and function blocks. If not there, it will send out the requests - // which will come back asynchronously with responses. - sendEndpoint.Open(); - - std::cout << "Connected to open send endpoint: " << winrt::to_string(endpointId) << std::endl; - - - auto ump64 = MidiMessageBuilder::BuildMidi2ChannelVoiceMessage( - MidiClock::TimestampConstantSendImmediately(), - MidiGroup(5), // group 5 - Midi2ChannelVoiceMessageStatus::NoteOn, - MidiChannel(3), // channel 3 - 120, // note 120 - hex 0x78 - 100); // velocity 100 hex 0x64 - - auto ump32 = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( - MidiClock::TimestampConstantSendImmediately(), - MidiGroup(5), // group 5 - Midi1ChannelVoiceMessageStatus::NoteOn, - MidiChannel(2), // channel 3 - 110, // note 110 - 200); // velocity 200 - - - // Build our messages to send out. We do this all at once, and it is not part of the benchmarking - // this way, we're *only* testing the send speed - - auto messageList = winrt::single_threaded_vector() ; - auto wordList = winrt::single_threaded_vector(); - auto structList = winrt::single_threaded_vector(); - auto wordListList = std::vector>(); - uint32_t wordArray[TOTAL_WORD_COUNT_PER_ITERATION]; // that *3 needs to change if we mix up more than just the ump32 and ump64 per iteration - MidiMessageStruct structArray[MESSAGE_COUNT_PER_ITERATION]; - - - - - - // if we change the types of messages we send, we need to change this as well - foundation::MemoryBuffer buffer(TOTAL_WORD_COUNT_PER_ITERATION * sizeof(uint32_t)); - - - uint32_t memoryBufferOffset = 0; - uint32_t bytesWritten = 0; - - for (uint32_t i = 0; i < MESSAGE_COUNT_PER_ITERATION; i += 2) - { - // message list - messageList.Append(ump64); - messageList.Append(ump32); - - // word list - ump64.AppendAllMessageWordsToList(wordList); - ump32.AppendAllMessageWordsToList(wordList); - - // buffer - ump64.FillBuffer(memoryBufferOffset, buffer); - ump32.FillBuffer(memoryBufferOffset, buffer); - - // structs - - MidiMessageStruct str64; - str64.Word0 = ump64.Word0(); - str64.Word1 = ump64.Word1(); - structList.Append(str64); - - MidiMessageStruct str32; - str32.Word0 = ump32.Word0(); - structList.Append(str32); - - // for sending words one message at a time - wordListList.push_back(ump64.GetAllWords().GetView()); - wordListList.push_back(ump32.GetAllWords().GetView()); - - bytesWritten += sizeof(ump64) + sizeof(ump32); - - memoryBufferOffset += bytesWritten; - } - - - - - // Actually send the messages - - for (uint32_t i = 0; i < ITERATION_COUNT; i++) - { - uint64_t startTick{}; - uint64_t stopTick{}; - - MidiSendMessageResults result; - - // individual message tests --------------------------------------------------------------------- - - // send individual message words - startTick = MidiClock::Now(); - - for (auto const& message : wordListList) - { - if (message.Size() == 4) - result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0), message.GetAt(1), message.GetAt(2), message.GetAt(3)); - else if (message.Size() == 3) - result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0), message.GetAt(1), message.GetAt(2)); - else if (message.Size() == 2) - result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0), message.GetAt(1)); - else if (message.Size() == 1) - result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0)); - - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsIndividualMessageWords++; - } - - } - stopTick = MidiClock::Now(); - TotalSendTicksIndividualMessageWords += (stopTick - startTick); - - - - // send individual structs - - startTick = MidiClock::Now(); - for (auto const& message : structList) - { - result = sendEndpoint.SendSingleMessageStruct(MidiClock::TimestampConstantSendImmediately(), (uint8_t)MidiMessageUtility::GetPacketTypeFromMessageFirstWord(message.Word0), message); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsIndividualMessageStructs++; - } - } - stopTick = MidiClock::Now(); - TotalSendTicksIndividualMessageStructs += (stopTick - startTick); - - - - // send individual message packets - - startTick = MidiClock::Now(); - for (auto const& message : messageList) - { - result = sendEndpoint.SendSingleMessagePacket(message); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsIndividualMessagePackets++; - } - } - stopTick = MidiClock::Now(); - TotalSendTicksIndividualMessagePackets += (stopTick - startTick); - - - // send individual buffers - - - - - - // multi-message tests -------------------------------------------------------------------------- - - // send vector of words - - startTick = MidiClock::Now(); - result = sendEndpoint.SendMultipleMessagesWordList(MidiClock::TimestampConstantSendImmediately(), wordList); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsVectorMessageWords++; - } - stopTick = MidiClock::Now(); - TotalSendTicksVectorMessageWords += (stopTick - startTick); - - // send array of words - - startTick = MidiClock::Now(); - result = sendEndpoint.SendMultipleMessagesWordArray(MidiClock::TimestampConstantSendImmediately(), 0, TOTAL_WORD_COUNT_PER_ITERATION, wordArray); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsArrayMessageWords++; - } - stopTick = MidiClock::Now(); - TotalSendTicksArrayMessageWords += (stopTick - startTick); - - - // send vector of message packets - - startTick = MidiClock::Now(); - result = sendEndpoint.SendMultipleMessagesPacketList(messageList.GetView()); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsVectorMessagePackets++; - } - stopTick = MidiClock::Now(); - TotalSendTicksVectorMessagePackets += (stopTick - startTick); - - - // send vector of message structs - - startTick = MidiClock::Now(); - result = sendEndpoint.SendMultipleMessagesStructList(MidiClock::TimestampConstantSendImmediately(), structList.GetView()); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsVectorMessageStructs++; - } - stopTick = MidiClock::Now(); - TotalSendTicksVectorMessageStructs += (stopTick - startTick); - - // send array of message structs - - startTick = MidiClock::Now(); - result = sendEndpoint.SendMultipleMessagesStructArray(MidiClock::TimestampConstantSendImmediately(), 0, MESSAGE_COUNT_PER_ITERATION, structArray); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsArrayMessageStructs++; - } - stopTick = MidiClock::Now(); - TotalSendTicksArrayMessageStructs += (stopTick - startTick); - - - // send multiple through buffer - - startTick = MidiClock::Now(); - result = sendEndpoint.SendMultipleMessagesBuffer(MidiClock::TimestampConstantSendImmediately(), 0, bytesWritten, buffer); - if (MidiEndpointConnection::SendMessageFailed(result)) - { - TotalSendErrorsMultipleMessageBuffer++; - } - stopTick = MidiClock::Now(); - TotalSendTicksMultipleMessageBuffer += (stopTick - startTick); - } - - - // let's see how we did - - uint32_t totalMessageCount = ITERATION_COUNT * MESSAGE_COUNT_PER_ITERATION; - - std::wcout << std::endl; - std::wcout << L"Iteration Count: " << ITERATION_COUNT << std::endl; - std::wcout << L"Messages per Iteration: " << MESSAGE_COUNT_PER_ITERATION << std::endl; - std::wcout << L"Total Message Count: " << totalMessageCount << std::endl; - - std::wcout << std::endl << L"Multiple messages per call" << std::endl; - std::wcout << L"----------------------------------------------------------------------------------------" << std::endl; - DisplaySingleResult(L"SendMultipleMessagesPacketList", TotalSendTicksVectorMessagePackets, TotalSendErrorsVectorMessagePackets, totalMessageCount); - - DisplaySingleResult(L"SendMultipleMessagesStructList", TotalSendTicksVectorMessageStructs, TotalSendErrorsVectorMessageStructs, totalMessageCount); - DisplaySingleResult(L"SendMultipleMessagesStructArray", TotalSendTicksArrayMessageStructs, TotalSendErrorsArrayMessageStructs, totalMessageCount); - - DisplaySingleResult(L"SendMultipleMessagesWordList", TotalSendTicksVectorMessageWords, TotalSendErrorsVectorMessageWords, totalMessageCount); - DisplaySingleResult(L"SendMultipleMessagesWordArray", TotalSendTicksArrayMessageWords, TotalSendErrorsArrayMessageWords, totalMessageCount); - - DisplaySingleResult(L"SendMultipleMessagesBuffer", TotalSendTicksMultipleMessageBuffer, TotalSendErrorsMultipleMessageBuffer, totalMessageCount); - - std::wcout << std::endl << L"Single message per call" << std::endl; - std::wcout << L"----------------------------------------------------------------------------------------" << std::endl; - DisplaySingleResult(L"SendMessagePacket", TotalSendTicksIndividualMessagePackets, TotalSendErrorsIndividualMessagePackets, totalMessageCount); - DisplaySingleResult(L"SendMessageStruct", TotalSendTicksIndividualMessageStructs, TotalSendErrorsIndividualMessageStructs, totalMessageCount); - DisplaySingleResult(L"SendMessageWords", TotalSendTicksIndividualMessageWords, TotalSendErrorsIndividualMessageWords, totalMessageCount); - - // shut down - - std::cout << std::endl << "Disconnecting UMP Endpoint Connection..." << std::endl; - - session.DisconnectEndpointConnection(sendEndpoint.ConnectionId()); - // close the session, detaching all Windows MIDI Services resources and closing all connections - // You can also disconnect individual Endpoint Connections when you are done with them, as we did above - session.Close(); - -} diff --git a/samples/cpp-winrt/api-client-send-speed/packages.config b/samples/cpp-winrt/api-client-send-speed/packages.config deleted file mode 100644 index 9fca0dc22..000000000 --- a/samples/cpp-winrt/api-client-send-speed/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-client-send-speed/pch.cpp b/samples/cpp-winrt/api-client-send-speed/pch.cpp deleted file mode 100644 index bcb5590be..000000000 --- a/samples/cpp-winrt/api-client-send-speed/pch.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "pch.h" diff --git a/samples/cpp-winrt/api-client-send-speed/pch.h b/samples/cpp-winrt/api-client-send-speed/pch.h deleted file mode 100644 index 0c195a8f8..000000000 --- a/samples/cpp-winrt/api-client-send-speed/pch.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#include - -#include -#include -#include - -#include \ No newline at end of file diff --git a/samples/cpp-winrt/api-enum-endpoints/api-enum-endpoints-cpp.sln b/samples/cpp-winrt/api-enum-endpoints/api-enum-endpoints-cpp.sln deleted file mode 100644 index 05e6bbd57..000000000 --- a/samples/cpp-winrt/api-enum-endpoints/api-enum-endpoints-cpp.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.7.33711.374 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "api-enum-endpoints-cpp", "api-enum-endpoints-cpp.vcxproj", "{FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {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|Win32 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|x86.Build.0 = Debug|Win32 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.ActiveCfg = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x64.Build.0 = Release|x64 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.ActiveCfg = Release|Win32 - {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D03217C3-EF96-4030-B340-09EFBF5961D4} - EndGlobalSection -EndGlobal diff --git a/samples/cpp-winrt/api-enum-endpoints/api-enum-endpoints-cpp.vcxproj b/samples/cpp-winrt/api-enum-endpoints/api-enum-endpoints-cpp.vcxproj deleted file mode 100644 index ff6edb659..000000000 --- a/samples/cpp-winrt/api-enum-endpoints/api-enum-endpoints-cpp.vcxproj +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - true - true - true - true - 15.0 - {fb9d8e00-e6e5-42fa-93b5-efe40dc66c04} - Win32Proj - api_enum_endpoints - 10.0.20348.0 - 10.0.20348.0 - true - api-enum-endpoints-cpp - - - - - Debug - ARM64 - - - Debug - ARM64EC - - - Release - ARM64 - - - Release - ARM64EC - - - Debug - x64 - - - Release - x64 - - - - Application - v143 - v142 - v141 - v140 - Unicode - - - true - true - - - false - true - false - - - - - - - - - - - - - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - - Use - pch.h - $(IntDir)pch.pch - _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - Level4 - %(AdditionalOptions) /permissive- /bigobj - - - - - Disabled - _DEBUG;%(PreprocessorDefinitions) - - - Console - false - - - - - WIN32;%(PreprocessorDefinitions) - - - - - WIN32;%(PreprocessorDefinitions) - - - - - MaxSpeed - true - true - NDEBUG;%(PreprocessorDefinitions) - - - Console - true - true - false - - - - - - - - - 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}. - - - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-enum-endpoints/main.cpp b/samples/cpp-winrt/api-enum-endpoints/main.cpp deleted file mode 100644 index d84afdc47..000000000 --- a/samples/cpp-winrt/api-enum-endpoints/main.cpp +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License -// Further information: https://github.com/microsoft/MIDI/ -// ============================================================================ - -// Windows MIDI Services sample code - -#include "pch.h" -#include - -using namespace winrt::Windows::Devices::Midi2; // API - - -// where you find types like IAsyncOperation, IInspectable, etc. -namespace foundation = winrt::Windows::Foundation; - -std::string BooleanToString(bool value) -{ - if (value) - return "true"; - else - return "false"; -} - -int main() -{ - winrt::init_apartment(); - - bool includeDiagnosticsEndpoints = true; - - std::cout << "Enumerating endpoints..." << std::endl; - - auto endpoints = MidiEndpointDeviceInformation::FindAll( - MidiEndpointDeviceInformationSortOrder::Name, - MidiEndpointDeviceInformationFilters::IncludeClientByteStreamNative | - MidiEndpointDeviceInformationFilters::IncludeClientUmpNative | - MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback | - MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder - ); - - std::cout << endpoints.Size() << " endpoints returned" << std::endl << std::endl; - - for (auto const& endpoint : endpoints) - { - std::cout << "Identification" << std::endl; - std::cout << "- Name: " << winrt::to_string(endpoint.Name()) << std::endl; - std::cout << "- Id: " << winrt::to_string(endpoint.Id()) << std::endl; - - auto parent = endpoint.GetParentDeviceInformation(); - - if (parent != nullptr) - { - std::cout << "- Parent: " << winrt::to_string(parent.Id()) << std::endl; - } - else - { - std::cout << "- Parent: Unknown" < - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-enum-endpoints/pch.cpp b/samples/cpp-winrt/api-enum-endpoints/pch.cpp deleted file mode 100644 index bcb5590be..000000000 --- a/samples/cpp-winrt/api-enum-endpoints/pch.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "pch.h" diff --git a/samples/cpp-winrt/api-enum-endpoints/pch.h b/samples/cpp-winrt/api-enum-endpoints/pch.h deleted file mode 100644 index fe2803d1a..000000000 --- a/samples/cpp-winrt/api-enum-endpoints/pch.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once -#include -#include -#include - -#include \ No newline at end of file diff --git a/samples/cpp-winrt/api-loopback-endpoints/api-loopback-endpoints.sln b/samples/cpp-winrt/api-loopback-endpoints/api-loopback-endpoints.sln deleted file mode 100644 index 27d533e9c..000000000 --- a/samples/cpp-winrt/api-loopback-endpoints/api-loopback-endpoints.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.9.34526.213 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "api-loopback-endpoints", "api-loopback-endpoints.vcxproj", "{0F789250-75E9-47D3-B740-46547F2BC23C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {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|Win32 - {0F789250-75E9-47D3-B740-46547F2BC23C}.Debug|x86.Build.0 = Debug|Win32 - {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|Win32 - {0F789250-75E9-47D3-B740-46547F2BC23C}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {12CF8BB3-04D9-4E5D-B48C-0E39B828A727} - EndGlobalSection -EndGlobal diff --git a/samples/cpp-winrt/api-loopback-endpoints/api-loopback-endpoints.vcxproj b/samples/cpp-winrt/api-loopback-endpoints/api-loopback-endpoints.vcxproj deleted file mode 100644 index 325e5e678..000000000 --- a/samples/cpp-winrt/api-loopback-endpoints/api-loopback-endpoints.vcxproj +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - true - true - true - true - 15.0 - {0f789250-75e9-47d3-b740-46547f2bc23c} - Win32Proj - api_loopback_endpoints - 10.0.20348.0 - 10.0.20348.0 - - - - - Debug - x64 - - - Release - x64 - - - - Application - v143 - v142 - v141 - v140 - Unicode - - - true - true - - - false - true - false - - - - - - - - - - - - - - - - Use - pch.h - $(IntDir)pch.pch - _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - Level4 - %(AdditionalOptions) /permissive- /bigobj - - - - - Disabled - _DEBUG;%(PreprocessorDefinitions) - - - Console - false - - - - - WIN32;%(PreprocessorDefinitions) - - - - - MaxSpeed - true - true - NDEBUG;%(PreprocessorDefinitions) - - - Console - true - true - false - - - - - - - - - Create - - - - - - - false - - - - - - - - - - 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/api-loopback-endpoints/main.cpp b/samples/cpp-winrt/api-loopback-endpoints/main.cpp deleted file mode 100644 index 4c9916a7a..000000000 --- a/samples/cpp-winrt/api-loopback-endpoints/main.cpp +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License -// Further information: https://github.com/microsoft/MIDI/ -// ============================================================================ - -// Windows MIDI Services sample code - -#include "pch.h" -#include - -#include // normally you'd put this in pch.h, but here for visibility - -using namespace winrt::Windows::Devices::Midi2; // API - -// standard WinRT enumeration support. This is how you find attached devices. -using namespace winrt::Windows::Devices::Enumeration; - -// where you find types like IAsyncOperation, IInspectable, etc. -namespace foundation = winrt::Windows::Foundation; - - -// we'll use these to keep track of the ids of the created endpoints -winrt::hstring m_endpointAId{}; -winrt::hstring m_endpointBId{}; -winrt::guid m_associationId = winrt::Windows::Foundation::GuidHelper::CreateNewGuid(); - -bool CreateLoopbackEndpoints() -{ - std::cout << "Creating loopback endpoints." << std::endl; - - MidiServiceLoopbackEndpointDefinition definitionA; - MidiServiceLoopbackEndpointDefinition definitionB; - - definitionA.Name(L"Sample App Loopback A"); - definitionA.Description(L"The first description is optional, but is displayed to users. This becomes the transport-defined description."); - definitionA.UniqueId(L"8675309-OU812-5150"); - - definitionB.Name(L"Sample App Loopback B"); - definitionB.Description(L"The second description is optional, but is displayed to users. This becomes the transport-defined description."); - definitionB.UniqueId(L"3263827-OU812-5150"); // can be the same as the first one, but doesn't need to be. - - auto response = MidiService::CreateTemporaryLoopbackEndpoints( - m_associationId, - definitionA, - definitionB - ); - - if (response.Success()) - { - std::wcout << L"Endpoints created successfully" << std::endl << std::endl; - - std::cout - << "Loopback Endpoint A: " << std::endl - << " - " << winrt::to_string(definitionA.Name()) << std::endl - << " - " << winrt::to_string(response.EndpointDeviceIdA()) << std::endl << std::endl; - - std::cout - << "Loopback Endpoint B: " << std::endl - << " - " << winrt::to_string(definitionB.Name()) << std::endl - << " - " << winrt::to_string(response.EndpointDeviceIdB()) << std::endl << std::endl; - - m_endpointAId = response.EndpointDeviceIdA(); - m_endpointBId = response.EndpointDeviceIdB(); - } - else - { - std::cout << "Failed to create loopback endpoints." << std::endl; - std::cout << "This can happen if you control-C or crash out of the sample before the loopbacks are removed." << std::endl; - std::cout << "If that's the case, restart MidiSrv, or change the unique Ids above." << std::endl; - } - - // Success here is a boolean for success/fail - return response.Success(); -} - - -int main() -{ - winrt::init_apartment(); - - // create the MIDI session, giving us access to Windows MIDI Services. An app may open - // more than one session. If so, the session name should be meaningful to the user, like - // the name of a browser tab, or a project. - - std::cout << std::endl << "Creating session..." << std::endl; - - auto session = MidiSession::CreateSession(L"Loopback Sample Session"); - - if (CreateLoopbackEndpoints()) - { - auto sendEndpoint = session.CreateEndpointConnection(m_endpointAId); - std::cout << "Connected to sending endpoint: " << winrt::to_string(m_endpointAId) << std::endl; - - auto receiveEndpoint = session.CreateEndpointConnection(m_endpointBId); - std::cout << "Connected to receiving endpoint: " << winrt::to_string(m_endpointBId) << std::endl; - - // Wire up an event handler to receive the message. There is a single event handler type, but the - // MidiMessageReceivedEventArgs class provides the different ways to access the data - // Your event handlers should return quickly as they are called synchronously. - - auto MessageReceivedHandler = [&](foundation::IInspectable const& sender, MidiMessageReceivedEventArgs const& args) - { - // there are several ways to get the message data from the arguments. If you want to use - // strongly-typed UMP classes, then you may start with the GetUmp() method. The GetXXX calls - // are all generating something within the function, so you want to call them once and then - // keep the result around in a variable if you plan to refer to it multiple times. In - // contrast, the FillXXX functions will update values in provided (pre-allocated) types - // passed in to the functions. - auto ump = args.GetMessagePacket(); - - std::cout << std::endl; - std::cout << "Received UMP" << std::endl; - std::cout << "- Current Timestamp: " << std::dec << MidiClock::Now() << std::endl; - std::cout << "- UMP Timestamp: " << std::dec << ump.Timestamp() << std::endl; - std::cout << "- UMP Msg Type: 0x" << std::hex << (uint32_t)ump.MessageType() << std::endl; - std::cout << "- UMP Packet Type: 0x" << std::hex << (uint32_t)ump.PacketType() << std::endl; - std::cout << "- Message: " << winrt::to_string(MidiMessageUtility::GetMessageFriendlyNameFromFirstWord(args.PeekFirstWord())) << std::endl; - - // if you wish to cast the IMidiUmp to a specific Ump Type, you can do so using .as WinRT extension - - if (ump.PacketType() == MidiPacketType::UniversalMidiPacket32) - { - // we'll use the Ump32 type here. This is a runtimeclass that the strongly-typed - // 32-bit messages derive from. There are also MidiUmp64/96/128 classes. - auto ump32 = ump.as(); - - std::cout << "- Word 0: 0x" << std::hex << ump32.Word0() << std::endl; - } - - std::cout << std::endl; - - }; - - // the returned token is used to deregister the event later. - auto eventRevokeToken = receiveEndpoint.MessageReceived(MessageReceivedHandler); - - - std::cout << std::endl << "Opening endpoint connection" << std::endl; - - // once you have wired up all your event handlers, added any filters/listeners, etc. - // You can open the connection. Doing this will query the cache for the in-protocol - // endpoint information and function blocks. If not there, it will send out the requests - // which will come back asynchronously with responses. - sendEndpoint.Open(); - receiveEndpoint.Open(); - - - std::cout << std::endl << "Creating MIDI 1.0 Channel Voice 32-bit UMP..." << std::endl; - - auto ump32 = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( - MidiClock::Now(), // use current timestamp - MidiGroup(5), // group 5 - Midi1ChannelVoiceMessageStatus::NoteOn, // 9 - MidiChannel(3), // channel 3 - 120, // note 120 - hex 0x78 - 100); // velocity 100 hex 0x64 - - // here you would set other values in the UMP word(s) - - std::cout << "Sending single UMP " << std::hex << ump32.Word0() << " ..." << std::endl; - std::cout << std::endl << " ** Wait for the sent UMP to arrive, and then press enter to cleanup. **" << std::endl; - - auto ump = ump32.as(); - auto sendResult = sendEndpoint.SendSingleMessagePacket(ump); // could also use the SendWords methods, etc. - - if (MidiEndpointConnection::SendMessageFailed(sendResult)) - { - std::cout << std::endl << "Send message failed..." << std::endl; - } - - system("pause"); - - std::cout << std::endl << "Deregistering event handler..." << std::endl; - - // deregister the event by passing in the revoke token - receiveEndpoint.MessageReceived(eventRevokeToken); - - std::cout << "Disconnecting UMP Endpoint Connection..." << std::endl; - - - session.DisconnectEndpointConnection(sendEndpoint.ConnectionId()); - session.DisconnectEndpointConnection(receiveEndpoint.ConnectionId()); - - // close the session, detaching all Windows MIDI Services resources and closing all connections - // You can also disconnect individual Endpoint Connections when you are done with them, as we did above - session.Close(); - - - // remove the loopback endpoints - // If you don't do this, they will stay active, and the next attempt - // to create them will fail because the unique Ids are already in use - - if (MidiService::RemoveTemporaryLoopbackEndpoints(m_associationId)) - { - std::cout << "Loopback endpoints removed." << std::endl; - } - else - { - std::cout << "There was a problem removing the endpoints. You may want to restart the service." << std::endl; - } - } -} diff --git a/samples/cpp-winrt/api-loopback-endpoints/packages.config b/samples/cpp-winrt/api-loopback-endpoints/packages.config deleted file mode 100644 index 9fca0dc22..000000000 --- a/samples/cpp-winrt/api-loopback-endpoints/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-loopback-endpoints/pch.cpp b/samples/cpp-winrt/api-loopback-endpoints/pch.cpp deleted file mode 100644 index bcb5590be..000000000 --- a/samples/cpp-winrt/api-loopback-endpoints/pch.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "pch.h" diff --git a/samples/cpp-winrt/api-loopback-endpoints/pch.h b/samples/cpp-winrt/api-loopback-endpoints/pch.h deleted file mode 100644 index 5dbdc4014..000000000 --- a/samples/cpp-winrt/api-loopback-endpoints/pch.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once -#include -#include - - diff --git a/samples/cpp-winrt/api-watch-endpoints/api-watch-endpoints-cpp.vcxproj b/samples/cpp-winrt/api-watch-endpoints/api-watch-endpoints-cpp.vcxproj deleted file mode 100644 index d7c3a42de..000000000 --- a/samples/cpp-winrt/api-watch-endpoints/api-watch-endpoints-cpp.vcxproj +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - true - true - true - true - 15.0 - {fb9d8e00-e6e5-42fa-93b5-efe40dc66c04} - Win32Proj - api_watch_endpoints - 10.0.20348.0 - 10.0.20348.0 - true - api-watch-endpoints-cpp - - - - - Debug - ARM64 - - - Debug - ARM64EC - - - Release - ARM64 - - - Release - ARM64EC - - - Debug - x64 - - - Release - x64 - - - - Application - v143 - v142 - v141 - v140 - Unicode - - - true - true - - - false - true - false - - - - - - - - - - - - - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - $(IncludePath) - - - - Use - pch.h - $(IntDir)pch.pch - _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) - Level4 - %(AdditionalOptions) /permissive- /bigobj - - - - - Disabled - _DEBUG;%(PreprocessorDefinitions) - - - Console - false - - - - - WIN32;%(PreprocessorDefinitions) - - - - - WIN32;%(PreprocessorDefinitions) - - - - - MaxSpeed - true - true - NDEBUG;%(PreprocessorDefinitions) - - - Console - true - true - false - - - - - - - - - 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}. - - - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-watch-endpoints/main.cpp b/samples/cpp-winrt/api-watch-endpoints/main.cpp deleted file mode 100644 index 90667ad4f..000000000 --- a/samples/cpp-winrt/api-watch-endpoints/main.cpp +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License -// Further information: https://github.com/microsoft/MIDI/ -// ============================================================================ - -// Windows MIDI Services sample code - -#include "pch.h" -#include - -using namespace winrt::Windows::Devices::Midi2; // API - - -// where you find types like IAsyncOperation, IInspectable, etc. -namespace foundation = winrt::Windows::Foundation; - -std::string BooleanToString(bool value) -{ - if (value) - return "true"; - else - return "false"; -} - -int main() -{ - winrt::init_apartment(); - - bool includeDiagnosticsEndpoints = true; - - std::cout << "Enumerating endpoints..." << std::endl; - - auto filter = MidiEndpointDeviceInformationFilters::IncludeClientByteStreamNative | - MidiEndpointDeviceInformationFilters::IncludeClientUmpNative | - MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder; - - if (includeDiagnosticsEndpoints) - { - filter |= MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback; - } - - auto watcher = MidiEndpointDeviceWatcher::CreateWatcher(filter); - - - - auto OnWatcherStopped = [&](MidiEndpointDeviceWatcher const& /*sender*/, foundation::IInspectable const& /*args*/) - { - std::cout << std::endl; - std::cout << "Watcher stopped." << std::endl; - }; - - auto OnWatcherEnumerationCompleted = [&](MidiEndpointDeviceWatcher const& /*sender*/, foundation::IInspectable const& args) - { - std::cout << std::endl; - std::cout << "Initial enumeration completed." << std::endl; - }; - - auto OnWatcherDeviceRemoved = [&](MidiEndpointDeviceWatcher const& /*sender*/, MidiEndpointDeviceInformationRemovedEventArgs const& args) - { - std::cout << std::endl; - std::cout << "Removed: " << winrt::to_string(args.Id()) << std::endl; - }; - - auto OnWatcherDeviceUpdated = [&](MidiEndpointDeviceWatcher const& /*sender*/, MidiEndpointDeviceInformationUpdatedEventArgs const& args) - { - std::cout << std::endl; - std::cout << "Updated: " << winrt::to_string(args.Id()) << std::endl; - - // Show how to use the various data update flags here - - if (args.UpdatedName()) std::cout << "- Name" << std::endl; - if (args.UpdatedUserMetadata()) std::cout << "- User Metadata" << std::endl; - if (args.UpdatedEndpointInformation()) std::cout << "- Endpoint Information" << std::endl; - if (args.UpdatedStreamConfiguration()) std::cout << "- Stream Configuration" << std::endl; - if (args.UpdatedFunctionBlocks()) std::cout << "- Function Blocks" << std::endl; - if (args.UpdatedDeviceIdentity()) std::cout << "- Device Identity" << std::endl; - if (args.UpdatedAdditionalCapabilities()) std::cout << "- Additional Capabilities" << std::endl; - - }; - - auto OnWatcherDeviceAdded = [&](MidiEndpointDeviceWatcher const& /*sender*/, MidiEndpointDeviceInformationAddedEventArgs const& args) - { - std::cout << std::endl; - std::cout << "Added : " << winrt::to_string(args.AddedDevice().Name()) << std::endl; - std::cout << " " << winrt::to_string(args.AddedDevice().Id()) << std::endl ; - }; - - - auto revokeOnWatcherStopped = watcher.Stopped(OnWatcherStopped); - auto revokeOnWatcherEnumerationCompleted = watcher.EnumerationCompleted(OnWatcherEnumerationCompleted); - auto revokeOnWatcherDeviceRemoved = watcher.Removed(OnWatcherDeviceRemoved); - auto revokeOnWatcherDeviceUpdated = watcher.Updated(OnWatcherDeviceUpdated); - auto revokeOnWatcherDeviceAdded = watcher.Added(OnWatcherDeviceAdded); - - watcher.Start(); - - std::cout << std::endl << "Plug and unplug devices, update properties etc. Press any key when you have finished." << std::endl << std::endl; - - system("pause"); - - watcher.Stop(); - - // unwire events - - watcher.Stopped(revokeOnWatcherStopped); - watcher.EnumerationCompleted(revokeOnWatcherEnumerationCompleted); - watcher.Removed(revokeOnWatcherDeviceRemoved); - watcher.Updated(revokeOnWatcherDeviceUpdated); - watcher.Added(revokeOnWatcherDeviceAdded); - -} diff --git a/samples/cpp-winrt/api-watch-endpoints/packages.config b/samples/cpp-winrt/api-watch-endpoints/packages.config deleted file mode 100644 index 9fca0dc22..000000000 --- a/samples/cpp-winrt/api-watch-endpoints/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/samples/cpp-winrt/api-watch-endpoints/pch.cpp b/samples/cpp-winrt/api-watch-endpoints/pch.cpp deleted file mode 100644 index bcb5590be..000000000 --- a/samples/cpp-winrt/api-watch-endpoints/pch.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "pch.h" diff --git a/samples/cpp-winrt/api-watch-endpoints/pch.h b/samples/cpp-winrt/api-watch-endpoints/pch.h deleted file mode 100644 index fe2803d1a..000000000 --- a/samples/cpp-winrt/api-watch-endpoints/pch.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once -#include -#include -#include - -#include \ No newline at end of file diff --git a/samples/cpp-winrt/api-client-basics/PropertySheet.props b/samples/cpp-winrt/basics/PropertySheet.props similarity index 100% rename from samples/cpp-winrt/api-client-basics/PropertySheet.props rename to samples/cpp-winrt/basics/PropertySheet.props diff --git a/samples/cpp-winrt/basics/client-basics-cpp.exe.manifest b/samples/cpp-winrt/basics/client-basics-cpp.exe.manifest new file mode 100644 index 000000000..e06e9c88c --- /dev/null +++ b/samples/cpp-winrt/basics/client-basics-cpp.exe.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/basics/client-basics-cpp.vcxproj b/samples/cpp-winrt/basics/client-basics-cpp.vcxproj new file mode 100644 index 000000000..e0ac6ecf7 --- /dev/null +++ b/samples/cpp-winrt/basics/client-basics-cpp.vcxproj @@ -0,0 +1,169 @@ + + + + + + true + true + false + true + 15.0 + {fb9d8e00-e6e5-42fa-93b5-efe40dc66c04} + Win32Proj + sample + 10.0 + 10.0.20348.0 + true + client-basics-cpp + + + + + Debug + ARM64 + + + Debug + ARM64EC + + + Release + ARM64 + + + Release + ARM64EC + + + Debug + x64 + + + Release + x64 + + + + Application + v143 + v142 + v141 + v140 + Unicode + + + true + true + + + false + true + false + + + + + + + + + + + + + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + + NotUsing + + + + + _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) + Level4 + %(AdditionalOptions) /permissive- /bigobj + + + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + stdcpp20 + + + Console + false + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + MaxSpeed + true + true + NDEBUG;%(PreprocessorDefinitions) + stdcpp20 + stdcpp20 + stdcpp20 + + + Console + true + true + false + + + + + + + + + + + + + + + + + + + + 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/basics/main.cpp b/samples/cpp-winrt/basics/main.cpp new file mode 100644 index 000000000..420383640 --- /dev/null +++ b/samples/cpp-winrt/basics/main.cpp @@ -0,0 +1,163 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// Further information: https://aka.ms/midi +// ============================================================================ + +// Windows MIDI Services sample code + + +#include + +#include +#include +#include + +#include +#include +#include +#include + + +using namespace winrt::Microsoft::Windows::Devices::Midi2; // SDK Core +using namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; // For diagnostics loopback endpoints +using namespace winrt::Microsoft::Windows::Devices::Midi2::Messages; // For message utilities and strong types +using namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization; // for code to check if the service is installed/running + + +// where you find types like IAsyncOperation, IInspectable, etc. +namespace foundation = winrt::Windows::Foundation; + + +int main() +{ + winrt::init_apartment(); + + // Check to see if Windows MIDI Services is installed and running on this PC + if (!MidiServicesInitializer::EnsureServiceAvailable()) + { + // you may wish to fallback to an older MIDI API if it suits your application's workflow + std::cout << std::endl << "** Windows MIDI Services is not running on this PC **" << std::endl; + + return 1; + } + else + { + std::cout << std::endl << "Verified that the MIDI Service is available and started" << std::endl; + + // bootstrap the SDK runtime + MidiServicesInitializer::InitializeSdkRuntime(); + } + + + // create the MIDI session, giving us access to Windows MIDI Services. An app may open + // more than one session. If so, the session name should be meaningful to the user, like + // the name of a browser tab, or a project. + + std::cout << std::endl << "Creating session..." << std::endl; + + auto session = MidiSession::Create(L"Sample Session"); + + auto endpointAId = MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId(); + auto endpointBId = MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId(); + + auto sendEndpoint = session.CreateEndpointConnection(endpointAId); + std::cout << "Connected to sending endpoint: " << winrt::to_string(endpointAId) << std::endl; + + auto receiveEndpoint = session.CreateEndpointConnection(endpointBId); + std::cout << "Connected to receiving endpoint: " << winrt::to_string(endpointBId) << std::endl; + + // Wire up an event handler to receive the message. There is a single event handler type, but the + // MidiMessageReceivedEventArgs class provides the different ways to access the data + // Your event handlers should return quickly as they are called synchronously. + + auto MessageReceivedHandler = [&](foundation::IInspectable const& /*sender*/, MidiMessageReceivedEventArgs const& args) + { + // there are several ways to get the message data from the arguments. If you want to use + // strongly-typed UMP classes, then you may start with the GetUmp() method. The GetXXX calls + // are all generating something within the function, so you want to call them once and then + // keep the result around in a variable if you plan to refer to it multiple times. In + // contrast, the FillXXX functions will update values in provided (pre-allocated) types + // passed in to the functions. + auto ump = args.GetMessagePacket(); + + std::cout << std::endl; + std::cout << "Received UMP" << std::endl; + std::cout << "- Current Timestamp: " << std::dec << MidiClock::Now() << std::endl; + std::cout << "- UMP Timestamp: " << std::dec << ump.Timestamp() << std::endl; + std::cout << "- UMP Msg Type: 0x" << std::hex << (uint32_t)ump.MessageType() << std::endl; + std::cout << "- UMP Packet Type: 0x" << std::hex << (uint32_t)ump.PacketType() << std::endl; + std::cout << "- Message: " << winrt::to_string(MidiMessageHelper::GetMessageDisplayNameFromFirstWord(args.PeekFirstWord())) << std::endl; + + // if you wish to cast the IMidiUmp to a specific Ump Type, you can do so using .as WinRT extension + + if (ump.PacketType() == MidiPacketType::UniversalMidiPacket32) + { + // we'll use the Ump32 type here. This is a runtimeclass that the strongly-typed + // 32-bit messages derive from. There are also MidiUmp64/96/128 classes. + auto ump32 = ump.as(); + + std::cout << "- Word 0: 0x" << std::hex << ump32.Word0() << std::endl; + } + + std::cout << std::endl; + + }; + + // the returned token is used to deregister the event later. + auto eventRevokeToken = receiveEndpoint.MessageReceived(MessageReceivedHandler); + + + std::cout << std::endl << "Opening endpoint connection" << std::endl; + + // once you have wired up all your event handlers, added any filters/listeners, etc. + // You can open the connection. Doing this will query the cache for the in-protocol + // endpoint information and function blocks. If not there, it will send out the requests + // which will come back asynchronously with responses. + sendEndpoint.Open(); + receiveEndpoint.Open(); + + + std::cout << std::endl << "Creating MIDI 1.0 Channel Voice 32-bit UMP..." << std::endl; + + auto ump32 = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( + MidiClock::Now(), // use current timestamp + MidiGroup(5), // group 5 + Midi1ChannelVoiceMessageStatus::NoteOn, // 9 + MidiChannel(3), // channel 3 + 120, // note 120 - hex 0x78 + 100); // velocity 100 hex 0x64 + + // here you would set other values in the UMP word(s) + + std::cout << "Sending single UMP..." << std::endl; + + auto ump = ump32.as(); + auto sendResult = sendEndpoint.SendSingleMessagePacket(ump); // could also use the SendWords methods, etc. + + if (MidiEndpointConnection::SendMessageSucceeded(sendResult)) + { + std::cout << std::endl << " ** Wait for the sent UMP to arrive, and then press enter to cleanup. **" << std::endl; + } + else + { + std::cout << std::endl << "Message sending failed." << std::endl; + } + + system("pause"); + + std::cout << std::endl << "Deregistering event handler..." << std::endl; + + // deregister the event by passing in the revoke token + receiveEndpoint.MessageReceived(eventRevokeToken); + + std::cout << "Disconnecting UMP Endpoint Connection..." << std::endl; + + + session.DisconnectEndpointConnection(sendEndpoint.ConnectionId()); + session.DisconnectEndpointConnection(receiveEndpoint.ConnectionId()); + + // close the session, detaching all Windows MIDI Services resources and closing all connections + // You can also disconnect individual Endpoint Connections when you are done with them, as we did above + session.Close(); + +} diff --git a/samples/cpp-winrt/basics/packages.config b/samples/cpp-winrt/basics/packages.config new file mode 100644 index 000000000..8288024a1 --- /dev/null +++ b/samples/cpp-winrt/basics/packages.config @@ -0,0 +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 new file mode 100644 index 000000000..2806cbb9d --- /dev/null +++ b/samples/cpp-winrt/cpp-winrt-samples.sln @@ -0,0 +1,93 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.34929.205 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "client-basics-cpp", "basics\client-basics-cpp.vcxproj", "{FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopback-endpoints-cpp", "loopback-endpoints\loopback-endpoints-cpp.vcxproj", "{0F789250-75E9-47D3-B740-46547F2BC23C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "send-speed-cpp", "send-speed\send-speed-cpp.vcxproj", "{E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "static-enum-endpoints-cpp", "static-enum-endpoints\static-enum-endpoints-cpp.vcxproj", "{2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "watch-endpoints-cpp", "watch-endpoints\watch-endpoints-cpp.vcxproj", "{7BF3149C-DFA9-4419-B8E0-6E821875F83B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM64 = Debug|ARM64 + Debug|ARM64EC = Debug|ARM64EC + Debug|x64 = Debug|x64 + Release|ARM64 = Release|ARM64 + Release|ARM64EC = Release|ARM64EC + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|ARM64.Build.0 = Debug|ARM64 + {FB9D8E00-E6E5-42FA-93B5-EFE40DC66C04}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {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}.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 + {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}.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 + {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}.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 + {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}.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 + {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}.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 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {30D4FF76-AAE2-40A4-8AAC-1C79E0091A38} + EndGlobalSection +EndGlobal diff --git a/samples/cpp-winrt/api-client-send-speed/PropertySheet.props b/samples/cpp-winrt/loopback-endpoints/PropertySheet.props similarity index 100% rename from samples/cpp-winrt/api-client-send-speed/PropertySheet.props rename to samples/cpp-winrt/loopback-endpoints/PropertySheet.props diff --git a/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.exe.manifest b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.exe.manifest new file mode 100644 index 000000000..e06e9c88c --- /dev/null +++ b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.exe.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj new file mode 100644 index 000000000..60ee7a2db --- /dev/null +++ b/samples/cpp-winrt/loopback-endpoints/loopback-endpoints-cpp.vcxproj @@ -0,0 +1,127 @@ + + + + + + true + true + true + true + 15.0 + {0f789250-75e9-47d3-b740-46547f2bc23c} + Win32Proj + sample + 10.0 + 10.0.20348.0 + + + + + Debug + x64 + + + Release + x64 + + + + Application + v143 + v142 + v141 + v140 + Unicode + + + true + true + + + false + true + false + + + + + + + + + + + + + + + + NotUsing + + + + + _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) + Level4 + %(AdditionalOptions) /permissive- /bigobj + + + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + stdcpp20 + + + Console + false + + + + + WIN32;%(PreprocessorDefinitions) + + + + + MaxSpeed + true + true + NDEBUG;%(PreprocessorDefinitions) + stdcpp20 + + + Console + true + true + false + + + + + + + + + + false + + + + + + + + + + + + + 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/loopback-endpoints/main.cpp b/samples/cpp-winrt/loopback-endpoints/main.cpp new file mode 100644 index 000000000..a45f4747d --- /dev/null +++ b/samples/cpp-winrt/loopback-endpoints/main.cpp @@ -0,0 +1,227 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// Further information: https://github.com/microsoft/MIDI/ +// ============================================================================ + +// Windows MIDI Services sample code + +#include + +#include +#include +#include + +#include +#include +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; // Core SDK +using namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback; // For loopback endpoints +using namespace winrt::Microsoft::Windows::Devices::Midi2::Messages; // For message utilities and strong types +using namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization; // for code to check if the service is installed/running + + +// where you find types like IAsyncOperation, IInspectable, etc. +namespace foundation = winrt::Windows::Foundation; + + + +// we'll use these to keep track of the ids of the created endpoints +winrt::hstring m_endpointAId{}; +winrt::hstring m_endpointBId{}; +winrt::guid m_associationId = winrt::Windows::Foundation::GuidHelper::CreateNewGuid(); + +bool CreateLoopbackEndpoints() +{ + std::cout << "Creating loopback endpoints." << std::endl; + + MidiLoopbackEndpointDefinition definitionA; + MidiLoopbackEndpointDefinition definitionB; + + definitionA.Name = L"Sample App Loopback A"; + definitionA.Description = L"The first description is optional, but is displayed to users. This becomes the transport-defined description."; + definitionA.UniqueId = L"8675309-OU812-5150"; + + definitionB.Name = L"Sample App Loopback B"; + definitionB.Description = L"The second description is optional, but is displayed to users. This becomes the transport-defined description."; + definitionB.UniqueId = L"3263827-OU812-5150"; // can be the same as the first one, but doesn't need to be. + + MidiLoopbackEndpointCreationConfig creationConfig(m_associationId, definitionA, definitionB); + + auto response = MidiLoopbackEndpointManager::CreateTransientLoopbackEndpoints(creationConfig); + + if (response.Success) + { + std::wcout << L"Endpoints created successfully" << std::endl << std::endl; + + std::cout + << "Loopback Endpoint A: " << std::endl + << " - " << winrt::to_string(definitionA.Name) << std::endl + << " - " << winrt::to_string(response.EndpointDeviceIdA) << std::endl << std::endl; + + std::cout + << "Loopback Endpoint B: " << std::endl + << " - " << winrt::to_string(definitionB.Name) << std::endl + << " - " << winrt::to_string(response.EndpointDeviceIdB) << std::endl << std::endl; + + m_endpointAId = response.EndpointDeviceIdA; + m_endpointBId = response.EndpointDeviceIdB; + } + else + { + std::cout << "Failed to create loopback endpoints." << std::endl; + std::cout << "This can happen if you control-C or crash out of the sample before the loopbacks are removed." << std::endl; + std::cout << "If that's the case, restart MidiSrv, or change the unique Ids above." << std::endl; + } + + // Success here is a boolean for success/fail + return response.Success; +} + + +int main() +{ + winrt::init_apartment(); + + // Check to see if Windows MIDI Services is installed and running on this PC + if (!MidiServicesInitializer::EnsureServiceAvailable()) + { + // you may wish to fallback to an older MIDI API if it suits your application's workflow + std::cout << std::endl << "** Windows MIDI Services is not running on this PC **" << std::endl; + + return 1; + } + else + { + std::cout << std::endl << "Verified that the MIDI Service is available and started" << std::endl; + + // bootstrap the SDK runtime + MidiServicesInitializer::InitializeSdkRuntime(); + } + + + // create the MIDI session, giving us access to Windows MIDI Services. An app may open + // more than one session. If so, the session name should be meaningful to the user, like + // the name of a browser tab, or a project. + + std::cout << std::endl << "Creating session..." << std::endl; + + auto session = MidiSession::Create(L"Loopback Sample Session"); + + if (CreateLoopbackEndpoints()) + { + auto sendEndpoint = session.CreateEndpointConnection(m_endpointAId); + std::cout << "Connected to sending endpoint: " << winrt::to_string(m_endpointAId) << std::endl; + + auto receiveEndpoint = session.CreateEndpointConnection(m_endpointBId); + std::cout << "Connected to receiving endpoint: " << winrt::to_string(m_endpointBId) << std::endl; + + // Wire up an event handler to receive the message. There is a single event handler type, but the + // MidiMessageReceivedEventArgs class provides the different ways to access the data + // Your event handlers should return quickly as they are called synchronously. + + auto MessageReceivedHandler = [&](foundation::IInspectable const& /*sender*/, MidiMessageReceivedEventArgs const& args) + { + // there are several ways to get the message data from the arguments. If you want to use + // strongly-typed UMP classes, then you may start with the GetUmp() method. The GetXXX calls + // are all generating something within the function, so you want to call them once and then + // keep the result around in a variable if you plan to refer to it multiple times. In + // contrast, the FillXXX functions will update values in provided (pre-allocated) types + // passed in to the functions. + auto ump = args.GetMessagePacket(); + + std::cout << std::endl; + std::cout << "Received UMP" << std::endl; + std::cout << "- Current Timestamp: " << std::dec << MidiClock::Now() << std::endl; + std::cout << "- UMP Timestamp: " << std::dec << ump.Timestamp() << std::endl; + std::cout << "- UMP Msg Type: 0x" << std::hex << (uint32_t)ump.MessageType() << std::endl; + std::cout << "- UMP Packet Type: 0x" << std::hex << (uint32_t)ump.PacketType() << std::endl; + std::cout << "- Message: " << winrt::to_string(MidiMessageHelper::GetMessageDisplayNameFromFirstWord(args.PeekFirstWord())) << std::endl; + + // if you wish to cast the IMidiUmp to a specific Ump Type, you can do so using .as WinRT extension + + if (ump.PacketType() == MidiPacketType::UniversalMidiPacket32) + { + // we'll use the Ump32 type here. This is a runtimeclass that the strongly-typed + // 32-bit messages derive from. There are also MidiUmp64/96/128 classes. + auto ump32 = ump.as(); + + std::cout << "- Word 0: 0x" << std::hex << ump32.Word0() << std::endl; + } + + std::cout << std::endl; + + }; + + // the returned token is used to deregister the event later. + auto eventRevokeToken = receiveEndpoint.MessageReceived(MessageReceivedHandler); + + + std::cout << std::endl << "Opening endpoint connection" << std::endl; + + // once you have wired up all your event handlers, added any filters/listeners, etc. + // You can open the connection. Doing this will query the cache for the in-protocol + // endpoint information and function blocks. If not there, it will send out the requests + // which will come back asynchronously with responses. + sendEndpoint.Open(); + receiveEndpoint.Open(); + + + std::cout << std::endl << "Creating MIDI 1.0 Channel Voice 32-bit UMP..." << std::endl; + + auto ump32 = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( + MidiClock::Now(), // use current timestamp + MidiGroup(5), // group 6 + Midi1ChannelVoiceMessageStatus::NoteOn, // 9 + MidiChannel(3), // channel 4 + 120, // note 120 - hex 0x78 + 100); // velocity 100 hex 0x64 + + // here you would set other values in the UMP word(s) + + std::cout << "Sending single UMP " << std::hex << ump32.Word0() << " ..." << std::endl; + std::cout << std::endl << " ** Wait for the sent UMP to arrive, and then press enter to cleanup. **" << std::endl; + + auto ump = ump32.as(); + auto sendResult = sendEndpoint.SendSingleMessagePacket(ump); // could also use the SendWords methods, etc. + + if (MidiEndpointConnection::SendMessageFailed(sendResult)) + { + std::cout << std::endl << "Send message failed..." << std::endl; + } + + system("pause"); + + std::cout << std::endl << "Deregistering event handler..." << std::endl; + + // deregister the event by passing in the revoke token + receiveEndpoint.MessageReceived(eventRevokeToken); + + std::cout << "Disconnecting UMP Endpoint Connection..." << std::endl; + + + session.DisconnectEndpointConnection(sendEndpoint.ConnectionId()); + session.DisconnectEndpointConnection(receiveEndpoint.ConnectionId()); + + // close the session, detaching all Windows MIDI Services resources and closing all connections + // You can also disconnect individual Endpoint Connections when you are done with them, as we did above + session.Close(); + + + // remove the loopback endpoints + // If you don't do this, they will stay active, and the next attempt + // to create them will fail because the unique Ids are already in use + + MidiLoopbackEndpointDeletionConfig deletionConfig(m_associationId); + + if (MidiLoopbackEndpointManager::RemoveTransientLoopbackEndpoints(deletionConfig)) + { + std::cout << "Loopback endpoints removed." << std::endl; + } + else + { + std::cout << "There was a problem removing the endpoints. You may want to restart the service." << std::endl; + } + } +} diff --git a/samples/cpp-winrt/loopback-endpoints/packages.config b/samples/cpp-winrt/loopback-endpoints/packages.config new file mode 100644 index 000000000..8288024a1 --- /dev/null +++ b/samples/cpp-winrt/loopback-endpoints/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/api-loopback-endpoints/readme.txt b/samples/cpp-winrt/loopback-endpoints/readme.txt similarity index 100% rename from samples/cpp-winrt/api-loopback-endpoints/readme.txt rename to samples/cpp-winrt/loopback-endpoints/readme.txt diff --git a/samples/cpp-winrt/api-enum-endpoints/PropertySheet.props b/samples/cpp-winrt/send-speed/PropertySheet.props similarity index 100% rename from samples/cpp-winrt/api-enum-endpoints/PropertySheet.props rename to samples/cpp-winrt/send-speed/PropertySheet.props diff --git a/samples/cpp-winrt/send-speed/main.cpp b/samples/cpp-winrt/send-speed/main.cpp new file mode 100644 index 000000000..2f8c9f17e --- /dev/null +++ b/samples/cpp-winrt/send-speed/main.cpp @@ -0,0 +1,377 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// Further information: https://github.com/microsoft/MIDI/ +// ============================================================================ + +// Windows MIDI Services sample code + +#include +#include + +#include +#include +#include + +#include +#include +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; // SDK Core +using namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; // For diagnostics loopback endpoints +using namespace winrt::Microsoft::Windows::Devices::Midi2::Messages; // For message utilities and strong types +using namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization; // for code to check if the service is installed/running + + +// where you find types like IAsyncOperation, IInspectable, etc. +namespace foundation = winrt::Windows::Foundation; +namespace collections = winrt::Windows::Foundation::Collections; + +void DisplaySingleResult(std::wstring label, uint64_t totalTime, uint64_t errorCount, uint32_t totalMessageCount) +{ + std::wcout + << std::setw(35) << std::left + << label + << L"Total: " + << std::fixed << std::setprecision(2) << std::right + << MidiClock::ConvertTimestampTicksToMilliseconds(totalTime) + << "ms, average: " + << std::fixed << std::setprecision(2) << std::right + << MidiClock::ConvertTimestampTicksToMicroseconds((uint64_t)((double)totalTime / totalMessageCount)) + << " microseconds per message, " + << errorCount + << " errors" + << std::endl; + +} + +#define MESSAGE_COUNT_PER_ITERATION 100 +#define ITERATION_COUNT 2000 + +#define TOTAL_WORD_COUNT_PER_ITERATION (MESSAGE_COUNT_PER_ITERATION * 3) + + +int main() +{ + winrt::init_apartment(); + + // Check to see if Windows MIDI Services is installed and running on this PC + if (!MidiServicesInitializer::EnsureServiceAvailable()) + { + // you may wish to fallback to an older MIDI API if it suits your application's workflow + std::cout << std::endl << "** Windows MIDI Services is not running on this PC **" << std::endl; + + return 1; + } + else + { + std::cout << std::endl << "Verified that the MIDI Service is available and started" << std::endl; + + // bootstrap the SDK runtime + MidiServicesInitializer::InitializeSdkRuntime(); + } + + auto endpointId = MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId(); + + uint64_t TotalSendTicksIndividualMessagePackets{ 0 }; + uint64_t TotalSendTicksIndividualMessageWords{ 0 }; + uint64_t TotalSendTicksIndividualMessageStructs{ 0 }; + + uint64_t TotalSendTicksVectorMessagePackets{ 0 }; + uint64_t TotalSendTicksVectorMessageWords{ 0 }; + uint64_t TotalSendTicksVectorMessageStructs{ 0 }; + + uint64_t TotalSendTicksArrayMessageWords{ 0 }; + uint64_t TotalSendTicksArrayMessageStructs{ 0 }; + + uint64_t TotalSendTicksMultipleMessageBuffer{ 0 }; + + uint64_t TotalSendErrorsIndividualMessagePackets{ 0 }; + uint64_t TotalSendErrorsIndividualMessageWords{ 0 }; + uint64_t TotalSendErrorsIndividualMessageStructs{ 0 }; + + uint64_t TotalSendErrorsVectorMessagePackets{ 0 }; + uint64_t TotalSendErrorsVectorMessageWords{ 0 }; + uint64_t TotalSendErrorsVectorMessageStructs{ 0 }; + + uint64_t TotalSendErrorsMultipleMessageBuffer{ 0 }; + + uint64_t TotalSendErrorsArrayMessageWords{ 0 }; + uint64_t TotalSendErrorsArrayMessageStructs{ 0 }; + + + // create the MIDI session, giving us access to Windows MIDI Services. An app may open + // more than one session. If so, the session name should be meaningful to the user, like + // the name of a browser tab, or a project. + + auto session = MidiSession::Create(L"Speed Test"); + + auto sendEndpoint = session.CreateEndpointConnection(endpointId); + + // once you have wired up all your event handlers, added any filters/listeners, etc. + // You can open the connection. Doing this will query the cache for the in-protocol + // endpoint information and function blocks. If not there, it will send out the requests + // which will come back asynchronously with responses. + sendEndpoint.Open(); + + std::cout << "Connected to open send endpoint: " << winrt::to_string(endpointId) << std::endl; + + + auto ump64 = MidiMessageBuilder::BuildMidi2ChannelVoiceMessage( + MidiClock::TimestampConstantSendImmediately(), + MidiGroup(5), // group 6 + Midi2ChannelVoiceMessageStatus::NoteOn, + MidiChannel(3), // channel 4 + 120, // note 120 - hex 0x78 + 100); // velocity 100 hex 0x64 + + auto ump32 = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( + MidiClock::TimestampConstantSendImmediately(), + MidiGroup(5), // group 6 + Midi1ChannelVoiceMessageStatus::NoteOn, + MidiChannel(2), // channel 3 + 110, // note 110 + 200); // velocity 200 + + + // Build our messages to send out. We do this all at once, and it is not part of the benchmarking + // this way, we're *only* testing the send speed + + auto messageList = winrt::single_threaded_vector() ; + auto wordList = winrt::single_threaded_vector(); + auto structList = winrt::single_threaded_vector(); + auto wordListList = std::vector>(); + uint32_t wordArray[TOTAL_WORD_COUNT_PER_ITERATION]; // that *3 needs to change if we mix up more than just the ump32 and ump64 per iteration + MidiMessageStruct structArray[MESSAGE_COUNT_PER_ITERATION]; + + + + + + // if we change the types of messages we send, we need to change this as well + foundation::MemoryBuffer buffer(TOTAL_WORD_COUNT_PER_ITERATION * sizeof(uint32_t)); + + + uint32_t memoryBufferOffset = 0; + uint32_t bytesWritten = 0; + + for (uint32_t i = 0; i < MESSAGE_COUNT_PER_ITERATION; i += 2) + { + // message list + messageList.Append(ump64); + messageList.Append(ump32); + + // word list + ump64.AppendAllMessageWordsToList(wordList); + ump32.AppendAllMessageWordsToList(wordList); + + // buffer + ump64.FillBuffer(memoryBufferOffset, buffer); + ump32.FillBuffer(memoryBufferOffset, buffer); + + // structs + + MidiMessageStruct str64; + str64.Word0 = ump64.Word0(); + str64.Word1 = ump64.Word1(); + structList.Append(str64); + + MidiMessageStruct str32; + str32.Word0 = ump32.Word0(); + structList.Append(str32); + + // for sending words one message at a time + wordListList.push_back(ump64.GetAllWords().GetView()); + wordListList.push_back(ump32.GetAllWords().GetView()); + + bytesWritten += sizeof(ump64) + sizeof(ump32); + + memoryBufferOffset += bytesWritten; + } + + + + + // Actually send the messages + + for (uint32_t i = 0; i < ITERATION_COUNT; i++) + { + uint64_t startTick{}; + uint64_t stopTick{}; + + MidiSendMessageResults result; + + // individual message tests --------------------------------------------------------------------- + + // send individual message words + startTick = MidiClock::Now(); + + for (auto const& message : wordListList) + { + if (message.Size() == 4) + result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0), message.GetAt(1), message.GetAt(2), message.GetAt(3)); + else if (message.Size() == 3) + result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0), message.GetAt(1), message.GetAt(2)); + else if (message.Size() == 2) + result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0), message.GetAt(1)); + else if (message.Size() == 1) + result = sendEndpoint.SendSingleMessageWords(MidiClock::TimestampConstantSendImmediately(), message.GetAt(0)); + + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsIndividualMessageWords++; + } + + } + stopTick = MidiClock::Now(); + TotalSendTicksIndividualMessageWords += (stopTick - startTick); + + + + // send individual structs + + startTick = MidiClock::Now(); + for (auto const& message : structList) + { + result = sendEndpoint.SendSingleMessageStruct(MidiClock::TimestampConstantSendImmediately(), (uint8_t)MidiMessageHelper::GetPacketTypeFromMessageFirstWord(message.Word0), message); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsIndividualMessageStructs++; + } + } + stopTick = MidiClock::Now(); + TotalSendTicksIndividualMessageStructs += (stopTick - startTick); + + + + // send individual message packets + + startTick = MidiClock::Now(); + for (auto const& message : messageList) + { + result = sendEndpoint.SendSingleMessagePacket(message); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsIndividualMessagePackets++; + } + } + stopTick = MidiClock::Now(); + TotalSendTicksIndividualMessagePackets += (stopTick - startTick); + + + // send individual buffers + + + + + + // multi-message tests -------------------------------------------------------------------------- + + // send vector of words + + startTick = MidiClock::Now(); + result = sendEndpoint.SendMultipleMessagesWordList(MidiClock::TimestampConstantSendImmediately(), wordList); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsVectorMessageWords++; + } + stopTick = MidiClock::Now(); + TotalSendTicksVectorMessageWords += (stopTick - startTick); + + // send array of words + + startTick = MidiClock::Now(); + result = sendEndpoint.SendMultipleMessagesWordArray(MidiClock::TimestampConstantSendImmediately(), 0, TOTAL_WORD_COUNT_PER_ITERATION, wordArray); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsArrayMessageWords++; + } + stopTick = MidiClock::Now(); + TotalSendTicksArrayMessageWords += (stopTick - startTick); + + + // send vector of message packets + + startTick = MidiClock::Now(); + result = sendEndpoint.SendMultipleMessagesPacketList(messageList.GetView()); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsVectorMessagePackets++; + } + stopTick = MidiClock::Now(); + TotalSendTicksVectorMessagePackets += (stopTick - startTick); + + + // send vector of message structs + + startTick = MidiClock::Now(); + result = sendEndpoint.SendMultipleMessagesStructList(MidiClock::TimestampConstantSendImmediately(), structList.GetView()); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsVectorMessageStructs++; + } + stopTick = MidiClock::Now(); + TotalSendTicksVectorMessageStructs += (stopTick - startTick); + + // send array of message structs + + startTick = MidiClock::Now(); + result = sendEndpoint.SendMultipleMessagesStructArray(MidiClock::TimestampConstantSendImmediately(), 0, MESSAGE_COUNT_PER_ITERATION, structArray); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsArrayMessageStructs++; + } + stopTick = MidiClock::Now(); + TotalSendTicksArrayMessageStructs += (stopTick - startTick); + + + // send multiple through buffer + + startTick = MidiClock::Now(); + result = sendEndpoint.SendMultipleMessagesBuffer(MidiClock::TimestampConstantSendImmediately(), 0, bytesWritten, buffer); + if (MidiEndpointConnection::SendMessageFailed(result)) + { + TotalSendErrorsMultipleMessageBuffer++; + } + stopTick = MidiClock::Now(); + TotalSendTicksMultipleMessageBuffer += (stopTick - startTick); + } + + + // let's see how we did + + uint32_t totalMessageCount = ITERATION_COUNT * MESSAGE_COUNT_PER_ITERATION; + + std::wcout << std::endl; + std::wcout << L"Iteration Count: " << ITERATION_COUNT << std::endl; + std::wcout << L"Messages per Iteration: " << MESSAGE_COUNT_PER_ITERATION << std::endl; + std::wcout << L"Total Message Count: " << totalMessageCount << std::endl; + + std::wcout << std::endl << L"Multiple messages per call" << std::endl; + std::wcout << L"----------------------------------------------------------------------------------------" << std::endl; + DisplaySingleResult(L"SendMultipleMessagesPacketList", TotalSendTicksVectorMessagePackets, TotalSendErrorsVectorMessagePackets, totalMessageCount); + + DisplaySingleResult(L"SendMultipleMessagesStructList", TotalSendTicksVectorMessageStructs, TotalSendErrorsVectorMessageStructs, totalMessageCount); + DisplaySingleResult(L"SendMultipleMessagesStructArray", TotalSendTicksArrayMessageStructs, TotalSendErrorsArrayMessageStructs, totalMessageCount); + + DisplaySingleResult(L"SendMultipleMessagesWordList", TotalSendTicksVectorMessageWords, TotalSendErrorsVectorMessageWords, totalMessageCount); + DisplaySingleResult(L"SendMultipleMessagesWordArray", TotalSendTicksArrayMessageWords, TotalSendErrorsArrayMessageWords, totalMessageCount); + + DisplaySingleResult(L"SendMultipleMessagesBuffer", TotalSendTicksMultipleMessageBuffer, TotalSendErrorsMultipleMessageBuffer, totalMessageCount); + + std::wcout << std::endl << L"Single message per call" << std::endl; + std::wcout << L"----------------------------------------------------------------------------------------" << std::endl; + DisplaySingleResult(L"SendMessagePacket", TotalSendTicksIndividualMessagePackets, TotalSendErrorsIndividualMessagePackets, totalMessageCount); + DisplaySingleResult(L"SendMessageStruct", TotalSendTicksIndividualMessageStructs, TotalSendErrorsIndividualMessageStructs, totalMessageCount); + DisplaySingleResult(L"SendMessageWords", TotalSendTicksIndividualMessageWords, TotalSendErrorsIndividualMessageWords, totalMessageCount); + + // shut down + + std::cout << std::endl << "Disconnecting UMP Endpoint Connection..." << std::endl; + + session.DisconnectEndpointConnection(sendEndpoint.ConnectionId()); + // close the session, detaching all Windows MIDI Services resources and closing all connections + // You can also disconnect individual Endpoint Connections when you are done with them, as we did above + session.Close(); + +} diff --git a/samples/cpp-winrt/send-speed/packages.config b/samples/cpp-winrt/send-speed/packages.config new file mode 100644 index 000000000..8288024a1 --- /dev/null +++ b/samples/cpp-winrt/send-speed/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/send-speed/send-speed-cpp.exe.manifest b/samples/cpp-winrt/send-speed/send-speed-cpp.exe.manifest new file mode 100644 index 000000000..e06e9c88c --- /dev/null +++ b/samples/cpp-winrt/send-speed/send-speed-cpp.exe.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ 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 new file mode 100644 index 000000000..5c069d9f9 --- /dev/null +++ b/samples/cpp-winrt/send-speed/send-speed-cpp.vcxproj @@ -0,0 +1,169 @@ + + + + + + true + true + true + true + 15.0 + {E4D0CDF5-4990-4EDB-9C27-8AE92F5BE2DF} + Win32Proj + sample + 10.0 + 10.0.20348.0 + true + send-speed-cpp + + + + + Debug + ARM64 + + + Debug + ARM64EC + + + Release + ARM64 + + + Release + ARM64EC + + + Debug + x64 + + + Release + x64 + + + + Application + v143 + v142 + v141 + v140 + Unicode + + + true + true + + + false + true + false + + + + + + + + + + + + + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + + NotUsing + + + + + _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) + Level4 + %(AdditionalOptions) /permissive- /bigobj + + + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + stdcpp20 + + + Console + false + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + MaxSpeed + true + true + NDEBUG;%(PreprocessorDefinitions) + stdcpp20 + stdcpp20 + stdcpp20 + + + Console + true + true + false + + + + + + + + + + + + + + + + + + + + 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/api-loopback-endpoints/PropertySheet.props b/samples/cpp-winrt/static-enum-endpoints/PropertySheet.props similarity index 100% rename from samples/cpp-winrt/api-loopback-endpoints/PropertySheet.props rename to samples/cpp-winrt/static-enum-endpoints/PropertySheet.props diff --git a/samples/cpp-winrt/static-enum-endpoints/main.cpp b/samples/cpp-winrt/static-enum-endpoints/main.cpp new file mode 100644 index 000000000..22080779b --- /dev/null +++ b/samples/cpp-winrt/static-enum-endpoints/main.cpp @@ -0,0 +1,211 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// Further information: https://github.com/microsoft/MIDI/ +// ============================================================================ + +// Windows MIDI Services sample code + +#include + +#include +#include +#include + +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; // SDK Core +using namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization; // for code to check if the service is installed/running + +// where you find types like IAsyncOperation, IInspectable, etc. +namespace foundation = winrt::Windows::Foundation; + +std::string BooleanToString(bool value) +{ + if (value) + return "true"; + else + return "false"; +} + +int main() +{ + winrt::init_apartment(); + + // Check to see if Windows MIDI Services is installed and running on this PC + if (!MidiServicesInitializer::EnsureServiceAvailable()) + { + // you may wish to fallback to an older MIDI API if it suits your application's workflow + std::cout << std::endl << "** Windows MIDI Services is not running on this PC **" << std::endl; + + return 1; + } + else + { + std::cout << std::endl << "Verified that the MIDI Service is available and started" << std::endl; + + // bootstrap the SDK runtime + MidiServicesInitializer::InitializeSdkRuntime(); + } + + std::cout << "Enumerating endpoints..." << std::endl; + + auto endpoints = MidiEndpointDeviceInformation::FindAll( + MidiEndpointDeviceInformationSortOrder::Name, + MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative | + MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative | + MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback | + MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder + ); + + std::cout << endpoints.Size() << " endpoints returned" << std::endl << std::endl; + + for (auto const& endpoint : endpoints) + { + std::cout << "Identification" << std::endl; + std::cout << "- Name: " << winrt::to_string(endpoint.Name()) << std::endl; + std::cout << "- Id: " << winrt::to_string(endpoint.EndpointDeviceId()) << std::endl; + + auto parent = endpoint.GetParentDeviceInformation(); + + if (parent != nullptr) + { + std::cout << "- Parent: " << winrt::to_string(parent.Id()) << std::endl; + } + else + { + std::cout << "- Parent: Unknown" < + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.exe.manifest b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.exe.manifest new file mode 100644 index 000000000..e06e9c88c --- /dev/null +++ b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.exe.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ 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 new file mode 100644 index 000000000..1eeddf00c --- /dev/null +++ b/samples/cpp-winrt/static-enum-endpoints/static-enum-endpoints-cpp.vcxproj @@ -0,0 +1,169 @@ + + + + + + true + true + true + true + 15.0 + {2DD27AE3-1950-4F1B-8F31-B1C14BC14F7F} + Win32Proj + sample + 10.0 + 10.0.20348.0 + true + static-enum-endpoints-cpp + + + + + Debug + ARM64 + + + Debug + ARM64EC + + + Release + ARM64 + + + Release + ARM64EC + + + Debug + x64 + + + Release + x64 + + + + Application + v143 + v142 + v141 + v140 + Unicode + + + true + true + + + false + true + false + + + + + + + + + + + + + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + + NotUsing + + + + + _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) + Level4 + %(AdditionalOptions) /permissive- /bigobj + + + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + stdcpp20 + + + Console + false + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + MaxSpeed + true + true + NDEBUG;%(PreprocessorDefinitions) + stdcpp20 + stdcpp20 + stdcpp20 + + + Console + true + true + false + + + + + + + + + + + + + + + + + + + + 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/api-watch-endpoints/PropertySheet.props b/samples/cpp-winrt/watch-endpoints/PropertySheet.props similarity index 100% rename from samples/cpp-winrt/api-watch-endpoints/PropertySheet.props rename to samples/cpp-winrt/watch-endpoints/PropertySheet.props diff --git a/samples/cpp-winrt/watch-endpoints/main.cpp b/samples/cpp-winrt/watch-endpoints/main.cpp new file mode 100644 index 000000000..31442e2e1 --- /dev/null +++ b/samples/cpp-winrt/watch-endpoints/main.cpp @@ -0,0 +1,141 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// Further information: https://github.com/microsoft/MIDI/ +// ============================================================================ + +// Windows MIDI Services sample code + +#include + +#include +#include + +#include +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; // SDK Core +using namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; // For diagnostics loopback endpoints +using namespace winrt::Microsoft::Windows::Devices::Midi2::Initialization; // for code to check if the service is installed/running + + +// where you find types like IAsyncOperation, IInspectable, etc. +namespace foundation = winrt::Windows::Foundation; + +std::string BooleanToString(bool value) +{ + if (value) + return "true"; + else + return "false"; +} + +int main() +{ + winrt::init_apartment(); + + // Check to see if Windows MIDI Services is installed and running on this PC + if (!MidiServicesInitializer::EnsureServiceAvailable()) + { + // you may wish to fallback to an older MIDI API if it suits your application's workflow + std::cout << std::endl << "** Windows MIDI Services is not running on this PC **" << std::endl; + + return 1; + } + else + { + std::cout << std::endl << "Verified that the MIDI Service is available and started" << std::endl; + + // bootstrap the SDK runtime + MidiServicesInitializer::InitializeSdkRuntime(); + } + + + bool includeDiagnosticsEndpoints = true; + + std::cout << "Enumerating endpoints..." << std::endl; + + auto filter = + MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative | + MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative | + MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder; + + // normally, applications should not include diagnostics endpoints unless they are + // providing diagnostics functions. + if (includeDiagnosticsEndpoints) + { + filter |= MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback; + } + + auto watcher = MidiEndpointDeviceWatcher::Create(filter); + + + + auto OnWatcherStopped = [&](MidiEndpointDeviceWatcher const& /*sender*/, foundation::IInspectable const& /*args*/) + { + std::cout << std::endl; + std::cout << "Watcher stopped." << std::endl; + }; + + auto OnWatcherEnumerationCompleted = [&](MidiEndpointDeviceWatcher const& /*sender*/, foundation::IInspectable const& /*args*/) + { + std::cout << std::endl; + std::cout << "Initial enumeration completed." << std::endl; + }; + + + + auto OnWatcherDeviceRemoved = [&](MidiEndpointDeviceWatcher const& /*sender*/, MidiEndpointDeviceInformationRemovedEventArgs const& args) + { + std::cout << std::endl; + std::cout << "Removed: " << winrt::to_string(args.EndpointDeviceId()) << std::endl; + }; + + auto OnWatcherDeviceUpdated = [&](MidiEndpointDeviceWatcher const& /*sender*/, MidiEndpointDeviceInformationUpdatedEventArgs const& args) + { + std::cout << std::endl; + std::cout << "Updated: " << winrt::to_string(args.EndpointDeviceId()) << std::endl; + + // Show how to use the various data update flags here + + if (args.IsNameUpdated()) std::cout << "- Name" << std::endl; + if (args.IsUserMetadataUpdated()) std::cout << "- User Metadata" << std::endl; + if (args.IsEndpointInformationUpdated()) std::cout << "- Endpoint Information" << std::endl; + if (args.IsStreamConfigurationUpdated()) std::cout << "- Stream Configuration" << std::endl; + if (args.AreFunctionBlocksUpdated()) std::cout << "- Function Blocks" << std::endl; + if (args.IsDeviceIdentityUpdated()) std::cout << "- Device Identity" << std::endl; + if (args.AreAdditionalCapabilitiesUpdated()) std::cout << "- Additional Capabilities" << std::endl; + + }; + + auto OnWatcherDeviceAdded = [&](MidiEndpointDeviceWatcher const& /*sender*/, MidiEndpointDeviceInformationAddedEventArgs const& args) + { + std::cout << std::endl; + std::cout << "Added : " << winrt::to_string(args.AddedDevice().Name()) << std::endl; + std::cout << " " << winrt::to_string(args.AddedDevice().EndpointDeviceId()) << std::endl ; + }; + + + auto revokeOnWatcherStopped = watcher.Stopped(OnWatcherStopped); + auto revokeOnWatcherEnumerationCompleted = watcher.EnumerationCompleted(OnWatcherEnumerationCompleted); + auto revokeOnWatcherDeviceRemoved = watcher.Removed(OnWatcherDeviceRemoved); + auto revokeOnWatcherDeviceUpdated = watcher.Updated(OnWatcherDeviceUpdated); + auto revokeOnWatcherDeviceAdded = watcher.Added(OnWatcherDeviceAdded); + + watcher.Start(); + + std::cout << std::endl << "Plug and unplug devices, update properties etc. Press any key when you have finished." << std::endl << std::endl; + + system("pause"); + + watcher.Stop(); + + // unwire events + + watcher.Stopped(revokeOnWatcherStopped); + watcher.EnumerationCompleted(revokeOnWatcherEnumerationCompleted); + watcher.Removed(revokeOnWatcherDeviceRemoved); + watcher.Updated(revokeOnWatcherDeviceUpdated); + watcher.Added(revokeOnWatcherDeviceAdded); + +} diff --git a/samples/cpp-winrt/watch-endpoints/packages.config b/samples/cpp-winrt/watch-endpoints/packages.config new file mode 100644 index 000000000..8288024a1 --- /dev/null +++ b/samples/cpp-winrt/watch-endpoints/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.exe.manifest b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.exe.manifest new file mode 100644 index 000000000..e06e9c88c --- /dev/null +++ b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.exe.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/cpp-winrt/api-watch-endpoints/api-watch-endpoints-cpp.sln b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.sln similarity index 100% rename from samples/cpp-winrt/api-watch-endpoints/api-watch-endpoints-cpp.sln rename to samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.sln diff --git a/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj new file mode 100644 index 000000000..7f5b51c6e --- /dev/null +++ b/samples/cpp-winrt/watch-endpoints/watch-endpoints-cpp.vcxproj @@ -0,0 +1,169 @@ + + + + + + true + true + true + true + 15.0 + {7BF3149C-DFA9-4419-B8E0-6E821875F83B} + Win32Proj + sample + 10.0 + 10.0.20348.0 + true + watch-endpoints-cpp + + + + + Debug + ARM64 + + + Debug + ARM64EC + + + Release + ARM64 + + + Release + ARM64EC + + + Debug + x64 + + + Release + x64 + + + + Application + v143 + v142 + v141 + v140 + Unicode + + + true + true + + + false + true + false + + + + + + + + + + + + + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + $(IncludePath) + + + + NotUsing + + + + + _CONSOLE;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions) + Level4 + %(AdditionalOptions) /permissive- /bigobj + + + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + stdcpp20 + + + Console + false + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + + + MaxSpeed + true + true + NDEBUG;%(PreprocessorDefinitions) + stdcpp20 + stdcpp20 + stdcpp20 + + + Console + true + true + false + + + + + + + + + + + + + + + + + + + + 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/csharp-net/api-client-basics-cs/api-client-basics-cs.sln b/samples/csharp-net/api-client-basics-cs/api-client-basics-cs.sln deleted file mode 100644 index 8d2ebf220..000000000 --- a/samples/csharp-net/api-client-basics-cs/api-client-basics-cs.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.7.33906.173 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "api-client-basics-cs", "api-client-basics-cs.csproj", "{1709BFB4-C956-453A-9C0E-510E646DA2EA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Debug|Any CPU.ActiveCfg = Debug|x64 - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Debug|Any CPU.Build.0 = Debug|x64 - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Debug|x64.ActiveCfg = Debug|x64 - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Debug|x64.Build.0 = Debug|x64 - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Release|Any CPU.Build.0 = Release|Any CPU - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Release|x64.ActiveCfg = Release|x64 - {1709BFB4-C956-453A-9C0E-510E646DA2EA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B5615F16-5D2C-4FF2-85DF-DD15392BDE51} - EndGlobalSection -EndGlobal diff --git a/samples/csharp-net/app-to-app-midi-cs/MainWindow.xaml.cs b/samples/csharp-net/app-to-app-midi-cs/MainWindow.xaml.cs deleted file mode 100644 index 3dcaeb399..000000000 --- a/samples/csharp-net/app-to-app-midi-cs/MainWindow.xaml.cs +++ /dev/null @@ -1,163 +0,0 @@ -using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Controls; -using Microsoft.UI.Xaml.Controls.Primitives; -using Microsoft.UI.Xaml.Data; -using Microsoft.UI.Xaml.Input; -using Microsoft.UI.Xaml.Media; -using Microsoft.UI.Xaml.Navigation; -using Microsoft.UI.Xaml.Shapes; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; -using Windows.AI.MachineLearning; -using Windows.Foundation; -using Windows.Foundation.Collections; -using WinUIEx; -using midi2 = Windows.Devices.Midi2; - - -namespace MidiSample.AppToAppMidi -{ - - public sealed partial class MainWindow : Microsoft.UI.Xaml.Window - { - private midi2.MidiSession _session; - private midi2.MidiEndpointConnection _connection; - - public List Notes { get; } - - public MainWindow() - { - this.InitializeComponent(); - - OpenConnection(); - - 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(); - - this.Closed += MainWindow_Closed; - - //this.AppWindow.MoveAndResize(new Windows.Graphics.RectInt32(100, 100, 600, 600)); - - this.SetWindowSize(500, 550); - this.SetIsAlwaysOnTop(true); - - } - - private void MainWindow_Closed(object sender, WindowEventArgs args) - { - System.Diagnostics.Debug.WriteLine("MainWindow_Closed"); - - if (_connection != null) - { - _session.DisconnectEndpointConnection(_connection.ConnectionId); - } - - _session.Dispose(); - } - - private void OpenConnection() - { - try - { - System.Diagnostics.Debug.WriteLine("Open Connection enter"); - - - // create our function blocks and endpoint info to be reported back through MIDI - - var deviceDefinition = new midi2.MidiVirtualEndpointDeviceDefinition(); - - 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) - { - 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"); - } - } - else - { - System.Diagnostics.Debug.WriteLine("Session Open Failed"); - } - } - catch (Exception ex) - { - System.Diagnostics.Debug.WriteLine("Exception: " + ex.ToString()); - } - } - - private void _connection_MessageReceived(midi2.IMidiMessageReceivedEventSource sender, midi2.MidiMessageReceivedEventArgs args) - { - System.Diagnostics.Debug.WriteLine("Message Received " + midi2.MidiMessageUtility.GetMessageFriendlyNameFromFirstWord(args.PeekFirstWord())); - } - } -} diff --git a/samples/csharp-net/app-to-app-midi-cs/MidiSample.AppToAppMidi.sln b/samples/csharp-net/app-to-app-midi-cs/MidiSample.AppToAppMidi.sln deleted file mode 100644 index 4a0e4e5ca..000000000 --- a/samples/csharp-net/app-to-app-midi-cs/MidiSample.AppToAppMidi.sln +++ /dev/null @@ -1,43 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.9.34407.89 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MidiSample.AppToAppMidi", "MidiSample.AppToAppMidi.csproj", "{77955D31-FB52-4859-AB3F-33261D1D8F43}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|ARM64 = Debug|ARM64 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|ARM64 = Release|ARM64 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|ARM64.Build.0 = Debug|ARM64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|ARM64.Deploy.0 = Debug|ARM64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|x64.ActiveCfg = Debug|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|x64.Build.0 = Debug|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|x64.Deploy.0 = Debug|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|x86.ActiveCfg = Debug|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|x86.Build.0 = Debug|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Debug|x86.Deploy.0 = Debug|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|ARM64.ActiveCfg = Release|ARM64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|ARM64.Build.0 = Release|ARM64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|ARM64.Deploy.0 = Release|ARM64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|x64.ActiveCfg = Release|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|x64.Build.0 = Release|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|x64.Deploy.0 = Release|x64 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|x86.ActiveCfg = Release|x86 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|x86.Build.0 = Release|x86 - {77955D31-FB52-4859-AB3F-33261D1D8F43}.Release|x86.Deploy.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D37C3AB0-5AB8-43C6-B8F2-4DF0209391EA} - EndGlobalSection -EndGlobal diff --git a/samples/csharp-net/api-client-basics-cs/Program.cs b/samples/csharp-net/basics/Program.cs similarity index 100% rename from samples/csharp-net/api-client-basics-cs/Program.cs rename to samples/csharp-net/basics/Program.cs diff --git a/samples/csharp-net/api-client-basics-cs/api-client-basics-cs.csproj b/samples/csharp-net/basics/client-basics-cs.csproj similarity index 100% rename from samples/csharp-net/api-client-basics-cs/api-client-basics-cs.csproj rename to samples/csharp-net/basics/client-basics-cs.csproj diff --git a/samples/csharp-net/csharp-net-samples.sln b/samples/csharp-net/csharp-net-samples.sln new file mode 100644 index 000000000..1a9f9a62d --- /dev/null +++ b/samples/csharp-net/csharp-net-samples.sln @@ -0,0 +1,65 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35005.142 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "client-basics-cs", "basics\client-basics-cs.csproj", "{1CC716E5-9D3D-4402-9169-9E7D2B76540B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "virtual-device-app-winui-cs", "virtual-device-app-winui\virtual-device-app-winui-cs.csproj", "{B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "virtual-device-app-wpf", "virtual-device-app-wpf\virtual-device-app-wpf.csproj", "{51C95EAA-B943-4DC6-92C8-855A6C50DBC1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Release|Any CPU = Release|Any CPU + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Debug|ARM64.Build.0 = Debug|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Debug|x64.ActiveCfg = Debug|x64 + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Debug|x64.Build.0 = Debug|x64 + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Release|Any CPU.Build.0 = Release|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Release|ARM64.ActiveCfg = Release|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Release|ARM64.Build.0 = Release|Any CPU + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Release|x64.ActiveCfg = Release|x64 + {1CC716E5-9D3D-4402-9169-9E7D2B76540B}.Release|x64.Build.0 = Release|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Debug|Any CPU.ActiveCfg = Debug|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Debug|Any CPU.Build.0 = Debug|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Debug|ARM64.Build.0 = Debug|ARM64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Debug|x64.ActiveCfg = Debug|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Debug|x64.Build.0 = Debug|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Release|Any CPU.ActiveCfg = Release|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Release|Any CPU.Build.0 = Release|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Release|ARM64.ActiveCfg = Release|ARM64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Release|ARM64.Build.0 = Release|ARM64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Release|x64.ActiveCfg = Release|x64 + {B2A27EAA-93BA-4FA4-AFDA-62CD5031950A}.Release|x64.Build.0 = Release|x64 + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Debug|ARM64.Build.0 = Debug|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Debug|x64.ActiveCfg = Debug|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Debug|x64.Build.0 = Debug|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Release|Any CPU.Build.0 = Release|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Release|ARM64.ActiveCfg = Release|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Release|ARM64.Build.0 = Release|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Release|x64.ActiveCfg = Release|Any CPU + {51C95EAA-B943-4DC6-92C8-855A6C50DBC1}.Release|x64.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {34C808F3-A3B8-46A3-8933-CD8A60799E58} + EndGlobalSection +EndGlobal diff --git a/samples/csharp-net/app-to-app-midi-cs/App.xaml b/samples/csharp-net/virtual-device-app-winui/App.xaml similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/App.xaml rename to samples/csharp-net/virtual-device-app-winui/App.xaml diff --git a/samples/csharp-net/app-to-app-midi-cs/App.xaml.cs b/samples/csharp-net/virtual-device-app-winui/App.xaml.cs similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/App.xaml.cs rename to samples/csharp-net/virtual-device-app-winui/App.xaml.cs diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/LockScreenLogo.scale-200.png b/samples/csharp-net/virtual-device-app-winui/Assets/LockScreenLogo.scale-200.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/LockScreenLogo.scale-200.png rename to samples/csharp-net/virtual-device-app-winui/Assets/LockScreenLogo.scale-200.png diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/SplashScreen.scale-200.png b/samples/csharp-net/virtual-device-app-winui/Assets/SplashScreen.scale-200.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/SplashScreen.scale-200.png rename to samples/csharp-net/virtual-device-app-winui/Assets/SplashScreen.scale-200.png diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/Square150x150Logo.scale-200.png b/samples/csharp-net/virtual-device-app-winui/Assets/Square150x150Logo.scale-200.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/Square150x150Logo.scale-200.png rename to samples/csharp-net/virtual-device-app-winui/Assets/Square150x150Logo.scale-200.png diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/Square44x44Logo.scale-200.png b/samples/csharp-net/virtual-device-app-winui/Assets/Square44x44Logo.scale-200.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/Square44x44Logo.scale-200.png rename to samples/csharp-net/virtual-device-app-winui/Assets/Square44x44Logo.scale-200.png diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/csharp-net/virtual-device-app-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/Square44x44Logo.targetsize-24_altform-unplated.png rename to samples/csharp-net/virtual-device-app-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/StoreLogo.png b/samples/csharp-net/virtual-device-app-winui/Assets/StoreLogo.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/StoreLogo.png rename to samples/csharp-net/virtual-device-app-winui/Assets/StoreLogo.png diff --git a/samples/csharp-net/app-to-app-midi-cs/Assets/Wide310x150Logo.scale-200.png b/samples/csharp-net/virtual-device-app-winui/Assets/Wide310x150Logo.scale-200.png similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Assets/Wide310x150Logo.scale-200.png rename to samples/csharp-net/virtual-device-app-winui/Assets/Wide310x150Logo.scale-200.png diff --git a/samples/csharp-net/app-to-app-midi-cs/MainWindow.xaml b/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/MainWindow.xaml rename to samples/csharp-net/virtual-device-app-winui/MainWindow.xaml diff --git a/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs b/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs new file mode 100644 index 000000000..c650f7c23 --- /dev/null +++ b/samples/csharp-net/virtual-device-app-winui/MainWindow.xaml.cs @@ -0,0 +1,167 @@ +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Microsoft.UI.Xaml.Controls.Primitives; +using Microsoft.UI.Xaml.Data; +using Microsoft.UI.Xaml.Input; +using Microsoft.UI.Xaml.Media; +using Microsoft.UI.Xaml.Navigation; +using Microsoft.UI.Xaml.Shapes; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.AI.MachineLearning; +using Windows.Foundation; +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; + + +namespace MidiSample.AppToAppMidi +{ + + public sealed partial class MainWindow : Microsoft.UI.Xaml.Window + { + private midi2.MidiSession _session; + private midi2.MidiEndpointConnection _connection; + + public List Notes { get; } + + public MainWindow() + { + this.InitializeComponent(); + + OpenConnection(); + + 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(); + + this.Closed += MainWindow_Closed; + + //this.AppWindow.MoveAndResize(new Windows.Graphics.RectInt32(100, 100, 600, 600)); + + this.SetWindowSize(500, 550); + this.SetIsAlwaysOnTop(true); + + } + + private void MainWindow_Closed(object sender, WindowEventArgs args) + { + System.Diagnostics.Debug.WriteLine("MainWindow_Closed"); + + if (_connection != null) + { + _session.DisconnectEndpointConnection(_connection.ConnectionId); + } + + _session.Dispose(); + } + + private void OpenConnection() + { + try + { + System.Diagnostics.Debug.WriteLine("Open Connection enter"); + + + // create our function blocks and endpoint info to be reported back through MIDI + + var deviceDefinition = new midi2.MidiVirtualEndpointDeviceDefinition(); + + 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) + { + 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"); + } + } + else + { + System.Diagnostics.Debug.WriteLine("Session Open Failed"); + } + } + catch (Exception ex) + { + System.Diagnostics.Debug.WriteLine("Exception: " + ex.ToString()); + } + } + + private void _connection_MessageReceived(midi2.IMidiMessageReceivedEventSource sender, midi2.MidiMessageReceivedEventArgs args) + { + System.Diagnostics.Debug.WriteLine("Message Received " + msgs.MidiMessageUtility.GetMessageDisplayNameFromFirstWord( + args.PeekFirstWord())); + } + } +} diff --git a/samples/csharp-net/app-to-app-midi-cs/Note.cs b/samples/csharp-net/virtual-device-app-winui/Note.cs similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Note.cs rename to samples/csharp-net/virtual-device-app-winui/Note.cs diff --git a/samples/csharp-net/app-to-app-midi-cs/Package.appxmanifest b/samples/csharp-net/virtual-device-app-winui/Package.appxmanifest similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Package.appxmanifest rename to samples/csharp-net/virtual-device-app-winui/Package.appxmanifest diff --git a/samples/csharp-net/app-to-app-midi-cs/Properties/launchSettings.json b/samples/csharp-net/virtual-device-app-winui/Properties/launchSettings.json similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/Properties/launchSettings.json rename to samples/csharp-net/virtual-device-app-winui/Properties/launchSettings.json diff --git a/samples/csharp-net/app-to-app-midi-cs/app.manifest b/samples/csharp-net/virtual-device-app-winui/app.manifest similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/app.manifest rename to samples/csharp-net/virtual-device-app-winui/app.manifest diff --git a/samples/csharp-net/app-to-app-midi-cs/MidiSample.AppToAppMidi.csproj b/samples/csharp-net/virtual-device-app-winui/virtual-device-app-winui-cs.csproj similarity index 100% rename from samples/csharp-net/app-to-app-midi-cs/MidiSample.AppToAppMidi.csproj rename to samples/csharp-net/virtual-device-app-winui/virtual-device-app-winui-cs.csproj diff --git a/samples/csharp-net/virtual-device-app-wpf/App.xaml b/samples/csharp-net/virtual-device-app-wpf/App.xaml new file mode 100644 index 000000000..106a57de9 --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/samples/csharp-net/virtual-device-app-wpf/App.xaml.cs b/samples/csharp-net/virtual-device-app-wpf/App.xaml.cs new file mode 100644 index 000000000..173f9898a --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace virtual_device_app_wpf +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/samples/csharp-net/virtual-device-app-wpf/AssemblyInfo.cs b/samples/csharp-net/virtual-device-app-wpf/AssemblyInfo.cs new file mode 100644 index 000000000..b0ec82757 --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/samples/csharp-net/virtual-device-app-wpf/MainWindow.xaml b/samples/csharp-net/virtual-device-app-wpf/MainWindow.xaml new file mode 100644 index 000000000..de50df48b --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/MainWindow.xaml @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/samples/csharp-net/virtual-device-app-wpf/MainWindow.xaml.cs b/samples/csharp-net/virtual-device-app-wpf/MainWindow.xaml.cs new file mode 100644 index 000000000..59ce60e38 --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/MainWindow.xaml.cs @@ -0,0 +1,160 @@ +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +using midi2 = Microsoft.Windows.Devices.Midi2; +using msgs = Microsoft.Windows.Devices.Midi2.Messages; +using virt = Microsoft.Windows.Devices.Midi2.Endpoints.Virtual; + +namespace virtual_device_app_wpf +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + private midi2.MidiSession _session; + private midi2.MidiEndpointConnection _connection; + + public List Notes { get; } + + public MainWindow() + { + this.InitializeComponent(); + + OpenConnection(); + + 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(); + + this.Closed += MainWindow_Closed; + + this.Height = 550; + this.Width = 500; + this.Topmost = true; + } + + private void MainWindow_Closed(object? sender, EventArgs e) + { + System.Diagnostics.Debug.WriteLine("MainWindow_Closed"); + + if (_connection != null) + { + _session.DisconnectEndpointConnection(_connection.ConnectionId); + } + + _session.Dispose(); + } + + private void OpenConnection() + { + try + { + System.Diagnostics.Debug.WriteLine("Open Connection enter"); + + + // create our function blocks and endpoint info to be reported back through MIDI + + var deviceDefinition = new midi2.MidiVirtualEndpointDeviceDefinition(); + + 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) + { + 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.Title = deviceDefinition.EndpointName + ": Connected"; + } + else + { + System.Diagnostics.Debug.WriteLine("Connection Open Failed"); + this.Title = deviceDefinition.EndpointName + ": (no connection)"; + } + } + else + { + System.Diagnostics.Debug.WriteLine("Returned connection is null"); + } + } + else + { + System.Diagnostics.Debug.WriteLine("Session Open Failed"); + } + } + catch (Exception ex) + { + System.Diagnostics.Debug.WriteLine("Exception: " + ex.ToString()); + } + } + + private void _connection_MessageReceived(midi2.IMidiMessageReceivedEventSource sender, midi2.MidiMessageReceivedEventArgs args) + { + System.Diagnostics.Debug.WriteLine("Message Received " + msgs.MidiMessageUtility.GetMessageDisplayNameFromFirstWord( + args.PeekFirstWord())); + } + + } +} \ No newline at end of file diff --git a/samples/csharp-net/virtual-device-app-wpf/Note.cs b/samples/csharp-net/virtual-device-app-wpf/Note.cs new file mode 100644 index 000000000..37dfe1552 --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/Note.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Cryptography; +using System.Text; +using System.Threading.Tasks; + +namespace virtual_device_app_wpf +{ + public class Note + { + public midi2.MidiEndpointConnection Connection { get; set; } + public byte NoteNumber { get; set; } + + public byte GroupIndex { get; set; } + + public byte ChannelIndex { get; set; } + + public void NoteOn() + { + System.Diagnostics.Debug.Write("Note On"); + + UInt16 index = NoteNumber; + index <<= 8; + + UInt16 velocity = 0xFFFF; + + UInt32 word1 = (UInt32)velocity << 16; + + if (MidiEndpointConnection.SendMessageSucceeded(Connection.SendSingleMessagePacket( + midi2.MidiMessageBuilder.BuildMidi2ChannelVoiceMessage( + 0, + new MidiGroup(GroupIndex), + midi2.Midi2ChannelVoiceMessageStatus.NoteOn, + new MidiChannel(ChannelIndex), + index, + word1)))) + { + System.Diagnostics.Debug.WriteLine(" - sent"); + } + } + public void NoteOff() + { + System.Diagnostics.Debug.Write("Note Off"); + + UInt16 index = NoteNumber; + index <<= 8; + + if (MidiEndpointConnection.SendMessageSucceeded(Connection.SendSingleMessagePacket( + midi2.MidiMessageBuilder.BuildMidi2ChannelVoiceMessage( + 0, + new MidiGroup(GroupIndex), + midi2.Midi2ChannelVoiceMessageStatus.NoteOff, + new MidiChannel(ChannelIndex), + index, + 0)))) + { + System.Diagnostics.Debug.WriteLine(" - sent"); + } + } + } + +} 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 new file mode 100644 index 000000000..3bfdd362c --- /dev/null +++ b/samples/csharp-net/virtual-device-app-wpf/virtual-device-app-wpf.csproj @@ -0,0 +1,12 @@ + + + + WinExe + net8.0-windows + virtual_device_app_wpf + enable + enable + true + + + diff --git a/src/api/Abstraction/KSAbstraction/Midi2.KSMidiEndpointManager.cpp b/src/api/Abstraction/KSAbstraction/Midi2.KSMidiEndpointManager.cpp index 1341c467c..d86fe021b 100644 --- a/src/api/Abstraction/KSAbstraction/Midi2.KSMidiEndpointManager.cpp +++ b/src/api/Abstraction/KSAbstraction/Midi2.KSMidiEndpointManager.cpp @@ -861,27 +861,33 @@ CMidi2KSMidiEndpointManager::OnDeviceAdded( // Required MIDI 2.0 Protocol step // Invoke the protocol negotiator to now capture updated endpoint info. - //bool preferToSendJRToEndpoint{ false }; - //bool preferToReceiveJRFromEndpoint{ false }; - //BYTE preferredProtocol{ MIDI_PROP_CONFIGURED_PROTOCOL_MIDI2 }; - //WORD negotiationTimeoutMS{ 5000 }; // this should be much shorter + bool preferToSendJRToEndpoint{ false }; + bool preferToReceiveJRFromEndpoint{ false }; + BYTE preferredProtocol{ MIDI_PROP_CONFIGURED_PROTOCOL_MIDI2 }; + WORD negotiationTimeoutMilliseconds{ 5000 }; - //PENDPOINTPROTOCOLNEGOTIATIONRESULTS negotiationResults; + PENDPOINTPROTOCOLNEGOTIATIONRESULTS negotiationResults; - //LOG_IF_FAILED(m_MidiProtocolManager->NegotiateAndRequestMetadata( - // newDeviceInterfaceId, - // preferToSendJRToEndpoint, - // preferToReceiveJRFromEndpoint, - // preferredProtocol, - // negotiationTimeoutMS, - // &negotiationResults - //)); + LOG_IF_FAILED(m_MidiProtocolManager->NegotiateAndRequestMetadata( + __uuidof(Midi2KSAbstraction), + newDeviceInterfaceId, + preferToSendJRToEndpoint, + preferToReceiveJRFromEndpoint, + preferredProtocol, + negotiationTimeoutMilliseconds, + &negotiationResults + )); - // TODO: The negotiationResults structure contains the function blocks which - // should be used to create MIDI 1.0 legacy ports for this MIDI 2.0 device. + if (negotiationResults != nullptr) + { + // TODO: The negotiationResults structure contains the function blocks which + // should be used to create MIDI 1.0 legacy ports for this MIDI 2.0 device. + + + } } } diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg-configuration.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg-configuration.json index 6d1dded02..4cd4fdd2a 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg-configuration.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg-configuration.json @@ -1,7 +1,7 @@ { "default-registry": { "kind": "git", - "baseline": "326d8b43e365352ba3ccadf388d989082fe0f2a6", + "baseline": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774", "repository": "https://github.com/microsoft/vcpkg" }, "registries": [ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/.msbuildstamp-ARM64-windows.stamp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/.msbuildstamp-ARM64-windows.stamp deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/bytestreamToUMP.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/bytestreamToUMP.h deleted file mode 100644 index a7ebcff5d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/bytestreamToUMP.h +++ /dev/null @@ -1,72 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef BSUMP_H -#define BSUMP_H - -#define BSTOUMP_BUFFER 4 - - -#include - -class bytestreamToUMP{ - - private: - uint8_t d0; - uint8_t d1; - - uint8_t sysex7State = 0; - uint8_t sysex7Pos = 0; - - uint8_t sysex[6] = {0,0,0,0,0,0}; - uint32_t umpMess[BSTOUMP_BUFFER] = {0,0,0,0}; - - //Channel Based Data - uint8_t bankMSB[16]; - uint8_t bankLSB[16]; - bool rpnMode[16]; - uint8_t rpnMsbValue[16]; - uint8_t rpnMsb[16]; - uint8_t rpnLsb[16]; - - void bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2); - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - - public: - uint8_t defaultGroup = 0; - bool outputMIDI2 = false; - - bytestreamToUMP(); - - bool availableUMP(); - - uint32_t readUMP(); - - void bytestreamParse(uint8_t midi1Byte); - - -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/mcoded7.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/mcoded7.h deleted file mode 100644 index 6d72a090f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/mcoded7.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MC7_H -#define MC7_H - -#include - -class mcoded7Decode{ - private: - uint8_t dumpPos=255; - uint8_t fBit=0; - uint8_t cnt=0; - uint8_t bits=0; - public: - uint8_t dump[7]; - uint16_t currentPos(); - void reset(); - void parseS7Byte(uint8_t s7Byte); -}; - - -class mcoded7Encode{ - - private: - uint16_t dumpPos = 1; - uint8_t cnt = 6; - public: - uint8_t dump[8]; - uint16_t currentPos(); - void reset(); - void parseByte(uint8_t s8Byte); -}; - -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/midiCIMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/midiCIMessageCreate.h deleted file mode 100644 index 922c91aac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/midiCIMessageCreate.h +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIMESSAGECREATE_H -#define MIDI2CPP_MIDICIMESSAGECREATE_H -#include "utils.h" -#include -#include - -namespace CIMessage { - - uint16_t sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId - ); - - uint16_t sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx - ); - - uint16_t - sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); - - uint16_t - sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, - uint16_t infoLength, uint8_t *infoData); - - uint16_t sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, - uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -//Profile Negotiation CI 1.1 - uint16_t sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol); - - uint16_t sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols); - - uint16_t sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t *protocol); - - uint16_t sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - uint16_t sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - - uint16_t - sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - uint16_t - sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled); - - uint16_t sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data); - - uint16_t sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t destination, - std::array profile, uint8_t InquiryTarget); - - uint16_t - sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t *data); - - - uint16_t sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - - uint16_t sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid); - - uint16_t sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t supportedFeatures); - - uint16_t sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - -} -#endif //MIDI2CPP_MIDICIMESSAGECREATE_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/midiCIProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/midiCIProcessor.h deleted file mode 100644 index 768e4fae8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/midiCIProcessor.h +++ /dev/null @@ -1,280 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIPROCESSOR_H -#define MIDI2CPP_MIDICIPROCESSOR_H - -#include -#include -#include // this was missing and causing build errors -#include -#include - -#include "utils.h" - -typedef std::tuple reqId; //muid-requestId - -struct MIDICI{ - MIDICI() : umpGroup(255), deviceId(FUNCTION_BLOCK),ciType(255),ciVer(1), remoteMUID(0), localMUID(0), - _reqTupleSet(false), totalChunks(0), numChunk(0), partialChunkCount(0), requestId(255) {} - uint8_t umpGroup; - uint8_t deviceId; - uint8_t ciType; - uint8_t ciVer; - uint32_t remoteMUID; - uint32_t localMUID; - bool _reqTupleSet; - reqId _peReqIdx; - - uint8_t totalChunks; - uint8_t numChunk; - uint8_t partialChunkCount; - uint8_t requestId; -}; - - - - -class midiCIProcessor{ -private: - MIDICI midici; - uint8_t buffer[256]; - /* - * in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4,...product Id] - * in Profiles this is [pf1, pf1, pf3, pf4, pf5] - * in Protocols this is [pr1, pr2, pr3, pr4, pr5] - */ - - uint16_t intTemp[4]; - /* in Discovery this is [ciSupport, maxSysex, output path id] - * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length] - * in Profile On/Off/Enabled/Disabled, this is [numOfChannels] - * in PE this is [header length, Body Length] - */ - uint16_t sysexPos; - - //MIDI-CI callbacks - - // EB: update callbacks step1 - update pointer definitions to: - // std::function name = nullptr; - - std::function - checkMUID = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, - uint16_t maxSysex, uint8_t outputPathId)> recvDiscoveryRequest = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx)> recvDiscoveryReply = nullptr; - std::function recvEndPointInfo = nullptr; - std::function recvEndPointInfoReply = nullptr; - std::function recvNAK = nullptr; - std::function recvACK = nullptr; - std::function recvInvalidateMUID = nullptr; - std::function recvUnknownMIDICI = nullptr; - -//Protocol Negotiation - std::function recvProtocolAvailable = nullptr; - std::function recvSetProtocol = nullptr; - std::function recvSetProtocolConfirm = nullptr; - std::function recvProtocolTest = nullptr; - - void processProtocolSysex(uint8_t s7Byte); - -//Profiles - std::function recvProfileInquiry = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileEnabled = nullptr; - std::function)> recvSetProfileRemoved = nullptr; - std::function, uint8_t numberOfChannels)> recvSetProfileDisabled = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileOn = nullptr; - std::function profile)> recvSetProfileOff = nullptr; - std::function profile, uint16_t datalen, uint8_t* data, - uint16_t part, bool lastByteOfSet)> recvProfileSpecificData = nullptr; - std::function profile, uint8_t InquiryTarget)> recvSetProfileDetailsInquiry = nullptr; - std::function profile, uint8_t InquiryTarget, - uint16_t datalen, uint8_t* data)> recvSetProfileDetailsReply = nullptr; - - void processProfileSysex(uint8_t s7Byte); - -//Property Exchange - std::map peHeaderStr; - - std::function recvPECapabilities = nullptr; - std::function recvPECapabilitiesReplies = nullptr; - std::function recvPEGetInquiry = nullptr; - std::function recvPESetReply = nullptr; - std::function recvPESubReply = nullptr; - std::function recvPENotify = nullptr; - std::function recvPEGetReply = nullptr; - std::function recvPESetInquiry = nullptr; - std::function recvPESubInquiry = nullptr; - - void cleanupRequest(reqId peReqIdx); - - void processPESysex(uint8_t s7Byte); - -//Process Inquiry - std::function recvPICapabilities = nullptr; - std::function recvPICapabilitiesReply = nullptr; - - std::function recvPIMMReport = nullptr; - std::function recvPIMMReportReply = nullptr; - std::function recvPIMMReportEnd = nullptr; - - void processPISysex(uint8_t s7Byte); - -public: - - // EB: update callbacks step2 - update setCallback functions: - // inline void setCallback(std::function fptr){ pointerName = fptr; } - // - // Calling these functions from within a member class looks like: - // MIDICIHandler->setCheckMUID(std::bind(&YourClass::checkMUID, this, std::placeholders::_1, std::placeholders::_2)); - - inline void setCheckMUID(std::function fptr){ - checkMUID = fptr; } - void endSysex7(); - void startSysex7(uint8_t group, uint8_t deviceId); - void processMIDICI(uint8_t s7Byte); - - - inline void setRecvDiscovery(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId - )> fptr) { - recvDiscoveryRequest = fptr;} - inline void setRecvDiscoveryReply(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx - )> fptr) { - recvDiscoveryReply = fptr;} - inline void setRecvNAK(std::function fptr){ - recvNAK = fptr;} - inline void setRecvACK(std::function fptr){ - recvACK = fptr;} - inline void setRecvInvalidateMUID(std::function fptr){ - recvInvalidateMUID = fptr;} - inline void setRecvUnknownMIDICI(std::function fptr){ - recvUnknownMIDICI = fptr;} - - - inline void setRecvEndpointInfo(std::function fptr){ - recvEndPointInfo = fptr;} - inline void setRecvEndpointInfoReply(std::function fptr){ - recvEndPointInfoReply = fptr;} - - //Protocol Negotiation - inline void setRecvProtocolAvailable(std::function fptr){ - recvProtocolAvailable = fptr;} - inline void setRecvSetProtocol(std::function fptr){ - recvSetProtocol = fptr;} - inline void setRecvSetProtocolConfirm(std::function fptr){ - recvSetProtocolConfirm = fptr;} - inline void setRecvSetProtocolTest(std::function fptr){ - recvProtocolTest = fptr;} - - //Profiles - inline void setRecvProfileInquiry(std::function fptr){ recvProfileInquiry = fptr;} - inline void setRecvProfileEnabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileEnabled = fptr;} - inline void setRecvSetProfileRemoved(std::function)> fptr){ - recvSetProfileRemoved = fptr;} - inline void setRecvProfileDisabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileDisabled = fptr;} - inline void setRecvProfileOn(std::function profile, uint8_t numberOfChannels)> fptr){ - recvSetProfileOn = fptr;} - inline void setRecvProfileOff(std::function profile)> fptr){ - recvSetProfileOff = fptr;} - inline void setRecvProfileSpecificData(std::function profile, uint16_t datalen, - uint8_t* data, uint16_t part, bool lastByteOfSet)> fptr){ - recvProfileSpecificData = fptr;} - inline void setRecvProfileDetailsInquiry(std::function profile, - uint8_t InquiryTarget)> fptr){ - recvSetProfileDetailsInquiry = fptr;} - inline void setRecvProfileDetailsReply(std::function profile, - uint8_t InquiryTarget, uint16_t datalen, uint8_t* data)> fptr){ - recvSetProfileDetailsReply = fptr;} - - //Property Exchange - inline void setPECapabilities(std::function fptr){ - recvPECapabilities = fptr;} - inline void setPECapabilitiesReply(std::function fptr){ - recvPECapabilitiesReplies = fptr;} - inline void setRecvPEGetInquiry(std::function fptr){ - recvPEGetInquiry = fptr;} - inline void setRecvPESetReply(std::function fptr){ - recvPESetReply = fptr;} - inline void setRecvPESubReply(std::function fptr){ - recvPESubReply = fptr;} - inline void setRecvPENotify(std::function fptr){ - recvPENotify = fptr;} - inline void setRecvPEGetReply(std::function fptr){ - recvPEGetReply = fptr;} - inline void setRecvPESetInquiry(std::function fptr){ - recvPESetInquiry = fptr;} - inline void setRecvPESubInquiry(std::function fptr){ - recvPESubInquiry = fptr;} - -//Process Inquiry - - inline void setRecvPICapabilities(std::function fptr){ - recvPICapabilities = fptr;} - inline void setRecvPICapabilitiesReply(std::function fptr){ - recvPICapabilitiesReply = fptr;} - inline void setRecvPIMMReport(std::function fptr){ - recvPIMMReport = fptr;} - inline void setRecvPIMMReportReply(std::function fptr){ - recvPIMMReportReply = fptr;} - inline void setRecvPIMMEnd(std::function fptr){ - recvPIMMReportEnd = fptr;} - -}; - -#endif //MIDI2CPP_MIDICIPROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpMessageCreate.h deleted file mode 100644 index 4e4862a79..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpMessageCreate.h +++ /dev/null @@ -1,132 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MESSAGE_CREATE_H -#define MESSAGE_CREATE_H -#include -#include - -namespace UMPMessage { - uint32_t mt0NOOP(); - - uint32_t mt0JRClock(uint16_t clockTime); - - uint32_t mt0JRTimeStamp(uint16_t timestamp); - - uint32_t mt0DeltaClockTick(uint16_t ticksPerQtrNote); - - uint32_t mt0DeltaTicksSinceLast(uint16_t noTicksSince); - - - uint32_t mt1MTC(uint8_t group, uint8_t timeCode); - - uint32_t mt1SPP(uint8_t group, uint16_t position); - - uint32_t mt1SongSelect(uint8_t group, uint8_t song); - - uint32_t mt1TuneRequest(uint8_t group); - - uint32_t mt1TimingClock(uint8_t group); - - uint32_t mt1SeqStart(uint8_t group); - - uint32_t mt1SeqCont(uint8_t group); - - uint32_t mt1SeqStop(uint8_t group); - - uint32_t mt1ActiveSense(uint8_t group); - - uint32_t mt1SystemReset(uint8_t group); - - - uint32_t mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure); - - uint32_t mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value); - - uint32_t mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program); - - uint32_t mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure); - - uint32_t mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value); - - std::array mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx); - - - std::array mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure); - - std::array mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch); - - std::array mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value); - - std::array mt4RPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4NRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4RelativeRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4RelativeNRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4ChannelPressure(uint8_t group, uint8_t channel, uint32_t pressure); - - std::array mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, - uint8_t bank, uint8_t index); - - - std::array mtFMidiEndpoint(uint8_t filter); - - std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); - - std::array - mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version); - - std::array - mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); - - std::array - mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, - uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); - - std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFStartOfSeq(); - - std::array mtFEndOfFile(); - - std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); - - std::array mtFNotifyProtocol(uint8_t protocol, bool jrrx, bool jrtx); - -} -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpProcessor.h deleted file mode 100644 index 0e81025fb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpProcessor.h +++ /dev/null @@ -1,177 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#ifndef UMP_PROCESSOR_H -#define UMP_PROCESSOR_H - -#include -#include -#include - -#include "utils.h" - -struct umpCVM{ - umpCVM() : umpGroup(255), messageType(255), status(0),channel(255),note(255), value(0), index(0), bank(0), - flag1(false), flag2(false) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; - -struct umpGeneric{ - umpGeneric() : umpGroup(255), status(0), value(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; - -struct umpData{ - umpData() : umpGroup(255), streamId(0), status(0), form(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t streamId; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; - -class umpProcessor{ - - private: - - uint32_t umpMess[4]{}; - uint8_t messPos=0; - - // Message type 0x0 callbacks - std::function utilityMessage = nullptr; - - // MIDI 1 and 2 CVM callbacks - std::function channelVoiceMessage = nullptr; - - //System Messages callbacks - std::function systemMessage = nullptr; - - //Sysex - std::function sendOutSysex = nullptr; - - // Message Type 0xD callbacks - std::function flexTempo = nullptr; - std::function flexTimeSig = nullptr; - std::function flexMetronome = nullptr; - std::function flexKeySig = nullptr; - std::function flexChord = nullptr; - std::function flexPerformance = nullptr; - std::function flexLyric = nullptr; - - // Message Type 0xF callbacks - std::function midiEndpoint = nullptr; - std::function functionBlock = nullptr; - std::function - midiEndpointInfo = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version)> midiEndpointDeviceInfo = nullptr; - std::function midiEndpointName = nullptr; - std::function midiEndpointProdId = nullptr; - - std::function midiEndpointJRProtocolReq = nullptr; - std::function midiEndpointJRProtocolNotify = nullptr; - - std::function functionBlockInfo = nullptr; - std::function functionBlockName = nullptr; - std::function startOfSeq = nullptr; - std::function endOfFile = nullptr; - - //Handle new Messages - std::function unknownUMPMessage = nullptr; - - public: - - void clearUMP(); - void processUMP(uint32_t UMP); - - //-----------------------Handlers --------------------------- - inline void setUtility(std::function fptr){ utilityMessage = fptr; } - inline void setCVM(std::function fptr ){ channelVoiceMessage = fptr; } - inline void setSystem(std::function fptr) { systemMessage = fptr; } - inline void setSysEx(std::function fptr ){sendOutSysex = fptr; } - - //---------- Flex Data - inline void setFlexTempo(std::function fptr ){ flexTempo = fptr; } - inline void setFlexTimeSig(std::function fptr){ - flexTimeSig = fptr; } - inline void setFlexMetronome(std::function fptr){ flexMetronome = fptr; } - inline void setFlexKeySig(std::function fptr){ - flexKeySig = fptr; } - inline void setFlexChord(std::function fptr){ - flexChord = fptr; } - inline void setFlexPerformance(std::function fptr){ flexPerformance = fptr; } - inline void setFlexLyric(std::function fptr){ flexLyric = fptr; } - - //---------- UMP Stream - - inline void setMidiEndpoint(std::function fptr){ - midiEndpoint = fptr; } - inline void setMidiEndpointNameNotify(std::function fptr){ - midiEndpointName = fptr; } - inline void setMidiEndpointProdIdNotify(std::function fptr){ - midiEndpointProdId = fptr; } - inline void setMidiEndpointInfoNotify(std::function fptr){ - midiEndpointInfo = fptr; } - inline void setMidiEndpointDeviceInfoNotify(std::function manuId, std::array familyId, - std::array modelId, std::array version)> fptr){ - midiEndpointDeviceInfo = fptr; } - inline void setJRProtocolRequest(std::function fptr){ midiEndpointJRProtocolReq = fptr;} - inline void setJRProtocolNotify(std::function fptr){ - midiEndpointJRProtocolNotify = fptr;} - - inline void setFunctionBlock(std::function fptr){ functionBlock = fptr; } - inline void setFunctionBlockNotify(std::function fptr){ - functionBlockInfo = fptr; } - inline void setFunctionBlockNameNotify(std::function fptr){functionBlockName = fptr; } - inline void setStartOfSeq(std::function fptr){startOfSeq = fptr; } - inline void setEndOfFile(std::function fptr){endOfFile = fptr; } - - //Unknown UMP - inline void setUnknownUMP(std::function fptr){unknownUMPMessage = fptr; } - -}; - -#endif //UMP_PROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpToBytestream.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpToBytestream.h deleted file mode 100644 index 4dc658a2b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/umpToBytestream.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UMPBS_H -#define UMPBS_H - - -#include - -#define UMPTOBS_BUFFER 12 - -class umpToBytestream{ - - private: - uint8_t mType; - uint32_t ump64word1; - - uint8_t UMPPos=0; - uint8_t bsOut[UMPTOBS_BUFFER]; - - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - public: - uint8_t group; - - umpToBytestream(); - bool availableBS(); - uint8_t readBS(); - void UMPStreamParse(uint32_t UMP); -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/utils.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/utils.h deleted file mode 100644 index f92125503..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/include/libmidi2/utils.h +++ /dev/null @@ -1,176 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UTILS_H -#define UTILS_H - -#include -#include - - -#define NOTE_OFF 0x80 -#define NOTE_ON 0x90 -#define KEY_PRESSURE 0xA0 -#define CC 0xB0 -#define RPN 0x20 -#define NRPN 0x30 -#define RPN_RELATIVE 0x40 -#define NRPN_RELATIVE 0x50 -#define PROGRAM_CHANGE 0xC0 -#define CHANNEL_PRESSURE 0xD0 -#define PITCH_BEND 0xE0 -#define PITCH_BEND_PERNOTE 0x60 -#define NRPN_PERNOTE 0x10 -#define RPN_PERNOTE 0x00 -#define PERNOTE_MANAGE 0xF0 - -#define SYSEX_START 0xF0 -#define TIMING_CODE 0xF1 -#define SPP 0xF2 -#define SONG_SELECT 0xF3 -#define TUNEREQUEST 0xF6 -#define SYSEX_STOP 0xF7 -#define TIMINGCLOCK 0xF8 -#define SEQSTART 0xFA -#define SEQCONT 0xFB -#define SEQSTOP 0xFC -#define ACTIVESENSE 0xFE -#define SYSTEMRESET 0xFF - -#define UTILITY_NOOP 0x0 -#define UTILITY_JRCLOCK 0x1 -#define UTILITY_JRTS 0x2 -#define UTILITY_DELTACLOCKTICK 0x3 -#define UTILITY_DELTACLOCKSINCE 0x4 - -#define FLEXDATA_COMMON 0x00 -#define FLEXDATA_COMMON_TEMPO 0x00 -#define FLEXDATA_COMMON_TIMESIG 0x01 -#define FLEXDATA_COMMON_METRONOME 0x02 -#define FLEXDATA_COMMON_KEYSIG 0x05 -#define FLEXDATA_COMMON_CHORD 0x06 -#define FLEXDATA_PERFORMANCE 0x01 -#define FLEXDATA_LYRIC 0x02 - -#define MIDIENDPOINT 0x000 -#define MIDIENDPOINT_INFO_NOTIFICATION 0x001 -#define MIDIENDPOINT_DEVICEINFO_NOTIFICATION 0x002 -#define MIDIENDPOINT_NAME_NOTIFICATION 0x003 -#define MIDIENDPOINT_PRODID_NOTIFICATION 0x004 -#define MIDIENDPOINT_PROTOCOL_REQUEST 0x005 -#define MIDIENDPOINT_PROTOCOL_NOTIFICATION 0x006 -#define STARTOFSEQ 0x020 -#define ENDOFFILE 0x021 - -#define FUNCTIONBLOCK 0x010 -#define FUNCTIONBLOCK_INFO_NOTFICATION 0x011 -#define FUNCTIONBLOCK_NAME_NOTIFICATION 0x012 - -#ifndef S7_BUFFERLEN -#define S7_BUFFERLEN 36 -#endif -#define S7UNIVERSAL_NRT 0x7E -#define S7UNIVERSAL_RT 0x7F -#define S7MIDICI 0x0D - -#define MIDICI_DISCOVERY 0x70 -#define MIDICI_DISCOVERYREPLY 0x71 -#define MIDICI_ENDPOINTINFO 0x72 -#define MIDICI_ENDPOINTINFO_REPLY 0x73 -#define MIDICI_INVALIDATEMUID 0x7E -#define MIDICI_ACK 0x7D -#define MIDICI_NAK 0x7F - -#define MIDICI_PROTOCOL_NEGOTIATION 0x10 -#define MIDICI_PROTOCOL_NEGOTIATION_REPLY 0x11 -#define MIDICI_PROTOCOL_SET 0x12 -#define MIDICI_PROTOCOL_TEST 0x13 -#define MIDICI_PROTOCOL_TEST_RESPONDER 0x14 -#define MIDICI_PROTOCOL_CONFIRM 0x15 - -#define MIDICI_PROFILE_INQUIRY 0x20 -#define MIDICI_PROFILE_INQUIRYREPLY 0x21 -#define MIDICI_PROFILE_SETON 0x22 -#define MIDICI_PROFILE_SETOFF 0x23 -#define MIDICI_PROFILE_ENABLED 0x24 -#define MIDICI_PROFILE_DISABLED 0x25 -#define MIDICI_PROFILE_ADD 0x26 -#define MIDICI_PROFILE_REMOVE 0x27 -#define MIDICI_PROFILE_DETAILS_INQUIRY 0x28 -#define MIDICI_PROFILE_DETAILS_REPLY 0x29 -#define MIDICI_PROFILE_SPECIFIC_DATA 0x2F - -#define MIDICI_PE_CAPABILITY 0x30 -#define MIDICI_PE_CAPABILITYREPLY 0x31 -#define MIDICI_PE_GET 0x34 -#define MIDICI_PE_GETREPLY 0x35 -#define MIDICI_PE_SET 0x36 -#define MIDICI_PE_SETREPLY 0x37 -#define MIDICI_PE_SUB 0x38 -#define MIDICI_PE_SUBREPLY 0x39 -#define MIDICI_PE_NOTIFY 0x3F - -#define MIDICI_PI_CAPABILITY 0x40 -#define MIDICI_PI_CAPABILITYREPLY 0x41 -#define MIDICI_PI_MM_REPORT 0x42 -#define MIDICI_PI_MM_REPORT_REPLY 0x43 -#define MIDICI_PI_MM_REPORT_END 0x44 - -#define MIDICI_PE_COMMAND_START 1 -#define MIDICI_PE_COMMAND_END 2 -#define MIDICI_PE_COMMAND_PARTIAL 3 -#define MIDICI_PE_COMMAND_FULL 4 -#define MIDICI_PE_COMMAND_NOTIFY 5 - -#define MIDICI_PE_ACTION_COPY 1 -#define MIDICI_PE_ACTION_MOVE 2 -#define MIDICI_PE_ACTION_DELETE 3 -#define MIDICI_PE_ACTION_CREATE_DIR 4 - -#define MIDICI_PE_ASCII 1 -#define MIDICI_PE_MCODED7 2 -#define MIDICI_PE_MCODED7ZLIB 3 - -#define FUNCTION_BLOCK 0x7F -#define M2_CI_BROADCAST 0xFFFFFFF - -#define UMP_VER_MAJOR 1 -#define UMP_VER_MINOR 1 - -#ifndef EXP_MIDICI_PE_EXPERIMENTAL_PATH -#define EXP_MIDICI_PE_EXPERIMENTAL_PATH 1 -#endif - -#define UMP_UTILITY 0x0 -#define UMP_SYSTEM 0x1 -#define UMP_M1CVM 0x2 -#define UMP_SYSEX7 0x3 -#define UMP_M2CVM 0x4 -#define UMP_DATA 0x5 -#define UMP_FLEX_DATA 0xD -#define UMP_MIDI_ENDPOINT 0xF - -namespace M2Utils { -uint32_t scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -uint32_t scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib deleted file mode 100644 index 65f8c9df7..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/lib/libmidi2.lib and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/copyright deleted file mode 100644 index 71e49ad38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/copyright +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Andrew Mee - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config-debug.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config-debug.cmake deleted file mode 100644 index 6fe525151..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config-debug.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Debug". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Debug" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config-release.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config-release.cmake deleted file mode 100644 index 5d995b0ed..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config-release.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Release". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Release" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" - IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config.cmake deleted file mode 100644 index 9a506956d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/libmidi2-config.cmake +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS libmidi2::libmidi2) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target libmidi2::libmidi2 -add_library(libmidi2::libmidi2 STATIC IMPORTED) - -set_target_properties(libmidi2::libmidi2 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" -) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libmidi2-config-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json deleted file mode 100644 index 211bb6b2c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg.spdx.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:34:54Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "libmidi2", - "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", - "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "description": "General purpose Midi 2 library for bytestream conversions and midi-ci", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "libmidi2:arm64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - }, - { - "SPDXID": "SPDXRef-resource-1", - "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", - "licenseConcluded": "NOASSERTION", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "checksums": [ - { - "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" - } - ] - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt deleted file mode 100644 index 2e3a76c03..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 -vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 -vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 -vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f -vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt deleted file mode 100644 index d8835edba..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeCache.txt +++ /dev/null @@ -1,474 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//No help, variable specified on the command line. -BUILD_SHARED_LIBS:UNINITIALIZED=ON - -//Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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.40.33807/bin/Hostx64/arm64/cl.exe - -CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' - -CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG - -CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C++ applications. -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.40.33807/bin/Hostx64/arm64/cl.exe - -CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' - -CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the C compiler during MINSIZEREL builds. -CMAKE_C_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG - -CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the C compiler during RELWITHDEBINFO builds. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C applications. -CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib - -//No help, variable specified on the command line. -CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING=/machine:ARM64 - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//No help, variable specified on the command line. -CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/pkgRedirects - -//No help, variable specified on the command line. -CMAKE_INSTALL_BINDIR:STRING=bin - -//No help, variable specified on the command line. -CMAKE_INSTALL_LIBDIR:STRING=lib - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/detect_compiler_arm64-windows - -//No help, variable specified on the command line. -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.40.33807/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 - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:ARM64 - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> - -//Path to a program. -CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=detect_compiler - -//RC compiler -CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe - -CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 - -//Flags for Windows Resource Compiler during DEBUG builds. -CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG - -//Flags for Windows Resource Compiler during MINSIZEREL builds. -CMAKE_RC_FLAGS_MINSIZEREL:STRING= - -//Flags for Windows Resource Compiler during RELEASE builds. -CMAKE_RC_FLAGS_RELEASE:STRING= - -//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. -CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:ARM64 - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:ARM64 - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -CMAKE_SYSTEM_NAME:STRING=Windows - -CMAKE_SYSTEM_PROCESSOR:STRING=ARM64 - -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 - -//The CMake toolchain file -CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=ON - -//Automatically copy dependencies into the output directory for -// executables. -VCPKG_APPLOCAL_DEPS:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake - -//No help, variable specified on the command line. -VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= - -//The directory which contains the installed libraries for each -// triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= - -//The path to the vcpkg manifest directory. -VCPKG_MANIFEST_DIR:PATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - -//Install the dependencies listed in your manifest: -//\n If this is off, you will have to manually install your dependencies. -//\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md -// for more info. -//\n -VCPKG_MANIFEST_INSTALL:BOOL=OFF - -//Use manifest mode, as opposed to classic mode. -VCPKG_MANIFEST_MODE:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 - -//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH -// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are -// found after toolchain/system libraries/packages. -VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF - -//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths -VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON - -//No help, variable specified on the command line. -VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=arm64 - -//Vcpkg target triplet (ex. x86-windows) -VCPKG_TARGET_TRIPLET:STRING=arm64-windows - -//Trace calls to find_package() -VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF - -//Enables messages from the VCPKG toolchain for debugging purposes. -VCPKG_VERBOSE:BOOL=OFF - -//(experimental) Automatically copy dependencies into the install -// target directory for executables. Requires CMake 3.14. -X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF - -//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force -// serialization. -X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF - -//No help, variable specified on the command line. -Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//The directory which contains the installed libraries for each -// triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows - -//No help, variable specified on the command line. -_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel - -//Value Computed by CMake -detect_compiler_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES -CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES -CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MT -CMAKE_MT-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//noop for ranlib -CMAKE_RANLIB:INTERNAL=: -//ADVANCED property for variable: CMAKE_RC_COMPILER -CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 -CMAKE_RC_COMPILER_WORKS:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS -CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG -CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL -CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE -CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO -CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE -CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: VCPKG_VERBOSE -VCPKG_VERBOSE-ADVANCED:INTERNAL=1 -//Making sure VCPKG_MANIFEST_MODE doesn't change -Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=ON - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 8882cc9c9..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_C_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6be331e77..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_CXX_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index 75a155568..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "ARM64") - -set(CMAKE_CROSSCOMPILING "TRUE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 66be36543..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,866 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif __STDC_VERSION__ > 201710L -# define C_VERSION "23" -#elif __STDC_VERSION__ >= 201710L -# define C_VERSION "17" -#elif __STDC_VERSION__ >= 201000L -# define C_VERSION "11" -#elif __STDC_VERSION__ >= 199901L -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index a29f705f4..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 52d56e25d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,855 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > 202002L - "23" -#elif CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 9dcb97257..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml deleted file mode 100644 index 1cbd1207c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ /dev/null @@ -1,88 +0,0 @@ - ---- -events: - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" - - "CMakeLists.txt:2 (project)" - message: | - The target system is: Windows - 10.0.26200 - ARM64 - The host system is: Windows - 10.0.26200 - AMD64 - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "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.40.33807/bin/Hostx64/arm64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP - Id flags: - - The output was: - 0 - CMakeCCompilerId.c - - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe" - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" - - The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:11 (enable_language)" - message: | - Detecting C compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\ARM64-windows\\vcpkg\\blds\\detect_compiler\\arm64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "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.40.33807/bin/Hostx64/arm64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP - Id flags: - - The output was: - 0 - CMakeCXXCompilerId.cpp - - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe" - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" - - The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:12 (enable_language)" - message: | - Detecting CXX compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\ARM64-windows\\vcpkg\\blds\\detect_compiler\\arm64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " -... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/ShowIncludes/foo.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/ShowIncludes/foo.h deleted file mode 100644 index 8b1378917..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/ShowIncludes/foo.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/ShowIncludes/main.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/ShowIncludes/main.c deleted file mode 100644 index cd3cbc1ff..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/ShowIncludes/main.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "foo.h" -int main(){} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 1505f78a1..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,2 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/rebuild_cache.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/cmake.check_cache b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd7317..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/rules.ninja deleted file mode 100644 index b4958be6e..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/rules.ninja +++ /dev/null @@ -1,51 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the rules used to get the outputs files -# built from the input files. -# It is included in the main 'build.ninja'. - -# ============================================================================= -# Project: detect_compiler -# Configurations: Release -# ============================================================================= -# ============================================================================= - -############################################# -# localized /showIncludes string - -msvc_deps_prefix = Note: including file: - - -############################################# -# Rule for running custom commands. - -rule CUSTOM_COMMAND - command = $COMMAND - description = $DESC - - -############################################# -# Rule for re-running cmake. - -rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\arm64-windows-rel - description = Re-running CMake... - generator = 1 - - -############################################# -# Rule for cleaning all built files. - -rule CLEAN - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS - description = Cleaning all built files... - - -############################################# -# Rule for printing all primary targets available. - -rule HELP - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets - description = All primary targets available: - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/build.ninja deleted file mode 100644 index 4b1f17f22..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/build.ninja +++ /dev/null @@ -1,112 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the build statements describing the -# compilation DAG. - -# ============================================================================= -# Write statements declared in CMakeLists.txt: -# -# Which is the root file. -# ============================================================================= - -# ============================================================================= -# Project: detect_compiler -# Configurations: Release -# ============================================================================= - -############################################# -# Minimal version of Ninja required by this file - -ninja_required_version = 1.5 - - -############################################# -# Set configuration variable for custom commands. - -CONFIGURATION = Release -# ============================================================================= -# Include auxiliary files. - - -############################################# -# Include rules file. - -include CMakeFiles\rules.ninja - -# ============================================================================= - -############################################# -# Logical path to working directory; prefix for absolute paths. - -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\arm64-windows-rel\ - -############################################# -# Utility command for edit_cache - -build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\arm64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\arm64-windows-rel" - DESC = Running CMake cache editor... - pool = console - restat = 1 - -build edit_cache: phony CMakeFiles\edit_cache.util - - -############################################# -# Utility command for rebuild_cache - -build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\arm64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\arm64-windows-rel" - DESC = Running CMake to regenerate build system... - pool = console - restat = 1 - -build rebuild_cache: phony CMakeFiles\rebuild_cache.util - -# ============================================================================= -# Target aliases. - -# ============================================================================= -# Folder targets. - -# ============================================================================= - -############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel - -build all: phony - -# ============================================================================= -# Built-in targets - - -############################################# -# Re-run CMake if any of its inputs changed. - -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake - pool = console - - -############################################# -# A missing CMake input file is not an error. - -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake: phony - - -############################################# -# Clean all the built files. - -build clean: CLEAN - - -############################################# -# Print all primary targets available. - -build help: HELP - - -############################################# -# Make the all target the default. - -default all diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/cmake_install.cmake deleted file mode 100644 index 09e7b6ada..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/cmake_install.cmake +++ /dev/null @@ -1,44 +0,0 @@ -# Install script for directory: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/detect_compiler_arm64-windows") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "Release") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "TRUE") -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log deleted file mode 100644 index aa8c18aa1..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ /dev/null @@ -1,2 +0,0 @@ -# ninja log v5 -1 1395 7366408890957226 ../CMakeCache.txt 6383ec04973b8b33 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/build.ninja deleted file mode 100644 index 513daece6..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/vcpkg-parallel-configure/build.ninja +++ /dev/null @@ -1,6 +0,0 @@ -rule CreateProcess - command = $process - -build ../CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/detect_compiler_arm64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/" "-DVCPKG_MANIFEST_INSTALL=OFF" - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt deleted file mode 100644 index eeeb62976..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ /dev/null @@ -1,476 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//No help, variable specified on the command line. -BUILD_SHARED_LIBS:UNINITIALIZED=ON - -//Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -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.40.33807/bin/Hostx64/x64/cl.exe - -CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' - -CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG - -CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C++ applications. -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.40.33807/bin/Hostx64/x64/cl.exe - -CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' - -CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the C compiler during MINSIZEREL builds. -CMAKE_C_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG - -CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the C compiler during RELWITHDEBINFO builds. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C applications. -CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib - -//No help, variable specified on the command line. -CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//No help, variable specified on the command line. -CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects - -//No help, variable specified on the command line. -CMAKE_INSTALL_BINDIR:STRING=bin - -//No help, variable specified on the command line. -CMAKE_INSTALL_LIBDIR:STRING=lib - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/detect_compiler_x64-windows - -//No help, variable specified on the command line. -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.40.33807/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 - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> - -//Path to a program. -CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=detect_compiler - -//RC compiler -CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe - -CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 - -//Flags for Windows Resource Compiler during DEBUG builds. -CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG - -//Flags for Windows Resource Compiler during MINSIZEREL builds. -CMAKE_RC_FLAGS_MINSIZEREL:STRING= - -//Flags for Windows Resource Compiler during RELEASE builds. -CMAKE_RC_FLAGS_RELEASE:STRING= - -//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. -CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -CMAKE_SYSTEM_NAME:STRING=Windows - -CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 - -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 - -//The CMake toolchain file -CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=ON - -//Automatically copy dependencies into the output directory for -// executables. -VCPKG_APPLOCAL_DEPS:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake - -//No help, variable specified on the command line. -VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= - -//The directory which contains the installed libraries for each -// triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= - -//The path to the vcpkg manifest directory. -VCPKG_MANIFEST_DIR:PATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - -//Install the dependencies listed in your manifest: -//\n If this is off, you will have to manually install your dependencies. -//\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md -// for more info. -//\n -VCPKG_MANIFEST_INSTALL:BOOL=OFF - -//Use manifest mode, as opposed to classic mode. -VCPKG_MANIFEST_MODE:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 - -//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH -// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are -// found after toolchain/system libraries/packages. -VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF - -//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths -VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON - -//No help, variable specified on the command line. -VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 - -//Vcpkg target triplet (ex. x86-windows) -VCPKG_TARGET_TRIPLET:STRING=x64-windows - -//Trace calls to find_package() -VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF - -//Enables messages from the VCPKG toolchain for debugging purposes. -VCPKG_VERBOSE:BOOL=OFF - -//(experimental) Automatically copy dependencies into the install -// target directory for executables. Requires CMake 3.14. -X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF - -//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force -// serialization. -X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF - -//No help, variable specified on the command line. -Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//The directory which contains the installed libraries for each -// triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows - -//No help, variable specified on the command line. -_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel - -//Value Computed by CMake -detect_compiler_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES -CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES -CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MT -CMAKE_MT-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//noop for ranlib -CMAKE_RANLIB:INTERNAL=: -//ADVANCED property for variable: CMAKE_RC_COMPILER -CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 -CMAKE_RC_COMPILER_WORKS:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS -CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG -CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL -CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE -CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO -CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE -CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: VCPKG_VERBOSE -VCPKG_VERBOSE-ADVANCED:INTERNAL=1 -//Making sure VCPKG_MANIFEST_MODE doesn't change -Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=ON - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake deleted file mode 100644 index 4c9d9a854..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMAKE_RC_COMPILER "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe") -set(CMAKE_RC_COMPILER_ARG1 "") -set(CMAKE_RC_COMPILER_LOADED 1) -set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) -set(CMAKE_RC_OUTPUT_EXTENSION .res) -set(CMAKE_RC_COMPILER_ENV_VAR "RC") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 66be36543..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,866 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif __STDC_VERSION__ > 201710L -# define C_VERSION "23" -#elif __STDC_VERSION__ >= 201710L -# define C_VERSION "17" -#elif __STDC_VERSION__ >= 201000L -# define C_VERSION "11" -#elif __STDC_VERSION__ >= 199901L -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 8045c80b1..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 52d56e25d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,855 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > 202002L - "23" -#elif CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 5e9c5b6d0..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml deleted file mode 100644 index 29abd9ae4..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ /dev/null @@ -1,88 +0,0 @@ - ---- -events: - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" - - "CMakeLists.txt:2 (project)" - message: | - The target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "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.40.33807/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP - Id flags: - - The output was: - 0 - CMakeCCompilerId.c - - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe" - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" - - The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:11 (enable_language)" - message: | - Detecting C compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\ARM64-windows\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "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.40.33807/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP - Id flags: - - The output was: - 0 - CMakeCXXCompilerId.cpp - - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe" - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" - - The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:12 (enable_language)" - message: | - Detecting CXX compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\ARM64-windows\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " -... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h deleted file mode 100644 index 8b1378917..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/main.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/main.c deleted file mode 100644 index cd3cbc1ff..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/main.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "foo.h" -int main(){} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 9d5e32020..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,2 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rebuild_cache.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/cmake.check_cache b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd7317..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja deleted file mode 100644 index cd87d3562..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja +++ /dev/null @@ -1,51 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the rules used to get the outputs files -# built from the input files. -# It is included in the main 'build.ninja'. - -# ============================================================================= -# Project: detect_compiler -# Configurations: Release -# ============================================================================= -# ============================================================================= - -############################################# -# localized /showIncludes string - -msvc_deps_prefix = Note: including file: - - -############################################# -# Rule for running custom commands. - -rule CUSTOM_COMMAND - command = $COMMAND - description = $DESC - - -############################################# -# Rule for re-running cmake. - -rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\x64-windows-rel - description = Re-running CMake... - generator = 1 - - -############################################# -# Rule for cleaning all built files. - -rule CLEAN - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS - description = Cleaning all built files... - - -############################################# -# Rule for printing all primary targets available. - -rule HELP - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets - description = All primary targets available: - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja deleted file mode 100644 index c240d0235..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja +++ /dev/null @@ -1,112 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the build statements describing the -# compilation DAG. - -# ============================================================================= -# Write statements declared in CMakeLists.txt: -# -# Which is the root file. -# ============================================================================= - -# ============================================================================= -# Project: detect_compiler -# Configurations: Release -# ============================================================================= - -############################################# -# Minimal version of Ninja required by this file - -ninja_required_version = 1.5 - - -############################################# -# Set configuration variable for custom commands. - -CONFIGURATION = Release -# ============================================================================= -# Include auxiliary files. - - -############################################# -# Include rules file. - -include CMakeFiles\rules.ninja - -# ============================================================================= - -############################################# -# Logical path to working directory; prefix for absolute paths. - -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\x64-windows-rel\ - -############################################# -# Utility command for edit_cache - -build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\x64-windows-rel" - DESC = Running CMake cache editor... - pool = console - restat = 1 - -build edit_cache: phony CMakeFiles\edit_cache.util - - -############################################# -# Utility command for rebuild_cache - -build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\ARM64-windows\vcpkg\blds\detect_compiler\x64-windows-rel" - DESC = Running CMake to regenerate build system... - pool = console - restat = 1 - -build rebuild_cache: phony CMakeFiles\rebuild_cache.util - -# ============================================================================= -# Target aliases. - -# ============================================================================= -# Folder targets. - -# ============================================================================= - -############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel - -build all: phony - -# ============================================================================= -# Built-in targets - - -############################################# -# Re-run CMake if any of its inputs changed. - -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake - pool = console - - -############################################# -# A missing CMake input file is not an error. - -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake: phony - - -############################################# -# Clean all the built files. - -build clean: CLEAN - - -############################################# -# Print all primary targets available. - -build help: HELP - - -############################################# -# Make the all target the default. - -default all diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake deleted file mode 100644 index d6f4ee9b8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake +++ /dev/null @@ -1,44 +0,0 @@ -# Install script for directory: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/detect_compiler_x64-windows") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "Release") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "OFF") -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log deleted file mode 100644 index c4fa34cc7..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ /dev/null @@ -1,2 +0,0 @@ -# ninja log v5 -1 916 7366408850162831 ../CMakeCache.txt 1c2a7494fbd64c19 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja deleted file mode 100644 index 7d6979d74..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja +++ /dev/null @@ -1,6 +0,0 @@ -rule CreateProcess - command = $process - -build ../CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/detect_compiler_x64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/" "-DVCPKG_MANIFEST_INSTALL=OFF" - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt deleted file mode 100644 index 2e3a76c03..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/libmidi2/arm64-windows.vcpkg_abi_info.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 -vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 -vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 -vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f -vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt deleted file mode 100644 index 69b9c738f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ /dev/null @@ -1,13 +0,0 @@ -cmake 3.27.1 -copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 -features core -portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e -vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 -vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt deleted file mode 100644 index 410aff1d5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 -vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 -vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe -vcpkg_cmake_build.cmake 6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1 -vcpkg_cmake_configure.cmake f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e -vcpkg_cmake_install.cmake 3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369 -vcpkg_configure_cmake 9dfd362bd20613eaa83af55eb0f98c8cb50fd4826a65da74a0f1641da73497c2 -vcpkg_execute_build_process 4976d00fc7d25ad07984f282490121a09aa44a49c5dae627ca68355affd929d0 -vcpkg_execute_required_process 0c6f52ca848715efd88acfec9bdb2ed3b5f38a650baa6a614bf23ccc3eec150a -vcpkg_find_acquire_program 96d9ee675798a3bddb54340d404b814be45a35c624b2eab5465cd45eaf18b6d3 -vcpkg_find_acquire_program(NINJA) 8692aff2f893a8afcabbb4395a8b91ad4f6dd228f410fa4fd050d99c2ec0f52c -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/info/vcpkg-cmake-config_2022-02-06_x64-windows.list b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/info/vcpkg-cmake-config_2022-02-06_x64-windows.list deleted file mode 100644 index 25d866f74..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/info/vcpkg-cmake-config_2022-02-06_x64-windows.list +++ /dev/null @@ -1,8 +0,0 @@ -x64-windows/ -x64-windows/share/ -x64-windows/share/vcpkg-cmake-config/ -x64-windows/share/vcpkg-cmake-config/copyright -x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake -x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json -x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt -x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/BUILD_INFO b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/BUILD_INFO deleted file mode 100644 index 21ca67e3b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/BUILD_INFO +++ /dev/null @@ -1,2 +0,0 @@ -CRTLinkage: dynamic -LibraryLinkage: static diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL deleted file mode 100644 index 80edeb355..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/CONTROL +++ /dev/null @@ -1,7 +0,0 @@ -Package: libmidi2 -Version: 0.9 -Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows -Architecture: arm64-windows -Multi-Arch: same -Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb -Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/bytestreamToUMP.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/bytestreamToUMP.h deleted file mode 100644 index a7ebcff5d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/bytestreamToUMP.h +++ /dev/null @@ -1,72 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef BSUMP_H -#define BSUMP_H - -#define BSTOUMP_BUFFER 4 - - -#include - -class bytestreamToUMP{ - - private: - uint8_t d0; - uint8_t d1; - - uint8_t sysex7State = 0; - uint8_t sysex7Pos = 0; - - uint8_t sysex[6] = {0,0,0,0,0,0}; - uint32_t umpMess[BSTOUMP_BUFFER] = {0,0,0,0}; - - //Channel Based Data - uint8_t bankMSB[16]; - uint8_t bankLSB[16]; - bool rpnMode[16]; - uint8_t rpnMsbValue[16]; - uint8_t rpnMsb[16]; - uint8_t rpnLsb[16]; - - void bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2); - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - - public: - uint8_t defaultGroup = 0; - bool outputMIDI2 = false; - - bytestreamToUMP(); - - bool availableUMP(); - - uint32_t readUMP(); - - void bytestreamParse(uint8_t midi1Byte); - - -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/mcoded7.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/mcoded7.h deleted file mode 100644 index 6d72a090f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/mcoded7.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MC7_H -#define MC7_H - -#include - -class mcoded7Decode{ - private: - uint8_t dumpPos=255; - uint8_t fBit=0; - uint8_t cnt=0; - uint8_t bits=0; - public: - uint8_t dump[7]; - uint16_t currentPos(); - void reset(); - void parseS7Byte(uint8_t s7Byte); -}; - - -class mcoded7Encode{ - - private: - uint16_t dumpPos = 1; - uint8_t cnt = 6; - public: - uint8_t dump[8]; - uint16_t currentPos(); - void reset(); - void parseByte(uint8_t s8Byte); -}; - -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/midiCIMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/midiCIMessageCreate.h deleted file mode 100644 index 922c91aac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/midiCIMessageCreate.h +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIMESSAGECREATE_H -#define MIDI2CPP_MIDICIMESSAGECREATE_H -#include "utils.h" -#include -#include - -namespace CIMessage { - - uint16_t sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId - ); - - uint16_t sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx - ); - - uint16_t - sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); - - uint16_t - sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, - uint16_t infoLength, uint8_t *infoData); - - uint16_t sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, - uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -//Profile Negotiation CI 1.1 - uint16_t sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol); - - uint16_t sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols); - - uint16_t sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t *protocol); - - uint16_t sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - uint16_t sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - - uint16_t - sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - uint16_t - sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled); - - uint16_t sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data); - - uint16_t sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t destination, - std::array profile, uint8_t InquiryTarget); - - uint16_t - sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t *data); - - - uint16_t sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - - uint16_t sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid); - - uint16_t sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t supportedFeatures); - - uint16_t sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - -} -#endif //MIDI2CPP_MIDICIMESSAGECREATE_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/midiCIProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/midiCIProcessor.h deleted file mode 100644 index 768e4fae8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/midiCIProcessor.h +++ /dev/null @@ -1,280 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIPROCESSOR_H -#define MIDI2CPP_MIDICIPROCESSOR_H - -#include -#include -#include // this was missing and causing build errors -#include -#include - -#include "utils.h" - -typedef std::tuple reqId; //muid-requestId - -struct MIDICI{ - MIDICI() : umpGroup(255), deviceId(FUNCTION_BLOCK),ciType(255),ciVer(1), remoteMUID(0), localMUID(0), - _reqTupleSet(false), totalChunks(0), numChunk(0), partialChunkCount(0), requestId(255) {} - uint8_t umpGroup; - uint8_t deviceId; - uint8_t ciType; - uint8_t ciVer; - uint32_t remoteMUID; - uint32_t localMUID; - bool _reqTupleSet; - reqId _peReqIdx; - - uint8_t totalChunks; - uint8_t numChunk; - uint8_t partialChunkCount; - uint8_t requestId; -}; - - - - -class midiCIProcessor{ -private: - MIDICI midici; - uint8_t buffer[256]; - /* - * in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4,...product Id] - * in Profiles this is [pf1, pf1, pf3, pf4, pf5] - * in Protocols this is [pr1, pr2, pr3, pr4, pr5] - */ - - uint16_t intTemp[4]; - /* in Discovery this is [ciSupport, maxSysex, output path id] - * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length] - * in Profile On/Off/Enabled/Disabled, this is [numOfChannels] - * in PE this is [header length, Body Length] - */ - uint16_t sysexPos; - - //MIDI-CI callbacks - - // EB: update callbacks step1 - update pointer definitions to: - // std::function name = nullptr; - - std::function - checkMUID = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, - uint16_t maxSysex, uint8_t outputPathId)> recvDiscoveryRequest = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx)> recvDiscoveryReply = nullptr; - std::function recvEndPointInfo = nullptr; - std::function recvEndPointInfoReply = nullptr; - std::function recvNAK = nullptr; - std::function recvACK = nullptr; - std::function recvInvalidateMUID = nullptr; - std::function recvUnknownMIDICI = nullptr; - -//Protocol Negotiation - std::function recvProtocolAvailable = nullptr; - std::function recvSetProtocol = nullptr; - std::function recvSetProtocolConfirm = nullptr; - std::function recvProtocolTest = nullptr; - - void processProtocolSysex(uint8_t s7Byte); - -//Profiles - std::function recvProfileInquiry = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileEnabled = nullptr; - std::function)> recvSetProfileRemoved = nullptr; - std::function, uint8_t numberOfChannels)> recvSetProfileDisabled = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileOn = nullptr; - std::function profile)> recvSetProfileOff = nullptr; - std::function profile, uint16_t datalen, uint8_t* data, - uint16_t part, bool lastByteOfSet)> recvProfileSpecificData = nullptr; - std::function profile, uint8_t InquiryTarget)> recvSetProfileDetailsInquiry = nullptr; - std::function profile, uint8_t InquiryTarget, - uint16_t datalen, uint8_t* data)> recvSetProfileDetailsReply = nullptr; - - void processProfileSysex(uint8_t s7Byte); - -//Property Exchange - std::map peHeaderStr; - - std::function recvPECapabilities = nullptr; - std::function recvPECapabilitiesReplies = nullptr; - std::function recvPEGetInquiry = nullptr; - std::function recvPESetReply = nullptr; - std::function recvPESubReply = nullptr; - std::function recvPENotify = nullptr; - std::function recvPEGetReply = nullptr; - std::function recvPESetInquiry = nullptr; - std::function recvPESubInquiry = nullptr; - - void cleanupRequest(reqId peReqIdx); - - void processPESysex(uint8_t s7Byte); - -//Process Inquiry - std::function recvPICapabilities = nullptr; - std::function recvPICapabilitiesReply = nullptr; - - std::function recvPIMMReport = nullptr; - std::function recvPIMMReportReply = nullptr; - std::function recvPIMMReportEnd = nullptr; - - void processPISysex(uint8_t s7Byte); - -public: - - // EB: update callbacks step2 - update setCallback functions: - // inline void setCallback(std::function fptr){ pointerName = fptr; } - // - // Calling these functions from within a member class looks like: - // MIDICIHandler->setCheckMUID(std::bind(&YourClass::checkMUID, this, std::placeholders::_1, std::placeholders::_2)); - - inline void setCheckMUID(std::function fptr){ - checkMUID = fptr; } - void endSysex7(); - void startSysex7(uint8_t group, uint8_t deviceId); - void processMIDICI(uint8_t s7Byte); - - - inline void setRecvDiscovery(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId - )> fptr) { - recvDiscoveryRequest = fptr;} - inline void setRecvDiscoveryReply(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx - )> fptr) { - recvDiscoveryReply = fptr;} - inline void setRecvNAK(std::function fptr){ - recvNAK = fptr;} - inline void setRecvACK(std::function fptr){ - recvACK = fptr;} - inline void setRecvInvalidateMUID(std::function fptr){ - recvInvalidateMUID = fptr;} - inline void setRecvUnknownMIDICI(std::function fptr){ - recvUnknownMIDICI = fptr;} - - - inline void setRecvEndpointInfo(std::function fptr){ - recvEndPointInfo = fptr;} - inline void setRecvEndpointInfoReply(std::function fptr){ - recvEndPointInfoReply = fptr;} - - //Protocol Negotiation - inline void setRecvProtocolAvailable(std::function fptr){ - recvProtocolAvailable = fptr;} - inline void setRecvSetProtocol(std::function fptr){ - recvSetProtocol = fptr;} - inline void setRecvSetProtocolConfirm(std::function fptr){ - recvSetProtocolConfirm = fptr;} - inline void setRecvSetProtocolTest(std::function fptr){ - recvProtocolTest = fptr;} - - //Profiles - inline void setRecvProfileInquiry(std::function fptr){ recvProfileInquiry = fptr;} - inline void setRecvProfileEnabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileEnabled = fptr;} - inline void setRecvSetProfileRemoved(std::function)> fptr){ - recvSetProfileRemoved = fptr;} - inline void setRecvProfileDisabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileDisabled = fptr;} - inline void setRecvProfileOn(std::function profile, uint8_t numberOfChannels)> fptr){ - recvSetProfileOn = fptr;} - inline void setRecvProfileOff(std::function profile)> fptr){ - recvSetProfileOff = fptr;} - inline void setRecvProfileSpecificData(std::function profile, uint16_t datalen, - uint8_t* data, uint16_t part, bool lastByteOfSet)> fptr){ - recvProfileSpecificData = fptr;} - inline void setRecvProfileDetailsInquiry(std::function profile, - uint8_t InquiryTarget)> fptr){ - recvSetProfileDetailsInquiry = fptr;} - inline void setRecvProfileDetailsReply(std::function profile, - uint8_t InquiryTarget, uint16_t datalen, uint8_t* data)> fptr){ - recvSetProfileDetailsReply = fptr;} - - //Property Exchange - inline void setPECapabilities(std::function fptr){ - recvPECapabilities = fptr;} - inline void setPECapabilitiesReply(std::function fptr){ - recvPECapabilitiesReplies = fptr;} - inline void setRecvPEGetInquiry(std::function fptr){ - recvPEGetInquiry = fptr;} - inline void setRecvPESetReply(std::function fptr){ - recvPESetReply = fptr;} - inline void setRecvPESubReply(std::function fptr){ - recvPESubReply = fptr;} - inline void setRecvPENotify(std::function fptr){ - recvPENotify = fptr;} - inline void setRecvPEGetReply(std::function fptr){ - recvPEGetReply = fptr;} - inline void setRecvPESetInquiry(std::function fptr){ - recvPESetInquiry = fptr;} - inline void setRecvPESubInquiry(std::function fptr){ - recvPESubInquiry = fptr;} - -//Process Inquiry - - inline void setRecvPICapabilities(std::function fptr){ - recvPICapabilities = fptr;} - inline void setRecvPICapabilitiesReply(std::function fptr){ - recvPICapabilitiesReply = fptr;} - inline void setRecvPIMMReport(std::function fptr){ - recvPIMMReport = fptr;} - inline void setRecvPIMMReportReply(std::function fptr){ - recvPIMMReportReply = fptr;} - inline void setRecvPIMMEnd(std::function fptr){ - recvPIMMReportEnd = fptr;} - -}; - -#endif //MIDI2CPP_MIDICIPROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpMessageCreate.h deleted file mode 100644 index 4e4862a79..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpMessageCreate.h +++ /dev/null @@ -1,132 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MESSAGE_CREATE_H -#define MESSAGE_CREATE_H -#include -#include - -namespace UMPMessage { - uint32_t mt0NOOP(); - - uint32_t mt0JRClock(uint16_t clockTime); - - uint32_t mt0JRTimeStamp(uint16_t timestamp); - - uint32_t mt0DeltaClockTick(uint16_t ticksPerQtrNote); - - uint32_t mt0DeltaTicksSinceLast(uint16_t noTicksSince); - - - uint32_t mt1MTC(uint8_t group, uint8_t timeCode); - - uint32_t mt1SPP(uint8_t group, uint16_t position); - - uint32_t mt1SongSelect(uint8_t group, uint8_t song); - - uint32_t mt1TuneRequest(uint8_t group); - - uint32_t mt1TimingClock(uint8_t group); - - uint32_t mt1SeqStart(uint8_t group); - - uint32_t mt1SeqCont(uint8_t group); - - uint32_t mt1SeqStop(uint8_t group); - - uint32_t mt1ActiveSense(uint8_t group); - - uint32_t mt1SystemReset(uint8_t group); - - - uint32_t mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure); - - uint32_t mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value); - - uint32_t mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program); - - uint32_t mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure); - - uint32_t mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value); - - std::array mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx); - - - std::array mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure); - - std::array mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch); - - std::array mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value); - - std::array mt4RPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4NRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4RelativeRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4RelativeNRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4ChannelPressure(uint8_t group, uint8_t channel, uint32_t pressure); - - std::array mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, - uint8_t bank, uint8_t index); - - - std::array mtFMidiEndpoint(uint8_t filter); - - std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); - - std::array - mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version); - - std::array - mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); - - std::array - mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, - uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); - - std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFStartOfSeq(); - - std::array mtFEndOfFile(); - - std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); - - std::array mtFNotifyProtocol(uint8_t protocol, bool jrrx, bool jrtx); - -} -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpProcessor.h deleted file mode 100644 index 0e81025fb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpProcessor.h +++ /dev/null @@ -1,177 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#ifndef UMP_PROCESSOR_H -#define UMP_PROCESSOR_H - -#include -#include -#include - -#include "utils.h" - -struct umpCVM{ - umpCVM() : umpGroup(255), messageType(255), status(0),channel(255),note(255), value(0), index(0), bank(0), - flag1(false), flag2(false) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; - -struct umpGeneric{ - umpGeneric() : umpGroup(255), status(0), value(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; - -struct umpData{ - umpData() : umpGroup(255), streamId(0), status(0), form(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t streamId; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; - -class umpProcessor{ - - private: - - uint32_t umpMess[4]{}; - uint8_t messPos=0; - - // Message type 0x0 callbacks - std::function utilityMessage = nullptr; - - // MIDI 1 and 2 CVM callbacks - std::function channelVoiceMessage = nullptr; - - //System Messages callbacks - std::function systemMessage = nullptr; - - //Sysex - std::function sendOutSysex = nullptr; - - // Message Type 0xD callbacks - std::function flexTempo = nullptr; - std::function flexTimeSig = nullptr; - std::function flexMetronome = nullptr; - std::function flexKeySig = nullptr; - std::function flexChord = nullptr; - std::function flexPerformance = nullptr; - std::function flexLyric = nullptr; - - // Message Type 0xF callbacks - std::function midiEndpoint = nullptr; - std::function functionBlock = nullptr; - std::function - midiEndpointInfo = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version)> midiEndpointDeviceInfo = nullptr; - std::function midiEndpointName = nullptr; - std::function midiEndpointProdId = nullptr; - - std::function midiEndpointJRProtocolReq = nullptr; - std::function midiEndpointJRProtocolNotify = nullptr; - - std::function functionBlockInfo = nullptr; - std::function functionBlockName = nullptr; - std::function startOfSeq = nullptr; - std::function endOfFile = nullptr; - - //Handle new Messages - std::function unknownUMPMessage = nullptr; - - public: - - void clearUMP(); - void processUMP(uint32_t UMP); - - //-----------------------Handlers --------------------------- - inline void setUtility(std::function fptr){ utilityMessage = fptr; } - inline void setCVM(std::function fptr ){ channelVoiceMessage = fptr; } - inline void setSystem(std::function fptr) { systemMessage = fptr; } - inline void setSysEx(std::function fptr ){sendOutSysex = fptr; } - - //---------- Flex Data - inline void setFlexTempo(std::function fptr ){ flexTempo = fptr; } - inline void setFlexTimeSig(std::function fptr){ - flexTimeSig = fptr; } - inline void setFlexMetronome(std::function fptr){ flexMetronome = fptr; } - inline void setFlexKeySig(std::function fptr){ - flexKeySig = fptr; } - inline void setFlexChord(std::function fptr){ - flexChord = fptr; } - inline void setFlexPerformance(std::function fptr){ flexPerformance = fptr; } - inline void setFlexLyric(std::function fptr){ flexLyric = fptr; } - - //---------- UMP Stream - - inline void setMidiEndpoint(std::function fptr){ - midiEndpoint = fptr; } - inline void setMidiEndpointNameNotify(std::function fptr){ - midiEndpointName = fptr; } - inline void setMidiEndpointProdIdNotify(std::function fptr){ - midiEndpointProdId = fptr; } - inline void setMidiEndpointInfoNotify(std::function fptr){ - midiEndpointInfo = fptr; } - inline void setMidiEndpointDeviceInfoNotify(std::function manuId, std::array familyId, - std::array modelId, std::array version)> fptr){ - midiEndpointDeviceInfo = fptr; } - inline void setJRProtocolRequest(std::function fptr){ midiEndpointJRProtocolReq = fptr;} - inline void setJRProtocolNotify(std::function fptr){ - midiEndpointJRProtocolNotify = fptr;} - - inline void setFunctionBlock(std::function fptr){ functionBlock = fptr; } - inline void setFunctionBlockNotify(std::function fptr){ - functionBlockInfo = fptr; } - inline void setFunctionBlockNameNotify(std::function fptr){functionBlockName = fptr; } - inline void setStartOfSeq(std::function fptr){startOfSeq = fptr; } - inline void setEndOfFile(std::function fptr){endOfFile = fptr; } - - //Unknown UMP - inline void setUnknownUMP(std::function fptr){unknownUMPMessage = fptr; } - -}; - -#endif //UMP_PROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpToBytestream.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpToBytestream.h deleted file mode 100644 index 4dc658a2b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/umpToBytestream.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UMPBS_H -#define UMPBS_H - - -#include - -#define UMPTOBS_BUFFER 12 - -class umpToBytestream{ - - private: - uint8_t mType; - uint32_t ump64word1; - - uint8_t UMPPos=0; - uint8_t bsOut[UMPTOBS_BUFFER]; - - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - public: - uint8_t group; - - umpToBytestream(); - bool availableBS(); - uint8_t readBS(); - void UMPStreamParse(uint32_t UMP); -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/utils.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/utils.h deleted file mode 100644 index f92125503..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/include/libmidi2/utils.h +++ /dev/null @@ -1,176 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UTILS_H -#define UTILS_H - -#include -#include - - -#define NOTE_OFF 0x80 -#define NOTE_ON 0x90 -#define KEY_PRESSURE 0xA0 -#define CC 0xB0 -#define RPN 0x20 -#define NRPN 0x30 -#define RPN_RELATIVE 0x40 -#define NRPN_RELATIVE 0x50 -#define PROGRAM_CHANGE 0xC0 -#define CHANNEL_PRESSURE 0xD0 -#define PITCH_BEND 0xE0 -#define PITCH_BEND_PERNOTE 0x60 -#define NRPN_PERNOTE 0x10 -#define RPN_PERNOTE 0x00 -#define PERNOTE_MANAGE 0xF0 - -#define SYSEX_START 0xF0 -#define TIMING_CODE 0xF1 -#define SPP 0xF2 -#define SONG_SELECT 0xF3 -#define TUNEREQUEST 0xF6 -#define SYSEX_STOP 0xF7 -#define TIMINGCLOCK 0xF8 -#define SEQSTART 0xFA -#define SEQCONT 0xFB -#define SEQSTOP 0xFC -#define ACTIVESENSE 0xFE -#define SYSTEMRESET 0xFF - -#define UTILITY_NOOP 0x0 -#define UTILITY_JRCLOCK 0x1 -#define UTILITY_JRTS 0x2 -#define UTILITY_DELTACLOCKTICK 0x3 -#define UTILITY_DELTACLOCKSINCE 0x4 - -#define FLEXDATA_COMMON 0x00 -#define FLEXDATA_COMMON_TEMPO 0x00 -#define FLEXDATA_COMMON_TIMESIG 0x01 -#define FLEXDATA_COMMON_METRONOME 0x02 -#define FLEXDATA_COMMON_KEYSIG 0x05 -#define FLEXDATA_COMMON_CHORD 0x06 -#define FLEXDATA_PERFORMANCE 0x01 -#define FLEXDATA_LYRIC 0x02 - -#define MIDIENDPOINT 0x000 -#define MIDIENDPOINT_INFO_NOTIFICATION 0x001 -#define MIDIENDPOINT_DEVICEINFO_NOTIFICATION 0x002 -#define MIDIENDPOINT_NAME_NOTIFICATION 0x003 -#define MIDIENDPOINT_PRODID_NOTIFICATION 0x004 -#define MIDIENDPOINT_PROTOCOL_REQUEST 0x005 -#define MIDIENDPOINT_PROTOCOL_NOTIFICATION 0x006 -#define STARTOFSEQ 0x020 -#define ENDOFFILE 0x021 - -#define FUNCTIONBLOCK 0x010 -#define FUNCTIONBLOCK_INFO_NOTFICATION 0x011 -#define FUNCTIONBLOCK_NAME_NOTIFICATION 0x012 - -#ifndef S7_BUFFERLEN -#define S7_BUFFERLEN 36 -#endif -#define S7UNIVERSAL_NRT 0x7E -#define S7UNIVERSAL_RT 0x7F -#define S7MIDICI 0x0D - -#define MIDICI_DISCOVERY 0x70 -#define MIDICI_DISCOVERYREPLY 0x71 -#define MIDICI_ENDPOINTINFO 0x72 -#define MIDICI_ENDPOINTINFO_REPLY 0x73 -#define MIDICI_INVALIDATEMUID 0x7E -#define MIDICI_ACK 0x7D -#define MIDICI_NAK 0x7F - -#define MIDICI_PROTOCOL_NEGOTIATION 0x10 -#define MIDICI_PROTOCOL_NEGOTIATION_REPLY 0x11 -#define MIDICI_PROTOCOL_SET 0x12 -#define MIDICI_PROTOCOL_TEST 0x13 -#define MIDICI_PROTOCOL_TEST_RESPONDER 0x14 -#define MIDICI_PROTOCOL_CONFIRM 0x15 - -#define MIDICI_PROFILE_INQUIRY 0x20 -#define MIDICI_PROFILE_INQUIRYREPLY 0x21 -#define MIDICI_PROFILE_SETON 0x22 -#define MIDICI_PROFILE_SETOFF 0x23 -#define MIDICI_PROFILE_ENABLED 0x24 -#define MIDICI_PROFILE_DISABLED 0x25 -#define MIDICI_PROFILE_ADD 0x26 -#define MIDICI_PROFILE_REMOVE 0x27 -#define MIDICI_PROFILE_DETAILS_INQUIRY 0x28 -#define MIDICI_PROFILE_DETAILS_REPLY 0x29 -#define MIDICI_PROFILE_SPECIFIC_DATA 0x2F - -#define MIDICI_PE_CAPABILITY 0x30 -#define MIDICI_PE_CAPABILITYREPLY 0x31 -#define MIDICI_PE_GET 0x34 -#define MIDICI_PE_GETREPLY 0x35 -#define MIDICI_PE_SET 0x36 -#define MIDICI_PE_SETREPLY 0x37 -#define MIDICI_PE_SUB 0x38 -#define MIDICI_PE_SUBREPLY 0x39 -#define MIDICI_PE_NOTIFY 0x3F - -#define MIDICI_PI_CAPABILITY 0x40 -#define MIDICI_PI_CAPABILITYREPLY 0x41 -#define MIDICI_PI_MM_REPORT 0x42 -#define MIDICI_PI_MM_REPORT_REPLY 0x43 -#define MIDICI_PI_MM_REPORT_END 0x44 - -#define MIDICI_PE_COMMAND_START 1 -#define MIDICI_PE_COMMAND_END 2 -#define MIDICI_PE_COMMAND_PARTIAL 3 -#define MIDICI_PE_COMMAND_FULL 4 -#define MIDICI_PE_COMMAND_NOTIFY 5 - -#define MIDICI_PE_ACTION_COPY 1 -#define MIDICI_PE_ACTION_MOVE 2 -#define MIDICI_PE_ACTION_DELETE 3 -#define MIDICI_PE_ACTION_CREATE_DIR 4 - -#define MIDICI_PE_ASCII 1 -#define MIDICI_PE_MCODED7 2 -#define MIDICI_PE_MCODED7ZLIB 3 - -#define FUNCTION_BLOCK 0x7F -#define M2_CI_BROADCAST 0xFFFFFFF - -#define UMP_VER_MAJOR 1 -#define UMP_VER_MINOR 1 - -#ifndef EXP_MIDICI_PE_EXPERIMENTAL_PATH -#define EXP_MIDICI_PE_EXPERIMENTAL_PATH 1 -#endif - -#define UMP_UTILITY 0x0 -#define UMP_SYSTEM 0x1 -#define UMP_M1CVM 0x2 -#define UMP_SYSEX7 0x3 -#define UMP_M2CVM 0x4 -#define UMP_DATA 0x5 -#define UMP_FLEX_DATA 0xD -#define UMP_MIDI_ENDPOINT 0xF - -namespace M2Utils { -uint32_t scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -uint32_t scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib deleted file mode 100644 index 65f8c9df7..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/lib/libmidi2.lib and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/copyright deleted file mode 100644 index 71e49ad38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/copyright +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Andrew Mee - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config-debug.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config-debug.cmake deleted file mode 100644 index 6fe525151..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config-debug.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Debug". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Debug" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config-release.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config-release.cmake deleted file mode 100644 index 5d995b0ed..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config-release.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Release". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Release" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" - IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config.cmake deleted file mode 100644 index 9a506956d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/libmidi2-config.cmake +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS libmidi2::libmidi2) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target libmidi2::libmidi2 -add_library(libmidi2::libmidi2 STATIC IMPORTED) - -set_target_properties(libmidi2::libmidi2 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" -) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libmidi2-config-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json deleted file mode 100644 index 211bb6b2c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg.spdx.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:34:54Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "libmidi2", - "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", - "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "description": "General purpose Midi 2 library for bytestream conversions and midi-ci", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "libmidi2:arm64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - }, - { - "SPDXID": "SPDXRef-resource-1", - "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", - "licenseConcluded": "NOASSERTION", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "checksums": [ - { - "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" - } - ] - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt deleted file mode 100644 index 2e3a76c03..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/libmidi2_arm64-windows/share/libmidi2/vcpkg_abi_info.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 -vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 -vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 -vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f -vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/BUILD_INFO b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/BUILD_INFO deleted file mode 100644 index e97d8d9af..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/BUILD_INFO +++ /dev/null @@ -1,3 +0,0 @@ -CRTLinkage: dynamic -LibraryLinkage: dynamic -PolicyEmptyPackage: enabled diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL deleted file mode 100644 index c895479e5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 -Architecture: x64-windows -Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright deleted file mode 100644 index 2e4eac826..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) Microsoft Corporation - -All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake deleted file mode 100644 index 980d41131..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_config_fixup.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json deleted file mode 100644 index f754aa3ac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:57Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake-config", - "SPDXID": "SPDXRef-port", - "versionInfo": "2022-02-06#1", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@8d54cc4f487d51b655abec5f9c9c3f86ca83311f", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake-config:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt deleted file mode 100644 index 69b9c738f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ /dev/null @@ -1,13 +0,0 @@ -cmake 3.27.1 -copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 -features core -portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e -vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 -vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake deleted file mode 100644 index 368e5809a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake +++ /dev/null @@ -1,258 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_config_fixup) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DO_NOT_DELETE_PARENT_CONFIG_PATH;NO_PREFIX_CORRECTION" "PACKAGE_NAME;CONFIG_PATH;TOOLS_PATH" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_config_fixup was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT arg_PACKAGE_NAME) - set(arg_PACKAGE_NAME "${PORT}") - endif() - if(NOT arg_CONFIG_PATH) - set(arg_CONFIG_PATH "share/${arg_PACKAGE_NAME}") - endif() - if(NOT arg_TOOLS_PATH) - set(arg_TOOLS_PATH "tools/${PORT}") - endif() - set(target_path "share/${arg_PACKAGE_NAME}") - - string(REPLACE "." "\\." EXECUTABLE_SUFFIX "${VCPKG_TARGET_EXECUTABLE_SUFFIX}") - - set(debug_share "${CURRENT_PACKAGES_DIR}/debug/${target_path}") - set(release_share "${CURRENT_PACKAGES_DIR}/${target_path}") - - if(NOT arg_CONFIG_PATH STREQUAL "share/${arg_PACKAGE_NAME}") - if(arg_CONFIG_PATH STREQUAL "share") - set(arg_CONFIG_PATH z_vcpkg_share) - file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share" "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - file(RENAME "${CURRENT_PACKAGES_DIR}/share" "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - endif() - - set(debug_config "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - set(release_config "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_config}") - message(FATAL_ERROR "'${debug_config}' does not exist.") - endif() - - # This roundabout handling enables CONFIG_PATH = share - file(MAKE_DIRECTORY "${debug_share}") - file(GLOB files "${debug_config}/*") - file(COPY ${files} DESTINATION "${debug_share}") - file(REMOVE_RECURSE "${debug_config}") - endif() - - file(GLOB files "${release_config}/*") - file(COPY ${files} DESTINATION "${release_share}") - file(REMOVE_RECURSE "${release_config}") - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - get_filename_component(debug_config_dir_name "${debug_config}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config}") - else() - get_filename_component(debug_config_parent_dir "${debug_config}" DIRECTORY) - get_filename_component(debug_config_dir_name "${debug_config_parent_dir}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config_parent_dir}") - endif() - endif() - endif() - - get_filename_component(release_config_dir_name "${release_config}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config}") - else() - get_filename_component(release_config_parent_dir "${release_config}" DIRECTORY) - get_filename_component(release_config_dir_name "${release_config_parent_dir}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config_parent_dir}") - endif() - endif() - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_share}") - message(FATAL_ERROR "'${debug_share}' does not exist.") - endif() - endif() - - file(GLOB_RECURSE release_targets - "${release_share}/*-release.cmake" - ) - foreach(release_target IN LISTS release_targets) - file(READ "${release_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \"]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - file(WRITE "${release_target}" "${contents}") - endforeach() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(GLOB_RECURSE debug_targets - "${debug_share}/*-debug.cmake" - ) - foreach(debug_target IN LISTS debug_targets) - file(RELATIVE_PATH debug_target_rel "${debug_share}" "${debug_target}") - - file(READ "${debug_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \";]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/lib" "\${_IMPORT_PREFIX}/debug/lib" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/bin" "\${_IMPORT_PREFIX}/debug/bin" contents "${contents}") - file(WRITE "${release_share}/${debug_target_rel}" "${contents}") - - file(REMOVE "${debug_target}") - endforeach() - endif() - - #Fix ${_IMPORT_PREFIX} and absolute paths in cmake generated targets and configs; - #Since those can be renamed we have to check in every *.cmake, but only once. - file(GLOB_RECURSE main_cmakes "${release_share}/*.cmake") - if(NOT DEFINED Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(SET Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - endif() - foreach(already_fixed_up IN LISTS Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(REMOVE_ITEM main_cmakes "${already_fixed_up}") - endforeach() - vcpkg_list(APPEND Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP ${main_cmakes}) - set(Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP "${Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP}" CACHE INTERNAL "") - - foreach(main_cmake IN LISTS main_cmakes) - file(READ "${main_cmake}" contents) - # Note: I think the following comment is no longer true, since we now require the path to be `share/blah` - # however, I don't know it for sure. - # - nimazzuc - - #This correction is not correct for all cases. To make it correct for all cases it needs to consider - #original folder deepness to CURRENT_PACKAGES_DIR in comparison to the moved to folder deepness which - #is always at least (>=) 2, e.g. share/${PORT}. Currently the code assumes it is always 2 although - #this requirement is only true for the *Config.cmake. The targets are not required to be in the same - #folder as the *Config.cmake! - if(NOT arg_NO_PREFIX_CORRECTION) - string(REGEX REPLACE -[[get_filename_component\(_IMPORT_PREFIX "\${CMAKE_CURRENT_LIST_FILE}" PATH\)( -get_filename_component\(_IMPORT_PREFIX "\${_IMPORT_PREFIX}" PATH\))*]] -[[get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)]] - contents "${contents}") # see #1044 for details why this replacement is necessary. See #4782 why it must be a regex. - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\./(\.\./)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\.((\\|/)\.\.)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") # This is a meson-related workaround, see https://github.com/mesonbuild/meson/issues/6955 - endif() - - # Merge release and debug configurations of target property INTERFACE_LINK_LIBRARIES. - string(REPLACE "${release_share}/" "${debug_share}/" debug_cmake "${main_cmake}") - if(DEFINED VCPKG_BUILD_TYPE) - # Skip. Warning: A release-only port in a dual-config installation - # may pull release dependencies into the debug configuration. - elseif(NOT contents MATCHES "INTERFACE_LINK_LIBRARIES") - # Skip. No relevant properties. - elseif(NOT contents MATCHES "# Generated CMake target import file\\.") - # Skip. No safe assumptions about a matching debug import file. - elseif(NOT EXISTS "${debug_cmake}") - message(SEND_ERROR "Did not find a debug import file matching '${main_cmake}'") - else() - file(READ "${debug_cmake}" debug_contents) - while(contents MATCHES "set_target_properties\\(([^ \$]*) PROPERTIES[^)]*\\)") - set(matched_command "${CMAKE_MATCH_0}") - string(REPLACE "+" "\\+" target "${CMAKE_MATCH_1}") - if(NOT debug_contents MATCHES "set_target_properties\\(${target} PROPERTIES[^)]*\\)") - message(SEND_ERROR "Did not find a debug configuration for target '${target}'.") - endif() - set(debug_command "${CMAKE_MATCH_0}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" release_line "${matched_command}") - set(release_libs "${CMAKE_MATCH_1}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" debug_line "${debug_command}") - set(debug_libs "${CMAKE_MATCH_1}") - z_vcpkg_cmake_config_fixup_merge(merged_libs release_libs debug_libs) - string(REPLACE "${release_line}" " INTERFACE_LINK_LIBRARIES \"${merged_libs}\"" updated_command "${matched_command}") - string(REPLACE "set_target_properties" "set_target_properties::done" updated_command "${updated_command}") # Prevend 2nd match - string(REPLACE "${matched_command}" "${updated_command}" contents "${contents}") - endwhile() - string(REPLACE "set_target_properties::done" "set_target_properties" contents "${contents}") # Restore original command - endif() - - #Fix absolute paths to installed dir with ones relative to ${CMAKE_CURRENT_LIST_DIR} - #This happens if vcpkg built libraries are directly linked to a target instead of using - #an imported target. - string(REPLACE "${CURRENT_INSTALLED_DIR}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}" cmake_current_packages_dir) - string(REPLACE "${cmake_current_packages_dir}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - # If ${VCPKG_IMPORT_PREFIX} was actually used, inject a definition of it: - string(FIND "${contents}" [[${VCPKG_IMPORT_PREFIX}]] index) - if (NOT index STREQUAL "-1") - get_filename_component(main_cmake_dir "${main_cmake}" DIRECTORY) - # Calculate relative to be a sequence of "../" - file(RELATIVE_PATH relative "${main_cmake_dir}" "${cmake_current_packages_dir}") - string(PREPEND contents "get_filename_component(VCPKG_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_DIR}\/${relative}\" ABSOLUTE)\n") - endif() - - file(WRITE "${main_cmake}" "${contents}") - endforeach() - - file(GLOB_RECURSE unused_files - "${debug_share}/*[Tt]argets.cmake" - "${debug_share}/*[Cc]onfig.cmake" - "${debug_share}/*[Cc]onfigVersion.cmake" - "${debug_share}/*[Cc]onfig-version.cmake" - ) - foreach(unused_file IN LISTS unused_files) - file(REMOVE "${unused_file}") - endforeach() - - # Remove /debug// if it's empty. - file(GLOB_RECURSE remaining_files "${debug_share}/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${debug_share}") - endif() - - # Remove /debug/share/ if it's empty. - file(GLOB_RECURSE remaining_files "${CURRENT_PACKAGES_DIR}/debug/share/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") - endif() -endfunction() - -# Merges link interface library lists for release and debug -# into a single expression which use generator expression as necessary. -function(z_vcpkg_cmake_config_fixup_merge out_var release_var debug_var) - set(release_libs "VCPKG;${${release_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";\\1" release_libs "${release_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";" release_libs "${release_libs}") - list(REMOVE_AT release_libs 0) - list(FILTER release_libs EXCLUDE REGEX [[^\\[$]<\\[$]:]]) - list(TRANSFORM release_libs REPLACE [[^\\[$]<\\[$]>:(.*)>$]] "\\1") - - set(debug_libs "VCPKG;${${debug_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";" debug_libs "${debug_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";\\1" debug_libs "${debug_libs}") - list(REMOVE_AT debug_libs 0) - list(FILTER debug_libs EXCLUDE REGEX [[^\\[$]<\\[$]>:]]) - list(TRANSFORM debug_libs REPLACE [[^\\[$]<\\[$]:(.*)>$]] "\\1") - - set(merged_libs "") - foreach(release_lib debug_lib IN ZIP_LISTS release_libs debug_libs) - if(release_lib STREQUAL debug_lib) - list(APPEND merged_libs "${release_lib}") - else() - if(release_lib) - list(APPEND merged_libs "\\\$<\\\$>:${release_lib}>") - endif() - if(debug_lib) - list(APPEND merged_libs "\\\$<\\\$:${debug_lib}>") - endif() - endif() - endforeach() - set("${out_var}" "${merged_libs}" PARENT_SCOPE) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/BUILD_INFO b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/BUILD_INFO deleted file mode 100644 index 12b86cd0f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/BUILD_INFO +++ /dev/null @@ -1,3 +0,0 @@ -CRTLinkage: dynamic -LibraryLinkage: dynamic -PolicyCmakeHelperPort: enabled diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL deleted file mode 100644 index f66e8764d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ /dev/null @@ -1,5 +0,0 @@ -Package: vcpkg-cmake -Version: 2024-04-18 -Architecture: x64-windows -Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright deleted file mode 100644 index 4d23e0e39..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) Microsoft Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake deleted file mode 100644 index f2a973d4e..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake +++ /dev/null @@ -1,3 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_configure.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_build.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_install.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json deleted file mode 100644 index 3b590911c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:58Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-5" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-5", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake", - "SPDXID": "SPDXRef-port", - "versionInfo": "2024-04-18", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", - "SPDXID": "SPDXRef-file-5", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt deleted file mode 100644 index 410aff1d5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 -vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 -vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe -vcpkg_cmake_build.cmake 6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1 -vcpkg_cmake_configure.cmake f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e -vcpkg_cmake_install.cmake 3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369 -vcpkg_configure_cmake 9dfd362bd20613eaa83af55eb0f98c8cb50fd4826a65da74a0f1641da73497c2 -vcpkg_execute_build_process 4976d00fc7d25ad07984f282490121a09aa44a49c5dae627ca68355affd929d0 -vcpkg_execute_required_process 0c6f52ca848715efd88acfec9bdb2ed3b5f38a650baa6a614bf23ccc3eec150a -vcpkg_find_acquire_program 96d9ee675798a3bddb54340d404b814be45a35c624b2eab5465cd45eaf18b6d3 -vcpkg_find_acquire_program(NINJA) 8692aff2f893a8afcabbb4395a8b91ad4f6dd228f410fa4fd050d99c2ec0f52c -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake deleted file mode 100644 index 47933b3fe..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake +++ /dev/null @@ -1,91 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_build) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "TARGET;LOGFILE_BASE" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_build was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "build") - endif() - vcpkg_list(SET build_param) - vcpkg_list(SET parallel_param) - vcpkg_list(SET no_parallel_param) - - if("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "Ninja") - vcpkg_list(SET build_param "-v") # verbose output - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "-j1") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" MATCHES "^Visual Studio") - vcpkg_list(SET build_param - "/p:VCPkgLocalAppDataDisabled=true" - "/p:UseIntelMKL=No" - ) - vcpkg_list(SET parallel_param "/m") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "NMake Makefiles") - # No options are currently added for nmake builds - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Unix Makefiles") - vcpkg_list(SET build_param "VERBOSE=1") - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "") - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Xcode") - vcpkg_list(SET parallel_param -jobs "${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param -jobs 1) - else() - message(WARNING "Unrecognized GENERATOR setting from vcpkg_cmake_configure().") - endif() - - vcpkg_list(SET target_param) - if(arg_TARGET) - vcpkg_list(SET target_param "--target" "${arg_TARGET}") - endif() - - foreach(build_type IN ITEMS debug release) - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "${build_type}") - if("${build_type}" STREQUAL "debug") - set(short_build_type "dbg") - set(config "Debug") - else() - set(short_build_type "rel") - set(config "Release") - endif() - - message(STATUS "Building ${TARGET_TRIPLET}-${short_build_type}") - - if(arg_ADD_BIN_TO_PATH) - vcpkg_backup_env_variables(VARS PATH) - if("${build_type}" STREQUAL "debug") - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/debug/bin") - else() - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/bin") - endif() - endif() - - if(arg_DISABLE_PARALLEL) - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - else() - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${parallel_param} - NO_PARALLEL_COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - endif() - - if(arg_ADD_BIN_TO_PATH) - vcpkg_restore_env_variables(VARS PATH) - endif() - endif() - endforeach() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake deleted file mode 100644 index c8415c712..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake +++ /dev/null @@ -1,336 +0,0 @@ -include_guard(GLOBAL) - -macro(z_vcpkg_cmake_configure_both_set_or_unset var1 var2) - if(DEFINED ${var1} AND NOT DEFINED ${var2}) - message(FATAL_ERROR "If ${var1} is set, then ${var2} must be set.") - elseif(NOT DEFINED ${var1} AND DEFINED ${var2}) - message(FATAL_ERROR "If ${var2} is set, then ${var1} must be set.") - endif() -endmacro() - -function(vcpkg_cmake_configure) - cmake_parse_arguments(PARSE_ARGV 0 "arg" - "PREFER_NINJA;DISABLE_PARALLEL_CONFIGURE;WINDOWS_USE_MSBUILD;NO_CHARSET_FLAG;Z_CMAKE_GET_VARS_USAGE" - "SOURCE_PATH;GENERATOR;LOGFILE_BASE" - "OPTIONS;OPTIONS_DEBUG;OPTIONS_RELEASE;MAYBE_UNUSED_VARIABLES" - ) - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE AND DEFINED CACHE{Z_VCPKG_CMAKE_GENERATOR}) - message(WARNING "${CMAKE_CURRENT_FUNCTION} already called; this function should only be called once.") - endif() - if(arg_PREFER_NINJA) - message(WARNING "PREFER_NINJA has been deprecated in ${CMAKE_CURRENT_FUNCTION}. Please remove it from the portfile!") - endif() - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "${CMAKE_CURRENT_FUNCTION} was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - if(NOT DEFINED arg_SOURCE_PATH) - message(FATAL_ERROR "SOURCE_PATH must be set") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "config-${TARGET_TRIPLET}") - endif() - - set(invalid_maybe_unused_vars "${arg_MAYBE_UNUSED_VARIABLES}") - list(FILTER invalid_maybe_unused_vars INCLUDE REGEX "^-D") - if(NOT invalid_maybe_unused_vars STREQUAL "") - list(JOIN invalid_maybe_unused_vars " " bad_items) - message(${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL} - "Option MAYBE_UNUSED_VARIABLES must be used with variables names. " - "The following items are invalid: ${bad_items}") - endif() - - set(manually_specified_variables "") - - if(arg_Z_CMAKE_GET_VARS_USAGE) - set(configuring_message "Getting CMake variables for ${TARGET_TRIPLET}") - else() - set(configuring_message "Configuring ${TARGET_TRIPLET}") - - foreach(option IN LISTS arg_OPTIONS arg_OPTIONS_RELEASE arg_OPTIONS_DEBUG) - if("${option}" MATCHES "^-D([^:=]*)[:=]") - vcpkg_list(APPEND manually_specified_variables "${CMAKE_MATCH_1}") - endif() - endforeach() - vcpkg_list(REMOVE_DUPLICATES manually_specified_variables) - foreach(maybe_unused_var IN LISTS arg_MAYBE_UNUSED_VARIABLES) - vcpkg_list(REMOVE_ITEM manually_specified_variables "${maybe_unused_var}") - endforeach() - debug_message("manually specified variables: ${manually_specified_variables}") - endif() - - if(CMAKE_HOST_WIN32) - if(DEFINED ENV{PROCESSOR_ARCHITEW6432}) - set(host_architecture "$ENV{PROCESSOR_ARCHITEW6432}") - else() - set(host_architecture "$ENV{PROCESSOR_ARCHITECTURE}") - endif() - endif() - - set(ninja_host ON) # Ninja availability - if(host_architecture STREQUAL "x86" OR DEFINED ENV{VCPKG_FORCE_SYSTEM_BINARIES}) - # Prebuilt ninja binaries are only provided for x64 hosts - find_program(NINJA NAMES ninja ninja-build) - if(NOT NINJA) - set(ninja_host OFF) - set(arg_DISABLE_PARALLEL_CONFIGURE ON) - set(arg_WINDOWS_USE_MSBUILD ON) - endif() - endif() - - set(generator "") - set(architecture_options "") - if(arg_WINDOWS_USE_MSBUILD AND VCPKG_HOST_IS_WINDOWS AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) - z_vcpkg_get_visual_studio_generator(OUT_GENERATOR generator OUT_ARCH arch) - vcpkg_list(APPEND architecture_options "-A${arch}") - if(DEFINED VCPKG_PLATFORM_TOOLSET) - vcpkg_list(APPEND arg_OPTIONS "-T${VCPKG_PLATFORM_TOOLSET}") - endif() - if(NOT generator) - message(FATAL_ERROR "Unable to determine appropriate Visual Studio generator for triplet ${TARGET_TRIPLET}: - ENV{VisualStudioVersion} : $ENV{VisualStudioVersion} - VCPKG_TARGET_ARCHITECTURE: ${VCPKG_TARGET_ARCHITECTURE}") - endif() - elseif(DEFINED arg_GENERATOR) - set(generator "${arg_GENERATOR}") - elseif(ninja_host) - set(generator "Ninja") - elseif(NOT VCPKG_HOST_IS_WINDOWS) - set(generator "Unix Makefiles") - endif() - - if(NOT generator) - if(NOT VCPKG_CMAKE_SYSTEM_NAME) - set(VCPKG_CMAKE_SYSTEM_NAME "Windows") - endif() - message(FATAL_ERROR "Unable to determine appropriate generator for: " - "${VCPKG_CMAKE_SYSTEM_NAME}-${VCPKG_TARGET_ARCHITECTURE}-${VCPKG_PLATFORM_TOOLSET}") - endif() - - if(generator STREQUAL "Ninja") - vcpkg_find_acquire_program(NINJA) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_MAKE_PROGRAM=${NINJA}") - # If we use Ninja, it must be on PATH for CMake's ExternalProject, - # cf. https://gitlab.kitware.com/cmake/cmake/-/issues/23355. - get_filename_component(ninja_path "${NINJA}" DIRECTORY) - vcpkg_add_to_path("${ninja_path}") - endif() - - set(build_dir_release "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel") - set(build_dir_debug "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg") - file(REMOVE_RECURSE - "${build_dir_release}" - "${build_dir_debug}") - file(MAKE_DIRECTORY "${build_dir_release}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(MAKE_DIRECTORY "${build_dir_debug}") - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_NAME) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_NAME=${VCPKG_CMAKE_SYSTEM_NAME}") - if(VCPKG_TARGET_IS_UWP AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 10.0) - elseif(VCPKG_TARGET_IS_ANDROID AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 21) - endif() - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_VERSION=${VCPKG_CMAKE_SYSTEM_VERSION}") - endif() - - if(DEFINED VCPKG_XBOX_CONSOLE_TARGET) - vcpkg_list(APPEND arg_OPTIONS "-DXBOX_CONSOLE_TARGET=${VCPKG_XBOX_CONSOLE_TARGET}") - endif() - - if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=ON") - elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=OFF") - else() - message(FATAL_ERROR - "Invalid setting for VCPKG_LIBRARY_LINKAGE: \"${VCPKG_LIBRARY_LINKAGE}\". " - "It must be \"static\" or \"dynamic\"") - endif() - - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_DEBUG VCPKG_C_FLAGS_DEBUG) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_RELEASE VCPKG_C_FLAGS_RELEASE) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS VCPKG_C_FLAGS) - - set(VCPKG_SET_CHARSET_FLAG ON) - if(arg_NO_CHARSET_FLAG) - set(VCPKG_SET_CHARSET_FLAG OFF) - endif() - - if(NOT DEFINED VCPKG_CHAINLOAD_TOOLCHAIN_FILE) - z_vcpkg_select_default_vcpkg_chainload_toolchain() - endif() - - list(JOIN VCPKG_TARGET_ARCHITECTURE "\;" target_architecture_string) - vcpkg_list(APPEND arg_OPTIONS - "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" - "-DVCPKG_TARGET_TRIPLET=${TARGET_TRIPLET}" - "-DVCPKG_SET_CHARSET_FLAG=${VCPKG_SET_CHARSET_FLAG}" - "-DVCPKG_PLATFORM_TOOLSET=${VCPKG_PLATFORM_TOOLSET}" - "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" - "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" - "-DCMAKE_VERBOSE_MAKEFILE=ON" - "-DVCPKG_APPLOCAL_DEPS=OFF" - "-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS}/buildsystems/vcpkg.cmake" - "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" - "-DVCPKG_CXX_FLAGS=${VCPKG_CXX_FLAGS}" - "-DVCPKG_CXX_FLAGS_RELEASE=${VCPKG_CXX_FLAGS_RELEASE}" - "-DVCPKG_CXX_FLAGS_DEBUG=${VCPKG_CXX_FLAGS_DEBUG}" - "-DVCPKG_C_FLAGS=${VCPKG_C_FLAGS}" - "-DVCPKG_C_FLAGS_RELEASE=${VCPKG_C_FLAGS_RELEASE}" - "-DVCPKG_C_FLAGS_DEBUG=${VCPKG_C_FLAGS_DEBUG}" - "-DVCPKG_CRT_LINKAGE=${VCPKG_CRT_LINKAGE}" - "-DVCPKG_LINKER_FLAGS=${VCPKG_LINKER_FLAGS}" - "-DVCPKG_LINKER_FLAGS_RELEASE=${VCPKG_LINKER_FLAGS_RELEASE}" - "-DVCPKG_LINKER_FLAGS_DEBUG=${VCPKG_LINKER_FLAGS_DEBUG}" - "-DVCPKG_TARGET_ARCHITECTURE=${target_architecture_string}" - "-DCMAKE_INSTALL_LIBDIR:STRING=lib" - "-DCMAKE_INSTALL_BINDIR:STRING=bin" - "-D_VCPKG_ROOT_DIR=${VCPKG_ROOT_DIR}" - "-D_VCPKG_INSTALLED_DIR=${_VCPKG_INSTALLED_DIR}" - "-DVCPKG_MANIFEST_INSTALL=OFF" - ) - - # Sets configuration variables for macOS builds - foreach(config_var IN ITEMS INSTALL_NAME_DIR OSX_DEPLOYMENT_TARGET OSX_SYSROOT OSX_ARCHITECTURES) - if(DEFINED VCPKG_${config_var}) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_${config_var}=${VCPKG_${config_var}}") - endif() - endforeach() - - vcpkg_list(PREPEND arg_OPTIONS "-DFETCHCONTENT_FULLY_DISCONNECTED=ON") - - # Allow overrides / additional configuration variables from triplets - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS) - vcpkg_list(APPEND arg_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE) - vcpkg_list(APPEND arg_OPTIONS_RELEASE ${VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG) - vcpkg_list(APPEND arg_OPTIONS_DEBUG ${VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG}) - endif() - - vcpkg_list(SET rel_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}" - ${arg_OPTIONS} ${arg_OPTIONS_RELEASE}) - vcpkg_list(SET dbg_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Debug" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}/debug" - ${arg_OPTIONS} ${arg_OPTIONS_DEBUG}) - - if(NOT arg_DISABLE_PARALLEL_CONFIGURE) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_DISABLE_SOURCE_CHANGES=ON") - - vcpkg_find_acquire_program(NINJA) - - #parallelize the configure step - set(ninja_configure_contents - "rule CreateProcess\n command = \$process\n\n" - ) - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents ".." "rel") - endif() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents "../../${TARGET_TRIPLET}-dbg" "dbg") - endif() - - file(MAKE_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure") - file(WRITE - "${build_dir_release}/vcpkg-parallel-configure/build.ninja" - "${ninja_configure_contents}") - - message(STATUS "${configuring_message}") - vcpkg_execute_required_process( - COMMAND "${NINJA}" -v - WORKING_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure" - LOGNAME "${arg_LOGFILE_BASE}" - SAVE_LOG_FILES - "../../${TARGET_TRIPLET}-dbg/CMakeCache.txt" ALIAS "dbg-CMakeCache.txt.log" - "../CMakeCache.txt" ALIAS "rel-CMakeCache.txt.log" - ) - - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-err.log") - else() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - message(STATUS "${configuring_message}-dbg") - vcpkg_execute_required_process( - COMMAND ${dbg_command} - WORKING_DIRECTORY "${build_dir_debug}" - LOGNAME "${arg_LOGFILE_BASE}-dbg" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-err.log") - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - message(STATUS "${configuring_message}-rel") - vcpkg_execute_required_process( - COMMAND ${rel_command} - WORKING_DIRECTORY "${build_dir_release}" - LOGNAME "${arg_LOGFILE_BASE}-rel" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-err.log") - endif() - endif() - - set(all_unused_variables) - foreach(config_log IN LISTS config_logs) - if(NOT EXISTS "${config_log}") - continue() - endif() - file(READ "${config_log}" log_contents) - debug_message("Reading configure log ${config_log}...") - if(NOT log_contents MATCHES "Manually-specified variables were not used by the project:\n\n(( [^\n]*\n)*)") - continue() - endif() - string(STRIP "${CMAKE_MATCH_1}" unused_variables) # remove leading ` ` and trailing `\n` - string(REPLACE "\n " ";" unused_variables "${unused_variables}") - debug_message("unused variables: ${unused_variables}") - foreach(unused_variable IN LISTS unused_variables) - if(unused_variable IN_LIST manually_specified_variables) - debug_message("manually specified unused variable: ${unused_variable}") - vcpkg_list(APPEND all_unused_variables "${unused_variable}") - else() - debug_message("unused variable (not manually specified): ${unused_variable}") - endif() - endforeach() - endforeach() - - if(DEFINED all_unused_variables) - vcpkg_list(REMOVE_DUPLICATES all_unused_variables) - vcpkg_list(JOIN all_unused_variables "\n " all_unused_variables) - message(WARNING "The following variables are not used in CMakeLists.txt: - ${all_unused_variables} -Please recheck them and remove the unnecessary options from the `vcpkg_cmake_configure` call. -If these options should still be passed for whatever reason, please use the `MAYBE_UNUSED_VARIABLES` argument.") - endif() - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE) - set(Z_VCPKG_CMAKE_GENERATOR "${generator}" CACHE INTERNAL "The generator which was used to configure CMake.") - endif() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake deleted file mode 100644 index 2bd8b4ea7..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake +++ /dev/null @@ -1,21 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_install) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "" "") - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_install was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - set(args) - foreach(arg IN ITEMS DISABLE_PARALLEL ADD_BIN_TO_PATH) - if(arg_${arg}) - list(APPEND args "${arg}") - endif() - endforeach() - - vcpkg_cmake_build( - ${args} - LOGFILE_BASE install - TARGET install - ) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 deleted file mode 100644 index 80afa8e29..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000000 +++ /dev/null @@ -1,8 +0,0 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows -Architecture: arm64-windows -Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 deleted file mode 100644 index 33400dfd4..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000001 +++ /dev/null @@ -1,8 +0,0 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows -Architecture: arm64-windows -Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok not-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 deleted file mode 100644 index 47264ad41..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000002 +++ /dev/null @@ -1,6 +0,0 @@ -Package: vcpkg-cmake -Version: 2023-05-04 -Architecture: x64-windows -Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 deleted file mode 100644 index 068463e0b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000003 +++ /dev/null @@ -1,6 +0,0 @@ -Package: vcpkg-cmake -Version: 2023-05-04 -Architecture: x64-windows -Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok not-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 deleted file mode 100644 index 7d4d2310d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000004 +++ /dev/null @@ -1,7 +0,0 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 -Architecture: x64-windows -Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 deleted file mode 100644 index 0bb5040a6..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/updates/0000000005 +++ /dev/null @@ -1,7 +0,0 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 -Architecture: x64-windows -Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok not-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json deleted file mode 100644 index f65eb46bd..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" - } -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/copyright deleted file mode 100644 index 2e4eac826..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) Microsoft Corporation - -All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake deleted file mode 100644 index 980d41131..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_config_fixup.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json deleted file mode 100644 index f754aa3ac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:57Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake-config", - "SPDXID": "SPDXRef-port", - "versionInfo": "2022-02-06#1", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@8d54cc4f487d51b655abec5f9c9c3f86ca83311f", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake-config:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt deleted file mode 100644 index 69b9c738f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ /dev/null @@ -1,13 +0,0 @@ -cmake 3.27.1 -copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 -features core -portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e -vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 -vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake deleted file mode 100644 index 368e5809a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake +++ /dev/null @@ -1,258 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_config_fixup) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DO_NOT_DELETE_PARENT_CONFIG_PATH;NO_PREFIX_CORRECTION" "PACKAGE_NAME;CONFIG_PATH;TOOLS_PATH" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_config_fixup was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT arg_PACKAGE_NAME) - set(arg_PACKAGE_NAME "${PORT}") - endif() - if(NOT arg_CONFIG_PATH) - set(arg_CONFIG_PATH "share/${arg_PACKAGE_NAME}") - endif() - if(NOT arg_TOOLS_PATH) - set(arg_TOOLS_PATH "tools/${PORT}") - endif() - set(target_path "share/${arg_PACKAGE_NAME}") - - string(REPLACE "." "\\." EXECUTABLE_SUFFIX "${VCPKG_TARGET_EXECUTABLE_SUFFIX}") - - set(debug_share "${CURRENT_PACKAGES_DIR}/debug/${target_path}") - set(release_share "${CURRENT_PACKAGES_DIR}/${target_path}") - - if(NOT arg_CONFIG_PATH STREQUAL "share/${arg_PACKAGE_NAME}") - if(arg_CONFIG_PATH STREQUAL "share") - set(arg_CONFIG_PATH z_vcpkg_share) - file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share" "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - file(RENAME "${CURRENT_PACKAGES_DIR}/share" "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - endif() - - set(debug_config "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - set(release_config "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_config}") - message(FATAL_ERROR "'${debug_config}' does not exist.") - endif() - - # This roundabout handling enables CONFIG_PATH = share - file(MAKE_DIRECTORY "${debug_share}") - file(GLOB files "${debug_config}/*") - file(COPY ${files} DESTINATION "${debug_share}") - file(REMOVE_RECURSE "${debug_config}") - endif() - - file(GLOB files "${release_config}/*") - file(COPY ${files} DESTINATION "${release_share}") - file(REMOVE_RECURSE "${release_config}") - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - get_filename_component(debug_config_dir_name "${debug_config}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config}") - else() - get_filename_component(debug_config_parent_dir "${debug_config}" DIRECTORY) - get_filename_component(debug_config_dir_name "${debug_config_parent_dir}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config_parent_dir}") - endif() - endif() - endif() - - get_filename_component(release_config_dir_name "${release_config}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config}") - else() - get_filename_component(release_config_parent_dir "${release_config}" DIRECTORY) - get_filename_component(release_config_dir_name "${release_config_parent_dir}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config_parent_dir}") - endif() - endif() - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_share}") - message(FATAL_ERROR "'${debug_share}' does not exist.") - endif() - endif() - - file(GLOB_RECURSE release_targets - "${release_share}/*-release.cmake" - ) - foreach(release_target IN LISTS release_targets) - file(READ "${release_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \"]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - file(WRITE "${release_target}" "${contents}") - endforeach() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(GLOB_RECURSE debug_targets - "${debug_share}/*-debug.cmake" - ) - foreach(debug_target IN LISTS debug_targets) - file(RELATIVE_PATH debug_target_rel "${debug_share}" "${debug_target}") - - file(READ "${debug_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \";]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/lib" "\${_IMPORT_PREFIX}/debug/lib" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/bin" "\${_IMPORT_PREFIX}/debug/bin" contents "${contents}") - file(WRITE "${release_share}/${debug_target_rel}" "${contents}") - - file(REMOVE "${debug_target}") - endforeach() - endif() - - #Fix ${_IMPORT_PREFIX} and absolute paths in cmake generated targets and configs; - #Since those can be renamed we have to check in every *.cmake, but only once. - file(GLOB_RECURSE main_cmakes "${release_share}/*.cmake") - if(NOT DEFINED Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(SET Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - endif() - foreach(already_fixed_up IN LISTS Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(REMOVE_ITEM main_cmakes "${already_fixed_up}") - endforeach() - vcpkg_list(APPEND Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP ${main_cmakes}) - set(Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP "${Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP}" CACHE INTERNAL "") - - foreach(main_cmake IN LISTS main_cmakes) - file(READ "${main_cmake}" contents) - # Note: I think the following comment is no longer true, since we now require the path to be `share/blah` - # however, I don't know it for sure. - # - nimazzuc - - #This correction is not correct for all cases. To make it correct for all cases it needs to consider - #original folder deepness to CURRENT_PACKAGES_DIR in comparison to the moved to folder deepness which - #is always at least (>=) 2, e.g. share/${PORT}. Currently the code assumes it is always 2 although - #this requirement is only true for the *Config.cmake. The targets are not required to be in the same - #folder as the *Config.cmake! - if(NOT arg_NO_PREFIX_CORRECTION) - string(REGEX REPLACE -[[get_filename_component\(_IMPORT_PREFIX "\${CMAKE_CURRENT_LIST_FILE}" PATH\)( -get_filename_component\(_IMPORT_PREFIX "\${_IMPORT_PREFIX}" PATH\))*]] -[[get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)]] - contents "${contents}") # see #1044 for details why this replacement is necessary. See #4782 why it must be a regex. - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\./(\.\./)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\.((\\|/)\.\.)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") # This is a meson-related workaround, see https://github.com/mesonbuild/meson/issues/6955 - endif() - - # Merge release and debug configurations of target property INTERFACE_LINK_LIBRARIES. - string(REPLACE "${release_share}/" "${debug_share}/" debug_cmake "${main_cmake}") - if(DEFINED VCPKG_BUILD_TYPE) - # Skip. Warning: A release-only port in a dual-config installation - # may pull release dependencies into the debug configuration. - elseif(NOT contents MATCHES "INTERFACE_LINK_LIBRARIES") - # Skip. No relevant properties. - elseif(NOT contents MATCHES "# Generated CMake target import file\\.") - # Skip. No safe assumptions about a matching debug import file. - elseif(NOT EXISTS "${debug_cmake}") - message(SEND_ERROR "Did not find a debug import file matching '${main_cmake}'") - else() - file(READ "${debug_cmake}" debug_contents) - while(contents MATCHES "set_target_properties\\(([^ \$]*) PROPERTIES[^)]*\\)") - set(matched_command "${CMAKE_MATCH_0}") - string(REPLACE "+" "\\+" target "${CMAKE_MATCH_1}") - if(NOT debug_contents MATCHES "set_target_properties\\(${target} PROPERTIES[^)]*\\)") - message(SEND_ERROR "Did not find a debug configuration for target '${target}'.") - endif() - set(debug_command "${CMAKE_MATCH_0}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" release_line "${matched_command}") - set(release_libs "${CMAKE_MATCH_1}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" debug_line "${debug_command}") - set(debug_libs "${CMAKE_MATCH_1}") - z_vcpkg_cmake_config_fixup_merge(merged_libs release_libs debug_libs) - string(REPLACE "${release_line}" " INTERFACE_LINK_LIBRARIES \"${merged_libs}\"" updated_command "${matched_command}") - string(REPLACE "set_target_properties" "set_target_properties::done" updated_command "${updated_command}") # Prevend 2nd match - string(REPLACE "${matched_command}" "${updated_command}" contents "${contents}") - endwhile() - string(REPLACE "set_target_properties::done" "set_target_properties" contents "${contents}") # Restore original command - endif() - - #Fix absolute paths to installed dir with ones relative to ${CMAKE_CURRENT_LIST_DIR} - #This happens if vcpkg built libraries are directly linked to a target instead of using - #an imported target. - string(REPLACE "${CURRENT_INSTALLED_DIR}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}" cmake_current_packages_dir) - string(REPLACE "${cmake_current_packages_dir}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - # If ${VCPKG_IMPORT_PREFIX} was actually used, inject a definition of it: - string(FIND "${contents}" [[${VCPKG_IMPORT_PREFIX}]] index) - if (NOT index STREQUAL "-1") - get_filename_component(main_cmake_dir "${main_cmake}" DIRECTORY) - # Calculate relative to be a sequence of "../" - file(RELATIVE_PATH relative "${main_cmake_dir}" "${cmake_current_packages_dir}") - string(PREPEND contents "get_filename_component(VCPKG_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_DIR}\/${relative}\" ABSOLUTE)\n") - endif() - - file(WRITE "${main_cmake}" "${contents}") - endforeach() - - file(GLOB_RECURSE unused_files - "${debug_share}/*[Tt]argets.cmake" - "${debug_share}/*[Cc]onfig.cmake" - "${debug_share}/*[Cc]onfigVersion.cmake" - "${debug_share}/*[Cc]onfig-version.cmake" - ) - foreach(unused_file IN LISTS unused_files) - file(REMOVE "${unused_file}") - endforeach() - - # Remove /debug// if it's empty. - file(GLOB_RECURSE remaining_files "${debug_share}/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${debug_share}") - endif() - - # Remove /debug/share/ if it's empty. - file(GLOB_RECURSE remaining_files "${CURRENT_PACKAGES_DIR}/debug/share/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") - endif() -endfunction() - -# Merges link interface library lists for release and debug -# into a single expression which use generator expression as necessary. -function(z_vcpkg_cmake_config_fixup_merge out_var release_var debug_var) - set(release_libs "VCPKG;${${release_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";\\1" release_libs "${release_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";" release_libs "${release_libs}") - list(REMOVE_AT release_libs 0) - list(FILTER release_libs EXCLUDE REGEX [[^\\[$]<\\[$]:]]) - list(TRANSFORM release_libs REPLACE [[^\\[$]<\\[$]>:(.*)>$]] "\\1") - - set(debug_libs "VCPKG;${${debug_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";" debug_libs "${debug_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";\\1" debug_libs "${debug_libs}") - list(REMOVE_AT debug_libs 0) - list(FILTER debug_libs EXCLUDE REGEX [[^\\[$]<\\[$]>:]]) - list(TRANSFORM debug_libs REPLACE [[^\\[$]<\\[$]:(.*)>$]] "\\1") - - set(merged_libs "") - foreach(release_lib debug_lib IN ZIP_LISTS release_libs debug_libs) - if(release_lib STREQUAL debug_lib) - list(APPEND merged_libs "${release_lib}") - else() - if(release_lib) - list(APPEND merged_libs "\\\$<\\\$>:${release_lib}>") - endif() - if(debug_lib) - list(APPEND merged_libs "\\\$<\\\$:${debug_lib}>") - endif() - endif() - endforeach() - set("${out_var}" "${merged_libs}" PARENT_SCOPE) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/copyright deleted file mode 100644 index 4d23e0e39..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/copyright +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) Microsoft Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake deleted file mode 100644 index f2a973d4e..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake +++ /dev/null @@ -1,3 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_configure.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_build.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_install.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json deleted file mode 100644 index 3b590911c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:58Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-5" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-5", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake", - "SPDXID": "SPDXRef-port", - "versionInfo": "2024-04-18", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", - "SPDXID": "SPDXRef-file-5", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt deleted file mode 100644 index 410aff1d5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 -vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 -vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe -vcpkg_cmake_build.cmake 6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1 -vcpkg_cmake_configure.cmake f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e -vcpkg_cmake_install.cmake 3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369 -vcpkg_configure_cmake 9dfd362bd20613eaa83af55eb0f98c8cb50fd4826a65da74a0f1641da73497c2 -vcpkg_execute_build_process 4976d00fc7d25ad07984f282490121a09aa44a49c5dae627ca68355affd929d0 -vcpkg_execute_required_process 0c6f52ca848715efd88acfec9bdb2ed3b5f38a650baa6a614bf23ccc3eec150a -vcpkg_find_acquire_program 96d9ee675798a3bddb54340d404b814be45a35c624b2eab5465cd45eaf18b6d3 -vcpkg_find_acquire_program(NINJA) 8692aff2f893a8afcabbb4395a8b91ad4f6dd228f410fa4fd050d99c2ec0f52c -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake deleted file mode 100644 index 47933b3fe..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake +++ /dev/null @@ -1,91 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_build) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "TARGET;LOGFILE_BASE" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_build was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "build") - endif() - vcpkg_list(SET build_param) - vcpkg_list(SET parallel_param) - vcpkg_list(SET no_parallel_param) - - if("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "Ninja") - vcpkg_list(SET build_param "-v") # verbose output - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "-j1") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" MATCHES "^Visual Studio") - vcpkg_list(SET build_param - "/p:VCPkgLocalAppDataDisabled=true" - "/p:UseIntelMKL=No" - ) - vcpkg_list(SET parallel_param "/m") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "NMake Makefiles") - # No options are currently added for nmake builds - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Unix Makefiles") - vcpkg_list(SET build_param "VERBOSE=1") - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "") - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Xcode") - vcpkg_list(SET parallel_param -jobs "${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param -jobs 1) - else() - message(WARNING "Unrecognized GENERATOR setting from vcpkg_cmake_configure().") - endif() - - vcpkg_list(SET target_param) - if(arg_TARGET) - vcpkg_list(SET target_param "--target" "${arg_TARGET}") - endif() - - foreach(build_type IN ITEMS debug release) - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "${build_type}") - if("${build_type}" STREQUAL "debug") - set(short_build_type "dbg") - set(config "Debug") - else() - set(short_build_type "rel") - set(config "Release") - endif() - - message(STATUS "Building ${TARGET_TRIPLET}-${short_build_type}") - - if(arg_ADD_BIN_TO_PATH) - vcpkg_backup_env_variables(VARS PATH) - if("${build_type}" STREQUAL "debug") - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/debug/bin") - else() - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/bin") - endif() - endif() - - if(arg_DISABLE_PARALLEL) - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - else() - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${parallel_param} - NO_PARALLEL_COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - endif() - - if(arg_ADD_BIN_TO_PATH) - vcpkg_restore_env_variables(VARS PATH) - endif() - endif() - endforeach() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake deleted file mode 100644 index c8415c712..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake +++ /dev/null @@ -1,336 +0,0 @@ -include_guard(GLOBAL) - -macro(z_vcpkg_cmake_configure_both_set_or_unset var1 var2) - if(DEFINED ${var1} AND NOT DEFINED ${var2}) - message(FATAL_ERROR "If ${var1} is set, then ${var2} must be set.") - elseif(NOT DEFINED ${var1} AND DEFINED ${var2}) - message(FATAL_ERROR "If ${var2} is set, then ${var1} must be set.") - endif() -endmacro() - -function(vcpkg_cmake_configure) - cmake_parse_arguments(PARSE_ARGV 0 "arg" - "PREFER_NINJA;DISABLE_PARALLEL_CONFIGURE;WINDOWS_USE_MSBUILD;NO_CHARSET_FLAG;Z_CMAKE_GET_VARS_USAGE" - "SOURCE_PATH;GENERATOR;LOGFILE_BASE" - "OPTIONS;OPTIONS_DEBUG;OPTIONS_RELEASE;MAYBE_UNUSED_VARIABLES" - ) - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE AND DEFINED CACHE{Z_VCPKG_CMAKE_GENERATOR}) - message(WARNING "${CMAKE_CURRENT_FUNCTION} already called; this function should only be called once.") - endif() - if(arg_PREFER_NINJA) - message(WARNING "PREFER_NINJA has been deprecated in ${CMAKE_CURRENT_FUNCTION}. Please remove it from the portfile!") - endif() - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "${CMAKE_CURRENT_FUNCTION} was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - if(NOT DEFINED arg_SOURCE_PATH) - message(FATAL_ERROR "SOURCE_PATH must be set") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "config-${TARGET_TRIPLET}") - endif() - - set(invalid_maybe_unused_vars "${arg_MAYBE_UNUSED_VARIABLES}") - list(FILTER invalid_maybe_unused_vars INCLUDE REGEX "^-D") - if(NOT invalid_maybe_unused_vars STREQUAL "") - list(JOIN invalid_maybe_unused_vars " " bad_items) - message(${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL} - "Option MAYBE_UNUSED_VARIABLES must be used with variables names. " - "The following items are invalid: ${bad_items}") - endif() - - set(manually_specified_variables "") - - if(arg_Z_CMAKE_GET_VARS_USAGE) - set(configuring_message "Getting CMake variables for ${TARGET_TRIPLET}") - else() - set(configuring_message "Configuring ${TARGET_TRIPLET}") - - foreach(option IN LISTS arg_OPTIONS arg_OPTIONS_RELEASE arg_OPTIONS_DEBUG) - if("${option}" MATCHES "^-D([^:=]*)[:=]") - vcpkg_list(APPEND manually_specified_variables "${CMAKE_MATCH_1}") - endif() - endforeach() - vcpkg_list(REMOVE_DUPLICATES manually_specified_variables) - foreach(maybe_unused_var IN LISTS arg_MAYBE_UNUSED_VARIABLES) - vcpkg_list(REMOVE_ITEM manually_specified_variables "${maybe_unused_var}") - endforeach() - debug_message("manually specified variables: ${manually_specified_variables}") - endif() - - if(CMAKE_HOST_WIN32) - if(DEFINED ENV{PROCESSOR_ARCHITEW6432}) - set(host_architecture "$ENV{PROCESSOR_ARCHITEW6432}") - else() - set(host_architecture "$ENV{PROCESSOR_ARCHITECTURE}") - endif() - endif() - - set(ninja_host ON) # Ninja availability - if(host_architecture STREQUAL "x86" OR DEFINED ENV{VCPKG_FORCE_SYSTEM_BINARIES}) - # Prebuilt ninja binaries are only provided for x64 hosts - find_program(NINJA NAMES ninja ninja-build) - if(NOT NINJA) - set(ninja_host OFF) - set(arg_DISABLE_PARALLEL_CONFIGURE ON) - set(arg_WINDOWS_USE_MSBUILD ON) - endif() - endif() - - set(generator "") - set(architecture_options "") - if(arg_WINDOWS_USE_MSBUILD AND VCPKG_HOST_IS_WINDOWS AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) - z_vcpkg_get_visual_studio_generator(OUT_GENERATOR generator OUT_ARCH arch) - vcpkg_list(APPEND architecture_options "-A${arch}") - if(DEFINED VCPKG_PLATFORM_TOOLSET) - vcpkg_list(APPEND arg_OPTIONS "-T${VCPKG_PLATFORM_TOOLSET}") - endif() - if(NOT generator) - message(FATAL_ERROR "Unable to determine appropriate Visual Studio generator for triplet ${TARGET_TRIPLET}: - ENV{VisualStudioVersion} : $ENV{VisualStudioVersion} - VCPKG_TARGET_ARCHITECTURE: ${VCPKG_TARGET_ARCHITECTURE}") - endif() - elseif(DEFINED arg_GENERATOR) - set(generator "${arg_GENERATOR}") - elseif(ninja_host) - set(generator "Ninja") - elseif(NOT VCPKG_HOST_IS_WINDOWS) - set(generator "Unix Makefiles") - endif() - - if(NOT generator) - if(NOT VCPKG_CMAKE_SYSTEM_NAME) - set(VCPKG_CMAKE_SYSTEM_NAME "Windows") - endif() - message(FATAL_ERROR "Unable to determine appropriate generator for: " - "${VCPKG_CMAKE_SYSTEM_NAME}-${VCPKG_TARGET_ARCHITECTURE}-${VCPKG_PLATFORM_TOOLSET}") - endif() - - if(generator STREQUAL "Ninja") - vcpkg_find_acquire_program(NINJA) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_MAKE_PROGRAM=${NINJA}") - # If we use Ninja, it must be on PATH for CMake's ExternalProject, - # cf. https://gitlab.kitware.com/cmake/cmake/-/issues/23355. - get_filename_component(ninja_path "${NINJA}" DIRECTORY) - vcpkg_add_to_path("${ninja_path}") - endif() - - set(build_dir_release "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel") - set(build_dir_debug "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg") - file(REMOVE_RECURSE - "${build_dir_release}" - "${build_dir_debug}") - file(MAKE_DIRECTORY "${build_dir_release}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(MAKE_DIRECTORY "${build_dir_debug}") - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_NAME) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_NAME=${VCPKG_CMAKE_SYSTEM_NAME}") - if(VCPKG_TARGET_IS_UWP AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 10.0) - elseif(VCPKG_TARGET_IS_ANDROID AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 21) - endif() - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_VERSION=${VCPKG_CMAKE_SYSTEM_VERSION}") - endif() - - if(DEFINED VCPKG_XBOX_CONSOLE_TARGET) - vcpkg_list(APPEND arg_OPTIONS "-DXBOX_CONSOLE_TARGET=${VCPKG_XBOX_CONSOLE_TARGET}") - endif() - - if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=ON") - elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=OFF") - else() - message(FATAL_ERROR - "Invalid setting for VCPKG_LIBRARY_LINKAGE: \"${VCPKG_LIBRARY_LINKAGE}\". " - "It must be \"static\" or \"dynamic\"") - endif() - - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_DEBUG VCPKG_C_FLAGS_DEBUG) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_RELEASE VCPKG_C_FLAGS_RELEASE) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS VCPKG_C_FLAGS) - - set(VCPKG_SET_CHARSET_FLAG ON) - if(arg_NO_CHARSET_FLAG) - set(VCPKG_SET_CHARSET_FLAG OFF) - endif() - - if(NOT DEFINED VCPKG_CHAINLOAD_TOOLCHAIN_FILE) - z_vcpkg_select_default_vcpkg_chainload_toolchain() - endif() - - list(JOIN VCPKG_TARGET_ARCHITECTURE "\;" target_architecture_string) - vcpkg_list(APPEND arg_OPTIONS - "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" - "-DVCPKG_TARGET_TRIPLET=${TARGET_TRIPLET}" - "-DVCPKG_SET_CHARSET_FLAG=${VCPKG_SET_CHARSET_FLAG}" - "-DVCPKG_PLATFORM_TOOLSET=${VCPKG_PLATFORM_TOOLSET}" - "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" - "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" - "-DCMAKE_VERBOSE_MAKEFILE=ON" - "-DVCPKG_APPLOCAL_DEPS=OFF" - "-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS}/buildsystems/vcpkg.cmake" - "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" - "-DVCPKG_CXX_FLAGS=${VCPKG_CXX_FLAGS}" - "-DVCPKG_CXX_FLAGS_RELEASE=${VCPKG_CXX_FLAGS_RELEASE}" - "-DVCPKG_CXX_FLAGS_DEBUG=${VCPKG_CXX_FLAGS_DEBUG}" - "-DVCPKG_C_FLAGS=${VCPKG_C_FLAGS}" - "-DVCPKG_C_FLAGS_RELEASE=${VCPKG_C_FLAGS_RELEASE}" - "-DVCPKG_C_FLAGS_DEBUG=${VCPKG_C_FLAGS_DEBUG}" - "-DVCPKG_CRT_LINKAGE=${VCPKG_CRT_LINKAGE}" - "-DVCPKG_LINKER_FLAGS=${VCPKG_LINKER_FLAGS}" - "-DVCPKG_LINKER_FLAGS_RELEASE=${VCPKG_LINKER_FLAGS_RELEASE}" - "-DVCPKG_LINKER_FLAGS_DEBUG=${VCPKG_LINKER_FLAGS_DEBUG}" - "-DVCPKG_TARGET_ARCHITECTURE=${target_architecture_string}" - "-DCMAKE_INSTALL_LIBDIR:STRING=lib" - "-DCMAKE_INSTALL_BINDIR:STRING=bin" - "-D_VCPKG_ROOT_DIR=${VCPKG_ROOT_DIR}" - "-D_VCPKG_INSTALLED_DIR=${_VCPKG_INSTALLED_DIR}" - "-DVCPKG_MANIFEST_INSTALL=OFF" - ) - - # Sets configuration variables for macOS builds - foreach(config_var IN ITEMS INSTALL_NAME_DIR OSX_DEPLOYMENT_TARGET OSX_SYSROOT OSX_ARCHITECTURES) - if(DEFINED VCPKG_${config_var}) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_${config_var}=${VCPKG_${config_var}}") - endif() - endforeach() - - vcpkg_list(PREPEND arg_OPTIONS "-DFETCHCONTENT_FULLY_DISCONNECTED=ON") - - # Allow overrides / additional configuration variables from triplets - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS) - vcpkg_list(APPEND arg_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE) - vcpkg_list(APPEND arg_OPTIONS_RELEASE ${VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG) - vcpkg_list(APPEND arg_OPTIONS_DEBUG ${VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG}) - endif() - - vcpkg_list(SET rel_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}" - ${arg_OPTIONS} ${arg_OPTIONS_RELEASE}) - vcpkg_list(SET dbg_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Debug" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}/debug" - ${arg_OPTIONS} ${arg_OPTIONS_DEBUG}) - - if(NOT arg_DISABLE_PARALLEL_CONFIGURE) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_DISABLE_SOURCE_CHANGES=ON") - - vcpkg_find_acquire_program(NINJA) - - #parallelize the configure step - set(ninja_configure_contents - "rule CreateProcess\n command = \$process\n\n" - ) - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents ".." "rel") - endif() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents "../../${TARGET_TRIPLET}-dbg" "dbg") - endif() - - file(MAKE_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure") - file(WRITE - "${build_dir_release}/vcpkg-parallel-configure/build.ninja" - "${ninja_configure_contents}") - - message(STATUS "${configuring_message}") - vcpkg_execute_required_process( - COMMAND "${NINJA}" -v - WORKING_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure" - LOGNAME "${arg_LOGFILE_BASE}" - SAVE_LOG_FILES - "../../${TARGET_TRIPLET}-dbg/CMakeCache.txt" ALIAS "dbg-CMakeCache.txt.log" - "../CMakeCache.txt" ALIAS "rel-CMakeCache.txt.log" - ) - - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-err.log") - else() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - message(STATUS "${configuring_message}-dbg") - vcpkg_execute_required_process( - COMMAND ${dbg_command} - WORKING_DIRECTORY "${build_dir_debug}" - LOGNAME "${arg_LOGFILE_BASE}-dbg" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-err.log") - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - message(STATUS "${configuring_message}-rel") - vcpkg_execute_required_process( - COMMAND ${rel_command} - WORKING_DIRECTORY "${build_dir_release}" - LOGNAME "${arg_LOGFILE_BASE}-rel" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-err.log") - endif() - endif() - - set(all_unused_variables) - foreach(config_log IN LISTS config_logs) - if(NOT EXISTS "${config_log}") - continue() - endif() - file(READ "${config_log}" log_contents) - debug_message("Reading configure log ${config_log}...") - if(NOT log_contents MATCHES "Manually-specified variables were not used by the project:\n\n(( [^\n]*\n)*)") - continue() - endif() - string(STRIP "${CMAKE_MATCH_1}" unused_variables) # remove leading ` ` and trailing `\n` - string(REPLACE "\n " ";" unused_variables "${unused_variables}") - debug_message("unused variables: ${unused_variables}") - foreach(unused_variable IN LISTS unused_variables) - if(unused_variable IN_LIST manually_specified_variables) - debug_message("manually specified unused variable: ${unused_variable}") - vcpkg_list(APPEND all_unused_variables "${unused_variable}") - else() - debug_message("unused variable (not manually specified): ${unused_variable}") - endif() - endforeach() - endforeach() - - if(DEFINED all_unused_variables) - vcpkg_list(REMOVE_DUPLICATES all_unused_variables) - vcpkg_list(JOIN all_unused_variables "\n " all_unused_variables) - message(WARNING "The following variables are not used in CMakeLists.txt: - ${all_unused_variables} -Please recheck them and remove the unnecessary options from the `vcpkg_cmake_configure` call. -If these options should still be passed for whatever reason, please use the `MAYBE_UNUSED_VARIABLES` argument.") - endif() - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE) - set(Z_VCPKG_CMAKE_GENERATOR "${generator}" CACHE INTERNAL "The generator which was used to configure CMake.") - endif() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake deleted file mode 100644 index 2bd8b4ea7..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/ARM64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake +++ /dev/null @@ -1,21 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_install) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "" "") - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_install was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - set(args) - foreach(arg IN ITEMS DISABLE_PARALLEL ADD_BIN_TO_PATH) - if(arg_${arg}) - list(APPEND args "${arg}") - endif() - endforeach() - - vcpkg_cmake_build( - ${args} - LOGFILE_BASE install - TARGET install - ) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index b043fc083..3512c4ed3 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -1,6 +1,6 @@ # This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# For build in directory: c:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -92,7 +92,7 @@ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin @@ -101,7 +101,7 @@ CMAKE_INSTALL_BINDIR:STRING=bin CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows +CMAKE_INSTALL_PREFIX:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -251,7 +251,7 @@ VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed +VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= @@ -314,13 +314,13 @@ Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Pre //The directory which contains the installed libraries for each // triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed +_VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg //Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +detect_compiler_BINARY_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Value Computed by CMake detect_compiler_IS_TOP_LEVEL:STATIC=ON @@ -336,19 +336,19 @@ detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/ //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +CMAKE_CACHEFILE_DIR:INTERNAL=c:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=28 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -377,8 +377,6 @@ CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index d3049f5e2..5e875e099 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -4,17 +4,17 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:228 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26217 - AMD64 + The host system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. @@ -32,27 +32,27 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. @@ -70,19 +70,19 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " ... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt index c58c300a7..68972ea59 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt @@ -1,2 +1,2 @@ -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rebuild_cache.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/edit_cache.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rebuild_cache.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja index 2c781041b..54885d094 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja @@ -1,5 +1,5 @@ # CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 +# Generated by "Ninja" Generator, CMake Version 3.28 # This file contains all the rules used to get the outputs files # built from the input files. @@ -29,7 +29,7 @@ rule CUSTOM_COMMAND # Rule for re-running cmake. rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel + command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel description = Re-running CMake... generator = 1 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja index accd2c9b8..9f0752d3b 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja @@ -1,5 +1,5 @@ # CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 +# Generated by "Ninja" Generator, CMake Version 3.28 # This file contains all the build statements describing the # compilation DAG. @@ -39,15 +39,14 @@ include CMakeFiles\rules.ninja ############################################# # Logical path to working directory; prefix for absolute paths. -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel\ +cmake_ninja_workdir = C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel\ ############################################# # Utility command for edit_cache build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel" - DESC = Running CMake cache editor... - pool = console + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."" + DESC = No interactive CMake dialog available... restat = 1 build edit_cache: phony CMakeFiles\edit_cache.util @@ -57,7 +56,7 @@ build edit_cache: phony CMakeFiles\edit_cache.util # Utility command for rebuild_cache build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel" DESC = Running CMake to regenerate build system... pool = console restat = 1 @@ -73,7 +72,7 @@ build rebuild_cache: phony CMakeFiles\rebuild_cache.util # ============================================================================= ############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +# Folder: C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel build all: phony @@ -84,14 +83,14 @@ build all: phony ############################################# # Re-run CMake if any of its inputs changed. -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake +build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake pool = console ############################################# # A missing CMake input file is not an error. -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake: phony +build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake: phony ############################################# diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake index 31c592b15..479784fb0 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake @@ -2,7 +2,7 @@ # Set the install prefix if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows") + set(CMAKE_INSTALL_PREFIX "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows") endif() string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") @@ -40,5 +40,5 @@ endif() string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" +file(WRITE "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index 555967e77..24df6bb38 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 908 7366412562238598 ../CMakeCache.txt 1392c27a7e6934d3 +2 3279 7377656303703578 ../CMakeCache.txt ea61676e187bd47a diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja index c9acc722b..3dcb5b172 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja @@ -2,5 +2,5 @@ rule CreateProcess command = $process build ../CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" + process = "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/.gitignore b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/.gitignore deleted file mode 100644 index 5ac6c4883..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/.idea/ -/cmake-build-debug/ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/CMakeLists.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/CMakeLists.txt deleted file mode 100644 index 9e63f5a87..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -cmake_minimum_required(VERSION 3.12) - -project(libmidi2) -set(CMAKE_CXX_STANDARD 17) - -add_library(libmidi2 - src/utils.cpp - src/bytestreamToUMP.cpp - src/umpToBytestream.cpp - src/umpMessageCreate.cpp - src/midiCIMessageCreate.cpp - src/midiCIProcessor.cpp - src/umpProcessor.cpp - src/mcoded7.cpp - ) - -target_include_directories(libmidi2 PUBLIC - $ - $ -) - -target_compile_options(libmidi2 PRIVATE -Wall) - -set(LIBMIDI2_EXPORT_NAME libmidi2-config) -install(TARGETS libmidi2 - EXPORT ${LIBMIDI2_EXPORT_NAME} -) -install(EXPORT ${LIBMIDI2_EXPORT_NAME} - NAMESPACE libmidi2:: - DESTINATION "share/${PROJECT_NAME}" -) - -file(GLOB HEADERS include/*.h) -install(FILES ${HEADERS} DESTINATION "include/${PROJECT_NAME}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/LICENSE b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/LICENSE deleted file mode 100644 index 71e49ad38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Andrew Mee - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/Makefile b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/Makefile deleted file mode 100644 index 67809b03c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -OPTS= -g -Wuninitialized -Wmaybe-uninitialized -Wall -Wshadow -Wcast-qual \ - -Wextra -pedantic -Wno-unused-parameter \ - -Wno-c++11-extensions - -SOURCES=$(shell find ./src -name *.cpp) - -OBJECTS=$(SOURCES:./src/%.cpp=./build/$(notdir %).o) - -all: dirs $(OBJECTS) midi2 - -dirs: - mkdir -p build - -build/%.o: src/%.cpp - gcc $(OPTS) -I . -I ./include \ - -o $@ -c $< - -midi2: $(OBJECTS) - ar -rc build/libmidi2.a $(OBJECTS) - -clean: - rm -rf build diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/README.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/README.md deleted file mode 100644 index cc1f18a37..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/README.md +++ /dev/null @@ -1,183 +0,0 @@ -# AM MIDI 2.0 Lib -A MIDI 2.0 Library - -This is a general purposes Library for building MIDI 2.0 Devices and Applications. This library aims to work on -everything from Arduino's through to large scale applications. It provides the building blocks, processing and -translations needed for most MIDI 2.0 Devices and Applications - -## IMPORTANT! Please read first -I hope that this library is useful to everyone making MIDI 2.0 Devices. -If you do use this library please let me know! I am keen to see all the MIDI 2.0 Projects. This code is also available -for DIY and commercial use (MIT Licence). Please note that use of this library is at your own risk. - -THIS LIBRARY IS CURRENTLY UNDER DEVELOPMENT - -The code is still being adjusted as it is being prototyped and changes do occur, however the WIKI attempts to reflect -the latest code. - -If you see code here that : -* could be styled/structured better -* could be written better -* could use less resources -* has memory leaks, bugs, -* is fundamentally flawed -* has spelling mistakes and grammatical errors - -then please submit PR's and/or issues - but PR's preferred. - -## What does this do? -Please read the MIDI 2.0 specification on https://midi.org/specifications to understand the following. - -This library can: -* Convert MIDI 1.0 Byte stream to UMP and back -* Process and send UMP Streams -* Process and Send MIDI-CI Messages -* Build UMP 32 bit Words to send out - -This library is designed to use a small footprint. It does this by processing each UMP packet (or MIDI 1.0 Byte stream) -one at a time. This way large data is handled in small chunks to keep memory small. - -This set of files allows you to pick and choose which parts of MIDI 2.0 you wish to include. For example if you are -only working with MIDI 1.0 Byte streams and just need a MIDI-CI handler? Then great just pull in that header :) - -Note it is upto the application to: - * Store Remote MIDI-CI Device details - * Upon receiving MIDI-CI Message to interpret the Messages data structure (e.g. Profile Id bytes, Note On Articulation -etc.) - * Handle logic and NAK sending and receiving. - -This means the overheads for a simple MIDI 2.0 device is down to a compiled size of around 10k (possibly less?), with a -memory footprint of around 1k. - -## Documentation -Can be found on the [docs folder](https://github.com/midi2-dev/AM_MIDI2.0Lib/tree/main/docs) - -### Example: Translate MIDI 1.0 Byte stream to UMP - -Here is a quick example - -```C++ -#include "bytestreamUMP.h" - -bytestreamToUMP BS2UMP; - -void setup() -{ - Serial.begin(31250); - - //Produce MIDI 2.0 Channel Voice Message (Message Type 0x4) - //Default (false) will return MIDI 1.0 Channel Voice Messages (Message Type 0x2) - BS2UMP.outputMIDI2 = true; - - //Set the UMP group of the output UMP message. By default this is set to Group 1 - //defaultGroup value is 0 based - BS2UMP.defaultGroup = 0; //Group 1 -} - -void loop() -{ - uint8_t inByte = 0; - // if there is a serial MIDI byte: - if (Serial.available() > 0) { - // get incoming byte: - inByte = Serial.read(); - if(inByte == 0xFE) return; //Skip ActiveSense - - BS2UMP.midi1BytestreamParse(inByte); - while(BS2UMP.availableUMP()){ - uint32_t ump = BS2UMP.readUMP(); - //ump contains a ump 32 bit value. UMP messages that have 64bit will produce 2 UMP words - } - } -} -``` - -### Example: Process UMP Streams -UMP Streams accepts a series of 32 bit values. UMP messages that have 64bit will provide 2 UMP words. - -```C++ - -#include "umpProcessor.h" -umpProcessor UMPProcess; - -void noteOff(uint8_t group, uint8_t mt, uint8_t channel, uint8_t noteNumber, unsigned int velocity, int attributeType, unsigned int attributeData){ -//Process incoming MIDI note Off event. -} - -void noteOn(uint8_t group, uint8_t mt, uint8_t channel, uint8_t noteNumber, unsigned int velocity, int attributeType, unsigned int attributeData){ -} - - -void cc(uint8_t group, uint8_t mt, uint8_t channel, uint8_t index, uint32_t value){ -} - -void rpn(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value){ -} - -void setup() -{ - UMPProcess.setNoteOff(noteOff); - UMPProcess.setNoteOn(noteOn); - UMPProcess.setControlChange(cc); - UMPProcess.setRPN(rpn); -} - -void loop() -{ -... - while(uint32_t ump = readSomeUMP()){ - UMPProcess.processUMP(ump); - } -... -} - -``` - -### Example: Process MIDI-CI Messages -MIDI-CI requires a lot of SysEx messages. This library abstracts the complexity of building and parsing most MIDI-CI Messages. -```C++ - -#include "midiCIProcessor.h" -midi2Processor midiCIProcess; -uint32_t localMUID; -uint8_t sysexId[3] = {0x00 , 0x02, 0x22}; -uint8_t famId[2] = {0x7F, 0x00}; -uint8_t modelId[2] = {0x7F, 0x00}; -uint8_t ver[4]; -unint8_t sysexBuffer[512]; - -bool checkMUID(uint8_t group, uint32_t muid){ - return (localMUID==muid); -} - -void recvDiscovery(uint8_t group, struct MIDICI ciDetails, uint8_t* remotemanuId, uint8_t* remotefamId, uint8_t* remotemodelId, uint8_t *remoteverId, uint8_t remoteciSupport, uint16_t remotemaxSysex){ - Serial.print("->Discovery: remoteMuid ");Serial.println(ciDetails.remoteMUID); - uint16_t sBuffLen = sendDiscoveryReply(sysexBuffer, localMUID, ciDetails.remoteMUID, sysexId, famId, modelId, ver, 0b11100, 512); - sendSysExOutOfDevice(sysexBuffer, sBuffLen); -} - -void setup() -{ - localMUID = random(0xFFFFEFF); - - midiCIProcess.setRecvDiscovery(recvDiscovery); - midiCIProcess.setCheckMUID(checkMUID); - - uint16_t sBuffLen = sendDiscoveryRequest(sysexBuffer,1, sysexId, famId, modelId, ver,12, 512); - sendSysExOutOfDevice(sysexBuffer, sBuffLen); -} - -void loop() -{ -... - while(uint8_t sysexByte = getNextSysexByte()){ - midiCIProcess.processUMP(sysexByte); - } -... -} - -``` - ---- - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/Home.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/Home.md deleted file mode 100644 index 96879a3e0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/Home.md +++ /dev/null @@ -1,19 +0,0 @@ -# Welcome to the MIDI2_CPP docs! - -### Documentation -**General** -* [utils.h](utils.md) General Utils in use for this set of functions - -**Translation** -* [bytestreamToUMP.h](bytestreamToUMP.md) MIDI 1.0 Bytestream to UMP's -* [umpToBytestream.h](umpToBytestream.md) UMP to MIDI 1.0 Bytestream - -**UMP Handling** -* [umpMessageCreate.h](umpMessageCreate.md) Create UMP's -* [umpProcessor.h](umpProcessor.md) Process incoming UMP's - -**UMP Handling** -* [midiCIMessageCreate.h](midiCIMessageCreate.md) Create MIDI-CI System Exclusive -* [midiCIProcessor.h](midiCIProcessor.md) Process incoming MIDI-CI -* [mcoded7.h](mcoded7.md) Handle Mcoded7 for use in Property Exchange - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/bytestreamToUMP.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/bytestreamToUMP.md deleted file mode 100644 index d978ca1a4..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/bytestreamToUMP.md +++ /dev/null @@ -1,57 +0,0 @@ -# bytestreamToUMP -Class used for translating between a raw MIDI 1.0 Byte stream and UMP - -## Public variables - -#### uint8_t defaultGroup = 0; - -This allows the application to set the group used when creating UMP messages. This is zero based. - -#### bool outputMIDI2 = false; - -By default ```bytestreamToUMP``` will output MIDI 1.0 Channel voice message (Message Type 2). Set this to true to output -MIDI 2 Channel Voice Messages (Message Type 4). - -This uses the Translation methods described in **Universal MIDI Packet (UMP) Format -and MIDI 2.0 Protocol** Version 1.1. - -This class attempts to convert RPN and NRPN Control Change messages into UMP RPN and NRPN messages. This may cause some -issues with Some devices that do not send LSB Data vale (CC #38). - -## Common methods -### void bytestreamParse(uint8_t midi1Byte) -Process incoming MIDI 1.0 Byte stream - -### bool availableUMP() -Check if there are available UMP packets after processing the Byte Stream - -### uint32_t readUMP() -Return a 32Bit word for a UMP Packet. A bytestream conversion may create several UMP packets. - - - -## Example: Using bytestreamToUMP - -```c++ - -bytestreamToUMP DIN2UMP; - -int main(){ - DIN2UMP.defaultGroup = 2; //Set Group 3 - - while(1){ - //Read from DIN Port - //------------------- - if (uart_is_readable(uart1)) { - uint8_t ch = uart_getc(uart1); - if(ch == 0xFE) continue; //Skip ActiveSense - DIN2UMP.midi1BytestreamParse(ch); - while(DIN2UMP.availableUMP()){ - uint32_t ump = DIN2UMP.readUMP(); - //Process UMP - } - } - } -} -``` - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/mcoded7.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/mcoded7.md deleted file mode 100644 index 6208a0977..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/mcoded7.md +++ /dev/null @@ -1 +0,0 @@ -__WIP__ \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCICreate.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCICreate.md deleted file mode 100644 index 565a14efd..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCICreate.md +++ /dev/null @@ -1,132 +0,0 @@ -# MIDI-CI SysEx Creation - -These function create the SysEx needed for various MIDI-CI messages. It creates the complete SysEx uint8_t array -minus the 0xF0 and 0xF7 at beginning and end of the SysEx. - -For each message a sysex buffer is needed. The return of each function is the length of the buffer used e.g.: -```c++ -uint8_t sysexBuffer[512]; -int len = CIMessage::sendDiscoveryReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION,localMUID, ciDetails.remoteMUID, - {DEVICE_MFRID}, {DEVICE_FAMID}, {DEVICE_MODELID}, - {DEVICE_VERSIONID},0, - 512, outputPathId, 0 -); -sendOutSysextoUMP(umpGroup, sysexBuffer, len); -``` -_Note: It is upto the application to make sure that the buffer is larger that the created message_ - -The SysEx created will depend on the ```midiCIVer``` value specified. For example if a Discovery Reply message was sent where -the value is set to __1__, then the message created will not have Output Path Id and Function Block Index. - -MIDI-CI Messages that are only available from certain version will return a length of 0 if the ```midiCIVer``` is too low. - -#### uint16_t CIMessage::sendDiscoveryRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, std::array manuId, std::array familyId, std::array modelId, std::array version, uint8_t ciSupport, uint32_t sysExMax, uint8_t outputPathId) -#### uint16_t CIMessage::sendDiscoveryReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, std::array manuId, std::array familyId, std::array modelId, std::array version, uint8_t ciSupport, uint32_t sysExMax, uint8_t outputPathId, uint8_t fbIdx) -#### uint16_t CIMessage::sendEndpointInfoRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); -#### uint16_t CIMessage::sendEndpointInfoReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, uint16_t infoLength, uint8_t* infoData) - -#### uint16_t CIMessage::sendACK(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t originalSubId, uint8_t statusCode, uint8_t statusData, uint8_t* ackNakDetails, uint16_t messageLength, uint8_t* ackNakMessage) -#### uint16_t CIMessage::sendNAK(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t originalSubId, uint8_t statusCode, uint8_t statusData, uint8_t* ackNakDetails, uint16_t messageLength, uint8_t* ackNakMessage) - -#### uint16_t CIMessage::sendInvalidateMUID(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -## Protocol Negotiation (MIDI-CI 1.1) -Protocol Negotiation is deprecated from MIDI-CI 1.2 onwards. However, Devices that support a later version of MIDI-CI -can still respond and handle Protocol Negotiation. - -#### uint16_t CIMessage::sendProtocolNegotiation(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel, uint8_t numProtocols, uint8_t* protocols, uint8_t* currentProtocol) -#### uint16_t CIMessage::sendProtocolNegotiationReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel, uint8_t numProtocols, uint8_t* protocols) -#### uint16_t CIMessage::sendSetProtocol(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel, uint8_t* protocol) -#### uint16_t CIMessage::sendProtocolTest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel) -#### uint16_t CIMessage::sendProtocolTestResponder(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel) - -## Profile Negotiation -#### uint16_t CIMessage::sendProfileListRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination) -#### uint16_t CIMessage::sendProfileListResponse(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t profilesEnabledLen, uint8_t* profilesEnabled, uint8_t profilesDisabledLen, uint8_t* profilesDisabled) -```profilesEnabledLen``` and ```profilesDisabledLen``` represent how many Profiles. ```profilesEnabled``` and ```profilesDisabled``` arguments should be 5 times the length of ```profilesEnabledLen``` and ```profilesDisabledLen``` respectively. - -```c++ -void handleProfileInquiry(uint8_t umpGroup, uint32_t remoteMUID, uint8_t destination){ - uint8_t profileNone[0] = {}; - uint8_t sysexBuffer[512]; - int len; - - // If a Profile Inquiry is received where destination = 0x7F, you should also return - // the Profiles on each channel. In this example Destination of 0 = channel 1, so - // the Profile is also returned for Channel 1 or destination = 0x7F - if(destination == 0 || destination == 0x7F){ - uint8_t profileDrawBar[5] = {0x7E, 0x40, 0x01, 0x01}; - len = CIMessage::sendProfileListResponse(umpGroup, MIDICI_MESSAGE_FORMAT, remoteMUID, 1, 0, 1, profileDrawBar, 0, profileNone); - sendOutSysextoUMP(umpGroup, sysexBuffer, len); - } - - if(destination == 0x7F){ - len = CIMessage::sendProfileListResponse(umpGroup, MIDICI_MESSAGE_FORMAT, remoteMUID, 1, 0x7F, 0, profileNone, 0, profileNone); - sendOutSysextoUMP(umpGroup, sysexBuffer, len); - } -} - -midi2Processor MIDI2 (0,2,2); -... -MIDI2.setRecvProfileInquiry(profileInquiry); -``` - -#### uint16_t CIMessage::sendProfileAdd(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile) -#### uint16_t CIMessage::sendProfileRemove(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile) - -#### uint16_t CIMessage::sendProfileOn(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t numberOfChannels) -#### uint16_t CIMessage::sendProfileOff(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile) -#### uint16_t CIMessage::sendProfileEnabled(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t numberOfChannels) -#### uint16_t CIMessage::sendProfileDisabled(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t numberOfChannels) - -#### uint16_t CIMessage::sendProfileSpecificData(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint16_t datalen, uint8_t* data) -#### uint16_t CIMessage::sendProfileDetailsInquiry(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t InquiryTarget) -#### uint16_t CIMessage::sendProfileDetailsReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t* data) - -## Property Exchange -#### uint16_t CIMessage::sendPECapabilityRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) -#### uint16_t CIMessage::sendPECapabilityReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) - -#### uint16_t CIMessage::sendPEGet(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) -#### uint16_t CIMessage::sendPEGetReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, uint16_t bodyLength , uint8_t* body ) -A complete reply to an Inquiry: Get Property Data can be split over one or more Reply to Get Property Data -messages. Here is an examples of how this can be done. - -__Example Sending a JSON string in 512 byte Sysex message chunks__ -```c++ -void returnPE(uint8_t umpGroup, uint32_t remoteMUID, uint8_t requestId, char *propertyData, - unint32_t propertyDataLength){ - uint8_t sysexBuffer[512]; - std::string header = "{\"status\":200}"; - int totalChunks = ceil((double)(strL + header.length())/480); //480 is 512 minus the bytes used for heading etc. - for (int chunk = 1; chunk <= totalChunks; chunk ++){ - int hLen = chunk == 1 ? header.length() : 0; - int bodyLen = 480 - hLen; - if (bodyLen > propertyDataLength) bodyLen = propertyDataLength; - - int len = CIMessage::sendPEGetReply(sysexBuffer, MIDICI_MESSAGE_FORMAT, localMUID, remoteMUID, requestId, hLen, - (uint8_t*)header.c_str(), totalChunks, chunk, bodyLen, - (uint8_t*)(propertyData + (((chunk - 1) * 480) - (chunk == 1 ? 0 : hLen)))); - sendOutSysextoUMP(umpGroup, sysexBuffer, len); - propertyDataLength -= bodyLen ; - } -} -``` - -#### uint16_t CIMessage::sendPESet(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, uint16_t bodyLength , uint8_t* body) - -#### uint16_t CIMessage::sendPESetReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) - -#### uint16_t CIMessage::sendPESub(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, uint16_t bodyLength , uint8_t* body) - - -#### uint16_t CIMessage::sendPESubReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) -#### uint16_t CIMessage::sendPENotify(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) - - -## Process Inquiry -#### uint16_t CIMessage::sendPICapabilityRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid) -#### uint16_t CIMessage::sendPICapabilityReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t supportedFeatures) -#### uint16_t CIMessage::sendPIMMReport(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t MDC, uint8_t systemBitmap, uint8_t chanContBitmap, uint8_t chanNoteBitmap) -#### uint16_t CIMessage::sendPIMMReportReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t systemBitmap, uint8_t chanContBitmap, uint8_t chanNoteBitmap) -#### uint16_t CIMessage::sendPIMMReportEnd(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination) \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCIProcessor.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCIProcessor.md deleted file mode 100644 index 4a767d681..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCIProcessor.md +++ /dev/null @@ -1,404 +0,0 @@ -# MIDI-CI - -```midiCIProcessor``` handles MIDI-CI messages and tries to reduce complexity in processing messages. It does -not attempt to solve the logic and handling of that data. It is up to the application to send responses to queries -from an Initiator. - -```midiCIProcessor``` is a forward and backward compatible with different MIDI-CI versions. On incoming MIDI-CI -messages it will ignore bytes at the end of the message it does not understand. - -```c++ -midiCIProcessor MIDICIHandler; -MIDICIHandler.setCheckMUID(checkMUID); -MIDICIHandler.setRecvDiscovery(discoveryHandler); -``` - -## Process Handling Commands -The ```midiCIProcessor``` takes in 1 byte at a time when processing MIDI-CI. This is done so longer complex SysEx does -not require lots of memory and processing can occur as the UMP Sysex is delivered. - -```c++ -midiCIProcessor midiciMain; - -void processSysex(uint8_t umpGroup, uint8_t *sysex ,uint16_t lengthOfSysex){ - //note sysex argument does not include 0xF0 and 0xF7 - if(sysex[0] == S7UNIVERSAL_NRT && sysex[2] == S7MIDICI){ - if(umpGroup==0) { - midiciMain.startSysex7(umpGroup, sysex[1]); - for (int i = 0; i < lengthOfSysex; i++) { - midiciMain.processMIDICI(sysex[i]); - } - midiciMain.endSysex7(); - } - } -} -``` - -#### void startSysex7(uint8_t umpGroup, uint8_t deviceId) -```umpGroup``` is the UMP Group this SysEx was received on. It is passed onto the callbacks as part of the MIDI-CI -struct. - -```deviceId``` is provided by the Sysex byte containing the Device Id data. In MIDI-CI this is the Source or Destination -byte and represent either: -* 0x00 -0x0F Channel 1-16 -* 0x7E The current UMP Group -* 0x7F The entire Function Block. - -#### void endSysex7(); -#### void processMIDICI(uint8_t s7Byte); - -#### inline void setCheckMUID(checkMUIDCallback) -This is a simple check to make sure that the message being processed is meant for this application. -Return true if it is a match. - -```c++ -uint32_t localMUID = random(0xFFFFEFF); - -bool checkMUIDCallback(uint8_t umpGroup, uint32_t muid){ - return (localMUID==muid); -} -``` - -_Note: it is recommended that all instances of this class support this callback._ - -## Common structs in use - -#### MIDICI -```c++ -struct MIDICI{ - uint8_t umpGroup; //zero-based - uint8_t deviceId; //0x00-0x0F Channels 1-16, 0x7E Group, 0x7F Function Blocks - uint8_t ciType; - uint8_t ciVer; //0x1 - v1.1, 0x2 - v1.2 - uint32_t remoteMUID; - uint32_t localMUID; - uint8_t totalChunks; //Total Chunks reported on this Message (PE Only) - uint8_t numChunk; //Current Chunk reported on this Message (PE Only) - uint8_t requestId; //Current Request Id (PE Only) -}; -``` -Most of the callbacks will include a MIDI-CI struct that contain core information from MIDI-CI SysEx. -The ```umpGroup``` variable is set by startSysex7 method. - -## Common MIDI-CI SysEx Methods - -#### inline void setRecvDiscovery(recvDiscoveryCallback) -```c++ -void recvDiscoveryCallback(struct MIDICI ciDetails, std::array manuId, std::array familyId, - std::array modelId, std::array version, uint8_t remoteciSupport, - uint16_t remotemaxSysex, uint8_t outputPathId -){ - //All MIDI-CI Devices shall reply to a Discovery message - printf("Received Discover on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); - unint8_t sysexBuffer[64]; - int len = CIMessage::sendDiscoveryReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, - {DEVICE_MFRID}, {DEVICE_FAMID}, {DEVICE_MODELID}, - {DEVICE_VERSIONID},0, - 512, outputPathId, - 0 //fbIdx - ); - sendOutSysex(ciDetails.umpGroup, sysexBuffer ,len ); -} -``` - -_Note: it is recommended that all instances of this class support this callback._ - -#### inline void setRecvDiscoveryReply(recvDiscoveryReplyCallback) - -```c++ -void recvDiscoveryReplyCallback(struct MIDICI ciDetails, std::array manuId, std::array familyId, - std::array modelId, std::array version, uint8_t remoteciSupport, - uint16_t remotemaxSysex, uint8_t outputPathId, uint8_t functionBlockIdx -){ - printf("Received Discover Reply on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); -} -``` - -#### inline void setRecvNAK(recvNAKCallback) -```c++ -void recvNAKCallback(struct MIDICI ciDetails, uint8_t origSubID, uint8_t statusCode, uint8_t statusData, - uint8_t* ackNakDetails, uint16_t messageLength, uint8_t* ackNakMessage -){ - printf("Received NAK on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); -} -``` - -#### inline void setRecvInvalidateMUID(void (\*fptr)(uint8_t umpGroup, uint32_t remoteMuid, uint32_t terminateMuid)) - -#### inline void setRecvUnknownMIDICI(void (\*fptr)(MIDICI ciDetails, uint8_t s7Byte)) -#### inline void setRecvEndpointInfo(void (\*fptr)(MIDICI ciDetails, uint8_t status)) - -#### inline void setRecvEndpointInfoReply(void (\*fptr)(MIDICI ciDetails, uint8_t status, uint16_t infoLength, uint8_t\* infoData) - -### Protocol Negotiation (MIDI-CI 1.1) -Protocol Negotiation is deprecated from MIDI-CI 1.2 onwards. However, Devices that support a later version of MIDI-CI -can still respond and handle Protocol Negotiation. - -#### inline void setRecvProtocolAvailable(recvProtocolAvailableCallback) -This callback is triggered upon receiving a Reply to Protocol Negotiation. The ```midiCIProcessor``` triggers off -this callback for every Protocol returned. -```c++ -void recvProtocolAvailableCallback(struct MIDICI ciDetails, uint8_t authorityLevel, uint8_t* protocol){ - printf("Received Protocol Available on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); -} -``` - -#### inline void setRecvSetProtocol(recvSetProtocolCallback) -See _setRecvProtocolAvailable_ for the callback structure - -#### inline void setRecvSetProtocolTest(void (\*fptr)(MIDICI ciDetails, uint8_t authorityLevel, bool testDataAccurate) -#### inline void setRecvSetProtocolConfirm(void (\*fptr)(MIDICI ciDetails, uint8_t authorityLevel)) - -### Profile Configuration -#### inline void setRecvProfileInquiry(profileInquiryCallback) -Upon receiving a Profile Inquiry message the application should return a result. Please read the MIDI-CI v1.2 specifications -for more information. - -```c++ -void profileInquiryCallback(struct MIDICI ciDetails){ - - printf("->profile Inquiry: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); - - uint8_t profileNone[0] = {}; - unint8_t sysexBuffer[64]; - int len; - if(ciDetails.deviceId == 0 || ciDetails.deviceId == 0x7F){ - uint8_t profileDrawBar[5] = {0x7E, 0x40, 0x01, 0x01}; - //return 1 enabled profile - len = CIMessage::sendProfileListResponse(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, - 0, 1, profileDrawBar, 0, profileNone); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } - - if(ciDetails.deviceId == 0x7F){ - //return no profiles - len = CIMessage::sendProfileListResponse(sysexBuffer, 0x02, localMUID, ciDetails.remoteMUID, - 0x7F, 0, profileNone, 0, profileNone); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } -} -``` - -#### inline void setRecvProfileEnabled(profileEnabledCallback) -This callback can be triggered in 2 ways: -* Upon receiving a Reply to Profile Inquiry the ```midiCIProcessor``` triggers off this callback for every enabled profile -* Upon receiving a Profile Enabled Message - -```c++ -void profileEnabledCallback(struct MIDICI ciDetails, std::array profile, uint8_t numberOfChannels){ - printf("->profile Enabled: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` -_Note: ```numberOfChannels``` is set to 0 if this is triggered by Reply to Profile Inquiry or MIDI-CI 1.1 Profile -Enabled Message._ - -#### inline void setRecvProfileDisabled(profileDisabledCallback) -See setRecvProfileEnabled for the callback structure. - -This callback can be triggered in 3 ways: -* Upon receiving a Reply to Profile Inquiry the ```midiCIProcessor``` triggers off this callback for every disabled profile -* Upon receiving a Profile Disabled message -* Upon receiving a Profile Added Report message (MIDI-CI v1.2 and higher) - -Profile Added Report messages always declare that the Profile is added to the list of disabled Profiles. - -_Note: ```numberOfChannels``` is set to 0 if this is triggered by Reply to Profile Inquiry or MIDI-CI 1.1 Profile - Disabled Message._ - - -#### inline void setRecvSetProfileRemoved(profileRemovedCallback) -This callback is triggered upon receiving a Profile Remove Report -```c++ -void profileRemovedCallback(struct MIDICI ciDetails, std::array profile){ - printf("->profile Removed: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -#### inline void setRecvProfileOn(profileOnCallback) -This callback is triggered upon receiving a Set Profile On message -```c++ -void profileOnCallback(struct MIDICI ciDetails, std::array profile, uint8_t numberOfChannels){ - printf("->profile On: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -#### inline void setRecvProfileOff(profileOffCallback) -This callback is triggered upon receiving a Set Profile Off message -```c++ -void profileOffCallback(struct MIDICI ciDetails, std::array profile){ - printf("->profile Off: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -#### inline void setRecvProfileDetailsInquiry(void (\*fptr)(MIDICI ciDetails, std::array profile, uint8_t InquiryTarget)) -#### inline void setRecvProfileDetailsReply(void (\*fptr)(MIDICI ciDetails, std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t\* data)) - -#### inline void setRecvProfileSpecificData(profileSpecificDataCallback) -This callback is triggered upon receiving a Profile Specific Data message. - -A long Profile Specific Data message may have a length longer than __S7_BUFFERLEN__. As such this callback may be triggered -multiple times for the same message. The ```lastByteOfSet``` bool is set to true if this is the last time this -callback is triggered. - -```c++ -void profileSpecificDataCallback(struct MIDICI ciDetails, std::array profile, uint16_t datalen, uint8_t\* data, uint16_t part, bool lastByteOfSet){ - printf("->profile Off: remote MUID %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -_Note: While data length field in the SysEx can declare a potential length of 268435455 bytes, it is extremely unlikely -that this is feasible, so it is kept as an uin16_t value._ - -### Property Exchange - -This library provides the Header received on each Property Exchange message as a std::string. This is to allow the -developer to choose their own JSON parser that best suits the environment. - -#### inline void setPECapabilities(PECapabilityCallback) -Upon receiving an Inquiry: Property Exchange Capabilities message the application should send back a Reply to Property -Exchange Capabilities message. -```c++ -void PECapabilityCallback(struct MIDICI ciDetails, uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer){ - printf("->PE Capability: remote MUID %d", ciDetails.remoteMUID); - uint8_t sysexBuffer[64]; - int len = CIMessage::sendPECapabilityReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, 4, 0, 0); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); -} -``` - -#### inline void setPECapabilitiesReply(PECapabilityReplyCallback) -See setPECapabilities for the structure of PECapabilityReplyCallback - -#### inline void setRecvPEGetInquiry(PEGetInquiryCallback) -This callback is triggered upon receiving an Inquiry: Get Property Data message. -```c++ -void PEGetInquiryCallback( struct MIDICI ciDetails, std::string header){ - printf("->PE GET Inquiry: remote MUID %d header %s", ciDetails.remoteMUID, - ciDetails.requestId, header.c_str()); - - if (header.contains("LocalOn")){ - string header = "{\"status\":200}"; - uint8_t sysexBuffer[128]; - int len = CIMessage::sendPEGetReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID,\ - ciDetails.requestId, header.length(), (uint8_t*)header.c_str(), 1, 1, 4, (uint8_t*)"true"); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } -} - -``` -#### inline void setRecvPESetInquiry(PESetCallback) - -This callback is triggered upon receiving an Inquiry: Set Property Data message. - -A long Inquiry: Set Property Data message is usually sent over many chunks and each chunck may have a length -longer than __S7_BUFFERLEN__. As such this callback may be triggered multiple times for the same set of messages. - -The ```lastByteOfChunk``` bool is set to true if this is the last body data in a single chunk message. -The ```lastByteOfSet``` bool is set to true if this is the last time this callback is triggered for a set of messages. - -```c++ -mcoded7Decode m7d; - -void PESetCallback(struct MIDICI ciDetails, std::string header, uint16_t bodyLen, uint8_t* body, - bool lastByteOfChunk, bool lastByteOfSet){ - if (header.contains("State")){ - //This code assumes the data is using Mcoded7 - if (requestDetails.numChunk == 1 && requestDetails.partialChunkCount == 1){ - file.open(fullPath, O_RDWR | O_TRUNC | O_CREAT); - m7d.reset(); - } - for(uint16_t i=0; i < bodyLen;i++){ - m7d.parseS7Byte(body[i]); - if(m7d.currentPos() == 7){ - file.write(m7d.dump, 7); - m7d.reset(); - } - } - - if(lastByteOfSet){ - file.write(m7d.dump,m7d.currentPos()); - file.close(); - string header = "{\"status\":200}"; - uint8_t sysexBuffer[128]; - int len = CIMessage::sendPESetReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, requestDetails.requestId, - header.length, (uint8_t*)header.c_str()); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } - } -} -``` - -#### inline void setRecvPESetReply(PESetReplyCallback) -See _setRecvPEGetInquiry_ for the callback structure - -#### inline void setRecvPESubInquiry(PESubInquiryCallback) -```c++ -void PESubInquiryCallback(struct MIDICI ciDetails, std::string header, uint16_t bodyLen, uint8_t* body, - bool lastByteOfChunk, bool lastByteOfSet); -``` - -#### inline void setRecvPESubReply(PESubReplyCallback) -See _setRecvPEGetInquiry_ for the callback structure - -#### inline void setRecvPENotify(PENotifyCallback) -See _setRecvPEGetInquiry_ for the callback structure - -### Process Inquiry (MIDI-CI 1.2 onwards) - -#### inline void setRecvPICapabilities(PICapabilitiesCallback) - -```c++ -void PICapabilitiesCallback(struct MIDICI ciDetails){ - printf("MIDI Process Inquiry Capabilities"); - uint8_t sysexBuffer[128]; - int len = CIMessage::sendPICapabilityReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, ciDetails.localMUID, ciDetails.remoteMUID, 1); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); -} -``` - -#### inline void setRecvPICapabilitiesReply(PICapabilitiesReplyCallback) -See _setRecvPICapabilities_ for the callback structure - -#### inline void setRecvPIMMReport(PIMMReportCallback) - -```c++ -void PIMMReportCallback(struct MIDICI ciDetails, uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap){ - uint8_t sysexBuffer[128]; - int len; - len = CIMessage::sendPIMMReportReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, ciDetails.localMUID, ciDetails.remoteMUID, ciDetails.deviceId, - 0, 0b10010 & chanContBitmap, 0); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - - if( - (MDC & 0b1) && - (chanContBitmap & 0b10) && - (midiChannel == ciDetails.deviceId || ciDetails.deviceId == 0x7f) - ){ - - sendControlChange(7, volume>>3, midiChannel); - sendControlChange(14, osc1Volume>>3, midiChannel); - sendControlChange(94, map(osc1Detune, -24, 24, 0, 127), midiChannel); - sendControlChange(74, map(filterCutoff, 0, 255, 0, 127), midiChannel); - sendControlChange(73, attackTime>>3, midiChannel); - sendControlChange(76, decayTime>>3, midiChannel); - sendControlChange(77, sustainLevel>>3, midiChannel); - sendControlChange(72, releaseTime>>3, midiChannel); - } - if( - (MDC & 0b1) && - (chanContBitmap & 0b10000) && - (midiChannel == ciDetails.deviceId || ciDetails.deviceId == 0x7f) - ){ - sendProgramChange((uint8_t)patchLoaded,midiChannel); - } - len = CIMessage::sendPIMMReportEnd(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, ciDetails.localMUID, ciDetails.remoteMUID, ciDetails.deviceId); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); -} - -``` - -#### inline void setRecvPIMMReportReply(PIMMReportReplyCallback) -See _setRecvPIMMReport_ for the callback structure - -#### inline void setRecvPIMMEnd(void (\*fptr)(MIDICI ciDetails)) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpMessageCreate.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpMessageCreate.md deleted file mode 100644 index 1003fa6cb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpMessageCreate.md +++ /dev/null @@ -1,104 +0,0 @@ -# UMP Message Create -Please refer to the UMP and MIDI 2.0 Protocol version 1.1 on the meaning of each of these -MIDI messages. - -## Utillty Messages (Message Type 0x0) -#### uint32_t mt0NOOP(); -#### uint32_t mt0JRClock(uint16_t clockTime); -#### uint32_t mt0JRTimeStamp(uint16_t timestamp); -#### uint32_t mt0DeltaClockTick( uint16_t ticksPerQtrNote); -#### uint32_t mt0DeltaTicksSinceLast( uint16_t noTicksSince); - - -## System Messages (Message Type 0x1) -#### uint32_t mt1MTC(uint8_t umpGroup, uint8_t timeCode); -#### uint32_t mt1SPP(uint8_t umpGroup, uint16_t position); -#### uint32_t mt1SongSelect(uint8_t umpGroup, uint8_t song); -#### uint32_t mt1TuneRequest(uint8_t umpGroup); -#### uint32_t mt1TimingClock(uint8_t umpGroup); -#### uint32_t mt1SeqStart(uint8_t umpGroup); -#### uint32_t mt1SeqCont(uint8_t umpGroup); -#### uint32_t mt1SeqStop(uint8_t umpGroup); -#### uint32_t mt1ActiveSense(uint8_t umpGroup); -#### uint32_t mt1SystemReset(uint8_t umpGroup); - - - -## MIDI 1.0 Channel Voice Messages (Message Type 0x2) -#### uint32_t mt2NoteOn(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity); -#### uint32_t mt2NoteOff(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity); -#### uint32_t mt2PolyPressure(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint32_t pressure); -#### uint32_t mt2CC(uint8_t umpGroup, uint8_t channel, uint8_t index, uint32_t value); -#### uint32_t mt2ProgramChange(uint8_t umpGroup, uint8_t channel, uint8_t program); -#### uint32_t mt2ChannelPressure(uint8_t umpGroup, uint8_t channel, uint32_t pressure); -#### uint32_t mt2PitchBend(uint8_t umpGroup, uint8_t channel, uint32_t value); - -## System Exclusive 7 (Message Type 0x3) -System Exclusive 7 messages return ```std::array```. - -#### std::array mt3Sysex7(uint8_t umpGroup, uint8_t status, uint8_t numBytes, std::array sx); -It is up to the application to convert Sysex and generate the correct status in this function. Below is example code to -output UMP Sysex from a complete array of SysEx bytes. - -```c++ -void sendOutSysex(uint8_t umpGroup, uint8_t *sysex, uint32_t length ){ - std::array sx = {0,0,0,0,0,0}; - uint8_t sxPos=0; - - for (int i = 0; i < length; i++) { - sx[sxPos++]=sysex[i] & 0x7F; - if(sxPos == 6){ - std::array ump = mt3Sysex7(umpGroup, i < 6 ? 1 : i==length-1 ? 3 : 2, 6, sx); - sendUMP(ump.data(),2); - sxPos=0; - } - } - if (sxPos) { - std::array ump = mt3Sysex7(umpGroup, length < 7 ? 0 : 3, sxPos, sx); - sendUMP(ump.data(),2); - } - -} -``` - - -## MIDI 2.0 Channel voice messages (Message Type 0x4) -All MIDI 2.0 Channel voice messages return ```std::array```. - -#### std::array mt4NoteOn(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData); -#### std::array mt4NoteOff(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData); -#### std::array mt4CPolyPressure(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint32_t pressure); -#### std::array mt4PitchBend(uint8_t umpGroup, uint8_t channel, uint32_t pitch); -#### std::array mt4CC(uint8_t umpGroup, uint8_t channel, uint8_t index, uint32_t value); -#### std::array mt4RPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value); -#### std::array mt4NRPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value); -#### std::array mt4RelativeRPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, int32_t value); -#### std::array mt4RelativeNRPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, int32_t value); -#### std::array mt4ChannelPressure(uint8_t umpGroup, uint8_t channel,uint32_t pressure); -#### std::array mt4ProgramChange(uint8_t umpGroup, uint8_t channel, uint8_t program, bool bankValid, uint8_t bank, uint8_t index); - - -## Flex Data Messages (Message Type 0x5) -MIDI 2.0 Channel voice messages return ```std::array```. - -_This section is in progress_ - - -## UMP Stream messages (Message Type 0xF) -UMP Stream messages return ```std::array```. - -#### std::array mtFMidiEndpoint(uint8_t filter); - -#### std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); -#### std::array mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, std::array modelId, std::array version); -#### std::array mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t* text, uint8_t textLen); - -#### std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); -#### std::array mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, uint8_t firstGroup, uint8_t groupLength, uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); -#### std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t* text, uint8_t textLen); - -#### std::array mtFStartOfSeq(); -#### std::array mtFEndOfFile(); -#### std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); -#### std::array mtFNotifyProtocol( uint8_t protocol, bool jrrx, bool jrtx); - \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpProcessor.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpProcessor.md deleted file mode 100644 index d16c7ac1d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpProcessor.md +++ /dev/null @@ -1,250 +0,0 @@ -# umpProcessor -Processing of UMP messages. - -This class allows the application to set up a set of callbacks relevant to the applications needs. - -__Example Setup__ -```c++ -umpProcessor UMPHandler; - -UMPHandler.setUtility(utilityCallback); -UMPHandler.setCVM(handleChannelVoiceMessages); -UMPHandler.setSystem(handleSystemMessages); -UMPHandler.setSysEx(processUMPSysex); - -UMPHandler.setMidiEndpoint(midiEndpointCallback); -UMPHandler.setFunctionBlock(functionblockCallback); - -... -``` - -## Structs -### umpCVM - UMP Channel Voice Message -UMP messages of Message Type 0x2 and 0x4 are presented in this format. See below for the value meaning for each status. -```c++ -struct umpCVM{ - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; -``` -### umpGeneric - UMP Generic Structure -UMP messages of Message Type 0x0 and 0x1 are presented in this format. See below for the value meaning for each status. -```c++ -struct umpGeneric{ - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; -``` -_Note: Utility Messages (MT 0x0) are groupless and therefore the ```umpGproup``` value is ignored._ - -### umpData - UMP Data Messages -```c++ -struct umpData{ - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; -``` - -## Common Methods -### void processUMP(uint32_t UMP) -Process incoming UMP messages broken up into 32bit words. -### void clearUMP() -Reset the current processing of incoming UMP. - -## Utility message Handlers -### inline void setUtility(utilityCallback) -```c++ -void utilityCallback(struct umpGeneric mess){ - printf("->Utility Message: status %d value: %d", mess.status, mess.value); -} -``` -__Values in the umpGeneric struct:__ - -| status | value | -|--------------------------|--------------------------------| -| UTILITY_NOOP | - | -| UTILITY_JRCLOCK | sender clock time | -| UTILITY_JRTS | sender clock timestamp | -| UTILITY_DELTACLOCKTICK | # of ticks PQN | -| UTILITY_DELTACLOCKSINCE | # of ticks since last event | - - -## Common Channel Voice Message Handler - -### inline void setCVM(handleChannelVoiceMessages) -Set the callable function when a Channel Voice Message is processed by ```processUMP``` -```c++ -void handleChannelVoiceMessages(struct umpCVM mess){ - printf("->CVM: Group %d CH %d Note: %d status: %d", mess.umpGroup, mess.channel, mess.status); -} -``` - -__Values in the umpCVM struct:__ - -| status | note | value | bank | index | flag1 | flag2 | -|----------------------|-------|-----------|---------------|---------------|------------|--------| -| NOTE_OFF | note | velocity♠ | attributeType | attributeData | | | -| NOTE_ON | note | velocity♠ | attributeType | attributeData | | | -| KEY_PRESSURE | note | value\* | | | | | -| CC | | value\* | | index | | | -| PROGRAM_CHANGE | | program | bank | index | bank valid | | -| CHANNEL_PRESSURE | | value\* | | | | | -| PITCH_BEND | | value\* | | | | | -| RPN †♥ | | value | bank | index | | | -| NRPN †♥ | | value | bank | index | | | -| RPN_RELATIVE † | | value‡ | bank | index | | | -| NRPN_RELATIVE † | | value‡ | bank | index | | | -| PITCH_BEND_PERNOTE † | note | value | | | | | -| RPN_PERNOTE † | note | value | | index | | | -| NRPN_PERNOTE † | note | value | | index | | | -| PERNOTE_MANAGE † | note | | | | detach | reset | - -_† MIDI 2.0 Protocol messages only_ -_\* M1 Values are scaled to 32 bit value_ -_♠ M1 Values are scaled to 16 bit value_ -_♥ Message is only triggered when a MIDI 2.0 RPN message is sent. This is not triggered when a MIDI 1.0 (N)RPN -messages are sent. Those messages are processed using the function set by ```setControlChange```_ -_‡ These values are twos complement and will need to cast e.g:_ -```c++ -int32_t relativeValue = (int32_t)mess.value; -``` - -The ```umpProcessor``` makes some distinction between different Protocols. This means that Channel Voice Messages (e.g. -Note On) handlers are called the same way regardless if is a MIDI 1.0 Channel Voice Message (Message Type 0x2) or a MIDI -2.0 Channel Voice Message (Message Type 0x4). MIDI 1.0 Channel Voice Message values are scaled to match MIDI 2.0 Messages. - -This allows for ```umpProcessor``` to process both types of Channel Voice Messages simultaneously. - -It is up to the application to manage the combination of JR messages and other UMP messages. - -## Common System Message Handler - -### inline void setSystem(handleSystemMessages) -Set the callable function when a System Message is processed by ```processUMP``` -```c++ -void handleSystemMessages(struct umpGeneric mess){ - printf("->CVM: Group %d status: %d", mess.umpGroup, mess.status); -} -``` - -__Values in the umpGeneric struct:__ - -| status | value | -|-------------|-----------| -| TIMING_CODE | time code | -| SPP | position | -| SONG_SELECT | song | -| TUNEREQUEST | | -| TIMINGCLOCK | | -| SEQSTART | | -| SEQCONT | | -| SEQSTOP | | -| ACTIVESENSE | | -| SYSTEMRESET | | - - -## Common SysEx Handler - -### inline void setRawSysEx(processUMPSysex) -```c++ -midiCIProcessor midiciMain1; -bool isProcMIDICI = false; - -void processUMPSysex(struct umpData mess){ - //Example of Processing UMP into MIDI-CI processor - if(mess.form==1 && mess.data[0] == S7UNIVERSAL_NRT && mess.data[2] == S7MIDICI){ - if(mess.umpGroup==0) { - midiciMain1.startSysex7(mess.umpGroup, mess.data[1]); - isProcMIDICI = true; - } - } - for (int i = 0; i < mess.dataLength; i++) { - if(mess.umpGroup==0 && isProcMIDICI){ - midiciMain1.processMIDICI(mess.data[i]); - }else{ - //Process other SysEx - } - } - if((mess.form==3 || mess.form==0) && isProcMIDICI){ - midiciMain1.endSysex7(); - isProcMIDICI = false; - } -} -``` - -## Flex Data Handlers -### inline void setFlexTempo(void (*fptr)(uint8_t group, uint32_t num10nsPQN)) -### inline void setFlexTimeSig(void (*fptr)(uint8_t group, uint8_t numerator, uint8_t denominator, uint8_t num32Notes)) -### inline void setFlexMetronome(void (*fptr)(uint8_t group, uint8_t numClkpPriCli, uint8_t bAccP1, uint8_t bAccP2, uint8_t bAccP3, uint8_t numSubDivCli1, uint8_t numSubDivCli2)) -### inline void setFlexKeySig(void (*fptr)(uint8_t group, uint8_t addrs, uint8_t channel, uint8_t sharpFlats, uint8_t tonic)) -### inline void setFlexChord(void (*fptr)(uint8_t group, uint8_t addrs, uint8_t channel, uint8_t chShrpFlt, uint8_t chTonic, uint8_t chType, uint8_t chAlt1Type, uint8_t chAlt1Deg, uint8_t chAlt2Type, uint8_t chAlt2Deg, uint8_t chAlt3Type, uint8_t chAlt3Deg, uint8_t chAlt4Type, uint8_t chAlt4Deg, uint8_t baShrpFlt, uint8_t baTonic, uint8_t baType, uint8_t baAlt1Type, uint8_t baAlt1Deg, uint8_t baAlt2Type, uint8_t baAlt2Deg)) -### inline void setFlexPerformance(void (*fptr)(uint8_t group, uint8_t form, uint8_t addrs, uint8_t channel, uint8_t status, uint8_t* text, uint8_t textLength)) -### inline void setFlexLyric(void (*fptr)(uint8_t group, uint8_t form, uint8_t addrs, uint8_t channel, uint8_t status, uint8_t* text, uint8_t textLength)) - -## UMP Stream Messages - -### inline void setMidiEndpoint(midiEndpointCallback) - -__Example Processing of Endpoint Get:__ -```c++ -void midiEndpointCallback(uint8_t majVer, uint8_t minVer, uint8_t filter){ - //Upon Recieving the filter it is important to return the information requested - if(filter & 0x1){ //Endpoint Info Notification - std::array ump = mtFMidiEndpointInfoNotify(3, false, true, false, false); - sendUMP(ump.data(),4); - } - - if(filter & 0x2) { - std::array ump = mtFMidiEndpointDeviceInfoNotify({DEVICE_MFRID}, {DEVICE_FAMID}, {DEVICE_MODELID}, {DEVICE_VERSIONID}); - sendUMP( ump.data(), 4); - } - - if(filter & 0x4) { - uint8_t friendlyNameLength = strlen(DEVICE_MIDIENPOINTNAME); - for(uint8_t offset=0; offset ump = mtFMidiEndpointTextNotify(MIDIENDPOINT_NAME_NOTIFICATION, offset, (uint8_t *) DEVICE_MIDIENPOINTNAME,friendlyNameLength); - sendUMP(ump.data(),4); - } - } - - if(filter & 0x8) { - int8_t piiLength = strlen(PRODUCT_INSTANCE_ID); - - for(uint8_t offset=0; offset ump = mtFMidiEndpointTextNotify(PRODUCT_INSTANCE_ID, offset, (uint8_t *) buff,piiLength); - sendUMP(ump.data(),4); - } - } - - if(filter & 0x10){ - std::array ump = mtFNotifyProtocol(0x1,false,false); - sendUMP(ump.data(),4); - } -} -``` -### inline void setMidiEndpointNameNotify(void (\*fptr)(struct umpData mess)) -### inline void setMidiEndpointProdIdNotify(void (\*fptr)(struct umpData mess)) -### inline void setMidiEndpointInfoNotify(void (\*fptr)(uint8_t majVer, uint8_t minVer, uint8_t numOfFuncBlocks, bool m2, bool m1, bool rxjr, bool txjr)) -### inline void setMidiEndpointDeviceInfoNotify(void (\*fptr)(std::array manuId, std::array familyId, std::array modelId, std::array version)) -### inline void setJRProtocolRequest(void (\*fptr)(uint8_t protocol, bool jrrx, bool jrtx)) -### inline void setJRProtocolNotify(void (\*fptr)(uint8_t protocol, bool jrrx, bool jrtx)) -### inline void setFunctionBlock(void (\*fptr)(uint8_t filter, uint8_t fbIdx)) -### inline void setFunctionBlockNotify(void (\*fptr)(uint8_t fbIdx, bool active, uint8_t direction, uint8_t firstGroup, uint8_t groupLength, bool midiCIValid, uint8_t midiCIVersion, uint8_t isMIDI1, uint8_t maxS8Streams)) -### inline void setFunctionBlockNotify(void (\*fptr)(struct umpData mess, uint8_t fbIdx)) - -### inline void setStartOfSeq(void (*fptr)()){startOfSeq = fptr; } -### inline void setEndOfFile(void (*fptr)()){endOfFile = fptr; } diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpToBytestream.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpToBytestream.md deleted file mode 100644 index a36f4ef38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpToBytestream.md +++ /dev/null @@ -1,43 +0,0 @@ -# umpToBytestream -Class used for translating from UMP to a MIDI 1.0 Bytestream - -## Public variables - -#### uint8_t group = 0; - -Group is set to the current group of the translated UMP - - -## Common methods -### void UMPStreamParse(uint32_t UMP) -Process incoming UMP's - -### bool availableBS() -Check if there are available Byte Stream bytes available. - -### uint8_t readBS() -Return the next byte. - -## Example: Using umpToBytestream - -```c++ - -umpToBytestream UMPConvertForDIN; - -int main(){ - ... - while(1){ - if (isUMPAvailable()) { - uint32_t ump = get_UMP(); - UMPConvertForDIN.UMPStreamParse(ump); - while (UMPConvertForDIN.availableBS()) { - uint8_t byte = UMPConvertForDIN.readBS(); - if (UMPConvertForDIN.group == 0) { //Check if data is on correct group - //Write byte to DIN Port - } - } - } - } -} -``` - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/utils.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/utils.md deleted file mode 100644 index a94ab9f96..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/utils.md +++ /dev/null @@ -1 +0,0 @@ -__Work in Progress__ \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h deleted file mode 100644 index 727c647a1..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h +++ /dev/null @@ -1,66 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef BSUMP_H -#define BSUMP_H - - -#include - -class bytestreamToUMP{ - - private: - uint8_t d0; - uint8_t d1; - - uint8_t sysex7State = 0; - uint8_t sysex7Pos = 0; - - uint8_t sysex[6] = {0,0,0,0,0,0}; - uint8_t messPos=0; - uint32_t umpMess[4] = {0,0,0,0}; - - //Channel Based Data - uint8_t bankMSB[16]; - uint8_t bankLSB[16]; - bool rpnMode[16]; - uint8_t rpnMsbValue[16]; - uint8_t rpnMsb[16]; - uint8_t rpnLsb[16]; - - void bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2); - - - public: - uint8_t defaultGroup = 0; - bool outputMIDI2 = false; - - bytestreamToUMP(); - - bool availableUMP(); - - uint32_t readUMP(); - - void bytestreamParse(uint8_t midi1Byte); - - -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h deleted file mode 100644 index 6d72a090f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MC7_H -#define MC7_H - -#include - -class mcoded7Decode{ - private: - uint8_t dumpPos=255; - uint8_t fBit=0; - uint8_t cnt=0; - uint8_t bits=0; - public: - uint8_t dump[7]; - uint16_t currentPos(); - void reset(); - void parseS7Byte(uint8_t s7Byte); -}; - - -class mcoded7Encode{ - - private: - uint16_t dumpPos = 1; - uint8_t cnt = 6; - public: - uint8_t dump[8]; - uint16_t currentPos(); - void reset(); - void parseByte(uint8_t s8Byte); -}; - -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h deleted file mode 100644 index 922c91aac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIMESSAGECREATE_H -#define MIDI2CPP_MIDICIMESSAGECREATE_H -#include "utils.h" -#include -#include - -namespace CIMessage { - - uint16_t sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId - ); - - uint16_t sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx - ); - - uint16_t - sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); - - uint16_t - sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, - uint16_t infoLength, uint8_t *infoData); - - uint16_t sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, - uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -//Profile Negotiation CI 1.1 - uint16_t sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol); - - uint16_t sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols); - - uint16_t sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t *protocol); - - uint16_t sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - uint16_t sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - - uint16_t - sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - uint16_t - sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled); - - uint16_t sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data); - - uint16_t sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t destination, - std::array profile, uint8_t InquiryTarget); - - uint16_t - sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t *data); - - - uint16_t sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - - uint16_t sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid); - - uint16_t sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t supportedFeatures); - - uint16_t sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - -} -#endif //MIDI2CPP_MIDICIMESSAGECREATE_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h deleted file mode 100644 index 768e4fae8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h +++ /dev/null @@ -1,280 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIPROCESSOR_H -#define MIDI2CPP_MIDICIPROCESSOR_H - -#include -#include -#include // this was missing and causing build errors -#include -#include - -#include "utils.h" - -typedef std::tuple reqId; //muid-requestId - -struct MIDICI{ - MIDICI() : umpGroup(255), deviceId(FUNCTION_BLOCK),ciType(255),ciVer(1), remoteMUID(0), localMUID(0), - _reqTupleSet(false), totalChunks(0), numChunk(0), partialChunkCount(0), requestId(255) {} - uint8_t umpGroup; - uint8_t deviceId; - uint8_t ciType; - uint8_t ciVer; - uint32_t remoteMUID; - uint32_t localMUID; - bool _reqTupleSet; - reqId _peReqIdx; - - uint8_t totalChunks; - uint8_t numChunk; - uint8_t partialChunkCount; - uint8_t requestId; -}; - - - - -class midiCIProcessor{ -private: - MIDICI midici; - uint8_t buffer[256]; - /* - * in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4,...product Id] - * in Profiles this is [pf1, pf1, pf3, pf4, pf5] - * in Protocols this is [pr1, pr2, pr3, pr4, pr5] - */ - - uint16_t intTemp[4]; - /* in Discovery this is [ciSupport, maxSysex, output path id] - * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length] - * in Profile On/Off/Enabled/Disabled, this is [numOfChannels] - * in PE this is [header length, Body Length] - */ - uint16_t sysexPos; - - //MIDI-CI callbacks - - // EB: update callbacks step1 - update pointer definitions to: - // std::function name = nullptr; - - std::function - checkMUID = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, - uint16_t maxSysex, uint8_t outputPathId)> recvDiscoveryRequest = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx)> recvDiscoveryReply = nullptr; - std::function recvEndPointInfo = nullptr; - std::function recvEndPointInfoReply = nullptr; - std::function recvNAK = nullptr; - std::function recvACK = nullptr; - std::function recvInvalidateMUID = nullptr; - std::function recvUnknownMIDICI = nullptr; - -//Protocol Negotiation - std::function recvProtocolAvailable = nullptr; - std::function recvSetProtocol = nullptr; - std::function recvSetProtocolConfirm = nullptr; - std::function recvProtocolTest = nullptr; - - void processProtocolSysex(uint8_t s7Byte); - -//Profiles - std::function recvProfileInquiry = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileEnabled = nullptr; - std::function)> recvSetProfileRemoved = nullptr; - std::function, uint8_t numberOfChannels)> recvSetProfileDisabled = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileOn = nullptr; - std::function profile)> recvSetProfileOff = nullptr; - std::function profile, uint16_t datalen, uint8_t* data, - uint16_t part, bool lastByteOfSet)> recvProfileSpecificData = nullptr; - std::function profile, uint8_t InquiryTarget)> recvSetProfileDetailsInquiry = nullptr; - std::function profile, uint8_t InquiryTarget, - uint16_t datalen, uint8_t* data)> recvSetProfileDetailsReply = nullptr; - - void processProfileSysex(uint8_t s7Byte); - -//Property Exchange - std::map peHeaderStr; - - std::function recvPECapabilities = nullptr; - std::function recvPECapabilitiesReplies = nullptr; - std::function recvPEGetInquiry = nullptr; - std::function recvPESetReply = nullptr; - std::function recvPESubReply = nullptr; - std::function recvPENotify = nullptr; - std::function recvPEGetReply = nullptr; - std::function recvPESetInquiry = nullptr; - std::function recvPESubInquiry = nullptr; - - void cleanupRequest(reqId peReqIdx); - - void processPESysex(uint8_t s7Byte); - -//Process Inquiry - std::function recvPICapabilities = nullptr; - std::function recvPICapabilitiesReply = nullptr; - - std::function recvPIMMReport = nullptr; - std::function recvPIMMReportReply = nullptr; - std::function recvPIMMReportEnd = nullptr; - - void processPISysex(uint8_t s7Byte); - -public: - - // EB: update callbacks step2 - update setCallback functions: - // inline void setCallback(std::function fptr){ pointerName = fptr; } - // - // Calling these functions from within a member class looks like: - // MIDICIHandler->setCheckMUID(std::bind(&YourClass::checkMUID, this, std::placeholders::_1, std::placeholders::_2)); - - inline void setCheckMUID(std::function fptr){ - checkMUID = fptr; } - void endSysex7(); - void startSysex7(uint8_t group, uint8_t deviceId); - void processMIDICI(uint8_t s7Byte); - - - inline void setRecvDiscovery(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId - )> fptr) { - recvDiscoveryRequest = fptr;} - inline void setRecvDiscoveryReply(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx - )> fptr) { - recvDiscoveryReply = fptr;} - inline void setRecvNAK(std::function fptr){ - recvNAK = fptr;} - inline void setRecvACK(std::function fptr){ - recvACK = fptr;} - inline void setRecvInvalidateMUID(std::function fptr){ - recvInvalidateMUID = fptr;} - inline void setRecvUnknownMIDICI(std::function fptr){ - recvUnknownMIDICI = fptr;} - - - inline void setRecvEndpointInfo(std::function fptr){ - recvEndPointInfo = fptr;} - inline void setRecvEndpointInfoReply(std::function fptr){ - recvEndPointInfoReply = fptr;} - - //Protocol Negotiation - inline void setRecvProtocolAvailable(std::function fptr){ - recvProtocolAvailable = fptr;} - inline void setRecvSetProtocol(std::function fptr){ - recvSetProtocol = fptr;} - inline void setRecvSetProtocolConfirm(std::function fptr){ - recvSetProtocolConfirm = fptr;} - inline void setRecvSetProtocolTest(std::function fptr){ - recvProtocolTest = fptr;} - - //Profiles - inline void setRecvProfileInquiry(std::function fptr){ recvProfileInquiry = fptr;} - inline void setRecvProfileEnabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileEnabled = fptr;} - inline void setRecvSetProfileRemoved(std::function)> fptr){ - recvSetProfileRemoved = fptr;} - inline void setRecvProfileDisabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileDisabled = fptr;} - inline void setRecvProfileOn(std::function profile, uint8_t numberOfChannels)> fptr){ - recvSetProfileOn = fptr;} - inline void setRecvProfileOff(std::function profile)> fptr){ - recvSetProfileOff = fptr;} - inline void setRecvProfileSpecificData(std::function profile, uint16_t datalen, - uint8_t* data, uint16_t part, bool lastByteOfSet)> fptr){ - recvProfileSpecificData = fptr;} - inline void setRecvProfileDetailsInquiry(std::function profile, - uint8_t InquiryTarget)> fptr){ - recvSetProfileDetailsInquiry = fptr;} - inline void setRecvProfileDetailsReply(std::function profile, - uint8_t InquiryTarget, uint16_t datalen, uint8_t* data)> fptr){ - recvSetProfileDetailsReply = fptr;} - - //Property Exchange - inline void setPECapabilities(std::function fptr){ - recvPECapabilities = fptr;} - inline void setPECapabilitiesReply(std::function fptr){ - recvPECapabilitiesReplies = fptr;} - inline void setRecvPEGetInquiry(std::function fptr){ - recvPEGetInquiry = fptr;} - inline void setRecvPESetReply(std::function fptr){ - recvPESetReply = fptr;} - inline void setRecvPESubReply(std::function fptr){ - recvPESubReply = fptr;} - inline void setRecvPENotify(std::function fptr){ - recvPENotify = fptr;} - inline void setRecvPEGetReply(std::function fptr){ - recvPEGetReply = fptr;} - inline void setRecvPESetInquiry(std::function fptr){ - recvPESetInquiry = fptr;} - inline void setRecvPESubInquiry(std::function fptr){ - recvPESubInquiry = fptr;} - -//Process Inquiry - - inline void setRecvPICapabilities(std::function fptr){ - recvPICapabilities = fptr;} - inline void setRecvPICapabilitiesReply(std::function fptr){ - recvPICapabilitiesReply = fptr;} - inline void setRecvPIMMReport(std::function fptr){ - recvPIMMReport = fptr;} - inline void setRecvPIMMReportReply(std::function fptr){ - recvPIMMReportReply = fptr;} - inline void setRecvPIMMEnd(std::function fptr){ - recvPIMMReportEnd = fptr;} - -}; - -#endif //MIDI2CPP_MIDICIPROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h deleted file mode 100644 index 4e4862a79..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h +++ /dev/null @@ -1,132 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MESSAGE_CREATE_H -#define MESSAGE_CREATE_H -#include -#include - -namespace UMPMessage { - uint32_t mt0NOOP(); - - uint32_t mt0JRClock(uint16_t clockTime); - - uint32_t mt0JRTimeStamp(uint16_t timestamp); - - uint32_t mt0DeltaClockTick(uint16_t ticksPerQtrNote); - - uint32_t mt0DeltaTicksSinceLast(uint16_t noTicksSince); - - - uint32_t mt1MTC(uint8_t group, uint8_t timeCode); - - uint32_t mt1SPP(uint8_t group, uint16_t position); - - uint32_t mt1SongSelect(uint8_t group, uint8_t song); - - uint32_t mt1TuneRequest(uint8_t group); - - uint32_t mt1TimingClock(uint8_t group); - - uint32_t mt1SeqStart(uint8_t group); - - uint32_t mt1SeqCont(uint8_t group); - - uint32_t mt1SeqStop(uint8_t group); - - uint32_t mt1ActiveSense(uint8_t group); - - uint32_t mt1SystemReset(uint8_t group); - - - uint32_t mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure); - - uint32_t mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value); - - uint32_t mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program); - - uint32_t mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure); - - uint32_t mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value); - - std::array mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx); - - - std::array mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure); - - std::array mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch); - - std::array mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value); - - std::array mt4RPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4NRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4RelativeRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4RelativeNRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4ChannelPressure(uint8_t group, uint8_t channel, uint32_t pressure); - - std::array mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, - uint8_t bank, uint8_t index); - - - std::array mtFMidiEndpoint(uint8_t filter); - - std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); - - std::array - mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version); - - std::array - mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); - - std::array - mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, - uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); - - std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFStartOfSeq(); - - std::array mtFEndOfFile(); - - std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); - - std::array mtFNotifyProtocol(uint8_t protocol, bool jrrx, bool jrtx); - -} -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h deleted file mode 100644 index 0e81025fb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h +++ /dev/null @@ -1,177 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#ifndef UMP_PROCESSOR_H -#define UMP_PROCESSOR_H - -#include -#include -#include - -#include "utils.h" - -struct umpCVM{ - umpCVM() : umpGroup(255), messageType(255), status(0),channel(255),note(255), value(0), index(0), bank(0), - flag1(false), flag2(false) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; - -struct umpGeneric{ - umpGeneric() : umpGroup(255), status(0), value(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; - -struct umpData{ - umpData() : umpGroup(255), streamId(0), status(0), form(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t streamId; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; - -class umpProcessor{ - - private: - - uint32_t umpMess[4]{}; - uint8_t messPos=0; - - // Message type 0x0 callbacks - std::function utilityMessage = nullptr; - - // MIDI 1 and 2 CVM callbacks - std::function channelVoiceMessage = nullptr; - - //System Messages callbacks - std::function systemMessage = nullptr; - - //Sysex - std::function sendOutSysex = nullptr; - - // Message Type 0xD callbacks - std::function flexTempo = nullptr; - std::function flexTimeSig = nullptr; - std::function flexMetronome = nullptr; - std::function flexKeySig = nullptr; - std::function flexChord = nullptr; - std::function flexPerformance = nullptr; - std::function flexLyric = nullptr; - - // Message Type 0xF callbacks - std::function midiEndpoint = nullptr; - std::function functionBlock = nullptr; - std::function - midiEndpointInfo = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version)> midiEndpointDeviceInfo = nullptr; - std::function midiEndpointName = nullptr; - std::function midiEndpointProdId = nullptr; - - std::function midiEndpointJRProtocolReq = nullptr; - std::function midiEndpointJRProtocolNotify = nullptr; - - std::function functionBlockInfo = nullptr; - std::function functionBlockName = nullptr; - std::function startOfSeq = nullptr; - std::function endOfFile = nullptr; - - //Handle new Messages - std::function unknownUMPMessage = nullptr; - - public: - - void clearUMP(); - void processUMP(uint32_t UMP); - - //-----------------------Handlers --------------------------- - inline void setUtility(std::function fptr){ utilityMessage = fptr; } - inline void setCVM(std::function fptr ){ channelVoiceMessage = fptr; } - inline void setSystem(std::function fptr) { systemMessage = fptr; } - inline void setSysEx(std::function fptr ){sendOutSysex = fptr; } - - //---------- Flex Data - inline void setFlexTempo(std::function fptr ){ flexTempo = fptr; } - inline void setFlexTimeSig(std::function fptr){ - flexTimeSig = fptr; } - inline void setFlexMetronome(std::function fptr){ flexMetronome = fptr; } - inline void setFlexKeySig(std::function fptr){ - flexKeySig = fptr; } - inline void setFlexChord(std::function fptr){ - flexChord = fptr; } - inline void setFlexPerformance(std::function fptr){ flexPerformance = fptr; } - inline void setFlexLyric(std::function fptr){ flexLyric = fptr; } - - //---------- UMP Stream - - inline void setMidiEndpoint(std::function fptr){ - midiEndpoint = fptr; } - inline void setMidiEndpointNameNotify(std::function fptr){ - midiEndpointName = fptr; } - inline void setMidiEndpointProdIdNotify(std::function fptr){ - midiEndpointProdId = fptr; } - inline void setMidiEndpointInfoNotify(std::function fptr){ - midiEndpointInfo = fptr; } - inline void setMidiEndpointDeviceInfoNotify(std::function manuId, std::array familyId, - std::array modelId, std::array version)> fptr){ - midiEndpointDeviceInfo = fptr; } - inline void setJRProtocolRequest(std::function fptr){ midiEndpointJRProtocolReq = fptr;} - inline void setJRProtocolNotify(std::function fptr){ - midiEndpointJRProtocolNotify = fptr;} - - inline void setFunctionBlock(std::function fptr){ functionBlock = fptr; } - inline void setFunctionBlockNotify(std::function fptr){ - functionBlockInfo = fptr; } - inline void setFunctionBlockNameNotify(std::function fptr){functionBlockName = fptr; } - inline void setStartOfSeq(std::function fptr){startOfSeq = fptr; } - inline void setEndOfFile(std::function fptr){endOfFile = fptr; } - - //Unknown UMP - inline void setUnknownUMP(std::function fptr){unknownUMPMessage = fptr; } - -}; - -#endif //UMP_PROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h deleted file mode 100644 index 77c4e97c6..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h +++ /dev/null @@ -1,46 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UMPBS_H -#define UMPBS_H - - -#include - -class umpToBytestream{ - - private: - uint8_t mType; - uint32_t ump64word1; - - uint8_t UMPPos=0; - uint8_t bsOutLength=0; - uint8_t bsOut[12]; - - public: - uint8_t group; - - umpToBytestream(); - bool availableBS(); - uint8_t readBS(); - void UMPStreamParse(uint32_t UMP); -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h deleted file mode 100644 index f92125503..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h +++ /dev/null @@ -1,176 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UTILS_H -#define UTILS_H - -#include -#include - - -#define NOTE_OFF 0x80 -#define NOTE_ON 0x90 -#define KEY_PRESSURE 0xA0 -#define CC 0xB0 -#define RPN 0x20 -#define NRPN 0x30 -#define RPN_RELATIVE 0x40 -#define NRPN_RELATIVE 0x50 -#define PROGRAM_CHANGE 0xC0 -#define CHANNEL_PRESSURE 0xD0 -#define PITCH_BEND 0xE0 -#define PITCH_BEND_PERNOTE 0x60 -#define NRPN_PERNOTE 0x10 -#define RPN_PERNOTE 0x00 -#define PERNOTE_MANAGE 0xF0 - -#define SYSEX_START 0xF0 -#define TIMING_CODE 0xF1 -#define SPP 0xF2 -#define SONG_SELECT 0xF3 -#define TUNEREQUEST 0xF6 -#define SYSEX_STOP 0xF7 -#define TIMINGCLOCK 0xF8 -#define SEQSTART 0xFA -#define SEQCONT 0xFB -#define SEQSTOP 0xFC -#define ACTIVESENSE 0xFE -#define SYSTEMRESET 0xFF - -#define UTILITY_NOOP 0x0 -#define UTILITY_JRCLOCK 0x1 -#define UTILITY_JRTS 0x2 -#define UTILITY_DELTACLOCKTICK 0x3 -#define UTILITY_DELTACLOCKSINCE 0x4 - -#define FLEXDATA_COMMON 0x00 -#define FLEXDATA_COMMON_TEMPO 0x00 -#define FLEXDATA_COMMON_TIMESIG 0x01 -#define FLEXDATA_COMMON_METRONOME 0x02 -#define FLEXDATA_COMMON_KEYSIG 0x05 -#define FLEXDATA_COMMON_CHORD 0x06 -#define FLEXDATA_PERFORMANCE 0x01 -#define FLEXDATA_LYRIC 0x02 - -#define MIDIENDPOINT 0x000 -#define MIDIENDPOINT_INFO_NOTIFICATION 0x001 -#define MIDIENDPOINT_DEVICEINFO_NOTIFICATION 0x002 -#define MIDIENDPOINT_NAME_NOTIFICATION 0x003 -#define MIDIENDPOINT_PRODID_NOTIFICATION 0x004 -#define MIDIENDPOINT_PROTOCOL_REQUEST 0x005 -#define MIDIENDPOINT_PROTOCOL_NOTIFICATION 0x006 -#define STARTOFSEQ 0x020 -#define ENDOFFILE 0x021 - -#define FUNCTIONBLOCK 0x010 -#define FUNCTIONBLOCK_INFO_NOTFICATION 0x011 -#define FUNCTIONBLOCK_NAME_NOTIFICATION 0x012 - -#ifndef S7_BUFFERLEN -#define S7_BUFFERLEN 36 -#endif -#define S7UNIVERSAL_NRT 0x7E -#define S7UNIVERSAL_RT 0x7F -#define S7MIDICI 0x0D - -#define MIDICI_DISCOVERY 0x70 -#define MIDICI_DISCOVERYREPLY 0x71 -#define MIDICI_ENDPOINTINFO 0x72 -#define MIDICI_ENDPOINTINFO_REPLY 0x73 -#define MIDICI_INVALIDATEMUID 0x7E -#define MIDICI_ACK 0x7D -#define MIDICI_NAK 0x7F - -#define MIDICI_PROTOCOL_NEGOTIATION 0x10 -#define MIDICI_PROTOCOL_NEGOTIATION_REPLY 0x11 -#define MIDICI_PROTOCOL_SET 0x12 -#define MIDICI_PROTOCOL_TEST 0x13 -#define MIDICI_PROTOCOL_TEST_RESPONDER 0x14 -#define MIDICI_PROTOCOL_CONFIRM 0x15 - -#define MIDICI_PROFILE_INQUIRY 0x20 -#define MIDICI_PROFILE_INQUIRYREPLY 0x21 -#define MIDICI_PROFILE_SETON 0x22 -#define MIDICI_PROFILE_SETOFF 0x23 -#define MIDICI_PROFILE_ENABLED 0x24 -#define MIDICI_PROFILE_DISABLED 0x25 -#define MIDICI_PROFILE_ADD 0x26 -#define MIDICI_PROFILE_REMOVE 0x27 -#define MIDICI_PROFILE_DETAILS_INQUIRY 0x28 -#define MIDICI_PROFILE_DETAILS_REPLY 0x29 -#define MIDICI_PROFILE_SPECIFIC_DATA 0x2F - -#define MIDICI_PE_CAPABILITY 0x30 -#define MIDICI_PE_CAPABILITYREPLY 0x31 -#define MIDICI_PE_GET 0x34 -#define MIDICI_PE_GETREPLY 0x35 -#define MIDICI_PE_SET 0x36 -#define MIDICI_PE_SETREPLY 0x37 -#define MIDICI_PE_SUB 0x38 -#define MIDICI_PE_SUBREPLY 0x39 -#define MIDICI_PE_NOTIFY 0x3F - -#define MIDICI_PI_CAPABILITY 0x40 -#define MIDICI_PI_CAPABILITYREPLY 0x41 -#define MIDICI_PI_MM_REPORT 0x42 -#define MIDICI_PI_MM_REPORT_REPLY 0x43 -#define MIDICI_PI_MM_REPORT_END 0x44 - -#define MIDICI_PE_COMMAND_START 1 -#define MIDICI_PE_COMMAND_END 2 -#define MIDICI_PE_COMMAND_PARTIAL 3 -#define MIDICI_PE_COMMAND_FULL 4 -#define MIDICI_PE_COMMAND_NOTIFY 5 - -#define MIDICI_PE_ACTION_COPY 1 -#define MIDICI_PE_ACTION_MOVE 2 -#define MIDICI_PE_ACTION_DELETE 3 -#define MIDICI_PE_ACTION_CREATE_DIR 4 - -#define MIDICI_PE_ASCII 1 -#define MIDICI_PE_MCODED7 2 -#define MIDICI_PE_MCODED7ZLIB 3 - -#define FUNCTION_BLOCK 0x7F -#define M2_CI_BROADCAST 0xFFFFFFF - -#define UMP_VER_MAJOR 1 -#define UMP_VER_MINOR 1 - -#ifndef EXP_MIDICI_PE_EXPERIMENTAL_PATH -#define EXP_MIDICI_PE_EXPERIMENTAL_PATH 1 -#endif - -#define UMP_UTILITY 0x0 -#define UMP_SYSTEM 0x1 -#define UMP_M1CVM 0x2 -#define UMP_SYSEX7 0x3 -#define UMP_M2CVM 0x4 -#define UMP_DATA 0x5 -#define UMP_FLEX_DATA 0xD -#define UMP_MIDI_ENDPOINT 0xF - -namespace M2Utils { -uint32_t scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -uint32_t scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/bytestreamToUMP.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/bytestreamToUMP.cpp deleted file mode 100644 index 915def422..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/bytestreamToUMP.cpp +++ /dev/null @@ -1,228 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - - -#include "utils.h" -#include "bytestreamToUMP.h" - -#ifndef clear -#define clear(dest, c,n ) for(uint16_t i = 0 ; i < n ; i ++) dest[i] = c; -#endif - -bytestreamToUMP::bytestreamToUMP(){ - clear(bankMSB, 255, sizeof(bankMSB)); - clear(bankLSB, 255, sizeof(bankLSB)); - clear(rpnMsbValue, 255, sizeof(rpnMsbValue)); - clear(rpnMsb, 255, sizeof(rpnMsb)); - clear(rpnLsb, 255, sizeof(rpnLsb)); -} - -void bytestreamToUMP::bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2){ - uint8_t status = b0 & 0xF0; - - if(d0 >= TIMING_CODE){ - umpMess[messPos] = ((UMP_SYSTEM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (b0 + 0L) << 16; - umpMess[messPos] += b1 << 8; - umpMess[messPos] += b2; - messPos++; - }else if(status>=NOTE_OFF && status<=PITCH_BEND){ - if(outputMIDI2){ - uint8_t channel = b0 & 0xF; - - if(status==NOTE_ON && b2==0){ - status=NOTE_OFF; - b2 = 0x40; - } - - umpMess[messPos] = ((UMP_M2CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (status + channel + 0L)<<16; - - if(status==NOTE_ON || status==NOTE_OFF){ - umpMess[messPos] += (b1 + 0L) <<8; - umpMess[messPos+1] = (M2Utils::scaleUp(b2,7,16) << 16); - } else if (status == KEY_PRESSURE){ - umpMess[messPos] += (b1 + 0L) <<8; - umpMess[messPos+1] = M2Utils::scaleUp(b2,7,32); - } else if (status == PITCH_BEND){ - umpMess[messPos+1] = M2Utils::scaleUp((b1<<7) + b2,14,32); - } else if (status == PROGRAM_CHANGE){ - if(bankMSB[channel]!=255 && bankLSB[channel]!=255){ - umpMess[messPos] += 1; - umpMess[messPos+1] += (bankMSB[channel] <<8) + bankLSB[channel ]; - } - umpMess[messPos+1] += (b1 + 0L) << 24; - } else if (status == CHANNEL_PRESSURE){ - umpMess[messPos+1] = M2Utils::scaleUp(b1,7,32); - } else if (status == CC){ - switch(b1){ - case 0: - bankMSB[channel] = b2; - return; - case 32: - bankLSB[channel] = b2; - return; - - case 6: //RPN MSB Value - if(rpnMsb[channel]==255 || rpnLsb[channel]==255){ - return; - } - - if(rpnMode[channel] && rpnMsb[channel] == 0 && (rpnLsb[channel] == 0 || rpnLsb[channel] == 6)){ - status = rpnMode[channel]? RPN: NRPN; - - umpMess[messPos] = ((UMP_M2CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (status + channel + 0L)<<16; - umpMess[messPos] += ((int)rpnMsb[channel]<<7) + rpnLsb[channel] + 0L; - umpMess[messPos+1] = M2Utils::scaleUp(((int)b2<<7),14,32); - - }else{ - rpnMsbValue[channel] = b2; - return; - } - break; - case 38: //RPN LSB Value - if(rpnMsb[channel]==255 || rpnLsb[channel]==255){ - return; - } - status = rpnMode[channel]? RPN: NRPN; - - umpMess[messPos] = ((UMP_M2CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (status + channel + 0L)<<16; - umpMess[messPos] += ((int)rpnMsb[channel]<<7) + rpnLsb[channel] + 0L; - umpMess[messPos+1] = M2Utils::scaleUp(((int)rpnMsbValue[channel]<<7) + b2,14,32); - break; - case 99: - rpnMode[channel] = false; - rpnMsb[channel] = b2; - return; - case 98: - rpnMode[channel] = false; - rpnLsb[channel] = b2; - return; - case 101: - rpnMode[channel] = true; - rpnMsb[channel] = b2; - return; - - case 100: - rpnMode[channel] = true; - rpnLsb[channel] = b2; - return; - - default: - umpMess[messPos] += (b1 + 0L) <<8; - umpMess[messPos+1] = M2Utils::scaleUp(b2,7,32); - break; - } - } - messPos+=2; - - } else { - umpMess[messPos] = ((UMP_M1CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (b0 + 0L) << 16; - umpMess[messPos] += b1 << 8; - umpMess[messPos] += b2; - - messPos++; - } - } - -} - - -bool bytestreamToUMP::availableUMP(){ - return messPos; -} - -uint32_t bytestreamToUMP::readUMP(){ - uint32_t mess = umpMess[0]; - for(uint8_t i=0;i= TIMINGCLOCK) { - bsToUMP(midi1Byte,0,0); - return; - } - - if (midi1Byte & NOTE_OFF) { // Status byte received - d0 = midi1Byte; - d1 = 255; - - if (midi1Byte == SYSEX_START){ - sysex7State = 1; - sysex7Pos = 0; - }else - if (midi1Byte == SYSEX_STOP){ - - umpMess[messPos] = ((UMP_SYSEX7 << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += ((sysex7State == 1?0:3) + 0L) << 20; - umpMess[messPos] += ((sysex7Pos + 0L) << 16) ; - umpMess[messPos++] += (sysex[0] << 8) + sysex[1]; - umpMess[messPos++] = ((sysex[2] + 0L) << 24) + ((sysex[3] + 0L)<< 16) + (sysex[4] << 8) + sysex[5]; - - sysex7State = 0; - clear(sysex, 0, sizeof(sysex)); - } - } else - if(sysex7State >= 1){ - //Check IF new UMP Message Type 3 - if(sysex7Pos%6 == 0 && sysex7Pos !=0){ - umpMess[messPos] = ((UMP_SYSEX7 << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (sysex7State + 0L) << 20; - umpMess[messPos] += 6L << 16; - umpMess[messPos++] += (sysex[0] << 8) + sysex[1]; - umpMess[messPos++] = ((sysex[2] + 0L) << 24) + ((sysex[3] + 0L)<< 16) + (sysex[4] << 8) + sysex[5] + 0L; - clear(sysex, 0, sizeof(sysex)); - sysex7State=2; - sysex7Pos=0; - } - - sysex[sysex7Pos] = midi1Byte; - sysex7Pos++; - } else - if (d1 != 255) { // Second byte - bsToUMP(d0, d1, midi1Byte); - d1 = 255; - } else if (d0){ // status byte set - if ( - (d0 & 0xF0) == PROGRAM_CHANGE - || (d0 & 0xF0) == CHANNEL_PRESSURE - || d0 == TIMING_CODE - || d0 == SONG_SELECT - ) { - bsToUMP(d0, midi1Byte, 0); - return; - } else - if (d0 < SYSEX_START || d0 == SPP) { // First data byte - d1=midi1Byte; - return; - } - } -} - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/mcoded7.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/mcoded7.cpp deleted file mode 100644 index 47028f13a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/mcoded7.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "mcoded7.h" - -#ifndef clear -#define clear(dest, c,n ) for(uint16_t i = 0 ; i < n ; i ++) dest[i] = c; -#endif - - -uint16_t mcoded7Decode::currentPos(){ return dumpPos;} - -void mcoded7Decode::reset(){ - clear(dump,0,7); - fBit=0; bits=0;dumpPos=255; -} - -void mcoded7Decode::parseS7Byte(uint8_t s7Byte){ - if (dumpPos == 255) { - reset(); - bits = s7Byte; - dumpPos=0; - } else { - fBit = ((bits >> (6 - dumpPos)) & 1) << 7; - dump[dumpPos++] = s7Byte | fBit; - } -} - - -uint16_t mcoded7Encode::currentPos(){ return dumpPos-1;} - -void mcoded7Encode::reset(){ - clear(dump,0,8); - dumpPos=1; cnt = 6; -} - -void mcoded7Encode::parseByte(uint8_t s8Byte){ - uint8_t c = s8Byte & 0x7F; - uint8_t msb = s8Byte >> 7; - dump[0] |= msb << cnt; - dump[dumpPos] = c; - if (cnt == 0) { - cnt = 6; - } else { - cnt--; - } - dumpPos++; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIMessageCreate.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIMessageCreate.cpp deleted file mode 100644 index f1feacb78..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIMessageCreate.cpp +++ /dev/null @@ -1,522 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "midiCIMessageCreate.h" - -void setBytesFromNumbers(uint8_t *message, uint32_t number, uint16_t *start, uint8_t amount) { - for (int amountC = amount; amountC > 0; amountC--) { - message[(*start)++] = number & 127; - number = number >> 7; - } -} - -void concatSysexArray(uint8_t *sysex, uint16_t *start, uint8_t *add, uint16_t len) { - uint16_t i; - for (i = 0; i < len; i++) { - sysex[(*start)++] = add[i]; - } -} - -void createCIHeader(uint8_t *sysexHeader, uint8_t deviceId, uint8_t ciType, uint8_t ciVer, uint32_t localMUID, - uint32_t remoteMUID) { - sysexHeader[0] = S7UNIVERSAL_NRT; - sysexHeader[1] = deviceId; - sysexHeader[2] = S7MIDICI; - sysexHeader[3] = ciType; - sysexHeader[4] = ciVer; - uint16_t length = 5; - setBytesFromNumbers(sysexHeader, localMUID, &length, 4); - setBytesFromNumbers(sysexHeader, remoteMUID, &length, 4); -} - -uint16_t sendDiscovery(uint8_t *sysex, uint8_t midiCIVer, uint8_t ciType, uint32_t srcMUID, uint32_t destMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx -) { - - createCIHeader(sysex, 0x7F, ciType, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, manuId.data(), 3); - concatSysexArray(sysex, &length, familyId.data(), 2); - concatSysexArray(sysex, &length, modelId.data(), 2); - concatSysexArray(sysex, &length, version.data(), 4); - - //Capabilities - sysex[length++] = ciSupport; - setBytesFromNumbers(sysex, sysExMax, &length, 4); - if (midiCIVer < 2) { - return length; - } - sysex[length++] = outputPathId; - - if (ciType == MIDICI_DISCOVERY) { - return length; - } else { - sysex[length++] = fbIdx; - return length; - } -} - -uint16_t CIMessage::sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId -) { - return sendDiscovery(sysex, midiCIVer, MIDICI_DISCOVERY, srcMUID, M2_CI_BROADCAST, - manuId, familyId, - modelId, version, - ciSupport, sysExMax, - outputPathId, - 0 - ); -} - -uint16_t CIMessage::sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx -) { - return sendDiscovery(sysex, midiCIVer, MIDICI_DISCOVERYREPLY, srcMUID, destMUID, - manuId, familyId, - modelId, version, - ciSupport, sysExMax, - outputPathId, - fbIdx - ); -} - -uint16_t -CIMessage::sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t status) { - - if (midiCIVer < 2) return 0; - createCIHeader(sysex, 0x7F, MIDICI_ENDPOINTINFO, midiCIVer, srcMUID, destMUID); - sysex[13] = status; - return 14; -} - -uint16_t -CIMessage::sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t status, - uint16_t infoLength, uint8_t *infoData) { - if (midiCIVer < 2) return 0; - createCIHeader(sysex, 0x7F, MIDICI_ENDPOINTINFO_REPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = status; - uint16_t length = 14; - setBytesFromNumbers(sysex, infoLength, &length, 2); - concatSysexArray(sysex, &length, infoData, infoLength); - return length; -} - - -uint16_t sendACKNAK(uint8_t *sysex, uint8_t midiCIVer, uint8_t ciType, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage) { - createCIHeader(sysex, destination, ciType, midiCIVer, srcMUID, destMUID); - - uint16_t length = 13; - if (midiCIVer < 2) { - return length; - } - - sysex[length++] = originalSubId; - sysex[length++] = statusCode; - sysex[length++] = statusData; - - concatSysexArray(sysex, &length, ackNakDetails, 5); - setBytesFromNumbers(sysex, messageLength, &length, 2); - concatSysexArray(sysex, &length, ackNakMessage, messageLength); - return length; -} - -uint16_t CIMessage::sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage) { - - return sendACKNAK(sysex, midiCIVer, MIDICI_ACK, srcMUID, destMUID, destination, originalSubId, statusCode, - statusData, ackNakDetails, - messageLength, ackNakMessage); - -} - -uint16_t CIMessage::sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage) { - - return sendACKNAK(sysex, midiCIVer, MIDICI_NAK, srcMUID, destMUID, destination, originalSubId, statusCode, - statusData, ackNakDetails, - messageLength, ackNakMessage); - -} - -uint16_t CIMessage::sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid) { - createCIHeader(sysex, 0x7F, MIDICI_INVALIDATEMUID, midiCIVer, srcMUID, M2_CI_BROADCAST); - setBytesFromNumbers(sysex, terminateMuid, 0, 4); - return 17; -} - - -uint16_t CIMessage::sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_NEGOTIATION, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - concatSysexArray(sysex, &length, protocols, numProtocols * 5); - if (midiCIVer < 2) { - return length; - } - concatSysexArray(sysex, &length, currentProtocol, 5); - return length; - -} - -uint16_t CIMessage::sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_NEGOTIATION_REPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - concatSysexArray(sysex, &length, protocols, numProtocols * 5); - return length; -} - - -uint16_t CIMessage::sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel, uint8_t *protocol) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_SET, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - concatSysexArray(sysex, &length, protocol, 5); - return length; -} - -uint16_t CIMessage::sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_TEST, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - uint8_t testData[48] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; - concatSysexArray(sysex, &length, testData, 48); - return length; -} - -uint16_t CIMessage::sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_TEST_RESPONDER, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - uint8_t testData[48] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; - concatSysexArray(sysex, &length, testData, 48); - return length; -} - -//Profiles - -uint16_t CIMessage::sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination) { - createCIHeader(sysex, destination, MIDICI_PROFILE_INQUIRY, midiCIVer, srcMUID, destMUID); - return 13; -} - - -uint16_t -CIMessage::sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled) { - createCIHeader(sysex, destination, MIDICI_PROFILE_INQUIRYREPLY, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - setBytesFromNumbers(sysex, profilesEnabledLen, &length, 2); - concatSysexArray(sysex, &length, profilesEnabled, profilesEnabledLen * 5); - setBytesFromNumbers(sysex, profilesDisabledLen, &length, 2); - concatSysexArray(sysex, &length, profilesDisabled, profilesDisabledLen * 5); - return length; -} - -uint16_t -sendProfileMessage(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile, - uint8_t numberOfChannels, uint8_t ciType) { - createCIHeader(sysex, destination, ciType, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - if (midiCIVer == 1 || ciType == MIDICI_PROFILE_ADD || ciType == MIDICI_PROFILE_REMOVE) { - return length; - } - setBytesFromNumbers(sysex, numberOfChannels, &length, 2); - return length; - -} - -uint16_t -CIMessage::sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, 0, - (uint8_t) MIDICI_PROFILE_ADD); -} - -uint16_t -CIMessage::sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, 0, - (uint8_t) MIDICI_PROFILE_REMOVE); -} - -uint16_t -CIMessage::sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile, uint8_t numberOfChannels) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, numberOfChannels, - (uint8_t) MIDICI_PROFILE_SETON); -} - -uint16_t -CIMessage::sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, 0, - (uint8_t) MIDICI_PROFILE_SETOFF); -} - -uint16_t -CIMessage::sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, - uint8_t numberOfChannels) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, numberOfChannels, - (uint8_t) MIDICI_PROFILE_ENABLED); -} - -uint16_t -CIMessage::sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, - uint8_t numberOfChannels) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, numberOfChannels, - (uint8_t) MIDICI_PROFILE_DISABLED); -} - - -uint16_t -CIMessage::sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data) { - createCIHeader(sysex, destination, MIDICI_PROFILE_SPECIFIC_DATA, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - setBytesFromNumbers(sysex, datalen, &length, 4); - concatSysexArray(sysex, &length, data, datalen); - return length; -} - -uint16_t CIMessage::sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, uint8_t InquiryTarget) { - if (midiCIVer < 2) return 0; - createCIHeader(sysex, destination, MIDICI_PROFILE_DETAILS_INQUIRY, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - sysex[length++] = InquiryTarget; - return length; -} - -uint16_t -CIMessage::sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, - uint8_t *data) { - if (midiCIVer < 2) return 0; - createCIHeader(sysex, destination, MIDICI_PROFILE_DETAILS_REPLY, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - sysex[length++] = InquiryTarget; - setBytesFromNumbers(sysex, datalen, &length, 2); - concatSysexArray(sysex, &length, data, datalen); - return length; -} - - -// Property Exchange - -uint16_t CIMessage::sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) { - createCIHeader(sysex, 0x7F, MIDICI_PE_CAPABILITY, midiCIVer, srcMUID, destMUID); - sysex[13] = numSimulRequests; - if (midiCIVer == 1) { - return 14; - } - sysex[14] = majVer; - sysex[15] = minVer; - return 16; -} - -uint16_t CIMessage::sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) { - createCIHeader(sysex, 0x7F, MIDICI_PE_CAPABILITYREPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = numSimulRequests; - if (midiCIVer == 1) { - return 14; - } - sysex[14] = majVer; - sysex[15] = minVer; - return 16; -} - - -uint16_t sendPEWithBody(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body, uint8_t ciType) { - createCIHeader(sysex, 0x7F, ciType, midiCIVer, srcMUID, destMUID); - sysex[13] = requestId; - uint16_t length = 14; - setBytesFromNumbers(sysex, headerLen, &length, 2); - concatSysexArray(sysex, &length, header, headerLen); - setBytesFromNumbers(sysex, numberOfChunks, &length, 2); - setBytesFromNumbers(sysex, numberOfThisChunk, &length, 2); - setBytesFromNumbers(sysex, bodyLength, &length, 2); - concatSysexArray(sysex, &length, body, bodyLength); - return length; -} - -uint16_t CIMessage::sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body) { - return sendPEWithBody(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, numberOfChunks, - numberOfThisChunk, - bodyLength, body, (uint8_t) MIDICI_PE_SUB); -} - -uint16_t CIMessage::sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body) { - return sendPEWithBody(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, numberOfChunks, - numberOfThisChunk, - bodyLength, body, (uint8_t) MIDICI_PE_SET); -} - -uint16_t -CIMessage::sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, - uint16_t numberOfThisChunk, uint16_t bodyLength, uint8_t *body) { - return sendPEWithBody(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, numberOfChunks, - numberOfThisChunk, - bodyLength, body, (uint8_t) MIDICI_PE_GETREPLY); -} - - -uint16_t sendPEHeaderOnly(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint8_t ciType) { - createCIHeader(sysex, 0x7F, ciType, midiCIVer, srcMUID, destMUID); - sysex[13] = requestId; - uint16_t length = 14; - setBytesFromNumbers(sysex, headerLen, &length, 2); - concatSysexArray(sysex, &length, header, headerLen); - setBytesFromNumbers(sysex, 1, &length, 2); - setBytesFromNumbers(sysex, 1, &length, 2); - setBytesFromNumbers(sysex, 0, &length, 2); - return length; -} - -uint16_t CIMessage::sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_GET); -} - -uint16_t -CIMessage::sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_SUBREPLY); -} - -uint16_t -CIMessage::sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_NOTIFY); -} - -uint16_t -CIMessage::sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_SETREPLY); -} - -//Process Inquiry -uint16_t CIMessage::sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID) { - if (midiCIVer == 1) return 0; - createCIHeader(sysex, 0x7F, MIDICI_PI_CAPABILITY, midiCIVer, srcMUID, destMUID); - return 13; -} - -uint16_t CIMessage::sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t supportedFeatures) { - createCIHeader(sysex, 0x7F, MIDICI_PI_CAPABILITYREPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = supportedFeatures; - return 14; -} - - -uint16_t -CIMessage::sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap) { - createCIHeader(sysex, destination, MIDICI_PI_MM_REPORT, midiCIVer, srcMUID, destMUID); - sysex[13] = MDC; - sysex[14] = systemBitmap; - sysex[15] = 0; - sysex[16] = chanContBitmap; - sysex[17] = chanNoteBitmap; - return 18; -} - -uint16_t -CIMessage::sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap) { - createCIHeader(sysex, destination, MIDICI_PI_MM_REPORT_REPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = systemBitmap; - sysex[14] = 0; - sysex[15] = chanContBitmap; - sysex[16] = chanNoteBitmap; - return 17; -} - -uint16_t -CIMessage::sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination) { - createCIHeader(sysex, destination, MIDICI_PI_MM_REPORT_END, midiCIVer, srcMUID, destMUID); - return 13; -} - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIProcessor.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIProcessor.cpp deleted file mode 100644 index d6397f388..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIProcessor.cpp +++ /dev/null @@ -1,808 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "midiCIProcessor.h" - -void midiCIProcessor::endSysex7(){ - if(midici._reqTupleSet){ - cleanupRequest(midici._peReqIdx); - } -} - -void midiCIProcessor::startSysex7(uint8_t group, uint8_t deviceId){ - - sysexPos = 0; - buffer[0]='\0'; - midici = MIDICI(); - midici.deviceId = deviceId; - midici.umpGroup = group; -} - -void midiCIProcessor::cleanupRequest(reqId peReqIdx){ - peHeaderStr.erase(peReqIdx); -} - -void midiCIProcessor::processMIDICI(uint8_t s7Byte){ - //printf("s7 Byte %d\n", s7Byte); - if(sysexPos == 3){ - midici.ciType = s7Byte; - } - - if(sysexPos == 4){ - midici.ciVer = s7Byte; - } - if(sysexPos >= 5 && sysexPos <= 8){ - midici.remoteMUID += s7Byte << (7 * (sysexPos - 5)); - } - - if(sysexPos >= 9 && sysexPos <= 12){ - midici.localMUID += s7Byte << (7 * (sysexPos - 9)); - } - - if(sysexPos >= 12 - && midici.localMUID != M2_CI_BROADCAST - && checkMUID && !checkMUID(midici.umpGroup, midici.localMUID) - ){ - return; //Not for this device - } - - //break up each Process based on ciType - if(sysexPos >= 12) { - switch (midici.ciType) { - case MIDICI_DISCOVERYREPLY: //Discovery Reply - case MIDICI_DISCOVERY: { //Discovery Request - if (sysexPos >= 13 && sysexPos <= 23) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 24) { - intTemp[0] = s7Byte; // ciSupport - } - if (sysexPos >= 25 && sysexPos <= 28) { - intTemp[1] += s7Byte << (7 * (sysexPos - 25)); //maxSysEx - } - - bool complete = false; - if (sysexPos == 28 && midici.ciVer == 1) { - complete = true; - } - else if (sysexPos == 28){ - intTemp[2] = s7Byte; //output path id - if(midici.ciType==MIDICI_DISCOVERY) { - complete = true; - } - } - else if (sysexPos == 29){ - intTemp[3] = s7Byte; //fbIdx id - if(midici.ciType==MIDICI_DISCOVERYREPLY) { - complete = true; - } - } - - if (complete) { - //debug(" - Discovery Request 28 "); - - if(midici.ciType==MIDICI_DISCOVERY) { - if (recvDiscoveryRequest != nullptr) recvDiscoveryRequest( - - midici, - {buffer[0],buffer[1],buffer[2]}, - {buffer[3], buffer[4]}, - {buffer[5], buffer[6]}, - {buffer[7], buffer[8], - buffer[9], buffer[10]}, - (uint8_t) intTemp[0], - intTemp[1], - (uint8_t) intTemp[2] - //intTemp[3], - // &(buffer[11]) - ); - }else{ - if (recvDiscoveryReply != nullptr) recvDiscoveryReply( - - midici, - {buffer[0],buffer[1],buffer[2]}, - {buffer[3], buffer[4]}, - {buffer[5], buffer[6]}, - {buffer[7], buffer[8], - buffer[9], buffer[10]}, - (uint8_t) intTemp[0], - intTemp[1], - (uint8_t) intTemp[2], - (uint8_t) intTemp[3] - //&(buffer[11]) - ); - } - } - break; - } - - case MIDICI_INVALIDATEMUID: //MIDI-CI Invalidate MUID Message - - if (sysexPos >= 13 && sysexPos <= 16) { - buffer[sysexPos - 13] = s7Byte; - } - - //terminate MUID - if (sysexPos == 16 && recvInvalidateMUID != nullptr) { - uint32_t terminateMUID = buffer[0] - + ((uint32_t)buffer[1] << 7) - + ((uint32_t)buffer[2] << 14) - + ((uint32_t)buffer[3] << 21); - recvInvalidateMUID(midici, terminateMUID); - } - break; - case MIDICI_ENDPOINTINFO:{ - if (sysexPos == 13 && midici.ciVer > 1 && recvEndPointInfo!= nullptr) { - recvEndPointInfo(midici,s7Byte); // uint8_t origSubID, - } - break; - } - case MIDICI_ENDPOINTINFO_REPLY:{ - bool complete = false; - if(midici.ciVer < 2) return; - if (sysexPos == 13 && recvEndPointInfo!= nullptr) { - intTemp[0] = s7Byte; - } - if(sysexPos == 14 || sysexPos == 15){ - intTemp[1] += s7Byte << (7 * (sysexPos - 14 )); - return; - } - if (sysexPos >= 16 && sysexPos <= 15 + intTemp[1]){ - buffer[sysexPos - 16] = s7Byte; //Info Data - }if (sysexPos == 16 + intTemp[1]){ - complete = true; - } - - if (complete) { - recvEndPointInfoReply(midici, - (uint8_t) intTemp[0], - intTemp[1], - buffer - ); - } - break; - } - case MIDICI_ACK: - case MIDICI_NAK: { - bool complete = false; - - if (sysexPos == 13 && midici.ciVer == 1) { - complete = true; - } else if (sysexPos == 13 && midici.ciVer > 1) { - intTemp[0] = s7Byte; // uint8_t origSubID, - } - - if (sysexPos == 14) { - intTemp[1] = s7Byte; //statusCode - } - - if (sysexPos == 15) { - intTemp[2] = s7Byte; //statusData - } - - if (sysexPos >= 16 && sysexPos <= 20){ - buffer[sysexPos - 16] = s7Byte; //ackNakDetails - } - - if(sysexPos == 21 || sysexPos == 22){ - intTemp[3] += s7Byte << (7 * (sysexPos - 21 )); - return; - } - - if (sysexPos >= 23 && sysexPos <= 23 + intTemp[3]){ - buffer[sysexPos - 23] = s7Byte; //product ID - } - if (sysexPos == 23 + intTemp[3]){ - complete = true; - } - - if (complete) { - uint8_t ackNakDetails[5] = {buffer[0], buffer[1], - buffer[2], - buffer[3], - buffer[4]}; - - if (midici.ciType == MIDICI_NAK && recvNAK != nullptr) - recvNAK( - - midici, - (uint8_t) intTemp[0], - (uint8_t) intTemp[1], - (uint8_t) intTemp[2], - ackNakDetails, - intTemp[3], - buffer - ); - - if (midici.ciType == MIDICI_ACK && midici.ciVer > 1 && recvACK != nullptr) - recvACK( - - midici, - (uint8_t) intTemp[0], - (uint8_t) intTemp[1], - (uint8_t) intTemp[2], - ackNakDetails, - intTemp[3], - buffer - ); - } - break; - } - -#ifdef M2_ENABLE_PROTOCOL - case MIDICI_PROTOCOL_NEGOTIATION: - case MIDICI_PROTOCOL_NEGOTIATION_REPLY: - case MIDICI_PROTOCOL_SET: - case MIDICI_PROTOCOL_TEST: - case MIDICI_PROTOCOL_TEST_RESPONDER: - case MIDICI_PROTOCOL_CONFIRM: - processProtocolSysex(s7Byte); - break; -#endif - -#ifndef M2_DISABLE_PROFILE - case MIDICI_PROFILE_INQUIRY: //Profile Inquiry - case MIDICI_PROFILE_INQUIRYREPLY: //Reply to Profile Inquiry - case MIDICI_PROFILE_SETON: //Set Profile On Message - case MIDICI_PROFILE_SETOFF: //Set Profile Off Message - case MIDICI_PROFILE_ENABLED: //Set Profile Enabled Message - case MIDICI_PROFILE_DISABLED: //Set Profile Disabled Message - case MIDICI_PROFILE_SPECIFIC_DATA: //ProfileSpecific Data - case MIDICI_PROFILE_DETAILS_INQUIRY: - case MIDICI_PROFILE_DETAILS_REPLY: - processProfileSysex(s7Byte); - break; -#endif - - -#ifndef M2_DISABLE_PE - case MIDICI_PE_CAPABILITY: //Inquiry: Property Exchange Capabilities - case MIDICI_PE_CAPABILITYREPLY: //Reply to Property Exchange Capabilities - case MIDICI_PE_GET: // Inquiry: Get Property Data - case MIDICI_PE_GETREPLY: // Reply To Get Property Data - Needs Work! - case MIDICI_PE_SET: // Inquiry: Set Property Data - case MIDICI_PE_SETREPLY: // Reply To Inquiry: Set Property Data - case MIDICI_PE_SUB: // Inquiry: Subscribe Property Data - case MIDICI_PE_SUBREPLY: // Reply To Subscribe Property Data - case MIDICI_PE_NOTIFY: // Notify - processPESysex(s7Byte); - break; -#endif - -#ifndef M2_DISABLE_PROCESSINQUIRY - case MIDICI_PI_CAPABILITY: - case MIDICI_PI_CAPABILITYREPLY: - case MIDICI_PI_MM_REPORT: - case MIDICI_PI_MM_REPORT_REPLY: - case MIDICI_PI_MM_REPORT_END: - processPISysex(s7Byte); - break; -#endif - default: - if (recvUnknownMIDICI) { - recvUnknownMIDICI(midici, s7Byte); - } - break; - - } - } - sysexPos++; -} - -void midiCIProcessor::processProtocolSysex(uint8_t s7Byte){ - switch (midici.ciType){ - - case MIDICI_PROTOCOL_NEGOTIATION: - case MIDICI_PROTOCOL_NEGOTIATION_REPLY: { - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - } - //Number of Supported Protocols (np) - if (sysexPos == 14 ) { - intTemp[1] = s7Byte; - } - - int protocolOffset = intTemp[1] * 5 + 14; - - if (sysexPos >= 15 && sysexPos < protocolOffset) { - uint8_t pos = (sysexPos - 14) % 5; - buffer[pos] = s7Byte; - if (pos == 4 && recvProtocolAvailable != nullptr) { - uint8_t protocol[5] = {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}; - recvProtocolAvailable(midici, (uint8_t) intTemp[0], protocol); - } - } - if(midici.ciVer > 1){ - if (sysexPos >= protocolOffset && sysexPos <= protocolOffset+5){ - buffer[sysexPos-protocolOffset] = s7Byte; - } - if (sysexPos == protocolOffset+5){ -// uint8_t protocol[5] = {buffer[0], buffer[1], -// buffer[2], buffer[3], -// buffer[4]}; - if (recvSetProtocolConfirm != nullptr)recvSetProtocolConfirm(midici, (uint8_t) intTemp[0]); - } - } - break; - } - - case MIDICI_PROTOCOL_SET: //Set Profile On Message - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - } - if(sysexPos >= 14 && sysexPos <= 18){ - buffer[sysexPos-13] = s7Byte; - } - if (sysexPos == 18 && recvSetProtocol != nullptr){ - uint8_t protocol[5] = {buffer[0], buffer[1], buffer[2], buffer[3], buffer[4]}; - recvSetProtocol(midici, (uint8_t) intTemp[0], protocol); - } - break; - - case MIDICI_PROTOCOL_TEST_RESPONDER: - case MIDICI_PROTOCOL_TEST: - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - intTemp[1] = 1; - } - if(sysexPos >= 14 && sysexPos <= 61){ - if(s7Byte != sysexPos - 14){ - intTemp[1] = 0; - } - } - if (sysexPos == 61 && recvProtocolTest != nullptr){ - recvProtocolTest(midici, (uint8_t) intTemp[0], !!(intTemp[1])); - } - - - break; - - case MIDICI_PROTOCOL_CONFIRM: //Set Profile Off Message - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - if (recvSetProtocolConfirm != nullptr){ - recvSetProtocolConfirm(midici, (uint8_t) intTemp[0]); - } - } - break; - } -} - -void midiCIProcessor::processProfileSysex(uint8_t s7Byte){ - switch (midici.ciType){ - case MIDICI_PROFILE_INQUIRY: //Profile Inquiry - if (sysexPos == 12 && recvProfileInquiry != nullptr){ - recvProfileInquiry(midici); - } - break; - case MIDICI_PROFILE_INQUIRYREPLY: { //Reply to Profile Inquiry - //Enabled Profiles Length - if (sysexPos == 13 || sysexPos == 14) { - intTemp[0] += s7Byte << (7 * (sysexPos - 13)); - } - - //Disabled Profile Length - int enabledProfileOffset = intTemp[0] * 5 + 13; - if ( - sysexPos == enabledProfileOffset - || sysexPos == 1 + enabledProfileOffset - ) { - intTemp[1] += s7Byte << (7 * (sysexPos - enabledProfileOffset)); - } - - if (sysexPos >= 15 && sysexPos < enabledProfileOffset) { - uint8_t pos = (sysexPos - 13) % 5; - buffer[pos] = s7Byte; - if (pos == 4 && recvSetProfileEnabled != nullptr) { - - recvSetProfileEnabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]},0); - } - } - - if (sysexPos >= 2 + enabledProfileOffset && - sysexPos < enabledProfileOffset + intTemp[1] * 5) { - uint8_t pos = (sysexPos - 13) % 5; - buffer[pos] = s7Byte; - if (pos == 4 && recvSetProfileDisabled != nullptr) { - recvSetProfileDisabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]} - ,0); - } - } - break; - } - - case MIDICI_PROFILE_ADD: - case MIDICI_PROFILE_REMOVE: - case MIDICI_PROFILE_ENABLED: - case MIDICI_PROFILE_DISABLED: - case MIDICI_PROFILE_SETOFF: - case MIDICI_PROFILE_SETON: { //Set Profile On Message - bool complete = false; - if (sysexPos >= 13 && sysexPos <= 17) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 17 && - (midici.ciVer == 1 || midici.ciType==MIDICI_PROFILE_ADD || midici.ciType==MIDICI_PROFILE_REMOVE) - ){ - complete = true; - } - if(midici.ciVer > 1 && (sysexPos == 18 || sysexPos == 19)){ - intTemp[0] += s7Byte << (7 * (sysexPos - 18 )); - } - if (sysexPos == 19 && midici.ciVer > 1){ - complete = true; - } - - if(complete){ - if (midici.ciType == MIDICI_PROFILE_ADD && recvSetProfileDisabled != nullptr) - recvSetProfileDisabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, 0); - - if (midici.ciType == MIDICI_PROFILE_REMOVE && recvSetProfileRemoved != nullptr) - recvSetProfileRemoved(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}); - - if (midici.ciType == MIDICI_PROFILE_SETON && recvSetProfileOn != nullptr) - recvSetProfileOn(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, (uint8_t)intTemp[0]); - - if (midici.ciType == MIDICI_PROFILE_SETOFF && recvSetProfileOff != nullptr) - recvSetProfileOff(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}); - - if (midici.ciType == MIDICI_PROFILE_ENABLED && recvSetProfileEnabled != nullptr) - recvSetProfileEnabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, (uint8_t)intTemp[0]); - - if (midici.ciType == MIDICI_PROFILE_DISABLED && recvSetProfileDisabled != nullptr) - recvSetProfileDisabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, (uint8_t)intTemp[0]); - - } - break; - } - - case MIDICI_PROFILE_DETAILS_INQUIRY:{ - if (sysexPos >= 13 && sysexPos <= 17) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 18 && recvSetProfileDetailsInquiry != nullptr){ //Inquiry Target - recvSetProfileDetailsInquiry(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, s7Byte); - } - - break; - } - - case MIDICI_PROFILE_DETAILS_REPLY:{ - if (sysexPos >= 13 && sysexPos <= 17) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 18){//Inquiry Target - buffer[5] = s7Byte; - } - - if(sysexPos == 19 || sysexPos == 20){ //Inquiry Target Data length (dl) - intTemp[0] += s7Byte << (7 * (sysexPos - 19 )); - } - - if (sysexPos >= 21 && sysexPos <= 21 + intTemp[0]){ - buffer[sysexPos - 22 + 6] = s7Byte; //product ID - } - - if (sysexPos == 21 + intTemp[0] && recvSetProfileDetailsInquiry != nullptr){ - recvSetProfileDetailsReply(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, - buffer[5], - intTemp[0], - &(buffer[6]) - ); - } - - break; - } - - case MIDICI_PROFILE_SPECIFIC_DATA: - //Profile - if(sysexPos >= 13 && sysexPos <= 17){ - buffer[sysexPos-13] = s7Byte; - return; - } - if(sysexPos >= 18 && sysexPos <= 21){ //Length of Following Profile Specific Data - intTemp[0] += s7Byte << (7 * (sysexPos - 18 )); - intTemp[1] = 1; - return; - } - - - //****************** - - uint16_t charOffset = (sysexPos - 22) % S7_BUFFERLEN; - uint16_t dataLength = intTemp[0]; - if( - (sysexPos >= 22 && sysexPos <= 21 + dataLength) - || (dataLength == 0 && sysexPos == 21) - ){ - if(dataLength != 0 )buffer[charOffset] = s7Byte; - - bool lastByteOfSet = (sysexPos == 21 + dataLength); - - if(charOffset == S7_BUFFERLEN -1 - || sysexPos == 21 + dataLength - || dataLength == 0 - ){ - recvProfileSpecificData(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, charOffset+1, buffer, intTemp[1], lastByteOfSet); - intTemp[1]++; - } - } - - - //*********** - - break; - } -} - -void midiCIProcessor::processPESysex(uint8_t s7Byte){ - - switch (midici.ciType){ - case MIDICI_PE_CAPABILITY: - case MIDICI_PE_CAPABILITYREPLY:{ - bool complete = false; - - if(sysexPos == 13){ - buffer[0] = s7Byte; - } - - if(sysexPos == 13 && midici.ciVer == 1){ - complete = true; - } - - if(sysexPos == 14){ - buffer[1] = s7Byte; - } - if(sysexPos == 15){ - buffer[2] = s7Byte; - complete = true; - } - - if(complete){ - if(midici.ciType == MIDICI_PE_CAPABILITY && recvPECapabilities != nullptr) - recvPECapabilities(midici, - buffer[0], - buffer[1], - buffer[2] - ); - - if(midici.ciType == MIDICI_PE_CAPABILITYREPLY && recvPECapabilities != nullptr) - recvPECapabilitiesReplies(midici, - buffer[0], - buffer[1], - buffer[2] - ); - - } - - break; - } - default: { - - if (sysexPos == 13) { - midici._peReqIdx = std::make_tuple(midici.remoteMUID,s7Byte); - midici._reqTupleSet = true; //Used for cleanup - //peRequestDetails[midici._peReqIdx] = peHeader(); - midici.requestId = s7Byte; - intTemp[0]=0; - return; - } - - - if (sysexPos == 14 || sysexPos == 15) { //header Length - intTemp[0] += s7Byte << (7 * (sysexPos - 14)); - return; - } - - uint16_t headerLength = intTemp[0]; - - if (sysexPos == 16 && midici.numChunk == 1){ - peHeaderStr[midici._peReqIdx] = ""; - } - - if (sysexPos >= 16 && sysexPos <= 15 + headerLength) { - uint16_t charOffset = (sysexPos - 16); - buffer[charOffset] = s7Byte; - peHeaderStr[midici._peReqIdx].push_back(s7Byte); - - - if (sysexPos == 15 + headerLength) { - - switch (midici.ciType) { - case MIDICI_PE_GET: - if (recvPEGetInquiry != nullptr) { - recvPEGetInquiry(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - case MIDICI_PE_SETREPLY: - if (recvPESetReply != nullptr) { - recvPESetReply(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - case MIDICI_PE_SUBREPLY: - if (recvPESubReply != nullptr) { - recvPESubReply(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - case MIDICI_PE_NOTIFY: - if (recvPENotify != nullptr) { - recvPENotify(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - } - } - } - - if (sysexPos == 16 + headerLength || sysexPos == 17 + headerLength) { - midici.totalChunks += - s7Byte << (7 * (sysexPos - 16 - headerLength)); - return; - } - - if (sysexPos == 18 + headerLength || sysexPos == 19 + headerLength) { - midici.numChunk += s7Byte << (7 * (sysexPos - 18 - headerLength)); - return; - } - - if (sysexPos == 20 + headerLength) { //Body Length - intTemp[1] = s7Byte; - return; - } - if (sysexPos == 21 + headerLength) { //Body Length - intTemp[1] += s7Byte << 7; - } - - uint16_t bodyLength = intTemp[1]; - uint16_t initPos = 22 + headerLength; - uint16_t charOffset = (sysexPos - initPos) % S7_BUFFERLEN; - - if ( - (sysexPos >= initPos && sysexPos <= initPos - 1 + bodyLength) - || (bodyLength == 0 && sysexPos == initPos - 1) - ) { - if (bodyLength != 0)buffer[charOffset] = s7Byte; - - bool lastByteOfSet = ( - midici.numChunk == midici.totalChunks && - sysexPos == initPos - 1 + bodyLength); - bool lastByteOfChunk = (bodyLength == 0 || sysexPos == initPos - 1 + bodyLength); - - - if (charOffset == S7_BUFFERLEN - 1 || lastByteOfChunk) { - if (midici.ciType == MIDICI_PE_GETREPLY && recvPEGetReply != nullptr) { - recvPEGetReply(midici, peHeaderStr[midici._peReqIdx], - charOffset + 1, buffer, lastByteOfChunk, lastByteOfSet); - } - - if (midici.ciType == MIDICI_PE_SUB && recvPESubInquiry != nullptr) { - recvPESubInquiry(midici, peHeaderStr[midici._peReqIdx], - charOffset + 1, buffer, lastByteOfChunk, lastByteOfSet); - } - - if (midici.ciType == MIDICI_PE_SET && recvPESetInquiry != nullptr) { - recvPESetInquiry(midici, peHeaderStr[midici._peReqIdx], - charOffset + 1, buffer, lastByteOfChunk, lastByteOfSet); - } - midici.partialChunkCount++; - } - - if (lastByteOfSet) { - cleanupRequest(midici._peReqIdx); - } - } - break; - } - } - -} - -void midiCIProcessor::processPISysex(uint8_t s7Byte) { - if(midici.ciVer == 1) return; - - switch (midici.ciType) { - case MIDICI_PI_CAPABILITY: { - if (sysexPos == 12 && recvPICapabilities != nullptr) { - recvPICapabilities(midici); - } - break; - } - case MIDICI_PI_CAPABILITYREPLY: { - if (sysexPos == 13 && recvPICapabilitiesReply != nullptr) { - recvPICapabilitiesReply(midici,s7Byte); - } - break; - } - case MIDICI_PI_MM_REPORT_END: { - if (sysexPos == 12 && recvPIMMReportEnd != nullptr) { - recvPIMMReportEnd(midici); - } - break; - } - case MIDICI_PI_MM_REPORT:{ - if (sysexPos == 13) {//MDC - buffer[0] = s7Byte; - } - if (sysexPos == 14) {//Bitmap of requested System Message Types - buffer[1] = s7Byte; - } - if (sysexPos == 16) {//Bitmap of requested Channel Controller Message Types - buffer[2] = s7Byte; - } - if (sysexPos == 17 && recvPIMMReport != nullptr){ - recvPIMMReport(midici, - buffer[0], - buffer[1], - buffer[2], - s7Byte); - } - break; - } - case MIDICI_PI_MM_REPORT_REPLY: { - if (sysexPos == 13) {//Bitmap of requested System Message Types - buffer[0] = s7Byte; - } - if (sysexPos == 15) {//Bitmap of requested Channel Controller Message Types - buffer[1] = s7Byte; - } - if (sysexPos == 16 && recvPIMMReportReply != nullptr){ - recvPIMMReportReply(midici, - buffer[0], - buffer[1], - s7Byte); - } - break; - } - default: { - break; - } - } -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpMessageCreate.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpMessageCreate.cpp deleted file mode 100644 index 825a6a5a0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpMessageCreate.cpp +++ /dev/null @@ -1,366 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#include "utils.h" -#include "umpMessageCreate.h" - - - -uint32_t UMPMessage::mt0NOOP(){ - return 0; -} - -uint32_t UMPMessage::mt0JRClock(uint16_t clockTime){ - return ((UTILITY_JRCLOCK + 0L) << 20) + clockTime; -} - -uint32_t UMPMessage::mt0JRTimeStamp(uint16_t timestamp){ - return ((UTILITY_JRTS + 0L) << 20) + timestamp; -} - -uint32_t UMPMessage::mt0DeltaClockTick( uint16_t ticksPerQtrNote){ - return ((UTILITY_DELTACLOCKTICK + 0L) << 20) + ticksPerQtrNote; -} - -uint32_t UMPMessage::mt0DeltaTicksSinceLast(uint16_t noTicksSince){ - return ((UTILITY_DELTACLOCKSINCE + 0L) << 20) + noTicksSince; -} - - - -uint32_t m1Create(uint8_t group, uint8_t status, uint8_t val1, uint8_t val2){ - return (((UMP_SYSTEM << 4) + group + 0L) << 24) + ((status + 0L) << 16) + ((val1 + 0L) << 8) + val2; -} - -uint32_t UMPMessage::mt1MTC(uint8_t group, uint8_t timeCode){ - return m1Create(group, TIMING_CODE, timeCode, 0); -} -uint32_t UMPMessage::mt1SPP(uint8_t group, uint16_t position){ - return m1Create(group, SPP, position & 0x7F , (position >> 7) & 0x7F ); -} -uint32_t UMPMessage::mt1SongSelect(uint8_t group, uint8_t song){ - return m1Create(group, SONG_SELECT, song, 0 ); -} -uint32_t UMPMessage::mt1TuneRequest(uint8_t group){ - return m1Create(group, TUNEREQUEST, 0, 0 ); -} -uint32_t UMPMessage::mt1TimingClock(uint8_t group){ - return m1Create(group, TIMINGCLOCK, 0, 0 ); -} -uint32_t UMPMessage::mt1SeqStart(uint8_t group){ - return m1Create(group, SEQSTART, 0, 0 ); -} -uint32_t UMPMessage::mt1SeqCont(uint8_t group){ - return m1Create(group, SEQCONT, 0, 0 ); -} -uint32_t UMPMessage::mt1SeqStop(uint8_t group){ - return m1Create(group, SEQSTOP, 0, 0 ); -} -uint32_t UMPMessage::mt1ActiveSense(uint8_t group){ - return m1Create(group, ACTIVESENSE, 0, 0 ); -} -uint32_t UMPMessage::mt1SystemReset(uint8_t group){ - return m1Create(group, SYSTEMRESET, 0, 0 ); -} - -uint32_t mt2Create(uint8_t group, uint8_t status, uint8_t channel, uint8_t val1, uint8_t val2){ - uint32_t message; - message = ((UMP_M1CVM << 4) + group + 0L) << 24; - message += (status + channel + 0L) << 16; - message += (int)val1 << 8; - message += val2; - return message; -} - -uint32_t UMPMessage::mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity){ - return mt2Create(group, NOTE_ON, channel, noteNumber, velocity); -} -uint32_t UMPMessage::mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity){ - return mt2Create(group, NOTE_OFF, channel, noteNumber, velocity); -} - -uint32_t UMPMessage::mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure){ - return mt2Create(group, KEY_PRESSURE, channel, noteNumber, pressure); -} -uint32_t UMPMessage::mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value){ - return mt2Create(group, CC, channel, index, value); -} -uint32_t UMPMessage::mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program){ - return mt2Create(group, PROGRAM_CHANGE, channel, program, 0); -} -uint32_t UMPMessage::mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure){ - return mt2Create(group, CHANNEL_PRESSURE, channel, pressure, 0); -} -uint32_t UMPMessage::mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value){ - return mt2Create(group, PITCH_BEND, channel, value & 0x7F, (value >> 7) & 0x7F); -} - -std::array UMPMessage::mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx){ - std::array umpMess = {0,0}; - umpMess[0] = (0x3 << 28) + (group << 24) + (status << 20)+ (numBytes << 16); - if(numBytes > 0 ) umpMess[0] += (sx[0] << 8); - if(numBytes > 1 ) umpMess[0] += sx[1]; - if(numBytes > 2 ) umpMess[1] += (sx[2] << 24); - if(numBytes > 3 ) umpMess[1] += (sx[3] << 16); - if(numBytes > 4 ) umpMess[1] += (sx[4] << 8); - if(numBytes > 5 ) umpMess[1] += sx[5]; - - return umpMess; -} - - -uint32_t mt4CreateFirstWord(uint8_t group, uint8_t status, uint8_t channel, uint8_t val1, uint8_t val2){ - uint32_t message; - message = ((UMP_M2CVM << 4) + group + 0L) << 24; - message += (status + channel + 0L) << 16; - message += (int)val1 << 8; - message += val2; - return message; -} - -std::array UMPMessage::mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NOTE_ON, channel, noteNumber, attributeType); - umpMess[1] = velocity << 16; - umpMess[1] += attributeData; - return umpMess; -} - -std::array UMPMessage::mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NOTE_OFF, channel, noteNumber, attributeType); - umpMess[1] = velocity << 16; - umpMess[1] += attributeData; - return umpMess; -} - -std::array UMPMessage::mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, KEY_PRESSURE, channel, noteNumber, 0); - umpMess[1] = pressure; - return umpMess; -} - -std::array UMPMessage::mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, PITCH_BEND, channel, 0, 0); - umpMess[1] = pitch; - return umpMess; -} - -std::array UMPMessage::mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, CC , channel, index, 0); - umpMess[1] = value; - return umpMess; -} - -std::array UMPMessage::mt4RPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value){ - std::array umpMess = {0,0};; - umpMess[0] = mt4CreateFirstWord(group, RPN , channel, bank, index); - umpMess[1] = value; - return umpMess; -} - -std::array UMPMessage::mt4NRPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NRPN , channel, bank, index); - umpMess[1] = value; - return umpMess; -} - - -std::array UMPMessage::mt4RelativeRPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, int32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, RPN_RELATIVE , channel, bank, index); - umpMess[1] = (uint32_t)value; - return umpMess; -} - -std::array UMPMessage::mt4RelativeNRPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, int32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NRPN_RELATIVE , channel, bank, index); - umpMess[1] = (uint32_t)value; - return umpMess; -} - -std::array UMPMessage::mt4ChannelPressure(uint8_t group, uint8_t channel,uint32_t pressure){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, CHANNEL_PRESSURE, channel, 0, 0); - umpMess[1] = pressure; - return umpMess; -} - -std::array UMPMessage::mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, uint8_t bank, uint8_t index){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, PROGRAM_CHANGE, channel, program, bankValid?1:0); - umpMess[1] = bankValid? ((uint32_t)bank << 8)+ index :0; - return umpMess; -} - -//TODO mtD* - -std::array UMPMessage::mtFMidiEndpoint(uint8_t filter){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (UMP_VER_MAJOR << 8) + UMP_VER_MINOR); - umpMess[1] = filter; - return umpMess; -} - -std::array UMPMessage::mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (MIDIENDPOINT_INFO_NOTIFICATION << 16) + (UMP_VER_MAJOR << 8) + UMP_VER_MINOR); - umpMess[1] = (numOfFuncBlock << 24) - + (m2 << 9) - + (m1 << 8) - + (rxjr << 1) - + txjr; - return umpMess; -} - -std::array UMPMessage::mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (MIDIENDPOINT_DEVICEINFO_NOTIFICATION << 16)) /*+ numOfFuncBlock*/; - - umpMess[1] = (manuId[0] << 16) - + (manuId[1] << 8) - + manuId[2] ; - umpMess[2] = (familyId[0] << 24) - + (familyId[1] << 16) - + (modelId[0] << 8) - + modelId[1] ; - umpMess[3] = (version[0] << 24) - +(version[1] << 16) - +(version[2] << 8) - +version[3]; - return umpMess; -} - -std::array UMPMessage::mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t* text, uint8_t textLen){ - std::array umpMess = {0,0,0,0}; - uint8_t form = 0; - if(offset==0){ - if(textLen>14)form = 1; - }else{ - if(offset+13 < textLen){ - form = 2; - }else{ - form = 3; - } - } - umpMess[0] = (0xF << 28) + (form << 26) + (replyType << 16); - if(offset < textLen)umpMess[0] += (text[offset++] << 8); - if(offset < textLen)umpMess[0] += text[offset++]; - for(uint8_t i=1;i<4;i++){ - if(offset < textLen)umpMess[i] += (text[offset++] << 24); - if(offset < textLen)umpMess[i] += (text[offset++] << 16); - if(offset < textLen)umpMess[i] += (text[offset++] << 8); - if(offset < textLen)umpMess[i] += text[offset++]; - } - return umpMess; -} - -std::array UMPMessage::mtFFunctionBlock(uint8_t fbIdx, uint8_t filter ){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (FUNCTIONBLOCK << 16) + (fbIdx << 8) + filter; - return umpMess; -} - -std::array UMPMessage::mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, - bool sender, bool recv, uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (FUNCTIONBLOCK_INFO_NOTFICATION << 16) - + ((active?1:0) << 15) - + (fbIdx << 8) - + (recv << 5) - + (sender << 4) - + (isMIDI1 << 2) - + direction; - umpMess[1] = (firstGroup << 24) - + (groupLength << 16) - + (midiCISupport << 8) - + maxS8Streams; - return umpMess; -} - -std::array UMPMessage::mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t* text, uint8_t textLen){ - std::array umpMess = {0,0,0,0}; - uint8_t form = 0; - if(offset==0){ - if(textLen>13)form = 1; - }else{ - if(offset+12 < textLen){ - form = 2; - }else{ - form = 3; - } - } - umpMess[0] = (0xF << 28) + (form << 26) + (FUNCTIONBLOCK_NAME_NOTIFICATION << 16)+ (fbIdx << 8); - if(offset < textLen)umpMess[0] += text[offset++]; - for(uint8_t i=1;i<4;i++){ - if(offset < textLen)umpMess[i] += (text[offset++] << 24); - if(offset < textLen)umpMess[i] += (text[offset++] << 16); - if(offset < textLen)umpMess[i] += (text[offset++] << 8); - if(offset < textLen)umpMess[i] += text[offset++]; - } - return umpMess; -} - -std::array UMPMessage::mtFStartOfSeq(){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (STARTOFSEQ << 16)); - return umpMess; - -} - -std::array UMPMessage::mtFEndOfFile(){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (ENDOFFILE << 16)); - return umpMess; -} - - -std::array UMPMessage::mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (MIDIENDPOINT_PROTOCOL_REQUEST << 16) - + (protocol << 8) - + (jrrx << 1) - + jrtx; - return umpMess; - -} - -std::array UMPMessage::mtFNotifyProtocol( uint8_t protocol, bool jrrx, bool jrtx){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (MIDIENDPOINT_PROTOCOL_NOTIFICATION << 16) - + (protocol << 8) - + (jrrx << 1) - + jrtx; - return umpMess; -} - - - - - - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpProcessor.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpProcessor.cpp deleted file mode 100644 index 49087fe8c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpProcessor.cpp +++ /dev/null @@ -1,520 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "umpProcessor.h" - -void umpProcessor::clearUMP(){ - messPos = 0; - umpMess[0]=0; - umpMess[1]=0; - umpMess[2]=0; - umpMess[3]=0; -} - -void umpProcessor::processUMP(uint32_t UMP){ - umpMess[messPos] = UMP; - - uint8_t mt = (umpMess[0] >> 28) & 0xF; - uint8_t group = (umpMess[0] >> 24) & 0xF; - - if(messPos == 0 - && (mt <= UMP_M1CVM || mt==0x6 || mt==0x7) - ){ //32bit Messages - - if(mt == UMP_UTILITY && utilityMessage!= nullptr){ //32 bits Utility Messages - umpGeneric mess = umpGeneric(); - mess.messageType = mt; - mess.status = (umpMess[0] >> 20) & 0xF; - mess.value = (umpMess[0] >> 16) & 0xFFFF; - utilityMessage(mess); - } else - if(mt == UMP_SYSTEM && systemMessage!= nullptr){ //32 bits System Real Time and System Common Messages (except System Exclusive) - umpGeneric mess = umpGeneric(); - mess.messageType = mt; - mess.umpGroup = group; - mess.status = umpMess[0] >> 16 & 0xFF; - switch(mess.status){ - case TIMING_CODE: - case SONG_SELECT: - mess.value = (umpMess[0] >> 8) & 0x7F; - systemMessage(mess); - break; - case SPP: - mess.value = ((umpMess[0] >> 8) & 0x7F) + ((umpMess[0] & 0x7F) << 7); - systemMessage(mess); - break; - default: - systemMessage(mess); - break; - } - - } else - if(mt == UMP_M1CVM && channelVoiceMessage != nullptr){ //32 Bits MIDI 1.0 Channel Voice Messages - umpCVM mess = umpCVM(); - mess.umpGroup = group; - mess.messageType = mt; - mess.status = umpMess[0] >> 16 & 0xF0; - mess.channel = (umpMess[0] >> 16) & 0xF; - uint8_t val1 = (umpMess[0] >> 8) & 0x7F; - uint8_t val2 = umpMess[0] & 0x7F; - - switch(mess.status){ - case NOTE_OFF: //Note Off - case NOTE_ON: //Note On - mess.note = val1; - mess.value = M2Utils::scaleUp(val2,7,16); - channelVoiceMessage(mess); - break; - case KEY_PRESSURE: //Poly Pressure - mess.note = val1; - case CHANNEL_PRESSURE: //Channel Pressure - mess.value = M2Utils::scaleUp(val2,7,32); - channelVoiceMessage(mess); - break; - case CC: //CC - mess.index = val1; - mess.value = M2Utils::scaleUp(val2,7,32); - channelVoiceMessage(mess); - break; - case PROGRAM_CHANGE: //Program Change Message - mess.value = val1; - channelVoiceMessage(mess); - break; - case PITCH_BEND: //PitchBend - mess.value = M2Utils::scaleUp((val2 << 7) + val1,14,32); - channelVoiceMessage(mess); - break; - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 2); - break; - } - } - return; - - }else - if(messPos == 1 - && (mt == UMP_SYSEX7 || mt == UMP_M2CVM || mt==0x8 || mt==0x9 || mt==0xA) - ){ //64bit Messages - if(mt == UMP_SYSEX7 && sendOutSysex != nullptr){ //64 bits Data Messages (including System Exclusive) - umpData mess = umpData(); - mess.umpGroup = group; - mess.messageType = mt; - mess.form = (umpMess[0] >> 20) & 0xF; - mess.dataLength = (umpMess[0] >> 16) & 0xF; - uint8_t sysex[6]; - - if(mess.dataLength > 0)sysex[0] = (umpMess[0] >> 8) & 0x7F; - if(mess.dataLength > 1)sysex[1] = umpMess[0] & 0x7F; - if(mess.dataLength > 2)sysex[2] = (umpMess[1] >> 24) & 0x7F; - if(mess.dataLength > 3)sysex[3] = (umpMess[1] >> 16) & 0x7F; - if(mess.dataLength > 4)sysex[4] = (umpMess[1] >> 8) & 0x7F; - if(mess.dataLength > 5)sysex[5] = umpMess[1] & 0x7F; - - mess.data = sysex; - sendOutSysex(mess); - - } else - if(mt == UMP_M2CVM && channelVoiceMessage != nullptr){//64 bits MIDI 2.0 Channel Voice Messages - umpCVM mess = umpCVM(); - mess.umpGroup = group; - mess.messageType = mt; - mess.status = (umpMess[0] >> 16) & 0xF0; - mess.channel = (umpMess[0] >> 16) & 0xF; - uint8_t val1 = (umpMess[0] >> 8) & 0xFF; - uint8_t val2 = umpMess[0] & 0xFF; - - switch(mess.status){ - case NOTE_OFF: //Note Off - case NOTE_ON: //Note On - mess.note = val1; - mess.value = umpMess[1] >> 16; - mess.bank = val2; - mess.index = umpMess[1] & 65535; - channelVoiceMessage(mess); - break; - case PITCH_BEND_PERNOTE: - case KEY_PRESSURE: //Poly Pressure - mess.note = val1; - case CHANNEL_PRESSURE: //Channel Pressure - mess.value = umpMess[1]; - channelVoiceMessage(mess); - break; - case CC: //CC - mess.index = val1; - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case RPN: //RPN - case NRPN: //NRPN - case RPN_RELATIVE: //Relative RPN - case NRPN_RELATIVE: //Relative NRPN - mess.bank = val1; - mess.index = val2; - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case PROGRAM_CHANGE: //Program Change Message - mess.value = umpMess[1] >> 24; - mess.flag1 = umpMess[0] & 1; - mess.bank = (umpMess[1] >> 8) & 0x7f; - mess.index = umpMess[1] & 0x7f; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case PITCH_BEND: //PitchBend - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case NRPN_PERNOTE: //Assignable Per-Note Controller 1 - case RPN_PERNOTE: //Registered Per-Note Controller 0 - - mess.note = val1; - mess.index = val2; - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - case PERNOTE_MANAGE: //Per-Note Management Message - - mess.note = val1; - mess.flag1 =(bool)(val2 & 2); - mess.flag2 = (bool)(val2 & 1); - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 2); - break; - } - } - messPos =0; - }else - if(messPos == 2 - && (mt == 0xB || mt == 0xC) - ){ //96bit Messages - messPos =0; - if(unknownUMPMessage)unknownUMPMessage(umpMess, 3); - - }else - if(messPos == 3 - && (mt == UMP_DATA || mt >= 0xD) - ){ //128bit Messages - - if(mt == UMP_MIDI_ENDPOINT) { //128 bits UMP Stream Messages - uint16_t status = (umpMess[0] >> 16) & 0x3FF; - - switch(status) { - case MIDIENDPOINT: { - if (midiEndpoint != nullptr) midiEndpoint( - (umpMess[0]>>8) & 0xFF, //Maj Ver - umpMess[0] & 0xFF, //Min Ver - umpMess[1] & 0xFF); //Filter - break; - } - case MIDIENDPOINT_INFO_NOTIFICATION:{ - if (midiEndpointInfo != nullptr) midiEndpointInfo( - (umpMess[0]>>8) & 0xFF, //Maj Ver - umpMess[0] & 0xFF, //Min Ver - (umpMess[1]>>24) & 0xFF, //Num Of Func Block - ((umpMess[1]>>9) & 0x1), //M2 Support - ((umpMess[1]>>8) & 0x1), //M1 Support - ((umpMess[1]>>1) & 0x1), //rxjr Support - (umpMess[1] & 0x1) //txjr Support - ); - break; - } - - case MIDIENDPOINT_DEVICEINFO_NOTIFICATION: - if(midiEndpointDeviceInfo != nullptr) { - midiEndpointDeviceInfo( - {(uint8_t)((umpMess[1] >> 16) & 0x7F),(uint8_t)((umpMess[1] >> 8) & 0x7F), (uint8_t)(umpMess[1] & 0x7F)}, - {(uint8_t)((umpMess[2] >> 24) & 0x7F) , (uint8_t)((umpMess[2] >> 16) & 0x7F)}, - {(uint8_t)((umpMess[2] >> 8) & 0x7F ), (uint8_t)(umpMess[2] & 0x7F)}, - {(uint8_t)((umpMess[3] >> 24) & 0x7F), (uint8_t)((umpMess[3] >> 16) & 0x7F), - (uint8_t)( (umpMess[3] >> 8) & 0x7F), (uint8_t)(umpMess[3] & 0x7F)} - ); - } - break; - case MIDIENDPOINT_NAME_NOTIFICATION: - case MIDIENDPOINT_PRODID_NOTIFICATION: { - umpData mess = umpData(); - mess.messageType = mt; - mess.status = (uint8_t) status; - mess.form = umpMess[0] >> 24 & 0x3; - mess.dataLength = 0; - uint8_t text[14]; - - if ((umpMess[0] >> 8) & 0xFF) text[mess.dataLength++] = (umpMess[0] >> 8) & 0xFF; - if (umpMess[0] & 0xFF) text[mess.dataLength++] = umpMess[0] & 0xFF; - for(uint8_t i = 1; i<=3; i++){ - for(int j = 24; j>=0; j-=8){ - uint8_t c = (umpMess[i] >> j) & 0xFF; - if(c){ - text[mess.dataLength++]=c; - } - } - } - mess.data = text; - if(status == MIDIENDPOINT_NAME_NOTIFICATION && midiEndpointName != nullptr) midiEndpointName(mess); - if(status == MIDIENDPOINT_PRODID_NOTIFICATION && midiEndpointProdId != nullptr) midiEndpointProdId(mess); - break; - } - - case MIDIENDPOINT_PROTOCOL_REQUEST: //JR Protocol Req - if(midiEndpointJRProtocolReq != nullptr) - midiEndpointJRProtocolReq((uint8_t) (umpMess[0] >> 8), - (umpMess[0] >> 1) & 1, - umpMess[0] & 1 - ); - break; - case MIDIENDPOINT_PROTOCOL_NOTIFICATION: //JR Protocol Req - if(midiEndpointJRProtocolNotify != nullptr) - midiEndpointJRProtocolNotify((uint8_t) (umpMess[0] >> 8), - (umpMess[0] >> 1) & 1, - umpMess[0] & 1 - ); - break; - - case FUNCTIONBLOCK:{ - uint8_t filter = umpMess[0] & 0xFF; - uint8_t fbIdx = (umpMess[0] >> 8) & 0xFF; - if(functionBlock != nullptr) functionBlock(fbIdx, filter); - break; - } - - case FUNCTIONBLOCK_INFO_NOTFICATION: - if(functionBlockInfo != nullptr) { - uint8_t fbIdx = (umpMess[0] >> 8) & 0x7F; - functionBlockInfo( - fbIdx, //fbIdx - (umpMess[0] >> 15) & 0x1, // active - umpMess[0] & 0x3, //dir - (umpMess[0] >> 7) & 0x1, // Sender - (umpMess[0] >> 6) & 0x1, // Receiver - ((umpMess[1] >> 24) & 0x1F), //first group - ((umpMess[1] >> 16) & 0x1F), // group length - ((umpMess[1] >> 8) & 0x7F), //midiCIVersion - ((umpMess[0]>>2) & 0x3), //isMIDI 1 - (umpMess[1] & 0xFF) // max Streams - ); - } - break; - case FUNCTIONBLOCK_NAME_NOTIFICATION:{ - uint8_t fbIdx = (umpMess[0] >> 8) & 0x7F; - umpData mess = umpData(); - mess.messageType = mt; - mess.status = (uint8_t) status; - mess.form = umpMess[0] >> 24 & 0x3; - mess.dataLength = 0; - uint8_t text[13]; - - if (umpMess[0] & 0xFF) text[mess.dataLength++] = umpMess[0] & 0xFF; - for(uint8_t i = 1; i<=3; i++){ - for(int j = 24; j>=0; j-=8){ - uint8_t c = (umpMess[i] >> j) & 0xFF; - if(c){ - text[mess.dataLength++]=c; - } - } - } - mess.data = text; - - if(functionBlockName != nullptr) functionBlockName(mess,fbIdx); - break; - } - case STARTOFSEQ: { - if(startOfSeq != nullptr) startOfSeq(); - break; - } - case ENDOFFILE: { - if(endOfFile != nullptr) endOfFile(); - break; - } - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - break; - - } - - }else - if(mt == UMP_DATA){ //128 bits Data Messages (including System Exclusive 8) - uint8_t status = (umpMess[0] >> 20) & 0xF; - - if(status <= 3){ - umpData mess = umpData(); - mess.umpGroup = group; - mess.messageType = mt; - mess.streamId = (umpMess[0] >> 8) & 0xFF; - mess.form = status; - mess.dataLength = (umpMess[0] >> 16) & 0xF; - - uint8_t sysex[13]; - - if(mess.dataLength > 1)sysex[0] = umpMess[0] & 0x7F; - if(mess.dataLength > 2)sysex[1] = (umpMess[1] >> 24) & 0x7F; - if(mess.dataLength > 3)sysex[2] = (umpMess[1] >> 16) & 0x7F; - if(mess.dataLength > 4)sysex[3] = (umpMess[1] >> 8) & 0x7F; - if(mess.dataLength > 5)sysex[4] = umpMess[1] & 0x7F; - if(mess.dataLength > 6)sysex[5] = (umpMess[2] >> 24) & 0x7F; - if(mess.dataLength > 7)sysex[6] = (umpMess[2] >> 16) & 0x7F; - if(mess.dataLength > 8)sysex[7] = (umpMess[2] >> 8) & 0x7F; - if(mess.dataLength > 9)sysex[8] = umpMess[2] & 0x7F; - if(mess.dataLength > 10)sysex[9] = (umpMess[3] >> 24) & 0x7F; - if(mess.dataLength > 11)sysex[10] = (umpMess[3] >> 16) & 0x7F; - if(mess.dataLength > 12)sysex[11] = (umpMess[3] >> 8) & 0x7F; - if(mess.dataLength > 13)sysex[12] = umpMess[3] & 0x7F; - - mess.data = sysex; - sendOutSysex(mess); - - }else if(status == 8 || status ==9){ - //Beginning of Mixed Data Set - //uint8_t mdsId = (umpMess[0] >> 16) & 0xF; - - if(status == 8){ - /*uint16_t numValidBytes = umpMess[0] & 0xFFFF; - uint16_t numChunk = (umpMess[1] >> 16) & 0xFFFF; - uint16_t numOfChunk = umpMess[1] & 0xFFFF; - uint16_t manuId = (umpMess[2] >> 16) & 0xFFFF; - uint16_t deviceId = umpMess[2] & 0xFFFF; - uint16_t subId1 = (umpMess[3] >> 16) & 0xFFFF; - uint16_t subId2 = umpMess[3] & 0xFFFF;*/ - }else{ - // MDS bytes? - } - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - - - } - - } - else - if(mt == UMP_FLEX_DATA){ //128 bits Data Messages (including System Exclusive 8) - uint8_t statusBank = (umpMess[0] >> 8) & 0xFF; - uint8_t status = umpMess[0] & 0xFF; - uint8_t channel = (umpMess[0] >> 16) & 0xF; - uint8_t addrs = (umpMess[0] >> 18) & 0b11; - uint8_t form = (umpMess[0] >> 20) & 0b11; - //SysEx 8 - switch (statusBank){ - case FLEXDATA_COMMON:{ //Common/Configuration for MIDI File, Project, and Track - switch (status){ - case FLEXDATA_COMMON_TEMPO: { //Set Tempo Message - if(flexTempo != nullptr) flexTempo(group, umpMess[1]); - break; - } - case FLEXDATA_COMMON_TIMESIG: { //Set Time Signature Message - if(flexTimeSig != nullptr) flexTimeSig(group, - (umpMess[1] >> 24) & 0xFF, - (umpMess[1] >> 16) & 0xFF, - (umpMess[1] >> 8) & 0xFF - ); - break; - } - case FLEXDATA_COMMON_METRONOME: { //Set Metronome Message - if(flexMetronome != nullptr) flexMetronome(group, - (umpMess[1] >> 24) & 0xFF, - (umpMess[1] >> 16) & 0xFF, - (umpMess[1] >> 8) & 0xFF, - umpMess[1] & 0xFF, - (umpMess[2] >> 24) & 0xFF, - (umpMess[2] >> 16) & 0xFF - ); - break; - } - case FLEXDATA_COMMON_KEYSIG: { //Set Key Signature Message - if(flexKeySig != nullptr) flexKeySig(group, addrs, channel, - (umpMess[1] >> 24) & 0xFF, - (umpMess[1] >> 16) & 0xFF - ); - break; - } - case FLEXDATA_COMMON_CHORD: { //Set Chord Message - if(flexChord != nullptr) flexChord(group, addrs, channel, - (umpMess[1] >> 28) & 0xF, //chShrpFlt - (umpMess[1] >> 24) & 0xF, //chTonic - (umpMess[1] >> 16) & 0xFF, //chType - (umpMess[1] >> 12) & 0xF, //chAlt1Type - (umpMess[1] >> 8) & 0xF,//chAlt1Deg - (umpMess[1] >> 4) & 0xF,//chAlt2Type - umpMess[1] & 0xF,//chAlt2Deg - (umpMess[2] >> 28) & 0xF,//chAlt3Type - (umpMess[2] >> 24) & 0xF,//chAlt3Deg - (umpMess[2] >> 20) & 0xF,//chAlt4Type - (umpMess[2] >> 16) & 0xF,//chAlt4Deg - (umpMess[3] >> 28) & 0xF,//baShrpFlt - (umpMess[3] >> 24) & 0xF,//baTonic - (umpMess[3] >> 16) & 0xFF,//baType - (umpMess[3] >> 12) & 0xF,//baAlt1Type - (umpMess[3] >> 8) & 0xF,//baAlt1Deg - (umpMess[3] >> 4) & 0xF,//baAlt2Type - umpMess[1] & 0xF//baAlt2Deg - ); - break; - } - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - break; - } - break; - } - case FLEXDATA_PERFORMANCE: //Performance Events - case FLEXDATA_LYRIC:{ //Lyric Events - umpData mess = umpData(); - mess.umpGroup = group; - mess.messageType = mt; - mess.status = status; - mess.form = form; - mess.dataLength = 0; - uint8_t text[12]; - - for(uint8_t i = 1; i<=3; i++){ - for(int j = 24; j>=0; j-=8){ - uint8_t c = (umpMess[i] >> j) & 0xFF; - if(c){ - text[mess.dataLength++]=c; - } - } - } - mess.data = text; - if(statusBank== FLEXDATA_LYRIC && flexLyric != nullptr) flexLyric(mess, addrs, channel); - if(statusBank== FLEXDATA_PERFORMANCE && flexPerformance != nullptr) flexPerformance(mess, addrs, channel); - break; - - } - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - break; - } - }else{ - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - } - messPos =0; - } else { - messPos++; - } -} - - - - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpToBytestream.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpToBytestream.cpp deleted file mode 100644 index 9b039291b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpToBytestream.cpp +++ /dev/null @@ -1,266 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - - -#include "utils.h" -#include "umpToBytestream.h" - -umpToBytestream::umpToBytestream(){} - -bool umpToBytestream::availableBS(){ - return bsOutLength; -} - -uint8_t umpToBytestream::readBS(){ - uint8_t mess = bsOut[0]; - for(uint8_t i=0;i> 28; - group = UMP >> 24 & 0xF; - switch (mType) { - case UMP_UTILITY: //32 bits Utility Messages - case 0x6: //32 Reserved - case 0x7: //32 Reserved - return; - break; - case UMP_SYSTEM: { //32 bits System Real Time and System Common Messages (except System Exclusive) - bsOutLength = 1; - bsOut[0] = UMP >> 16 & 0xFF; - if (bsOut[0] == 0xF1 || bsOut[0] == 0xF2 || bsOut[0] == 0xF3) { - bsOut[1] = UMP >> 8 & 0x7F; - bsOutLength++; - } - if (bsOut[0] == 0xF2) { - bsOut[2] = UMP & 0x7F; - bsOutLength++; - } - return; - break; - } - case UMP_M1CVM: {//32 Bits MIDI 1.0 Channel Voice Messages - bsOutLength = 2; - bsOut[0] = UMP >> 16 & 0xFF; - bsOut[1] = UMP >> 8 & 0x7F; - if (bsOut[0] >> 4 != 0xC && bsOut[0] >> 4 != 0xD) { - bsOut[2] = UMP & 0x7F; - bsOutLength++; - } - return; - break; - } - case UMP_SYSEX7: //64 bits Data Messages (including System Exclusive) - case UMP_M2CVM: //MIDI2.0 Channel Voice Messages - ump64word1 = UMP; - UMPPos++; - break; - default: - UMPPos++; - break; - } - break; - } - case 1: { //64Bit+ Messages only - switch (mType) { - case 0x8: //64 Reserved - case 0x9: //64 Reserved - case 0xA: //64 Reserved - UMPPos=0; - break; - case UMP_SYSEX7: { //64 bits Data Messages (including System Exclusive) part 2 - - UMPPos = 0; - uint8_t status = (ump64word1 >> 20) & 0xF; - uint8_t numSysexbytes = (ump64word1 >> 16) & 0xF; - - bsOutLength = 0; - - - if (status <= 1) { - bsOut[byPos++] = SYSEX_START; - bsOutLength++; - } - if (numSysexbytes > 0) { - bsOut[byPos++] = ump64word1 >> 8 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 1) { - bsOut[byPos++] = ump64word1 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 2) { - bsOut[byPos++] = UMP >> 24 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 3) { - bsOut[byPos++] = UMP >> 16 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 4) { - bsOut[byPos++] = UMP >> 8 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 5) { - bsOut[byPos++] = UMP & 0x7F; - bsOutLength++; - } - if (status == 0 || status == 3) { - bsOut[byPos++] = SYSEX_STOP; - bsOutLength++; - } - break; - } - case UMP_M2CVM:{ - UMPPos=0; - uint8_t status = ump64word1 >> 16 & 0xF0; - uint8_t channel = ump64word1 >> 16 & 0xF; - uint8_t val1 = ump64word1 >> 8 & 0xFF; - uint8_t val2 = ump64word1 & 0xFF; - - bsOutLength = 0; - - switch (status) { - case NOTE_OFF: //note off - case NOTE_ON: { //note on - bsOut[byPos++] = ump64word1 >> 16 & 0xFF;bsOutLength++; - bsOut[byPos++] = val1; bsOutLength++; - - uint8_t velocity = (uint8_t) M2Utils::scaleDown((UMP >> 16), 16, 7); - if (velocity == 0 && status == NOTE_ON) { - velocity = 1; - } - bsOut[byPos++] = velocity; bsOutLength++; - - break; - } - case KEY_PRESSURE: //poly aftertouch - case CC: {//CC - bsOut[byPos++] = ump64word1 >> 16 & 0xFF;bsOutLength++; - bsOut[byPos++] = val1; bsOutLength++; - uint8_t value = (uint8_t)M2Utils::scaleDown(UMP , 32, 7); - bsOut[byPos++] = value; bsOutLength++; - break; - } - case CHANNEL_PRESSURE: { //Channel Pressure - bsOut[byPos++] = ump64word1 >> 16 & 0xFF;bsOutLength++; - uint8_t value = (uint8_t) M2Utils::scaleDown(UMP, 32, 7); - bsOut[byPos++] = value; bsOutLength++; - break; - } - case RPN: {//rpn - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 101;bsOutLength++; - bsOut[byPos++] = val1;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 100;bsOutLength++; - bsOut[byPos++] = val2;bsOutLength++; - - uint16_t val14bit = (uint16_t)M2Utils::scaleDown(UMP , 32, 14); - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 6;bsOutLength++; - bsOut[byPos++] = (val14bit >> 7) & 0x7F;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 38;bsOutLength++; - bsOut[byPos++] = val14bit & 0x7F;bsOutLength++; - - break; - } - case NRPN: { //nrpn - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 99;bsOutLength++; - bsOut[byPos++] = val1;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 98;bsOutLength++; - bsOut[byPos++] = val2;bsOutLength++; - - uint16_t val14bit = (uint16_t)M2Utils::scaleDown(UMP, 32, 14); - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 6;bsOutLength++; - bsOut[byPos++] = (val14bit >> 7) & 0x7F;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 38;bsOutLength++; - bsOut[byPos++] = val14bit & 0x7F;bsOutLength++; - break; - } - case PROGRAM_CHANGE: { //Program change - if (ump64word1 & 0x1) { - bsOut[byPos++] = CC + channel; - bsOutLength++; - bsOut[byPos++] = 0; - bsOutLength++; - bsOut[byPos++] = (UMP >> 8) & 0x7F; - bsOutLength++; - - bsOut[byPos++] = CC + channel; - bsOutLength++; - bsOut[byPos++] = 32; - bsOutLength++; - bsOut[byPos++] = UMP & 0x7F; - bsOutLength++; - } - bsOut[byPos++] = PROGRAM_CHANGE + channel; - bsOutLength++; - bsOut[byPos++] = (UMP >> 24) & 0x7F; - bsOutLength++; - break; - } - case PITCH_BEND: //Pitch bend - bsOut[byPos++] = (ump64word1 >> 16) & 0xFF;bsOutLength++; - bsOut[byPos++] = (UMP >> 18) & 0x7F;bsOutLength++; - bsOut[byPos++] = (UMP >> 25) & 0x7F;bsOutLength++; - break; - } - - break; - } - default: - UMPPos++; - break; - } - break; - } - case 2:{ - switch (mType) { - case 0xB: //96 Reserved - case 0xC: //96 Reserved - UMPPos = 0; - break; - default: - UMPPos++; - break; - } - break; - } - case 3:{ - UMPPos = 0; - break; - } - } - -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/utils.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/utils.cpp deleted file mode 100644 index 96345b9d9..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/utils.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "utils.h" - -// power of 2, pow(exp) -uint32_t power_of_2(uint8_t exp) -{ - return 1 << exp; // implement integer power of 2 using bit shift -} - - -uint32_t M2Utils::scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits){ - //Handle value of 0 - skip processing - if(srcVal == 0){ - return 0L; - } - - //handle 1-bit (bool) scaling - if(srcBits == 1){ - return power_of_2(dstBits) - 1L; - } - - // simple bit shift - uint8_t scaleBits = (dstBits - srcBits); - uint32_t bitShiftedValue = (srcVal + 0L) << scaleBits; - auto srcCenter = power_of_2((srcBits-1)); - if (srcVal <= srcCenter ) { - return bitShiftedValue; - } - - // expanded bit repeat scheme - uint8_t repeatBits = srcBits - 1; - auto repeatMask = power_of_2(repeatBits) - 1; - uint32_t repeatValue = srcVal & repeatMask; - if (scaleBits > repeatBits) { - repeatValue <<= scaleBits - repeatBits; - } else { - repeatValue >>= repeatBits - scaleBits; - } - - while (repeatValue != 0) { - bitShiftedValue |= repeatValue; - repeatValue >>= repeatBits; - } - return bitShiftedValue; -} - -uint32_t M2Utils::scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits) { - // simple bit shift - uint8_t scaleBits = (srcBits - dstBits); - return srcVal >> scaleBits; -} - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps index 33b57cc4c..174a3c295 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log index de861fa39..484b387c9 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log @@ -1,11 +1,12 @@ # ninja log v5 -55 183 7351963302593602 CMakeFiles/libmidi2.dir/src/mcoded7.cpp.obj 60df534a87b6a413 -6 188 7351963302653617 CMakeFiles/libmidi2.dir/src/utils.cpp.obj cb1153d5ae147078 -13 194 7351963302723600 CMakeFiles/libmidi2.dir/src/bytestreamToUMP.cpp.obj f4a9df46df654943 -18 203 7351963302823583 CMakeFiles/libmidi2.dir/src/umpToBytestream.cpp.obj 7921f26429dcda42 -30 272 7351963303508772 CMakeFiles/libmidi2.dir/src/midiCIMessageCreate.cpp.obj d74571cc65c4643f -24 272 7351963303518775 CMakeFiles/libmidi2.dir/src/umpMessageCreate.cpp.obj db2300cf61b9c9a8 -46 469 7351963305480810 CMakeFiles/libmidi2.dir/src/umpProcessor.cpp.obj 410c0a9762ddd11b -37 620 7351963306987383 CMakeFiles/libmidi2.dir/src/midiCIProcessor.cpp.obj 7baba9e7abb8a2c -621 700 7351963307740774 libmidi2.lib 100dd1b76da91030 -700 810 0 CMakeFiles/install.util 67468e2fafdb664e +38 491 7377656384445493 CMakeFiles/libmidi2.dir/src/bytestreamToUMP.cpp.obj f3e4ae4d0e05be3f +67 515 7377656384889521 CMakeFiles/libmidi2.dir/src/umpToBytestream.cpp.obj 763246c588b92d84 +17 518 7377656385153914 CMakeFiles/libmidi2.dir/src/utils.cpp.obj a45705b95159f2ba +83 524 7377656385321687 CMakeFiles/libmidi2.dir/src/umpToMIDI1Protocol.cpp.obj b5f6c236b5b43027 +155 525 7377656385180774 CMakeFiles/libmidi2.dir/src/mcoded7.cpp.obj 7ad2ac443fa2b119 +109 593 7377656385971096 CMakeFiles/libmidi2.dir/src/midiCIMessageCreate.cpp.obj 1ab7ef843bf62c94 +97 597 7377656386062683 CMakeFiles/libmidi2.dir/src/umpMessageCreate.cpp.obj 80dcfe695419cd19 +142 869 7377656388818807 CMakeFiles/libmidi2.dir/src/umpProcessor.cpp.obj e2e85e4b28f2916a +123 1057 7377656390547192 CMakeFiles/libmidi2.dir/src/midiCIProcessor.cpp.obj eb6d98bb4e29fe0c +1057 1181 7377656391732230 libmidi2.lib 2b841a7398418d74 +1181 1549 0 CMakeFiles/install.util 93882e37e6a9756 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt index 20e6179c0..05bddf83a 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt @@ -1,5 +1,5 @@ # This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg +# For build in directory: c:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg # It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=OFF //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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=Debug CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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=/MD /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.40.33721/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -92,7 +92,7 @@ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/pkgRedirects +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin @@ -101,13 +101,13 @@ CMAKE_INSTALL_BINDIR:STRING=bin CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug +CMAKE_INSTALL_PREFIX:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug //No help, variable specified on the command line. 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.40.33721/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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.26100 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -254,7 +254,7 @@ VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed +VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= @@ -307,19 +307,19 @@ X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF //The directory which contains the installed libraries for each // triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed +_VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg //Value Computed by CMake -libmidi2_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg +libmidi2_BINARY_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg //Value Computed by CMake libmidi2_IS_TOP_LEVEL:STATIC=ON //Value Computed by CMake -libmidi2_SOURCE_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean +libmidi2_SOURCE_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean ######################## @@ -329,7 +329,7 @@ libmidi2_SOURCE_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStream //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg +CMAKE_CACHEFILE_DIR:INTERNAL=c:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache @@ -396,7 +396,7 @@ CMAKE_GENERATOR_PLATFORM:INTERNAL= CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project -CMAKE_HOME_DIRECTORY:INTERNAL=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean +CMAKE_HOME_DIRECTORY:INTERNAL=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake index a6c08b8a4..06595fa31 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake @@ -1,7 +1,7 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") +set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") set(CMAKE_C_COMPILER_ARG1 "") set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33721.2") +set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") set(CMAKE_C_COMPILER_VERSION_INTERNAL "") set(CMAKE_C_COMPILER_WRAPPER "") set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") @@ -21,11 +21,11 @@ set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) set(MSVC_C_ARCHITECTURE_ID x64) -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") +set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") set(CMAKE_C_COMPILER_AR "") set(CMAKE_RANLIB ":") set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") +set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") set(CMAKE_TAPI "") set(CMAKE_COMPILER_IS_GNUCC ) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake index f9fe7e0e5..e52d37c63 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake @@ -1,7 +1,7 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") +set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") set(CMAKE_CXX_COMPILER_ARG1 "") set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33721.2") +set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") set(CMAKE_CXX_COMPILER_WRAPPER "") set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") @@ -22,11 +22,11 @@ set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) set(MSVC_CXX_ARCHITECTURE_ID x64) -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") +set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") set(CMAKE_CXX_COMPILER_AR "") set(CMAKE_RANLIB ":") set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") +set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") set(CMAKE_TAPI "") set(CMAKE_COMPILER_IS_GNUCXX ) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin index 882b9f2d7..5e78c77a9 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin index 79cc6f58e..f7d329bc2 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake index c39544b85..6f8d4dc18 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake @@ -1,13 +1,13 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26100") +set(CMAKE_HOST_SYSTEM "Windows-10.0.26217") set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26100") +set(CMAKE_HOST_SYSTEM_VERSION "10.0.26217") set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") -set(CMAKE_SYSTEM "Windows-10.0.26100") +set(CMAKE_SYSTEM "Windows-10.0.26217") set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26100") +set(CMAKE_SYSTEM_VERSION "10.0.26217") set(CMAKE_SYSTEM_PROCESSOR "AMD64") set(CMAKE_CROSSCOMPILING "OFF") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe index 1939ef5c9..88da32432 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe index 2d3e51de0..958a12de9 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml index 3f0995a16..3ca8b2eaa 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml @@ -7,8 +7,8 @@ events: - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:228 (message)" - "CMakeLists.txt:3 (project)" message: | - The target system is: Windows - 10.0.26100 - AMD64 - The host system is: Windows - 10.0.26100 - AMD64 + The target system is: Windows - 10.0.26217 - AMD64 + The host system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: @@ -18,7 +18,7 @@ events: - "CMakeLists.txt:3 (project)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,7 +32,7 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" @@ -44,7 +44,7 @@ events: message: | Detecting C compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - @@ -56,7 +56,7 @@ events: - "CMakeLists.txt:3 (project)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,7 +70,7 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" @@ -82,7 +82,7 @@ events: message: | Detecting CXX compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - @@ -94,8 +94,8 @@ events: checks: - "Detecting C compiler ABI info" directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-pmqf1k" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-pmqf1k" + source: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-s541c2" + binary: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-s541c2" cmakeVariables: CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP " CMAKE_C_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " @@ -111,11 +111,11 @@ events: variable: "CMAKE_C_ABI_COMPILED" cached: true stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-pmqf1k' + Change Dir: 'C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-s541c2' - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_b59eb - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_b59eb.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_b59eb.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCCompilerABI.c" - [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_b59eb.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_b59eb.dir\\CMakeCCompilerABI.c.obj /out:cmTC_b59eb.exe /implib:cmTC_b59eb.lib /pdb:cmTC_b59eb.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." + Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_835dd + [1/2] C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_835dd.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_835dd.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCCompilerABI.c" + [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_835dd.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_835dd.dir\\CMakeCCompilerABI.c.obj /out:cmTC_835dd.exe /implib:cmTC_835dd.lib /pdb:cmTC_835dd.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." exitCode: 0 - @@ -127,8 +127,8 @@ events: checks: - "Detecting CXX compiler ABI info" directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-8wlabt" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-8wlabt" + source: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-wwviaz" + binary: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-wwviaz" cmakeVariables: CMAKE_CXX_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP " CMAKE_CXX_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " @@ -144,11 +144,11 @@ events: variable: "CMAKE_CXX_ABI_COMPILED" cached: true stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-8wlabt' + Change Dir: 'C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-wwviaz' - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_ab151 - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_ab151.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_ab151.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCXXCompilerABI.cpp" - [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_ab151.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_ab151.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_ab151.exe /implib:cmTC_ab151.lib /pdb:cmTC_ab151.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." + Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_ee544 + [1/2] C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_ee544.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_ee544.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCXXCompilerABI.cpp" + [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_ee544.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_ee544.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_ee544.exe /implib:cmTC_ee544.lib /pdb:cmTC_ee544.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." exitCode: 0 ... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt index 063d1445e..2284884f9 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt @@ -1,6 +1,6 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/libmidi2.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rebuild_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/list_install_components.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/install.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/install/local.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/libmidi2.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/edit_cache.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rebuild_cache.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/list_install_components.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/install.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/install/local.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja index 6c80507d1..39188b086 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja @@ -22,7 +22,7 @@ msvc_deps_prefix = Note: including file: rule CXX_COMPILER__libmidi2_unscanned_Debug deps = msvc - command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\cl.exe /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in + command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MICROS~2\2022\Preview\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\cl.exe /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in description = Building CXX object $out @@ -30,7 +30,7 @@ rule CXX_COMPILER__libmidi2_unscanned_Debug # Rule for linking CXX static library. rule CXX_STATIC_LIBRARY_LINKER__libmidi2_Debug - command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\lib.exe $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD" + command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MICROS~2\2022\Preview\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\lib.exe $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD" description = Linking CXX static library $TARGET_FILE restat = $RESTAT @@ -47,7 +47,7 @@ rule CUSTOM_COMMAND # Rule for re-running cmake. rule RERUN_CMAKE - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg + command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean -BC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg description = Re-running CMake... generator = 1 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja index 99d0bd5b7..037882c0a 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja @@ -39,7 +39,7 @@ include CMakeFiles\rules.ninja ############################################# # Logical path to working directory; prefix for absolute paths. -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg\ +cmake_ninja_workdir = C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg\ # ============================================================================= # Object build statements for STATIC_LIBRARY target libmidi2 @@ -49,65 +49,73 @@ cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUM build cmake_object_order_depends_target_libmidi2: phony || CMakeFiles\libmidi2.dir -build CMakeFiles\libmidi2.dir\src\utils.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\utils.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\utils.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\utils.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\bytestreamToUMP.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\bytestreamToUMP.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpToBytestream.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpToBytestream.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpToMIDI1Protocol.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpToMIDI1Protocol.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIProcessor.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\midiCIMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpProcessor.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\midiCIProcessor.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\mcoded7.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpProcessor.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include + OBJECT_DIR = CMakeFiles\libmidi2.dir + OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src + TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb + TARGET_PDB = libmidi2.pdb + +build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\mcoded7.cpp || cmake_object_order_depends_target_libmidi2 + FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb @@ -121,7 +129,7 @@ build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscan ############################################# # Link the static library libmidi2.lib -build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Debug CMakeFiles\libmidi2.dir\src\utils.cpp.obj CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj +build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Debug CMakeFiles\libmidi2.dir\src\utils.cpp.obj CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj CMakeFiles\libmidi2.dir\src\umpToMIDI1Protocol.cpp.obj CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj LANGUAGE_COMPILE_FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 LINK_FLAGS = /machine:x64 /nologo OBJECT_DIR = CMakeFiles\libmidi2.dir @@ -136,7 +144,7 @@ build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Debug CMakeFiles\libmidi # Utility command for edit_cache build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."" DESC = No interactive CMake dialog available... restat = 1 @@ -147,7 +155,7 @@ build edit_cache: phony CMakeFiles\edit_cache.util # Utility command for rebuild_cache build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean -BC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg" DESC = Running CMake to regenerate build system... pool = console restat = 1 @@ -165,7 +173,7 @@ build list_install_components: phony # Utility command for install build CMakeFiles\install.util: CUSTOM_COMMAND all - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P cmake_install.cmake" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P cmake_install.cmake" DESC = Install the project... pool = console restat = 1 @@ -177,7 +185,7 @@ build install: phony CMakeFiles\install.util # Utility command for install/local build CMakeFiles\install\local.util: CUSTOM_COMMAND all - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-dbg && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake" DESC = Installing only the local directory... pool = console restat = 1 @@ -195,7 +203,7 @@ build libmidi2: phony libmidi2.lib # ============================================================================= ############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg +# Folder: C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg build all: phony libmidi2.lib @@ -206,14 +214,14 @@ build all: phony libmidi2.lib ############################################# # Re-run CMake if any of its inputs changed. -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt +build build.ninja: RERUN_CMAKE | C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake pool = console ############################################# # A missing CMake input file is not an error. -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt: phony +build C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake: phony ############################################# diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake index eee7e5fb1..4764b41e7 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake @@ -1,8 +1,8 @@ -# Install script for directory: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean +# Install script for directory: C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean # Set the install prefix if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug") + set(CMAKE_INSTALL_PREFIX "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug") endif() string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") @@ -33,14 +33,14 @@ if(NOT DEFINED CMAKE_CROSSCOMPILING) endif() if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib") endif() if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake") file(DIFFERENT _cmake_export_file_changed FILES "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") if(_cmake_export_file_changed) file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config-*.cmake") if(_cmake_old_config_files) @@ -53,22 +53,23 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT endif() unset(_cmake_export_file_changed) endif() - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") if(CMAKE_INSTALL_CONFIG_NAME MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-debug.cmake") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-debug.cmake") endif() endif() if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libmidi2" TYPE FILE FILES - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/bytestreamToUMP.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/mcoded7.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/midiCIMessageCreate.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/midiCIProcessor.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpMessageCreate.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpProcessor.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpToBytestream.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpToMIDI1Protocol.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/utils.h" ) endif() @@ -80,5 +81,5 @@ endif() string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/${CMAKE_INSTALL_MANIFEST}" +file(WRITE "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/${CMAKE_INSTALL_MANIFEST}" "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt index 5c1603a5c..605db1387 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt @@ -1,11 +1,12 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/lib/libmidi2.lib -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/share/libmidi2/libmidi2-config.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/share/libmidi2/libmidi2-config-debug.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/bytestreamToUMP.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/mcoded7.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/midiCIMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/midiCIProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpToBytestream.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/utils.h \ No newline at end of file +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/lib/libmidi2.lib +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/share/libmidi2/libmidi2-config.cmake +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/share/libmidi2/libmidi2-config-debug.cmake +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/bytestreamToUMP.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/mcoded7.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/midiCIMessageCreate.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/midiCIProcessor.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpMessageCreate.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpProcessor.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpToBytestream.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpToMIDI1Protocol.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/utils.h \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib index 5cc6c47f3..77234c981 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps index 48c5c1cfa..fa3500d37 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log index b3b5b36d8..900faee49 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log @@ -1,11 +1,12 @@ # ninja log v5 -54 177 7351963311362895 CMakeFiles/libmidi2.dir/src/mcoded7.cpp.obj d63205d80ec8e10e -6 194 7351963311537316 CMakeFiles/libmidi2.dir/src/utils.cpp.obj f0785c4f8a2ab02c -17 219 7351963311807293 CMakeFiles/libmidi2.dir/src/umpToBytestream.cpp.obj a5aeb12c32dfe15b -12 227 7351963311887311 CMakeFiles/libmidi2.dir/src/bytestreamToUMP.cpp.obj a3c74f6b6359158c -23 285 7351963312417362 CMakeFiles/libmidi2.dir/src/umpMessageCreate.cpp.obj 170f52d5070fa110 -30 306 7351963312652497 CMakeFiles/libmidi2.dir/src/midiCIMessageCreate.cpp.obj af76961d758e30ee -46 615 7351963315703009 CMakeFiles/libmidi2.dir/src/umpProcessor.cpp.obj bc7fd127eb0cb52 -38 800 7351963317557555 CMakeFiles/libmidi2.dir/src/midiCIProcessor.cpp.obj d2c124527ac1454d -800 882 7351963318357551 libmidi2.lib 100dd1b76da91030 -882 977 0 CMakeFiles/install.util 2bdb56041a44bdb2 +164 670 7377656403754258 CMakeFiles/libmidi2.dir/src/mcoded7.cpp.obj 7776eea430ec46b8 +16 701 7377656403902166 CMakeFiles/libmidi2.dir/src/utils.cpp.obj 32d115d2e8d29b60 +38 813 7377656405188427 CMakeFiles/libmidi2.dir/src/bytestreamToUMP.cpp.obj 9e309c2f9a79f091 +68 815 7377656405367302 CMakeFiles/libmidi2.dir/src/umpToBytestream.cpp.obj b1d39fb81d693151 +97 826 7377656405564156 CMakeFiles/libmidi2.dir/src/umpToMIDI1Protocol.cpp.obj f3295e0a0bb77c5c +114 831 7377656405699123 CMakeFiles/libmidi2.dir/src/umpMessageCreate.cpp.obj adb5ffdb6d3e634f +127 1015 7377656407493650 CMakeFiles/libmidi2.dir/src/midiCIMessageCreate.cpp.obj c53ded469e72fe1d +150 1406 7377656411391090 CMakeFiles/libmidi2.dir/src/umpProcessor.cpp.obj f057141288fe3711 +138 1626 7377656413441724 CMakeFiles/libmidi2.dir/src/midiCIProcessor.cpp.obj 73ffe45f9f323936 +1627 1752 7377656414712300 libmidi2.lib 2b841a7398418d74 +1752 2131 0 CMakeFiles/install.util c2d1289a31e70660 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt index 185a1afdd..fa7ea4e51 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt @@ -1,5 +1,5 @@ # This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel +# For build in directory: c:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel # It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. @@ -18,7 +18,7 @@ BUILD_SHARED_LIBS:UNINITIALIZED=OFF //Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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.40.33721/bin/Hostx64/x64/cl.exe +CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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=/MD /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.40.33721/bin/Hostx64/x64/cl.exe +CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' @@ -92,7 +92,7 @@ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/pkgRedirects +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin @@ -101,13 +101,13 @@ CMAKE_INSTALL_BINDIR:STRING=bin CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows +CMAKE_INSTALL_PREFIX:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows //No help, variable specified on the command line. 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.40.33721/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/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.26100 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -254,7 +254,7 @@ VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed +VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= @@ -307,19 +307,19 @@ X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF //The directory which contains the installed libraries for each // triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed +_VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg //Value Computed by CMake -libmidi2_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel +libmidi2_BINARY_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel //Value Computed by CMake libmidi2_IS_TOP_LEVEL:STATIC=ON //Value Computed by CMake -libmidi2_SOURCE_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean +libmidi2_SOURCE_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean ######################## @@ -329,7 +329,7 @@ libmidi2_SOURCE_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStream //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel +CMAKE_CACHEFILE_DIR:INTERNAL=c:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache @@ -396,7 +396,7 @@ CMAKE_GENERATOR_PLATFORM:INTERNAL= CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project -CMAKE_HOME_DIRECTORY:INTERNAL=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean +CMAKE_HOME_DIRECTORY:INTERNAL=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake index a6c08b8a4..06595fa31 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake @@ -1,7 +1,7 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") +set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") set(CMAKE_C_COMPILER_ARG1 "") set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33721.2") +set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") set(CMAKE_C_COMPILER_VERSION_INTERNAL "") set(CMAKE_C_COMPILER_WRAPPER "") set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") @@ -21,11 +21,11 @@ set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) set(MSVC_C_ARCHITECTURE_ID x64) -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") +set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") set(CMAKE_C_COMPILER_AR "") set(CMAKE_RANLIB ":") set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") +set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") set(CMAKE_TAPI "") set(CMAKE_COMPILER_IS_GNUCC ) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake index f9fe7e0e5..e52d37c63 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake @@ -1,7 +1,7 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") +set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") set(CMAKE_CXX_COMPILER_ARG1 "") set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33721.2") +set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") set(CMAKE_CXX_COMPILER_WRAPPER "") set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") @@ -22,11 +22,11 @@ set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) set(MSVC_CXX_ARCHITECTURE_ID x64) -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") +set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") set(CMAKE_CXX_COMPILER_AR "") set(CMAKE_RANLIB ":") set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") +set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") set(CMAKE_TAPI "") set(CMAKE_COMPILER_IS_GNUCXX ) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin index e8277e123..7fafc3402 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_C.bin differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin index fd82634d9..0cffc11e7 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake index c39544b85..6f8d4dc18 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake @@ -1,13 +1,13 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26100") +set(CMAKE_HOST_SYSTEM "Windows-10.0.26217") set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26100") +set(CMAKE_HOST_SYSTEM_VERSION "10.0.26217") set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") -set(CMAKE_SYSTEM "Windows-10.0.26100") +set(CMAKE_SYSTEM "Windows-10.0.26217") set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26100") +set(CMAKE_SYSTEM_VERSION "10.0.26217") set(CMAKE_SYSTEM_PROCESSOR "AMD64") set(CMAKE_CROSSCOMPILING "OFF") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe index 1939ef5c9..88da32432 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe index 2d3e51de0..958a12de9 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index e081cb3b0..5b65a1965 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -7,8 +7,8 @@ events: - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:228 (message)" - "CMakeLists.txt:3 (project)" message: | - The target system is: Windows - 10.0.26100 - AMD64 - The host system is: Windows - 10.0.26100 - AMD64 + The target system is: Windows - 10.0.26217 - AMD64 + The host system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: @@ -18,7 +18,7 @@ events: - "CMakeLists.txt:3 (project)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,7 +32,7 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" @@ -44,7 +44,7 @@ events: message: | Detecting C compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - @@ -56,7 +56,7 @@ events: - "CMakeLists.txt:3 (project)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,7 +70,7 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" @@ -82,7 +82,7 @@ events: message: | Detecting CXX compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\vcpkg\\blds\\libmidi2\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - @@ -94,8 +94,8 @@ events: checks: - "Detecting C compiler ABI info" directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-yc90yl" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-yc90yl" + source: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-jaqjjx" + binary: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-jaqjjx" cmakeVariables: CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP " CMAKE_C_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " @@ -111,11 +111,11 @@ events: variable: "CMAKE_C_ABI_COMPILED" cached: true stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-yc90yl' + Change Dir: 'C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-jaqjjx' - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_02201 - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_02201.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_02201.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCCompilerABI.c" - [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_02201.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_02201.dir\\CMakeCCompilerABI.c.obj /out:cmTC_02201.exe /implib:cmTC_02201.lib /pdb:cmTC_02201.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." + Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_7234f + [1/2] C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_7234f.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_7234f.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCCompilerABI.c" + [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_7234f.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_7234f.dir\\CMakeCCompilerABI.c.obj /out:cmTC_7234f.exe /implib:cmTC_7234f.lib /pdb:cmTC_7234f.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." exitCode: 0 - @@ -127,8 +127,8 @@ events: checks: - "Detecting CXX compiler ABI info" directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-hbdh5c" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-hbdh5c" + source: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-kdcma3" + binary: "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-kdcma3" cmakeVariables: CMAKE_CXX_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP " CMAKE_CXX_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " @@ -144,11 +144,11 @@ events: variable: "CMAKE_CXX_ABI_COMPILED" cached: true stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-hbdh5c' + Change Dir: 'C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-kdcma3' - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_cf4c9 - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_cf4c9.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_cf4c9.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCXXCompilerABI.cpp" - [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_cf4c9.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_cf4c9.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_cf4c9.exe /implib:cmTC_cf4c9.lib /pdb:cmTC_cf4c9.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." + Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_5fced + [1/2] C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_5fced.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_5fced.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCXXCompilerABI.cpp" + [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_5fced.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MICROS~2\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_5fced.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_5fced.exe /implib:cmTC_5fced.lib /pdb:cmTC_5fced.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." exitCode: 0 ... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt index 598096c11..ca295a848 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt @@ -1,6 +1,6 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/libmidi2.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rebuild_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/list_install_components.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/install.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/install/local.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/libmidi2.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/edit_cache.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rebuild_cache.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/list_install_components.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/install.dir +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/install/local.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja index 5b5d5b5b7..0e55276c3 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja @@ -22,7 +22,7 @@ msvc_deps_prefix = Note: including file: rule CXX_COMPILER__libmidi2_unscanned_Release deps = msvc - command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\cl.exe /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in + command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MICROS~2\2022\Preview\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\cl.exe /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in description = Building CXX object $out @@ -30,7 +30,7 @@ rule CXX_COMPILER__libmidi2_unscanned_Release # Rule for linking CXX static library. rule CXX_STATIC_LIBRARY_LINKER__libmidi2_Release - command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\lib.exe $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD" + command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MICROS~2\2022\Preview\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\lib.exe $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD" description = Linking CXX static library $TARGET_FILE restat = $RESTAT @@ -47,7 +47,7 @@ rule CUSTOM_COMMAND # Rule for re-running cmake. rule RERUN_CMAKE - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel + command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean -BC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel description = Re-running CMake... generator = 1 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja index cc93b5fde..5f7b2738a 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja @@ -39,7 +39,7 @@ include CMakeFiles\rules.ninja ############################################# # Logical path to working directory; prefix for absolute paths. -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel\ +cmake_ninja_workdir = C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel\ # ============================================================================= # Object build statements for STATIC_LIBRARY target libmidi2 @@ -49,65 +49,73 @@ cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUM build cmake_object_order_depends_target_libmidi2: phony || CMakeFiles\libmidi2.dir -build CMakeFiles\libmidi2.dir\src\utils.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\utils.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\utils.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\utils.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\bytestreamToUMP.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\bytestreamToUMP.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpToBytestream.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpToBytestream.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpToMIDI1Protocol.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpToMIDI1Protocol.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIProcessor.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\midiCIMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpProcessor.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\midiCIProcessor.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb TARGET_PDB = libmidi2.pdb -build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\mcoded7.cpp || cmake_object_order_depends_target_libmidi2 +build CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\umpProcessor.cpp || cmake_object_order_depends_target_libmidi2 FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include + OBJECT_DIR = CMakeFiles\libmidi2.dir + OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src + TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb + TARGET_PDB = libmidi2.pdb + +build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\src\mcoded7.cpp || cmake_object_order_depends_target_libmidi2 + FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall + INCLUDES = -IC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\include OBJECT_DIR = CMakeFiles\libmidi2.dir OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb @@ -121,7 +129,7 @@ build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscan ############################################# # Link the static library libmidi2.lib -build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Release CMakeFiles\libmidi2.dir\src\utils.cpp.obj CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj +build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Release CMakeFiles\libmidi2.dir\src\utils.cpp.obj CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj CMakeFiles\libmidi2.dir\src\umpToMIDI1Protocol.cpp.obj CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj LANGUAGE_COMPILE_FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 LINK_FLAGS = /machine:x64 /nologo OBJECT_DIR = CMakeFiles\libmidi2.dir @@ -136,7 +144,7 @@ build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Release CMakeFiles\libmi # Utility command for edit_cache build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."" DESC = No interactive CMake dialog available... restat = 1 @@ -147,7 +155,7 @@ build edit_cache: phony CMakeFiles\edit_cache.util # Utility command for rebuild_cache build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean -BC:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel" DESC = Running CMake to regenerate build system... pool = console restat = 1 @@ -165,7 +173,7 @@ build list_install_components: phony # Utility command for install build CMakeFiles\install.util: CUSTOM_COMMAND all - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P cmake_install.cmake" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P cmake_install.cmake" DESC = Install the project... pool = console restat = 1 @@ -177,7 +185,7 @@ build install: phony CMakeFiles\install.util # Utility command for install/local build CMakeFiles\install\local.util: CUSTOM_COMMAND all - COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake" DESC = Installing only the local directory... pool = console restat = 1 @@ -195,7 +203,7 @@ build libmidi2: phony libmidi2.lib # ============================================================================= ############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel +# Folder: C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel build all: phony libmidi2.lib @@ -206,14 +214,14 @@ build all: phony libmidi2.lib ############################################# # Re-run CMake if any of its inputs changed. -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt +build build.ninja: RERUN_CMAKE | C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake pool = console ############################################# # A missing CMake input file is not an error. -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt: phony +build C$:\GitHub\Microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\vcpkg\blds\libmidi2\src\v0.10-041d1ac4e6.clean\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompilerABI.c C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompilerABI.cpp C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompileFeatures.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerABI.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeParseLibraryArchitecture.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCompilerCommon.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Internal\FeatureTesting.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake: phony ############################################# diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake index 9a3de533a..861110217 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake @@ -1,8 +1,8 @@ -# Install script for directory: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean +# Install script for directory: C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean # Set the install prefix if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows") + set(CMAKE_INSTALL_PREFIX "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows") endif() string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") @@ -33,14 +33,14 @@ if(NOT DEFINED CMAKE_CROSSCOMPILING) endif() if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib") endif() if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake") file(DIFFERENT _cmake_export_file_changed FILES "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") if(_cmake_export_file_changed) file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config-*.cmake") if(_cmake_old_config_files) @@ -53,22 +53,23 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT endif() unset(_cmake_export_file_changed) endif() - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") if(CMAKE_INSTALL_CONFIG_NAME MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-release.cmake") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-release.cmake") endif() endif() if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libmidi2" TYPE FILE FILES - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/bytestreamToUMP.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/mcoded7.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/midiCIMessageCreate.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/midiCIProcessor.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpMessageCreate.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpProcessor.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpToBytestream.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/umpToMIDI1Protocol.h" + "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean/include/utils.h" ) endif() @@ -80,5 +81,5 @@ endif() string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" +file(WRITE "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt index d342ce540..305324773 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt @@ -1,11 +1,12 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-release.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/bytestreamToUMP.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/mcoded7.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToBytestream.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/utils.h \ No newline at end of file +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-release.cmake +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/bytestreamToUMP.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/mcoded7.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIMessageCreate.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIProcessor.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpMessageCreate.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpProcessor.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToBytestream.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToMIDI1Protocol.h +C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/utils.h \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib index ce791f5be..1e27f8096 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index ac66a89e4..19e1bd9d9 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,3 +1,3 @@ # ninja log v5 -1 2852 7351963299277122 ../CMakeCache.txt 8cb002a25afdebbf -8 2855 7351963299287116 ../../x64-windows-dbg/CMakeCache.txt cc106b39b2cb9f12 +4 3714 7377656377569481 ../CMakeCache.txt 3ac91fac0e6943da +30 3720 7377656377703764 ../../x64-windows-dbg/CMakeCache.txt fb30f81cd706ece0 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja index 3adfee7e4..96ebe05a9 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja @@ -2,8 +2,8 @@ rule CreateProcess command = $process build ../CMakeCache.txt: CreateProcess - process = "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" + process = "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" build ../../x64-windows-dbg/CMakeCache.txt: CreateProcess - process = "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" + process = "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" "C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/src/v0.10-041d1ac4e6.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/GitHub/Microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index 5b8294dad..dc1f6d44b 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -1,7 +1,7 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake index 9a506956d..ccec60b03 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake @@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "2.8.3") message(FATAL_ERROR "CMake >= 2.8.3 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.3...3.26) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index c895479e5..ce9be0b09 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index f66e8764d..c353f5b58 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000000 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000000 index 8215bb8e6..a208e593a 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000000 +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000000 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 4dc0cd651e0c67822778f2bb4799ec8dc3d0f5177cb955f4f296438d0d62d72e -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok half-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000001 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000001 index ab403462a..3e87c2b02 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000001 +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000001 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 4dc0cd651e0c67822778f2bb4799ec8dc3d0f5177cb955f4f296438d0d62d72e -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok not-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000002 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000002 index 4e7db2362..f4e425e7d 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000002 +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000002 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 19bca33feedc30de5c7b6d2ccdf1a7addbadc017f3f16d344142deebb45511fa -Status: purge ok half-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000003 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000003 index 8cada53d0..54c72c657 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000003 +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000003 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 19bca33feedc30de5c7b6d2ccdf1a7addbadc017f3f16d344142deebb45511fa -Status: purge ok not-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000004 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000004 index c37ff5e54..cc932f315 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000004 +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000004 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 9515414998007bc5614840c34e705f7f1407aeb4711c7e7fa3b7515f4bbc92a1 -Status: purge ok half-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000005 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000005 index f1e809d8e..04d12436c 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000005 +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/updates/0000000005 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 9515414998007bc5614840c34e705f7f1407aeb4711c7e7fa3b7515f4bbc92a1 -Status: purge ok not-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/vcpkg-lock.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/vcpkg-lock.json index f65eb46bd..f5ffd43b5 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/vcpkg-lock.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774" } } diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/.msbuildstamp-x64-windows.stamp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/.msbuildstamp-x64-windows.stamp deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/lib/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/lib/libmidi2.lib and b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake index 9a506956d..ccec60b03 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake @@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "2.8.3") message(FATAL_ERROR "CMake >= 2.8.3 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.3...3.26) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt deleted file mode 100644 index 2621bfe28..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ /dev/null @@ -1,476 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//No help, variable specified on the command line. -BUILD_SHARED_LIBS:UNINITIALIZED=ON - -//Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -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.40.33807/bin/Hostx64/x64/cl.exe - -CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' - -CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG - -CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C++ applications. -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.40.33807/bin/Hostx64/x64/cl.exe - -CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' - -CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the C compiler during MINSIZEREL builds. -CMAKE_C_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG - -CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the C compiler during RELWITHDEBINFO builds. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C applications. -CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib - -//No help, variable specified on the command line. -CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//No help, variable specified on the command line. -CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects - -//No help, variable specified on the command line. -CMAKE_INSTALL_BINDIR:STRING=bin - -//No help, variable specified on the command line. -CMAKE_INSTALL_LIBDIR:STRING=lib - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/detect_compiler_x64-windows - -//No help, variable specified on the command line. -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.40.33807/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 - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> - -//Path to a program. -CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=detect_compiler - -//RC compiler -CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe - -CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 - -//Flags for Windows Resource Compiler during DEBUG builds. -CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG - -//Flags for Windows Resource Compiler during MINSIZEREL builds. -CMAKE_RC_FLAGS_MINSIZEREL:STRING= - -//Flags for Windows Resource Compiler during RELEASE builds. -CMAKE_RC_FLAGS_RELEASE:STRING= - -//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. -CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -CMAKE_SYSTEM_NAME:STRING=Windows - -CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 - -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 - -//The CMake toolchain file -CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=ON - -//Automatically copy dependencies into the output directory for -// executables. -VCPKG_APPLOCAL_DEPS:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake - -//No help, variable specified on the command line. -VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= - -//The directory which contains the installed libraries for each -// triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= - -//The path to the vcpkg manifest directory. -VCPKG_MANIFEST_DIR:PATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - -//Install the dependencies listed in your manifest: -//\n If this is off, you will have to manually install your dependencies. -//\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md -// for more info. -//\n -VCPKG_MANIFEST_INSTALL:BOOL=OFF - -//Use manifest mode, as opposed to classic mode. -VCPKG_MANIFEST_MODE:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 - -//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH -// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are -// found after toolchain/system libraries/packages. -VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF - -//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths -VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON - -//No help, variable specified on the command line. -VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 - -//Vcpkg target triplet (ex. x86-windows) -VCPKG_TARGET_TRIPLET:STRING=x64-windows - -//Trace calls to find_package() -VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF - -//Enables messages from the VCPKG toolchain for debugging purposes. -VCPKG_VERBOSE:BOOL=OFF - -//(experimental) Automatically copy dependencies into the install -// target directory for executables. Requires CMake 3.14. -X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF - -//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force -// serialization. -X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF - -//No help, variable specified on the command line. -Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//The directory which contains the installed libraries for each -// triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows - -//No help, variable specified on the command line. -_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel - -//Value Computed by CMake -detect_compiler_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES -CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES -CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MT -CMAKE_MT-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//noop for ranlib -CMAKE_RANLIB:INTERNAL=: -//ADVANCED property for variable: CMAKE_RC_COMPILER -CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 -CMAKE_RC_COMPILER_WORKS:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS -CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG -CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL -CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE -CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO -CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE -CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: VCPKG_VERBOSE -VCPKG_VERBOSE-ADVANCED:INTERNAL=1 -//Making sure VCPKG_MANIFEST_MODE doesn't change -Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=ON - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake deleted file mode 100644 index 4c9d9a854..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMAKE_RC_COMPILER "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe") -set(CMAKE_RC_COMPILER_ARG1 "") -set(CMAKE_RC_COMPILER_LOADED 1) -set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) -set(CMAKE_RC_OUTPUT_EXTENSION .res) -set(CMAKE_RC_COMPILER_ENV_VAR "RC") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 66be36543..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,866 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif __STDC_VERSION__ > 201710L -# define C_VERSION "23" -#elif __STDC_VERSION__ >= 201710L -# define C_VERSION "17" -#elif __STDC_VERSION__ >= 201000L -# define C_VERSION "11" -#elif __STDC_VERSION__ >= 199901L -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 61bf3ad34..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 52d56e25d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,855 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > 202002L - "23" -#elif CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 8f5f943c6..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml deleted file mode 100644 index 91902f4c2..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ /dev/null @@ -1,88 +0,0 @@ - ---- -events: - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" - - "CMakeLists.txt:2 (project)" - message: | - The target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "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.40.33807/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP - Id flags: - - The output was: - 0 - CMakeCCompilerId.c - - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe" - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" - - The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:11 (enable_language)" - message: | - Detecting C compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\x64-windows\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "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.40.33807/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP - Id flags: - - The output was: - 0 - CMakeCXXCompilerId.cpp - - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe" - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" - - The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:12 (enable_language)" - message: | - Detecting CXX compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Abstraction\\KSAggregateAbstraction\\vcpkg_installed\\x64-windows\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " -... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h deleted file mode 100644 index 8b1378917..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/main.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/main.c deleted file mode 100644 index cd3cbc1ff..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/ShowIncludes/main.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "foo.h" -int main(){} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 8e96da531..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,2 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rebuild_cache.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/cmake.check_cache b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd7317..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja deleted file mode 100644 index 63bd65708..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja +++ /dev/null @@ -1,51 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the rules used to get the outputs files -# built from the input files. -# It is included in the main 'build.ninja'. - -# ============================================================================= -# Project: detect_compiler -# Configurations: Release -# ============================================================================= -# ============================================================================= - -############################################# -# localized /showIncludes string - -msvc_deps_prefix = Note: including file: - - -############################################# -# Rule for running custom commands. - -rule CUSTOM_COMMAND - command = $COMMAND - description = $DESC - - -############################################# -# Rule for re-running cmake. - -rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\x64-windows\vcpkg\blds\detect_compiler\x64-windows-rel - description = Re-running CMake... - generator = 1 - - -############################################# -# Rule for cleaning all built files. - -rule CLEAN - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS - description = Cleaning all built files... - - -############################################# -# Rule for printing all primary targets available. - -rule HELP - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets - description = All primary targets available: - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja deleted file mode 100644 index b3aae76a3..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja +++ /dev/null @@ -1,112 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the build statements describing the -# compilation DAG. - -# ============================================================================= -# Write statements declared in CMakeLists.txt: -# -# Which is the root file. -# ============================================================================= - -# ============================================================================= -# Project: detect_compiler -# Configurations: Release -# ============================================================================= - -############################################# -# Minimal version of Ninja required by this file - -ninja_required_version = 1.5 - - -############################################# -# Set configuration variable for custom commands. - -CONFIGURATION = Release -# ============================================================================= -# Include auxiliary files. - - -############################################# -# Include rules file. - -include CMakeFiles\rules.ninja - -# ============================================================================= - -############################################# -# Logical path to working directory; prefix for absolute paths. - -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\x64-windows\vcpkg\blds\detect_compiler\x64-windows-rel\ - -############################################# -# Utility command for edit_cache - -build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\x64-windows\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\x64-windows\vcpkg\blds\detect_compiler\x64-windows-rel" - DESC = Running CMake cache editor... - pool = console - restat = 1 - -build edit_cache: phony CMakeFiles\edit_cache.util - - -############################################# -# Utility command for rebuild_cache - -build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\x64-windows\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Abstraction\KSAggregateAbstraction\vcpkg_installed\x64-windows\vcpkg\blds\detect_compiler\x64-windows-rel" - DESC = Running CMake to regenerate build system... - pool = console - restat = 1 - -build rebuild_cache: phony CMakeFiles\rebuild_cache.util - -# ============================================================================= -# Target aliases. - -# ============================================================================= -# Folder targets. - -# ============================================================================= - -############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel - -build all: phony - -# ============================================================================= -# Built-in targets - - -############################################# -# Re-run CMake if any of its inputs changed. - -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake - pool = console - - -############################################# -# A missing CMake input file is not an error. - -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake: phony - - -############################################# -# Clean all the built files. - -build clean: CLEAN - - -############################################# -# Print all primary targets available. - -build help: HELP - - -############################################# -# Make the all target the default. - -default all diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake deleted file mode 100644 index 9dee6ff8a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/cmake_install.cmake +++ /dev/null @@ -1,44 +0,0 @@ -# Install script for directory: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/detect_compiler_x64-windows") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "Release") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "OFF") -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log deleted file mode 100644 index b85df786e..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ /dev/null @@ -1,2 +0,0 @@ -# ninja log v5 -1 1374 7366408744620388 ../CMakeCache.txt 8221abf97c73d7dc diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja deleted file mode 100644 index dda9a351b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja +++ /dev/null @@ -1,6 +0,0 @@ -rule CreateProcess - command = $process - -build ../CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/detect_compiler_x64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/" "-DVCPKG_MANIFEST_INSTALL=OFF" - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/.gitignore b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/.gitignore deleted file mode 100644 index 5ac6c4883..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/.idea/ -/cmake-build-debug/ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/CMakeLists.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/CMakeLists.txt deleted file mode 100644 index 9e63f5a87..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -cmake_minimum_required(VERSION 3.12) - -project(libmidi2) -set(CMAKE_CXX_STANDARD 17) - -add_library(libmidi2 - src/utils.cpp - src/bytestreamToUMP.cpp - src/umpToBytestream.cpp - src/umpMessageCreate.cpp - src/midiCIMessageCreate.cpp - src/midiCIProcessor.cpp - src/umpProcessor.cpp - src/mcoded7.cpp - ) - -target_include_directories(libmidi2 PUBLIC - $ - $ -) - -target_compile_options(libmidi2 PRIVATE -Wall) - -set(LIBMIDI2_EXPORT_NAME libmidi2-config) -install(TARGETS libmidi2 - EXPORT ${LIBMIDI2_EXPORT_NAME} -) -install(EXPORT ${LIBMIDI2_EXPORT_NAME} - NAMESPACE libmidi2:: - DESTINATION "share/${PROJECT_NAME}" -) - -file(GLOB HEADERS include/*.h) -install(FILES ${HEADERS} DESTINATION "include/${PROJECT_NAME}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/LICENSE b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/LICENSE deleted file mode 100644 index 71e49ad38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Andrew Mee - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/Makefile b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/Makefile deleted file mode 100644 index 67809b03c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -OPTS= -g -Wuninitialized -Wmaybe-uninitialized -Wall -Wshadow -Wcast-qual \ - -Wextra -pedantic -Wno-unused-parameter \ - -Wno-c++11-extensions - -SOURCES=$(shell find ./src -name *.cpp) - -OBJECTS=$(SOURCES:./src/%.cpp=./build/$(notdir %).o) - -all: dirs $(OBJECTS) midi2 - -dirs: - mkdir -p build - -build/%.o: src/%.cpp - gcc $(OPTS) -I . -I ./include \ - -o $@ -c $< - -midi2: $(OBJECTS) - ar -rc build/libmidi2.a $(OBJECTS) - -clean: - rm -rf build diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/README.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/README.md deleted file mode 100644 index cc1f18a37..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/README.md +++ /dev/null @@ -1,183 +0,0 @@ -# AM MIDI 2.0 Lib -A MIDI 2.0 Library - -This is a general purposes Library for building MIDI 2.0 Devices and Applications. This library aims to work on -everything from Arduino's through to large scale applications. It provides the building blocks, processing and -translations needed for most MIDI 2.0 Devices and Applications - -## IMPORTANT! Please read first -I hope that this library is useful to everyone making MIDI 2.0 Devices. -If you do use this library please let me know! I am keen to see all the MIDI 2.0 Projects. This code is also available -for DIY and commercial use (MIT Licence). Please note that use of this library is at your own risk. - -THIS LIBRARY IS CURRENTLY UNDER DEVELOPMENT - -The code is still being adjusted as it is being prototyped and changes do occur, however the WIKI attempts to reflect -the latest code. - -If you see code here that : -* could be styled/structured better -* could be written better -* could use less resources -* has memory leaks, bugs, -* is fundamentally flawed -* has spelling mistakes and grammatical errors - -then please submit PR's and/or issues - but PR's preferred. - -## What does this do? -Please read the MIDI 2.0 specification on https://midi.org/specifications to understand the following. - -This library can: -* Convert MIDI 1.0 Byte stream to UMP and back -* Process and send UMP Streams -* Process and Send MIDI-CI Messages -* Build UMP 32 bit Words to send out - -This library is designed to use a small footprint. It does this by processing each UMP packet (or MIDI 1.0 Byte stream) -one at a time. This way large data is handled in small chunks to keep memory small. - -This set of files allows you to pick and choose which parts of MIDI 2.0 you wish to include. For example if you are -only working with MIDI 1.0 Byte streams and just need a MIDI-CI handler? Then great just pull in that header :) - -Note it is upto the application to: - * Store Remote MIDI-CI Device details - * Upon receiving MIDI-CI Message to interpret the Messages data structure (e.g. Profile Id bytes, Note On Articulation -etc.) - * Handle logic and NAK sending and receiving. - -This means the overheads for a simple MIDI 2.0 device is down to a compiled size of around 10k (possibly less?), with a -memory footprint of around 1k. - -## Documentation -Can be found on the [docs folder](https://github.com/midi2-dev/AM_MIDI2.0Lib/tree/main/docs) - -### Example: Translate MIDI 1.0 Byte stream to UMP - -Here is a quick example - -```C++ -#include "bytestreamUMP.h" - -bytestreamToUMP BS2UMP; - -void setup() -{ - Serial.begin(31250); - - //Produce MIDI 2.0 Channel Voice Message (Message Type 0x4) - //Default (false) will return MIDI 1.0 Channel Voice Messages (Message Type 0x2) - BS2UMP.outputMIDI2 = true; - - //Set the UMP group of the output UMP message. By default this is set to Group 1 - //defaultGroup value is 0 based - BS2UMP.defaultGroup = 0; //Group 1 -} - -void loop() -{ - uint8_t inByte = 0; - // if there is a serial MIDI byte: - if (Serial.available() > 0) { - // get incoming byte: - inByte = Serial.read(); - if(inByte == 0xFE) return; //Skip ActiveSense - - BS2UMP.midi1BytestreamParse(inByte); - while(BS2UMP.availableUMP()){ - uint32_t ump = BS2UMP.readUMP(); - //ump contains a ump 32 bit value. UMP messages that have 64bit will produce 2 UMP words - } - } -} -``` - -### Example: Process UMP Streams -UMP Streams accepts a series of 32 bit values. UMP messages that have 64bit will provide 2 UMP words. - -```C++ - -#include "umpProcessor.h" -umpProcessor UMPProcess; - -void noteOff(uint8_t group, uint8_t mt, uint8_t channel, uint8_t noteNumber, unsigned int velocity, int attributeType, unsigned int attributeData){ -//Process incoming MIDI note Off event. -} - -void noteOn(uint8_t group, uint8_t mt, uint8_t channel, uint8_t noteNumber, unsigned int velocity, int attributeType, unsigned int attributeData){ -} - - -void cc(uint8_t group, uint8_t mt, uint8_t channel, uint8_t index, uint32_t value){ -} - -void rpn(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value){ -} - -void setup() -{ - UMPProcess.setNoteOff(noteOff); - UMPProcess.setNoteOn(noteOn); - UMPProcess.setControlChange(cc); - UMPProcess.setRPN(rpn); -} - -void loop() -{ -... - while(uint32_t ump = readSomeUMP()){ - UMPProcess.processUMP(ump); - } -... -} - -``` - -### Example: Process MIDI-CI Messages -MIDI-CI requires a lot of SysEx messages. This library abstracts the complexity of building and parsing most MIDI-CI Messages. -```C++ - -#include "midiCIProcessor.h" -midi2Processor midiCIProcess; -uint32_t localMUID; -uint8_t sysexId[3] = {0x00 , 0x02, 0x22}; -uint8_t famId[2] = {0x7F, 0x00}; -uint8_t modelId[2] = {0x7F, 0x00}; -uint8_t ver[4]; -unint8_t sysexBuffer[512]; - -bool checkMUID(uint8_t group, uint32_t muid){ - return (localMUID==muid); -} - -void recvDiscovery(uint8_t group, struct MIDICI ciDetails, uint8_t* remotemanuId, uint8_t* remotefamId, uint8_t* remotemodelId, uint8_t *remoteverId, uint8_t remoteciSupport, uint16_t remotemaxSysex){ - Serial.print("->Discovery: remoteMuid ");Serial.println(ciDetails.remoteMUID); - uint16_t sBuffLen = sendDiscoveryReply(sysexBuffer, localMUID, ciDetails.remoteMUID, sysexId, famId, modelId, ver, 0b11100, 512); - sendSysExOutOfDevice(sysexBuffer, sBuffLen); -} - -void setup() -{ - localMUID = random(0xFFFFEFF); - - midiCIProcess.setRecvDiscovery(recvDiscovery); - midiCIProcess.setCheckMUID(checkMUID); - - uint16_t sBuffLen = sendDiscoveryRequest(sysexBuffer,1, sysexId, famId, modelId, ver,12, 512); - sendSysExOutOfDevice(sysexBuffer, sBuffLen); -} - -void loop() -{ -... - while(uint8_t sysexByte = getNextSysexByte()){ - midiCIProcess.processUMP(sysexByte); - } -... -} - -``` - ---- - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/Home.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/Home.md deleted file mode 100644 index 96879a3e0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/Home.md +++ /dev/null @@ -1,19 +0,0 @@ -# Welcome to the MIDI2_CPP docs! - -### Documentation -**General** -* [utils.h](utils.md) General Utils in use for this set of functions - -**Translation** -* [bytestreamToUMP.h](bytestreamToUMP.md) MIDI 1.0 Bytestream to UMP's -* [umpToBytestream.h](umpToBytestream.md) UMP to MIDI 1.0 Bytestream - -**UMP Handling** -* [umpMessageCreate.h](umpMessageCreate.md) Create UMP's -* [umpProcessor.h](umpProcessor.md) Process incoming UMP's - -**UMP Handling** -* [midiCIMessageCreate.h](midiCIMessageCreate.md) Create MIDI-CI System Exclusive -* [midiCIProcessor.h](midiCIProcessor.md) Process incoming MIDI-CI -* [mcoded7.h](mcoded7.md) Handle Mcoded7 for use in Property Exchange - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/bytestreamToUMP.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/bytestreamToUMP.md deleted file mode 100644 index d978ca1a4..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/bytestreamToUMP.md +++ /dev/null @@ -1,57 +0,0 @@ -# bytestreamToUMP -Class used for translating between a raw MIDI 1.0 Byte stream and UMP - -## Public variables - -#### uint8_t defaultGroup = 0; - -This allows the application to set the group used when creating UMP messages. This is zero based. - -#### bool outputMIDI2 = false; - -By default ```bytestreamToUMP``` will output MIDI 1.0 Channel voice message (Message Type 2). Set this to true to output -MIDI 2 Channel Voice Messages (Message Type 4). - -This uses the Translation methods described in **Universal MIDI Packet (UMP) Format -and MIDI 2.0 Protocol** Version 1.1. - -This class attempts to convert RPN and NRPN Control Change messages into UMP RPN and NRPN messages. This may cause some -issues with Some devices that do not send LSB Data vale (CC #38). - -## Common methods -### void bytestreamParse(uint8_t midi1Byte) -Process incoming MIDI 1.0 Byte stream - -### bool availableUMP() -Check if there are available UMP packets after processing the Byte Stream - -### uint32_t readUMP() -Return a 32Bit word for a UMP Packet. A bytestream conversion may create several UMP packets. - - - -## Example: Using bytestreamToUMP - -```c++ - -bytestreamToUMP DIN2UMP; - -int main(){ - DIN2UMP.defaultGroup = 2; //Set Group 3 - - while(1){ - //Read from DIN Port - //------------------- - if (uart_is_readable(uart1)) { - uint8_t ch = uart_getc(uart1); - if(ch == 0xFE) continue; //Skip ActiveSense - DIN2UMP.midi1BytestreamParse(ch); - while(DIN2UMP.availableUMP()){ - uint32_t ump = DIN2UMP.readUMP(); - //Process UMP - } - } - } -} -``` - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/mcoded7.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/mcoded7.md deleted file mode 100644 index 6208a0977..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/mcoded7.md +++ /dev/null @@ -1 +0,0 @@ -__WIP__ \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCICreate.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCICreate.md deleted file mode 100644 index 565a14efd..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCICreate.md +++ /dev/null @@ -1,132 +0,0 @@ -# MIDI-CI SysEx Creation - -These function create the SysEx needed for various MIDI-CI messages. It creates the complete SysEx uint8_t array -minus the 0xF0 and 0xF7 at beginning and end of the SysEx. - -For each message a sysex buffer is needed. The return of each function is the length of the buffer used e.g.: -```c++ -uint8_t sysexBuffer[512]; -int len = CIMessage::sendDiscoveryReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION,localMUID, ciDetails.remoteMUID, - {DEVICE_MFRID}, {DEVICE_FAMID}, {DEVICE_MODELID}, - {DEVICE_VERSIONID},0, - 512, outputPathId, 0 -); -sendOutSysextoUMP(umpGroup, sysexBuffer, len); -``` -_Note: It is upto the application to make sure that the buffer is larger that the created message_ - -The SysEx created will depend on the ```midiCIVer``` value specified. For example if a Discovery Reply message was sent where -the value is set to __1__, then the message created will not have Output Path Id and Function Block Index. - -MIDI-CI Messages that are only available from certain version will return a length of 0 if the ```midiCIVer``` is too low. - -#### uint16_t CIMessage::sendDiscoveryRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, std::array manuId, std::array familyId, std::array modelId, std::array version, uint8_t ciSupport, uint32_t sysExMax, uint8_t outputPathId) -#### uint16_t CIMessage::sendDiscoveryReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, std::array manuId, std::array familyId, std::array modelId, std::array version, uint8_t ciSupport, uint32_t sysExMax, uint8_t outputPathId, uint8_t fbIdx) -#### uint16_t CIMessage::sendEndpointInfoRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); -#### uint16_t CIMessage::sendEndpointInfoReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, uint16_t infoLength, uint8_t* infoData) - -#### uint16_t CIMessage::sendACK(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t originalSubId, uint8_t statusCode, uint8_t statusData, uint8_t* ackNakDetails, uint16_t messageLength, uint8_t* ackNakMessage) -#### uint16_t CIMessage::sendNAK(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t originalSubId, uint8_t statusCode, uint8_t statusData, uint8_t* ackNakDetails, uint16_t messageLength, uint8_t* ackNakMessage) - -#### uint16_t CIMessage::sendInvalidateMUID(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -## Protocol Negotiation (MIDI-CI 1.1) -Protocol Negotiation is deprecated from MIDI-CI 1.2 onwards. However, Devices that support a later version of MIDI-CI -can still respond and handle Protocol Negotiation. - -#### uint16_t CIMessage::sendProtocolNegotiation(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel, uint8_t numProtocols, uint8_t* protocols, uint8_t* currentProtocol) -#### uint16_t CIMessage::sendProtocolNegotiationReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel, uint8_t numProtocols, uint8_t* protocols) -#### uint16_t CIMessage::sendSetProtocol(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel, uint8_t* protocol) -#### uint16_t CIMessage::sendProtocolTest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel) -#### uint16_t CIMessage::sendProtocolTestResponder(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t authorityLevel) - -## Profile Negotiation -#### uint16_t CIMessage::sendProfileListRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination) -#### uint16_t CIMessage::sendProfileListResponse(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t profilesEnabledLen, uint8_t* profilesEnabled, uint8_t profilesDisabledLen, uint8_t* profilesDisabled) -```profilesEnabledLen``` and ```profilesDisabledLen``` represent how many Profiles. ```profilesEnabled``` and ```profilesDisabled``` arguments should be 5 times the length of ```profilesEnabledLen``` and ```profilesDisabledLen``` respectively. - -```c++ -void handleProfileInquiry(uint8_t umpGroup, uint32_t remoteMUID, uint8_t destination){ - uint8_t profileNone[0] = {}; - uint8_t sysexBuffer[512]; - int len; - - // If a Profile Inquiry is received where destination = 0x7F, you should also return - // the Profiles on each channel. In this example Destination of 0 = channel 1, so - // the Profile is also returned for Channel 1 or destination = 0x7F - if(destination == 0 || destination == 0x7F){ - uint8_t profileDrawBar[5] = {0x7E, 0x40, 0x01, 0x01}; - len = CIMessage::sendProfileListResponse(umpGroup, MIDICI_MESSAGE_FORMAT, remoteMUID, 1, 0, 1, profileDrawBar, 0, profileNone); - sendOutSysextoUMP(umpGroup, sysexBuffer, len); - } - - if(destination == 0x7F){ - len = CIMessage::sendProfileListResponse(umpGroup, MIDICI_MESSAGE_FORMAT, remoteMUID, 1, 0x7F, 0, profileNone, 0, profileNone); - sendOutSysextoUMP(umpGroup, sysexBuffer, len); - } -} - -midi2Processor MIDI2 (0,2,2); -... -MIDI2.setRecvProfileInquiry(profileInquiry); -``` - -#### uint16_t CIMessage::sendProfileAdd(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile) -#### uint16_t CIMessage::sendProfileRemove(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile) - -#### uint16_t CIMessage::sendProfileOn(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t numberOfChannels) -#### uint16_t CIMessage::sendProfileOff(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile) -#### uint16_t CIMessage::sendProfileEnabled(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t numberOfChannels) -#### uint16_t CIMessage::sendProfileDisabled(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t numberOfChannels) - -#### uint16_t CIMessage::sendProfileSpecificData(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint16_t datalen, uint8_t* data) -#### uint16_t CIMessage::sendProfileDetailsInquiry(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t InquiryTarget) -#### uint16_t CIMessage::sendProfileDetailsReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t* data) - -## Property Exchange -#### uint16_t CIMessage::sendPECapabilityRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) -#### uint16_t CIMessage::sendPECapabilityReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) - -#### uint16_t CIMessage::sendPEGet(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) -#### uint16_t CIMessage::sendPEGetReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, uint16_t bodyLength , uint8_t* body ) -A complete reply to an Inquiry: Get Property Data can be split over one or more Reply to Get Property Data -messages. Here is an examples of how this can be done. - -__Example Sending a JSON string in 512 byte Sysex message chunks__ -```c++ -void returnPE(uint8_t umpGroup, uint32_t remoteMUID, uint8_t requestId, char *propertyData, - unint32_t propertyDataLength){ - uint8_t sysexBuffer[512]; - std::string header = "{\"status\":200}"; - int totalChunks = ceil((double)(strL + header.length())/480); //480 is 512 minus the bytes used for heading etc. - for (int chunk = 1; chunk <= totalChunks; chunk ++){ - int hLen = chunk == 1 ? header.length() : 0; - int bodyLen = 480 - hLen; - if (bodyLen > propertyDataLength) bodyLen = propertyDataLength; - - int len = CIMessage::sendPEGetReply(sysexBuffer, MIDICI_MESSAGE_FORMAT, localMUID, remoteMUID, requestId, hLen, - (uint8_t*)header.c_str(), totalChunks, chunk, bodyLen, - (uint8_t*)(propertyData + (((chunk - 1) * 480) - (chunk == 1 ? 0 : hLen)))); - sendOutSysextoUMP(umpGroup, sysexBuffer, len); - propertyDataLength -= bodyLen ; - } -} -``` - -#### uint16_t CIMessage::sendPESet(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, uint16_t bodyLength , uint8_t* body) - -#### uint16_t CIMessage::sendPESetReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) - -#### uint16_t CIMessage::sendPESub(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, uint16_t bodyLength , uint8_t* body) - - -#### uint16_t CIMessage::sendPESubReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) -#### uint16_t CIMessage::sendPENotify(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, uint16_t headerLen, uint8_t* header) - - -## Process Inquiry -#### uint16_t CIMessage::sendPICapabilityRequest(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid) -#### uint16_t CIMessage::sendPICapabilityReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t supportedFeatures) -#### uint16_t CIMessage::sendPIMMReport(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t MDC, uint8_t systemBitmap, uint8_t chanContBitmap, uint8_t chanNoteBitmap) -#### uint16_t CIMessage::sendPIMMReportReply(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, uint8_t systemBitmap, uint8_t chanContBitmap, uint8_t chanNoteBitmap) -#### uint16_t CIMessage::sendPIMMReportEnd(uint8_t* sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination) \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCIProcessor.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCIProcessor.md deleted file mode 100644 index 4a767d681..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/midiCIProcessor.md +++ /dev/null @@ -1,404 +0,0 @@ -# MIDI-CI - -```midiCIProcessor``` handles MIDI-CI messages and tries to reduce complexity in processing messages. It does -not attempt to solve the logic and handling of that data. It is up to the application to send responses to queries -from an Initiator. - -```midiCIProcessor``` is a forward and backward compatible with different MIDI-CI versions. On incoming MIDI-CI -messages it will ignore bytes at the end of the message it does not understand. - -```c++ -midiCIProcessor MIDICIHandler; -MIDICIHandler.setCheckMUID(checkMUID); -MIDICIHandler.setRecvDiscovery(discoveryHandler); -``` - -## Process Handling Commands -The ```midiCIProcessor``` takes in 1 byte at a time when processing MIDI-CI. This is done so longer complex SysEx does -not require lots of memory and processing can occur as the UMP Sysex is delivered. - -```c++ -midiCIProcessor midiciMain; - -void processSysex(uint8_t umpGroup, uint8_t *sysex ,uint16_t lengthOfSysex){ - //note sysex argument does not include 0xF0 and 0xF7 - if(sysex[0] == S7UNIVERSAL_NRT && sysex[2] == S7MIDICI){ - if(umpGroup==0) { - midiciMain.startSysex7(umpGroup, sysex[1]); - for (int i = 0; i < lengthOfSysex; i++) { - midiciMain.processMIDICI(sysex[i]); - } - midiciMain.endSysex7(); - } - } -} -``` - -#### void startSysex7(uint8_t umpGroup, uint8_t deviceId) -```umpGroup``` is the UMP Group this SysEx was received on. It is passed onto the callbacks as part of the MIDI-CI -struct. - -```deviceId``` is provided by the Sysex byte containing the Device Id data. In MIDI-CI this is the Source or Destination -byte and represent either: -* 0x00 -0x0F Channel 1-16 -* 0x7E The current UMP Group -* 0x7F The entire Function Block. - -#### void endSysex7(); -#### void processMIDICI(uint8_t s7Byte); - -#### inline void setCheckMUID(checkMUIDCallback) -This is a simple check to make sure that the message being processed is meant for this application. -Return true if it is a match. - -```c++ -uint32_t localMUID = random(0xFFFFEFF); - -bool checkMUIDCallback(uint8_t umpGroup, uint32_t muid){ - return (localMUID==muid); -} -``` - -_Note: it is recommended that all instances of this class support this callback._ - -## Common structs in use - -#### MIDICI -```c++ -struct MIDICI{ - uint8_t umpGroup; //zero-based - uint8_t deviceId; //0x00-0x0F Channels 1-16, 0x7E Group, 0x7F Function Blocks - uint8_t ciType; - uint8_t ciVer; //0x1 - v1.1, 0x2 - v1.2 - uint32_t remoteMUID; - uint32_t localMUID; - uint8_t totalChunks; //Total Chunks reported on this Message (PE Only) - uint8_t numChunk; //Current Chunk reported on this Message (PE Only) - uint8_t requestId; //Current Request Id (PE Only) -}; -``` -Most of the callbacks will include a MIDI-CI struct that contain core information from MIDI-CI SysEx. -The ```umpGroup``` variable is set by startSysex7 method. - -## Common MIDI-CI SysEx Methods - -#### inline void setRecvDiscovery(recvDiscoveryCallback) -```c++ -void recvDiscoveryCallback(struct MIDICI ciDetails, std::array manuId, std::array familyId, - std::array modelId, std::array version, uint8_t remoteciSupport, - uint16_t remotemaxSysex, uint8_t outputPathId -){ - //All MIDI-CI Devices shall reply to a Discovery message - printf("Received Discover on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); - unint8_t sysexBuffer[64]; - int len = CIMessage::sendDiscoveryReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, - {DEVICE_MFRID}, {DEVICE_FAMID}, {DEVICE_MODELID}, - {DEVICE_VERSIONID},0, - 512, outputPathId, - 0 //fbIdx - ); - sendOutSysex(ciDetails.umpGroup, sysexBuffer ,len ); -} -``` - -_Note: it is recommended that all instances of this class support this callback._ - -#### inline void setRecvDiscoveryReply(recvDiscoveryReplyCallback) - -```c++ -void recvDiscoveryReplyCallback(struct MIDICI ciDetails, std::array manuId, std::array familyId, - std::array modelId, std::array version, uint8_t remoteciSupport, - uint16_t remotemaxSysex, uint8_t outputPathId, uint8_t functionBlockIdx -){ - printf("Received Discover Reply on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); -} -``` - -#### inline void setRecvNAK(recvNAKCallback) -```c++ -void recvNAKCallback(struct MIDICI ciDetails, uint8_t origSubID, uint8_t statusCode, uint8_t statusData, - uint8_t* ackNakDetails, uint16_t messageLength, uint8_t* ackNakMessage -){ - printf("Received NAK on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); -} -``` - -#### inline void setRecvInvalidateMUID(void (\*fptr)(uint8_t umpGroup, uint32_t remoteMuid, uint32_t terminateMuid)) - -#### inline void setRecvUnknownMIDICI(void (\*fptr)(MIDICI ciDetails, uint8_t s7Byte)) -#### inline void setRecvEndpointInfo(void (\*fptr)(MIDICI ciDetails, uint8_t status)) - -#### inline void setRecvEndpointInfoReply(void (\*fptr)(MIDICI ciDetails, uint8_t status, uint16_t infoLength, uint8_t\* infoData) - -### Protocol Negotiation (MIDI-CI 1.1) -Protocol Negotiation is deprecated from MIDI-CI 1.2 onwards. However, Devices that support a later version of MIDI-CI -can still respond and handle Protocol Negotiation. - -#### inline void setRecvProtocolAvailable(recvProtocolAvailableCallback) -This callback is triggered upon receiving a Reply to Protocol Negotiation. The ```midiCIProcessor``` triggers off -this callback for every Protocol returned. -```c++ -void recvProtocolAvailableCallback(struct MIDICI ciDetails, uint8_t authorityLevel, uint8_t* protocol){ - printf("Received Protocol Available on Group %d remote MUID: %d\n", ciDetails.umpGroup, ciDetails.remoteMUID); -} -``` - -#### inline void setRecvSetProtocol(recvSetProtocolCallback) -See _setRecvProtocolAvailable_ for the callback structure - -#### inline void setRecvSetProtocolTest(void (\*fptr)(MIDICI ciDetails, uint8_t authorityLevel, bool testDataAccurate) -#### inline void setRecvSetProtocolConfirm(void (\*fptr)(MIDICI ciDetails, uint8_t authorityLevel)) - -### Profile Configuration -#### inline void setRecvProfileInquiry(profileInquiryCallback) -Upon receiving a Profile Inquiry message the application should return a result. Please read the MIDI-CI v1.2 specifications -for more information. - -```c++ -void profileInquiryCallback(struct MIDICI ciDetails){ - - printf("->profile Inquiry: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); - - uint8_t profileNone[0] = {}; - unint8_t sysexBuffer[64]; - int len; - if(ciDetails.deviceId == 0 || ciDetails.deviceId == 0x7F){ - uint8_t profileDrawBar[5] = {0x7E, 0x40, 0x01, 0x01}; - //return 1 enabled profile - len = CIMessage::sendProfileListResponse(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, - 0, 1, profileDrawBar, 0, profileNone); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } - - if(ciDetails.deviceId == 0x7F){ - //return no profiles - len = CIMessage::sendProfileListResponse(sysexBuffer, 0x02, localMUID, ciDetails.remoteMUID, - 0x7F, 0, profileNone, 0, profileNone); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } -} -``` - -#### inline void setRecvProfileEnabled(profileEnabledCallback) -This callback can be triggered in 2 ways: -* Upon receiving a Reply to Profile Inquiry the ```midiCIProcessor``` triggers off this callback for every enabled profile -* Upon receiving a Profile Enabled Message - -```c++ -void profileEnabledCallback(struct MIDICI ciDetails, std::array profile, uint8_t numberOfChannels){ - printf("->profile Enabled: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` -_Note: ```numberOfChannels``` is set to 0 if this is triggered by Reply to Profile Inquiry or MIDI-CI 1.1 Profile -Enabled Message._ - -#### inline void setRecvProfileDisabled(profileDisabledCallback) -See setRecvProfileEnabled for the callback structure. - -This callback can be triggered in 3 ways: -* Upon receiving a Reply to Profile Inquiry the ```midiCIProcessor``` triggers off this callback for every disabled profile -* Upon receiving a Profile Disabled message -* Upon receiving a Profile Added Report message (MIDI-CI v1.2 and higher) - -Profile Added Report messages always declare that the Profile is added to the list of disabled Profiles. - -_Note: ```numberOfChannels``` is set to 0 if this is triggered by Reply to Profile Inquiry or MIDI-CI 1.1 Profile - Disabled Message._ - - -#### inline void setRecvSetProfileRemoved(profileRemovedCallback) -This callback is triggered upon receiving a Profile Remove Report -```c++ -void profileRemovedCallback(struct MIDICI ciDetails, std::array profile){ - printf("->profile Removed: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -#### inline void setRecvProfileOn(profileOnCallback) -This callback is triggered upon receiving a Set Profile On message -```c++ -void profileOnCallback(struct MIDICI ciDetails, std::array profile, uint8_t numberOfChannels){ - printf("->profile On: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -#### inline void setRecvProfileOff(profileOffCallback) -This callback is triggered upon receiving a Set Profile Off message -```c++ -void profileOffCallback(struct MIDICI ciDetails, std::array profile){ - printf("->profile Off: remoteMuid %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -#### inline void setRecvProfileDetailsInquiry(void (\*fptr)(MIDICI ciDetails, std::array profile, uint8_t InquiryTarget)) -#### inline void setRecvProfileDetailsReply(void (\*fptr)(MIDICI ciDetails, std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t\* data)) - -#### inline void setRecvProfileSpecificData(profileSpecificDataCallback) -This callback is triggered upon receiving a Profile Specific Data message. - -A long Profile Specific Data message may have a length longer than __S7_BUFFERLEN__. As such this callback may be triggered -multiple times for the same message. The ```lastByteOfSet``` bool is set to true if this is the last time this -callback is triggered. - -```c++ -void profileSpecificDataCallback(struct MIDICI ciDetails, std::array profile, uint16_t datalen, uint8_t\* data, uint16_t part, bool lastByteOfSet){ - printf("->profile Off: remote MUID %d Destination: %d",ciDetails.remoteMUID, destination); -} -``` - -_Note: While data length field in the SysEx can declare a potential length of 268435455 bytes, it is extremely unlikely -that this is feasible, so it is kept as an uin16_t value._ - -### Property Exchange - -This library provides the Header received on each Property Exchange message as a std::string. This is to allow the -developer to choose their own JSON parser that best suits the environment. - -#### inline void setPECapabilities(PECapabilityCallback) -Upon receiving an Inquiry: Property Exchange Capabilities message the application should send back a Reply to Property -Exchange Capabilities message. -```c++ -void PECapabilityCallback(struct MIDICI ciDetails, uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer){ - printf("->PE Capability: remote MUID %d", ciDetails.remoteMUID); - uint8_t sysexBuffer[64]; - int len = CIMessage::sendPECapabilityReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, 4, 0, 0); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); -} -``` - -#### inline void setPECapabilitiesReply(PECapabilityReplyCallback) -See setPECapabilities for the structure of PECapabilityReplyCallback - -#### inline void setRecvPEGetInquiry(PEGetInquiryCallback) -This callback is triggered upon receiving an Inquiry: Get Property Data message. -```c++ -void PEGetInquiryCallback( struct MIDICI ciDetails, std::string header){ - printf("->PE GET Inquiry: remote MUID %d header %s", ciDetails.remoteMUID, - ciDetails.requestId, header.c_str()); - - if (header.contains("LocalOn")){ - string header = "{\"status\":200}"; - uint8_t sysexBuffer[128]; - int len = CIMessage::sendPEGetReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID,\ - ciDetails.requestId, header.length(), (uint8_t*)header.c_str(), 1, 1, 4, (uint8_t*)"true"); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } -} - -``` -#### inline void setRecvPESetInquiry(PESetCallback) - -This callback is triggered upon receiving an Inquiry: Set Property Data message. - -A long Inquiry: Set Property Data message is usually sent over many chunks and each chunck may have a length -longer than __S7_BUFFERLEN__. As such this callback may be triggered multiple times for the same set of messages. - -The ```lastByteOfChunk``` bool is set to true if this is the last body data in a single chunk message. -The ```lastByteOfSet``` bool is set to true if this is the last time this callback is triggered for a set of messages. - -```c++ -mcoded7Decode m7d; - -void PESetCallback(struct MIDICI ciDetails, std::string header, uint16_t bodyLen, uint8_t* body, - bool lastByteOfChunk, bool lastByteOfSet){ - if (header.contains("State")){ - //This code assumes the data is using Mcoded7 - if (requestDetails.numChunk == 1 && requestDetails.partialChunkCount == 1){ - file.open(fullPath, O_RDWR | O_TRUNC | O_CREAT); - m7d.reset(); - } - for(uint16_t i=0; i < bodyLen;i++){ - m7d.parseS7Byte(body[i]); - if(m7d.currentPos() == 7){ - file.write(m7d.dump, 7); - m7d.reset(); - } - } - - if(lastByteOfSet){ - file.write(m7d.dump,m7d.currentPos()); - file.close(); - string header = "{\"status\":200}"; - uint8_t sysexBuffer[128]; - int len = CIMessage::sendPESetReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, localMUID, ciDetails.remoteMUID, requestDetails.requestId, - header.length, (uint8_t*)header.c_str()); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - } - } -} -``` - -#### inline void setRecvPESetReply(PESetReplyCallback) -See _setRecvPEGetInquiry_ for the callback structure - -#### inline void setRecvPESubInquiry(PESubInquiryCallback) -```c++ -void PESubInquiryCallback(struct MIDICI ciDetails, std::string header, uint16_t bodyLen, uint8_t* body, - bool lastByteOfChunk, bool lastByteOfSet); -``` - -#### inline void setRecvPESubReply(PESubReplyCallback) -See _setRecvPEGetInquiry_ for the callback structure - -#### inline void setRecvPENotify(PENotifyCallback) -See _setRecvPEGetInquiry_ for the callback structure - -### Process Inquiry (MIDI-CI 1.2 onwards) - -#### inline void setRecvPICapabilities(PICapabilitiesCallback) - -```c++ -void PICapabilitiesCallback(struct MIDICI ciDetails){ - printf("MIDI Process Inquiry Capabilities"); - uint8_t sysexBuffer[128]; - int len = CIMessage::sendPICapabilityReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, ciDetails.localMUID, ciDetails.remoteMUID, 1); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); -} -``` - -#### inline void setRecvPICapabilitiesReply(PICapabilitiesReplyCallback) -See _setRecvPICapabilities_ for the callback structure - -#### inline void setRecvPIMMReport(PIMMReportCallback) - -```c++ -void PIMMReportCallback(struct MIDICI ciDetails, uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap){ - uint8_t sysexBuffer[128]; - int len; - len = CIMessage::sendPIMMReportReply(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, ciDetails.localMUID, ciDetails.remoteMUID, ciDetails.deviceId, - 0, 0b10010 & chanContBitmap, 0); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); - - if( - (MDC & 0b1) && - (chanContBitmap & 0b10) && - (midiChannel == ciDetails.deviceId || ciDetails.deviceId == 0x7f) - ){ - - sendControlChange(7, volume>>3, midiChannel); - sendControlChange(14, osc1Volume>>3, midiChannel); - sendControlChange(94, map(osc1Detune, -24, 24, 0, 127), midiChannel); - sendControlChange(74, map(filterCutoff, 0, 255, 0, 127), midiChannel); - sendControlChange(73, attackTime>>3, midiChannel); - sendControlChange(76, decayTime>>3, midiChannel); - sendControlChange(77, sustainLevel>>3, midiChannel); - sendControlChange(72, releaseTime>>3, midiChannel); - } - if( - (MDC & 0b1) && - (chanContBitmap & 0b10000) && - (midiChannel == ciDetails.deviceId || ciDetails.deviceId == 0x7f) - ){ - sendProgramChange((uint8_t)patchLoaded,midiChannel); - } - len = CIMessage::sendPIMMReportEnd(sysexBuffer, MIDICI_MESSAGEFORMATVERSION, ciDetails.localMUID, ciDetails.remoteMUID, ciDetails.deviceId); - sendOutSysex(ciDetails.umpGroup, sysexBuffer, len); -} - -``` - -#### inline void setRecvPIMMReportReply(PIMMReportReplyCallback) -See _setRecvPIMMReport_ for the callback structure - -#### inline void setRecvPIMMEnd(void (\*fptr)(MIDICI ciDetails)) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpMessageCreate.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpMessageCreate.md deleted file mode 100644 index 1003fa6cb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpMessageCreate.md +++ /dev/null @@ -1,104 +0,0 @@ -# UMP Message Create -Please refer to the UMP and MIDI 2.0 Protocol version 1.1 on the meaning of each of these -MIDI messages. - -## Utillty Messages (Message Type 0x0) -#### uint32_t mt0NOOP(); -#### uint32_t mt0JRClock(uint16_t clockTime); -#### uint32_t mt0JRTimeStamp(uint16_t timestamp); -#### uint32_t mt0DeltaClockTick( uint16_t ticksPerQtrNote); -#### uint32_t mt0DeltaTicksSinceLast( uint16_t noTicksSince); - - -## System Messages (Message Type 0x1) -#### uint32_t mt1MTC(uint8_t umpGroup, uint8_t timeCode); -#### uint32_t mt1SPP(uint8_t umpGroup, uint16_t position); -#### uint32_t mt1SongSelect(uint8_t umpGroup, uint8_t song); -#### uint32_t mt1TuneRequest(uint8_t umpGroup); -#### uint32_t mt1TimingClock(uint8_t umpGroup); -#### uint32_t mt1SeqStart(uint8_t umpGroup); -#### uint32_t mt1SeqCont(uint8_t umpGroup); -#### uint32_t mt1SeqStop(uint8_t umpGroup); -#### uint32_t mt1ActiveSense(uint8_t umpGroup); -#### uint32_t mt1SystemReset(uint8_t umpGroup); - - - -## MIDI 1.0 Channel Voice Messages (Message Type 0x2) -#### uint32_t mt2NoteOn(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity); -#### uint32_t mt2NoteOff(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity); -#### uint32_t mt2PolyPressure(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint32_t pressure); -#### uint32_t mt2CC(uint8_t umpGroup, uint8_t channel, uint8_t index, uint32_t value); -#### uint32_t mt2ProgramChange(uint8_t umpGroup, uint8_t channel, uint8_t program); -#### uint32_t mt2ChannelPressure(uint8_t umpGroup, uint8_t channel, uint32_t pressure); -#### uint32_t mt2PitchBend(uint8_t umpGroup, uint8_t channel, uint32_t value); - -## System Exclusive 7 (Message Type 0x3) -System Exclusive 7 messages return ```std::array```. - -#### std::array mt3Sysex7(uint8_t umpGroup, uint8_t status, uint8_t numBytes, std::array sx); -It is up to the application to convert Sysex and generate the correct status in this function. Below is example code to -output UMP Sysex from a complete array of SysEx bytes. - -```c++ -void sendOutSysex(uint8_t umpGroup, uint8_t *sysex, uint32_t length ){ - std::array sx = {0,0,0,0,0,0}; - uint8_t sxPos=0; - - for (int i = 0; i < length; i++) { - sx[sxPos++]=sysex[i] & 0x7F; - if(sxPos == 6){ - std::array ump = mt3Sysex7(umpGroup, i < 6 ? 1 : i==length-1 ? 3 : 2, 6, sx); - sendUMP(ump.data(),2); - sxPos=0; - } - } - if (sxPos) { - std::array ump = mt3Sysex7(umpGroup, length < 7 ? 0 : 3, sxPos, sx); - sendUMP(ump.data(),2); - } - -} -``` - - -## MIDI 2.0 Channel voice messages (Message Type 0x4) -All MIDI 2.0 Channel voice messages return ```std::array```. - -#### std::array mt4NoteOn(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData); -#### std::array mt4NoteOff(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData); -#### std::array mt4CPolyPressure(uint8_t umpGroup, uint8_t channel, uint8_t noteNumber, uint32_t pressure); -#### std::array mt4PitchBend(uint8_t umpGroup, uint8_t channel, uint32_t pitch); -#### std::array mt4CC(uint8_t umpGroup, uint8_t channel, uint8_t index, uint32_t value); -#### std::array mt4RPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value); -#### std::array mt4NRPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value); -#### std::array mt4RelativeRPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, int32_t value); -#### std::array mt4RelativeNRPN(uint8_t umpGroup, uint8_t channel,uint8_t bank, uint8_t index, int32_t value); -#### std::array mt4ChannelPressure(uint8_t umpGroup, uint8_t channel,uint32_t pressure); -#### std::array mt4ProgramChange(uint8_t umpGroup, uint8_t channel, uint8_t program, bool bankValid, uint8_t bank, uint8_t index); - - -## Flex Data Messages (Message Type 0x5) -MIDI 2.0 Channel voice messages return ```std::array```. - -_This section is in progress_ - - -## UMP Stream messages (Message Type 0xF) -UMP Stream messages return ```std::array```. - -#### std::array mtFMidiEndpoint(uint8_t filter); - -#### std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); -#### std::array mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, std::array modelId, std::array version); -#### std::array mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t* text, uint8_t textLen); - -#### std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); -#### std::array mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, uint8_t firstGroup, uint8_t groupLength, uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); -#### std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t* text, uint8_t textLen); - -#### std::array mtFStartOfSeq(); -#### std::array mtFEndOfFile(); -#### std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); -#### std::array mtFNotifyProtocol( uint8_t protocol, bool jrrx, bool jrtx); - \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpProcessor.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpProcessor.md deleted file mode 100644 index d16c7ac1d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpProcessor.md +++ /dev/null @@ -1,250 +0,0 @@ -# umpProcessor -Processing of UMP messages. - -This class allows the application to set up a set of callbacks relevant to the applications needs. - -__Example Setup__ -```c++ -umpProcessor UMPHandler; - -UMPHandler.setUtility(utilityCallback); -UMPHandler.setCVM(handleChannelVoiceMessages); -UMPHandler.setSystem(handleSystemMessages); -UMPHandler.setSysEx(processUMPSysex); - -UMPHandler.setMidiEndpoint(midiEndpointCallback); -UMPHandler.setFunctionBlock(functionblockCallback); - -... -``` - -## Structs -### umpCVM - UMP Channel Voice Message -UMP messages of Message Type 0x2 and 0x4 are presented in this format. See below for the value meaning for each status. -```c++ -struct umpCVM{ - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; -``` -### umpGeneric - UMP Generic Structure -UMP messages of Message Type 0x0 and 0x1 are presented in this format. See below for the value meaning for each status. -```c++ -struct umpGeneric{ - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; -``` -_Note: Utility Messages (MT 0x0) are groupless and therefore the ```umpGproup``` value is ignored._ - -### umpData - UMP Data Messages -```c++ -struct umpData{ - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; -``` - -## Common Methods -### void processUMP(uint32_t UMP) -Process incoming UMP messages broken up into 32bit words. -### void clearUMP() -Reset the current processing of incoming UMP. - -## Utility message Handlers -### inline void setUtility(utilityCallback) -```c++ -void utilityCallback(struct umpGeneric mess){ - printf("->Utility Message: status %d value: %d", mess.status, mess.value); -} -``` -__Values in the umpGeneric struct:__ - -| status | value | -|--------------------------|--------------------------------| -| UTILITY_NOOP | - | -| UTILITY_JRCLOCK | sender clock time | -| UTILITY_JRTS | sender clock timestamp | -| UTILITY_DELTACLOCKTICK | # of ticks PQN | -| UTILITY_DELTACLOCKSINCE | # of ticks since last event | - - -## Common Channel Voice Message Handler - -### inline void setCVM(handleChannelVoiceMessages) -Set the callable function when a Channel Voice Message is processed by ```processUMP``` -```c++ -void handleChannelVoiceMessages(struct umpCVM mess){ - printf("->CVM: Group %d CH %d Note: %d status: %d", mess.umpGroup, mess.channel, mess.status); -} -``` - -__Values in the umpCVM struct:__ - -| status | note | value | bank | index | flag1 | flag2 | -|----------------------|-------|-----------|---------------|---------------|------------|--------| -| NOTE_OFF | note | velocity♠ | attributeType | attributeData | | | -| NOTE_ON | note | velocity♠ | attributeType | attributeData | | | -| KEY_PRESSURE | note | value\* | | | | | -| CC | | value\* | | index | | | -| PROGRAM_CHANGE | | program | bank | index | bank valid | | -| CHANNEL_PRESSURE | | value\* | | | | | -| PITCH_BEND | | value\* | | | | | -| RPN †♥ | | value | bank | index | | | -| NRPN †♥ | | value | bank | index | | | -| RPN_RELATIVE † | | value‡ | bank | index | | | -| NRPN_RELATIVE † | | value‡ | bank | index | | | -| PITCH_BEND_PERNOTE † | note | value | | | | | -| RPN_PERNOTE † | note | value | | index | | | -| NRPN_PERNOTE † | note | value | | index | | | -| PERNOTE_MANAGE † | note | | | | detach | reset | - -_† MIDI 2.0 Protocol messages only_ -_\* M1 Values are scaled to 32 bit value_ -_♠ M1 Values are scaled to 16 bit value_ -_♥ Message is only triggered when a MIDI 2.0 RPN message is sent. This is not triggered when a MIDI 1.0 (N)RPN -messages are sent. Those messages are processed using the function set by ```setControlChange```_ -_‡ These values are twos complement and will need to cast e.g:_ -```c++ -int32_t relativeValue = (int32_t)mess.value; -``` - -The ```umpProcessor``` makes some distinction between different Protocols. This means that Channel Voice Messages (e.g. -Note On) handlers are called the same way regardless if is a MIDI 1.0 Channel Voice Message (Message Type 0x2) or a MIDI -2.0 Channel Voice Message (Message Type 0x4). MIDI 1.0 Channel Voice Message values are scaled to match MIDI 2.0 Messages. - -This allows for ```umpProcessor``` to process both types of Channel Voice Messages simultaneously. - -It is up to the application to manage the combination of JR messages and other UMP messages. - -## Common System Message Handler - -### inline void setSystem(handleSystemMessages) -Set the callable function when a System Message is processed by ```processUMP``` -```c++ -void handleSystemMessages(struct umpGeneric mess){ - printf("->CVM: Group %d status: %d", mess.umpGroup, mess.status); -} -``` - -__Values in the umpGeneric struct:__ - -| status | value | -|-------------|-----------| -| TIMING_CODE | time code | -| SPP | position | -| SONG_SELECT | song | -| TUNEREQUEST | | -| TIMINGCLOCK | | -| SEQSTART | | -| SEQCONT | | -| SEQSTOP | | -| ACTIVESENSE | | -| SYSTEMRESET | | - - -## Common SysEx Handler - -### inline void setRawSysEx(processUMPSysex) -```c++ -midiCIProcessor midiciMain1; -bool isProcMIDICI = false; - -void processUMPSysex(struct umpData mess){ - //Example of Processing UMP into MIDI-CI processor - if(mess.form==1 && mess.data[0] == S7UNIVERSAL_NRT && mess.data[2] == S7MIDICI){ - if(mess.umpGroup==0) { - midiciMain1.startSysex7(mess.umpGroup, mess.data[1]); - isProcMIDICI = true; - } - } - for (int i = 0; i < mess.dataLength; i++) { - if(mess.umpGroup==0 && isProcMIDICI){ - midiciMain1.processMIDICI(mess.data[i]); - }else{ - //Process other SysEx - } - } - if((mess.form==3 || mess.form==0) && isProcMIDICI){ - midiciMain1.endSysex7(); - isProcMIDICI = false; - } -} -``` - -## Flex Data Handlers -### inline void setFlexTempo(void (*fptr)(uint8_t group, uint32_t num10nsPQN)) -### inline void setFlexTimeSig(void (*fptr)(uint8_t group, uint8_t numerator, uint8_t denominator, uint8_t num32Notes)) -### inline void setFlexMetronome(void (*fptr)(uint8_t group, uint8_t numClkpPriCli, uint8_t bAccP1, uint8_t bAccP2, uint8_t bAccP3, uint8_t numSubDivCli1, uint8_t numSubDivCli2)) -### inline void setFlexKeySig(void (*fptr)(uint8_t group, uint8_t addrs, uint8_t channel, uint8_t sharpFlats, uint8_t tonic)) -### inline void setFlexChord(void (*fptr)(uint8_t group, uint8_t addrs, uint8_t channel, uint8_t chShrpFlt, uint8_t chTonic, uint8_t chType, uint8_t chAlt1Type, uint8_t chAlt1Deg, uint8_t chAlt2Type, uint8_t chAlt2Deg, uint8_t chAlt3Type, uint8_t chAlt3Deg, uint8_t chAlt4Type, uint8_t chAlt4Deg, uint8_t baShrpFlt, uint8_t baTonic, uint8_t baType, uint8_t baAlt1Type, uint8_t baAlt1Deg, uint8_t baAlt2Type, uint8_t baAlt2Deg)) -### inline void setFlexPerformance(void (*fptr)(uint8_t group, uint8_t form, uint8_t addrs, uint8_t channel, uint8_t status, uint8_t* text, uint8_t textLength)) -### inline void setFlexLyric(void (*fptr)(uint8_t group, uint8_t form, uint8_t addrs, uint8_t channel, uint8_t status, uint8_t* text, uint8_t textLength)) - -## UMP Stream Messages - -### inline void setMidiEndpoint(midiEndpointCallback) - -__Example Processing of Endpoint Get:__ -```c++ -void midiEndpointCallback(uint8_t majVer, uint8_t minVer, uint8_t filter){ - //Upon Recieving the filter it is important to return the information requested - if(filter & 0x1){ //Endpoint Info Notification - std::array ump = mtFMidiEndpointInfoNotify(3, false, true, false, false); - sendUMP(ump.data(),4); - } - - if(filter & 0x2) { - std::array ump = mtFMidiEndpointDeviceInfoNotify({DEVICE_MFRID}, {DEVICE_FAMID}, {DEVICE_MODELID}, {DEVICE_VERSIONID}); - sendUMP( ump.data(), 4); - } - - if(filter & 0x4) { - uint8_t friendlyNameLength = strlen(DEVICE_MIDIENPOINTNAME); - for(uint8_t offset=0; offset ump = mtFMidiEndpointTextNotify(MIDIENDPOINT_NAME_NOTIFICATION, offset, (uint8_t *) DEVICE_MIDIENPOINTNAME,friendlyNameLength); - sendUMP(ump.data(),4); - } - } - - if(filter & 0x8) { - int8_t piiLength = strlen(PRODUCT_INSTANCE_ID); - - for(uint8_t offset=0; offset ump = mtFMidiEndpointTextNotify(PRODUCT_INSTANCE_ID, offset, (uint8_t *) buff,piiLength); - sendUMP(ump.data(),4); - } - } - - if(filter & 0x10){ - std::array ump = mtFNotifyProtocol(0x1,false,false); - sendUMP(ump.data(),4); - } -} -``` -### inline void setMidiEndpointNameNotify(void (\*fptr)(struct umpData mess)) -### inline void setMidiEndpointProdIdNotify(void (\*fptr)(struct umpData mess)) -### inline void setMidiEndpointInfoNotify(void (\*fptr)(uint8_t majVer, uint8_t minVer, uint8_t numOfFuncBlocks, bool m2, bool m1, bool rxjr, bool txjr)) -### inline void setMidiEndpointDeviceInfoNotify(void (\*fptr)(std::array manuId, std::array familyId, std::array modelId, std::array version)) -### inline void setJRProtocolRequest(void (\*fptr)(uint8_t protocol, bool jrrx, bool jrtx)) -### inline void setJRProtocolNotify(void (\*fptr)(uint8_t protocol, bool jrrx, bool jrtx)) -### inline void setFunctionBlock(void (\*fptr)(uint8_t filter, uint8_t fbIdx)) -### inline void setFunctionBlockNotify(void (\*fptr)(uint8_t fbIdx, bool active, uint8_t direction, uint8_t firstGroup, uint8_t groupLength, bool midiCIValid, uint8_t midiCIVersion, uint8_t isMIDI1, uint8_t maxS8Streams)) -### inline void setFunctionBlockNotify(void (\*fptr)(struct umpData mess, uint8_t fbIdx)) - -### inline void setStartOfSeq(void (*fptr)()){startOfSeq = fptr; } -### inline void setEndOfFile(void (*fptr)()){endOfFile = fptr; } diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpToBytestream.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpToBytestream.md deleted file mode 100644 index a36f4ef38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/umpToBytestream.md +++ /dev/null @@ -1,43 +0,0 @@ -# umpToBytestream -Class used for translating from UMP to a MIDI 1.0 Bytestream - -## Public variables - -#### uint8_t group = 0; - -Group is set to the current group of the translated UMP - - -## Common methods -### void UMPStreamParse(uint32_t UMP) -Process incoming UMP's - -### bool availableBS() -Check if there are available Byte Stream bytes available. - -### uint8_t readBS() -Return the next byte. - -## Example: Using umpToBytestream - -```c++ - -umpToBytestream UMPConvertForDIN; - -int main(){ - ... - while(1){ - if (isUMPAvailable()) { - uint32_t ump = get_UMP(); - UMPConvertForDIN.UMPStreamParse(ump); - while (UMPConvertForDIN.availableBS()) { - uint8_t byte = UMPConvertForDIN.readBS(); - if (UMPConvertForDIN.group == 0) { //Check if data is on correct group - //Write byte to DIN Port - } - } - } - } -} -``` - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/utils.md b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/utils.md deleted file mode 100644 index a94ab9f96..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/docs/utils.md +++ /dev/null @@ -1 +0,0 @@ -__Work in Progress__ \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h deleted file mode 100644 index 727c647a1..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h +++ /dev/null @@ -1,66 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef BSUMP_H -#define BSUMP_H - - -#include - -class bytestreamToUMP{ - - private: - uint8_t d0; - uint8_t d1; - - uint8_t sysex7State = 0; - uint8_t sysex7Pos = 0; - - uint8_t sysex[6] = {0,0,0,0,0,0}; - uint8_t messPos=0; - uint32_t umpMess[4] = {0,0,0,0}; - - //Channel Based Data - uint8_t bankMSB[16]; - uint8_t bankLSB[16]; - bool rpnMode[16]; - uint8_t rpnMsbValue[16]; - uint8_t rpnMsb[16]; - uint8_t rpnLsb[16]; - - void bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2); - - - public: - uint8_t defaultGroup = 0; - bool outputMIDI2 = false; - - bytestreamToUMP(); - - bool availableUMP(); - - uint32_t readUMP(); - - void bytestreamParse(uint8_t midi1Byte); - - -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h deleted file mode 100644 index 6d72a090f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MC7_H -#define MC7_H - -#include - -class mcoded7Decode{ - private: - uint8_t dumpPos=255; - uint8_t fBit=0; - uint8_t cnt=0; - uint8_t bits=0; - public: - uint8_t dump[7]; - uint16_t currentPos(); - void reset(); - void parseS7Byte(uint8_t s7Byte); -}; - - -class mcoded7Encode{ - - private: - uint16_t dumpPos = 1; - uint8_t cnt = 6; - public: - uint8_t dump[8]; - uint16_t currentPos(); - void reset(); - void parseByte(uint8_t s8Byte); -}; - -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h deleted file mode 100644 index 922c91aac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIMESSAGECREATE_H -#define MIDI2CPP_MIDICIMESSAGECREATE_H -#include "utils.h" -#include -#include - -namespace CIMessage { - - uint16_t sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId - ); - - uint16_t sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx - ); - - uint16_t - sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); - - uint16_t - sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, - uint16_t infoLength, uint8_t *infoData); - - uint16_t sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, - uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -//Profile Negotiation CI 1.1 - uint16_t sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol); - - uint16_t sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols); - - uint16_t sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t *protocol); - - uint16_t sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - uint16_t sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - - uint16_t - sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - uint16_t - sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled); - - uint16_t sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data); - - uint16_t sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t destination, - std::array profile, uint8_t InquiryTarget); - - uint16_t - sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t *data); - - - uint16_t sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - - uint16_t sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid); - - uint16_t sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t supportedFeatures); - - uint16_t sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - -} -#endif //MIDI2CPP_MIDICIMESSAGECREATE_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h deleted file mode 100644 index 768e4fae8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h +++ /dev/null @@ -1,280 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIPROCESSOR_H -#define MIDI2CPP_MIDICIPROCESSOR_H - -#include -#include -#include // this was missing and causing build errors -#include -#include - -#include "utils.h" - -typedef std::tuple reqId; //muid-requestId - -struct MIDICI{ - MIDICI() : umpGroup(255), deviceId(FUNCTION_BLOCK),ciType(255),ciVer(1), remoteMUID(0), localMUID(0), - _reqTupleSet(false), totalChunks(0), numChunk(0), partialChunkCount(0), requestId(255) {} - uint8_t umpGroup; - uint8_t deviceId; - uint8_t ciType; - uint8_t ciVer; - uint32_t remoteMUID; - uint32_t localMUID; - bool _reqTupleSet; - reqId _peReqIdx; - - uint8_t totalChunks; - uint8_t numChunk; - uint8_t partialChunkCount; - uint8_t requestId; -}; - - - - -class midiCIProcessor{ -private: - MIDICI midici; - uint8_t buffer[256]; - /* - * in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4,...product Id] - * in Profiles this is [pf1, pf1, pf3, pf4, pf5] - * in Protocols this is [pr1, pr2, pr3, pr4, pr5] - */ - - uint16_t intTemp[4]; - /* in Discovery this is [ciSupport, maxSysex, output path id] - * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length] - * in Profile On/Off/Enabled/Disabled, this is [numOfChannels] - * in PE this is [header length, Body Length] - */ - uint16_t sysexPos; - - //MIDI-CI callbacks - - // EB: update callbacks step1 - update pointer definitions to: - // std::function name = nullptr; - - std::function - checkMUID = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, - uint16_t maxSysex, uint8_t outputPathId)> recvDiscoveryRequest = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx)> recvDiscoveryReply = nullptr; - std::function recvEndPointInfo = nullptr; - std::function recvEndPointInfoReply = nullptr; - std::function recvNAK = nullptr; - std::function recvACK = nullptr; - std::function recvInvalidateMUID = nullptr; - std::function recvUnknownMIDICI = nullptr; - -//Protocol Negotiation - std::function recvProtocolAvailable = nullptr; - std::function recvSetProtocol = nullptr; - std::function recvSetProtocolConfirm = nullptr; - std::function recvProtocolTest = nullptr; - - void processProtocolSysex(uint8_t s7Byte); - -//Profiles - std::function recvProfileInquiry = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileEnabled = nullptr; - std::function)> recvSetProfileRemoved = nullptr; - std::function, uint8_t numberOfChannels)> recvSetProfileDisabled = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileOn = nullptr; - std::function profile)> recvSetProfileOff = nullptr; - std::function profile, uint16_t datalen, uint8_t* data, - uint16_t part, bool lastByteOfSet)> recvProfileSpecificData = nullptr; - std::function profile, uint8_t InquiryTarget)> recvSetProfileDetailsInquiry = nullptr; - std::function profile, uint8_t InquiryTarget, - uint16_t datalen, uint8_t* data)> recvSetProfileDetailsReply = nullptr; - - void processProfileSysex(uint8_t s7Byte); - -//Property Exchange - std::map peHeaderStr; - - std::function recvPECapabilities = nullptr; - std::function recvPECapabilitiesReplies = nullptr; - std::function recvPEGetInquiry = nullptr; - std::function recvPESetReply = nullptr; - std::function recvPESubReply = nullptr; - std::function recvPENotify = nullptr; - std::function recvPEGetReply = nullptr; - std::function recvPESetInquiry = nullptr; - std::function recvPESubInquiry = nullptr; - - void cleanupRequest(reqId peReqIdx); - - void processPESysex(uint8_t s7Byte); - -//Process Inquiry - std::function recvPICapabilities = nullptr; - std::function recvPICapabilitiesReply = nullptr; - - std::function recvPIMMReport = nullptr; - std::function recvPIMMReportReply = nullptr; - std::function recvPIMMReportEnd = nullptr; - - void processPISysex(uint8_t s7Byte); - -public: - - // EB: update callbacks step2 - update setCallback functions: - // inline void setCallback(std::function fptr){ pointerName = fptr; } - // - // Calling these functions from within a member class looks like: - // MIDICIHandler->setCheckMUID(std::bind(&YourClass::checkMUID, this, std::placeholders::_1, std::placeholders::_2)); - - inline void setCheckMUID(std::function fptr){ - checkMUID = fptr; } - void endSysex7(); - void startSysex7(uint8_t group, uint8_t deviceId); - void processMIDICI(uint8_t s7Byte); - - - inline void setRecvDiscovery(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId - )> fptr) { - recvDiscoveryRequest = fptr;} - inline void setRecvDiscoveryReply(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx - )> fptr) { - recvDiscoveryReply = fptr;} - inline void setRecvNAK(std::function fptr){ - recvNAK = fptr;} - inline void setRecvACK(std::function fptr){ - recvACK = fptr;} - inline void setRecvInvalidateMUID(std::function fptr){ - recvInvalidateMUID = fptr;} - inline void setRecvUnknownMIDICI(std::function fptr){ - recvUnknownMIDICI = fptr;} - - - inline void setRecvEndpointInfo(std::function fptr){ - recvEndPointInfo = fptr;} - inline void setRecvEndpointInfoReply(std::function fptr){ - recvEndPointInfoReply = fptr;} - - //Protocol Negotiation - inline void setRecvProtocolAvailable(std::function fptr){ - recvProtocolAvailable = fptr;} - inline void setRecvSetProtocol(std::function fptr){ - recvSetProtocol = fptr;} - inline void setRecvSetProtocolConfirm(std::function fptr){ - recvSetProtocolConfirm = fptr;} - inline void setRecvSetProtocolTest(std::function fptr){ - recvProtocolTest = fptr;} - - //Profiles - inline void setRecvProfileInquiry(std::function fptr){ recvProfileInquiry = fptr;} - inline void setRecvProfileEnabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileEnabled = fptr;} - inline void setRecvSetProfileRemoved(std::function)> fptr){ - recvSetProfileRemoved = fptr;} - inline void setRecvProfileDisabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileDisabled = fptr;} - inline void setRecvProfileOn(std::function profile, uint8_t numberOfChannels)> fptr){ - recvSetProfileOn = fptr;} - inline void setRecvProfileOff(std::function profile)> fptr){ - recvSetProfileOff = fptr;} - inline void setRecvProfileSpecificData(std::function profile, uint16_t datalen, - uint8_t* data, uint16_t part, bool lastByteOfSet)> fptr){ - recvProfileSpecificData = fptr;} - inline void setRecvProfileDetailsInquiry(std::function profile, - uint8_t InquiryTarget)> fptr){ - recvSetProfileDetailsInquiry = fptr;} - inline void setRecvProfileDetailsReply(std::function profile, - uint8_t InquiryTarget, uint16_t datalen, uint8_t* data)> fptr){ - recvSetProfileDetailsReply = fptr;} - - //Property Exchange - inline void setPECapabilities(std::function fptr){ - recvPECapabilities = fptr;} - inline void setPECapabilitiesReply(std::function fptr){ - recvPECapabilitiesReplies = fptr;} - inline void setRecvPEGetInquiry(std::function fptr){ - recvPEGetInquiry = fptr;} - inline void setRecvPESetReply(std::function fptr){ - recvPESetReply = fptr;} - inline void setRecvPESubReply(std::function fptr){ - recvPESubReply = fptr;} - inline void setRecvPENotify(std::function fptr){ - recvPENotify = fptr;} - inline void setRecvPEGetReply(std::function fptr){ - recvPEGetReply = fptr;} - inline void setRecvPESetInquiry(std::function fptr){ - recvPESetInquiry = fptr;} - inline void setRecvPESubInquiry(std::function fptr){ - recvPESubInquiry = fptr;} - -//Process Inquiry - - inline void setRecvPICapabilities(std::function fptr){ - recvPICapabilities = fptr;} - inline void setRecvPICapabilitiesReply(std::function fptr){ - recvPICapabilitiesReply = fptr;} - inline void setRecvPIMMReport(std::function fptr){ - recvPIMMReport = fptr;} - inline void setRecvPIMMReportReply(std::function fptr){ - recvPIMMReportReply = fptr;} - inline void setRecvPIMMEnd(std::function fptr){ - recvPIMMReportEnd = fptr;} - -}; - -#endif //MIDI2CPP_MIDICIPROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h deleted file mode 100644 index 4e4862a79..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h +++ /dev/null @@ -1,132 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MESSAGE_CREATE_H -#define MESSAGE_CREATE_H -#include -#include - -namespace UMPMessage { - uint32_t mt0NOOP(); - - uint32_t mt0JRClock(uint16_t clockTime); - - uint32_t mt0JRTimeStamp(uint16_t timestamp); - - uint32_t mt0DeltaClockTick(uint16_t ticksPerQtrNote); - - uint32_t mt0DeltaTicksSinceLast(uint16_t noTicksSince); - - - uint32_t mt1MTC(uint8_t group, uint8_t timeCode); - - uint32_t mt1SPP(uint8_t group, uint16_t position); - - uint32_t mt1SongSelect(uint8_t group, uint8_t song); - - uint32_t mt1TuneRequest(uint8_t group); - - uint32_t mt1TimingClock(uint8_t group); - - uint32_t mt1SeqStart(uint8_t group); - - uint32_t mt1SeqCont(uint8_t group); - - uint32_t mt1SeqStop(uint8_t group); - - uint32_t mt1ActiveSense(uint8_t group); - - uint32_t mt1SystemReset(uint8_t group); - - - uint32_t mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure); - - uint32_t mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value); - - uint32_t mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program); - - uint32_t mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure); - - uint32_t mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value); - - std::array mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx); - - - std::array mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure); - - std::array mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch); - - std::array mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value); - - std::array mt4RPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4NRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4RelativeRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4RelativeNRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4ChannelPressure(uint8_t group, uint8_t channel, uint32_t pressure); - - std::array mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, - uint8_t bank, uint8_t index); - - - std::array mtFMidiEndpoint(uint8_t filter); - - std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); - - std::array - mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version); - - std::array - mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); - - std::array - mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, - uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); - - std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFStartOfSeq(); - - std::array mtFEndOfFile(); - - std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); - - std::array mtFNotifyProtocol(uint8_t protocol, bool jrrx, bool jrtx); - -} -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h deleted file mode 100644 index 0e81025fb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h +++ /dev/null @@ -1,177 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#ifndef UMP_PROCESSOR_H -#define UMP_PROCESSOR_H - -#include -#include -#include - -#include "utils.h" - -struct umpCVM{ - umpCVM() : umpGroup(255), messageType(255), status(0),channel(255),note(255), value(0), index(0), bank(0), - flag1(false), flag2(false) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; - -struct umpGeneric{ - umpGeneric() : umpGroup(255), status(0), value(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; - -struct umpData{ - umpData() : umpGroup(255), streamId(0), status(0), form(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t streamId; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; - -class umpProcessor{ - - private: - - uint32_t umpMess[4]{}; - uint8_t messPos=0; - - // Message type 0x0 callbacks - std::function utilityMessage = nullptr; - - // MIDI 1 and 2 CVM callbacks - std::function channelVoiceMessage = nullptr; - - //System Messages callbacks - std::function systemMessage = nullptr; - - //Sysex - std::function sendOutSysex = nullptr; - - // Message Type 0xD callbacks - std::function flexTempo = nullptr; - std::function flexTimeSig = nullptr; - std::function flexMetronome = nullptr; - std::function flexKeySig = nullptr; - std::function flexChord = nullptr; - std::function flexPerformance = nullptr; - std::function flexLyric = nullptr; - - // Message Type 0xF callbacks - std::function midiEndpoint = nullptr; - std::function functionBlock = nullptr; - std::function - midiEndpointInfo = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version)> midiEndpointDeviceInfo = nullptr; - std::function midiEndpointName = nullptr; - std::function midiEndpointProdId = nullptr; - - std::function midiEndpointJRProtocolReq = nullptr; - std::function midiEndpointJRProtocolNotify = nullptr; - - std::function functionBlockInfo = nullptr; - std::function functionBlockName = nullptr; - std::function startOfSeq = nullptr; - std::function endOfFile = nullptr; - - //Handle new Messages - std::function unknownUMPMessage = nullptr; - - public: - - void clearUMP(); - void processUMP(uint32_t UMP); - - //-----------------------Handlers --------------------------- - inline void setUtility(std::function fptr){ utilityMessage = fptr; } - inline void setCVM(std::function fptr ){ channelVoiceMessage = fptr; } - inline void setSystem(std::function fptr) { systemMessage = fptr; } - inline void setSysEx(std::function fptr ){sendOutSysex = fptr; } - - //---------- Flex Data - inline void setFlexTempo(std::function fptr ){ flexTempo = fptr; } - inline void setFlexTimeSig(std::function fptr){ - flexTimeSig = fptr; } - inline void setFlexMetronome(std::function fptr){ flexMetronome = fptr; } - inline void setFlexKeySig(std::function fptr){ - flexKeySig = fptr; } - inline void setFlexChord(std::function fptr){ - flexChord = fptr; } - inline void setFlexPerformance(std::function fptr){ flexPerformance = fptr; } - inline void setFlexLyric(std::function fptr){ flexLyric = fptr; } - - //---------- UMP Stream - - inline void setMidiEndpoint(std::function fptr){ - midiEndpoint = fptr; } - inline void setMidiEndpointNameNotify(std::function fptr){ - midiEndpointName = fptr; } - inline void setMidiEndpointProdIdNotify(std::function fptr){ - midiEndpointProdId = fptr; } - inline void setMidiEndpointInfoNotify(std::function fptr){ - midiEndpointInfo = fptr; } - inline void setMidiEndpointDeviceInfoNotify(std::function manuId, std::array familyId, - std::array modelId, std::array version)> fptr){ - midiEndpointDeviceInfo = fptr; } - inline void setJRProtocolRequest(std::function fptr){ midiEndpointJRProtocolReq = fptr;} - inline void setJRProtocolNotify(std::function fptr){ - midiEndpointJRProtocolNotify = fptr;} - - inline void setFunctionBlock(std::function fptr){ functionBlock = fptr; } - inline void setFunctionBlockNotify(std::function fptr){ - functionBlockInfo = fptr; } - inline void setFunctionBlockNameNotify(std::function fptr){functionBlockName = fptr; } - inline void setStartOfSeq(std::function fptr){startOfSeq = fptr; } - inline void setEndOfFile(std::function fptr){endOfFile = fptr; } - - //Unknown UMP - inline void setUnknownUMP(std::function fptr){unknownUMPMessage = fptr; } - -}; - -#endif //UMP_PROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h deleted file mode 100644 index 77c4e97c6..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h +++ /dev/null @@ -1,46 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UMPBS_H -#define UMPBS_H - - -#include - -class umpToBytestream{ - - private: - uint8_t mType; - uint32_t ump64word1; - - uint8_t UMPPos=0; - uint8_t bsOutLength=0; - uint8_t bsOut[12]; - - public: - uint8_t group; - - umpToBytestream(); - bool availableBS(); - uint8_t readBS(); - void UMPStreamParse(uint32_t UMP); -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h deleted file mode 100644 index f92125503..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h +++ /dev/null @@ -1,176 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UTILS_H -#define UTILS_H - -#include -#include - - -#define NOTE_OFF 0x80 -#define NOTE_ON 0x90 -#define KEY_PRESSURE 0xA0 -#define CC 0xB0 -#define RPN 0x20 -#define NRPN 0x30 -#define RPN_RELATIVE 0x40 -#define NRPN_RELATIVE 0x50 -#define PROGRAM_CHANGE 0xC0 -#define CHANNEL_PRESSURE 0xD0 -#define PITCH_BEND 0xE0 -#define PITCH_BEND_PERNOTE 0x60 -#define NRPN_PERNOTE 0x10 -#define RPN_PERNOTE 0x00 -#define PERNOTE_MANAGE 0xF0 - -#define SYSEX_START 0xF0 -#define TIMING_CODE 0xF1 -#define SPP 0xF2 -#define SONG_SELECT 0xF3 -#define TUNEREQUEST 0xF6 -#define SYSEX_STOP 0xF7 -#define TIMINGCLOCK 0xF8 -#define SEQSTART 0xFA -#define SEQCONT 0xFB -#define SEQSTOP 0xFC -#define ACTIVESENSE 0xFE -#define SYSTEMRESET 0xFF - -#define UTILITY_NOOP 0x0 -#define UTILITY_JRCLOCK 0x1 -#define UTILITY_JRTS 0x2 -#define UTILITY_DELTACLOCKTICK 0x3 -#define UTILITY_DELTACLOCKSINCE 0x4 - -#define FLEXDATA_COMMON 0x00 -#define FLEXDATA_COMMON_TEMPO 0x00 -#define FLEXDATA_COMMON_TIMESIG 0x01 -#define FLEXDATA_COMMON_METRONOME 0x02 -#define FLEXDATA_COMMON_KEYSIG 0x05 -#define FLEXDATA_COMMON_CHORD 0x06 -#define FLEXDATA_PERFORMANCE 0x01 -#define FLEXDATA_LYRIC 0x02 - -#define MIDIENDPOINT 0x000 -#define MIDIENDPOINT_INFO_NOTIFICATION 0x001 -#define MIDIENDPOINT_DEVICEINFO_NOTIFICATION 0x002 -#define MIDIENDPOINT_NAME_NOTIFICATION 0x003 -#define MIDIENDPOINT_PRODID_NOTIFICATION 0x004 -#define MIDIENDPOINT_PROTOCOL_REQUEST 0x005 -#define MIDIENDPOINT_PROTOCOL_NOTIFICATION 0x006 -#define STARTOFSEQ 0x020 -#define ENDOFFILE 0x021 - -#define FUNCTIONBLOCK 0x010 -#define FUNCTIONBLOCK_INFO_NOTFICATION 0x011 -#define FUNCTIONBLOCK_NAME_NOTIFICATION 0x012 - -#ifndef S7_BUFFERLEN -#define S7_BUFFERLEN 36 -#endif -#define S7UNIVERSAL_NRT 0x7E -#define S7UNIVERSAL_RT 0x7F -#define S7MIDICI 0x0D - -#define MIDICI_DISCOVERY 0x70 -#define MIDICI_DISCOVERYREPLY 0x71 -#define MIDICI_ENDPOINTINFO 0x72 -#define MIDICI_ENDPOINTINFO_REPLY 0x73 -#define MIDICI_INVALIDATEMUID 0x7E -#define MIDICI_ACK 0x7D -#define MIDICI_NAK 0x7F - -#define MIDICI_PROTOCOL_NEGOTIATION 0x10 -#define MIDICI_PROTOCOL_NEGOTIATION_REPLY 0x11 -#define MIDICI_PROTOCOL_SET 0x12 -#define MIDICI_PROTOCOL_TEST 0x13 -#define MIDICI_PROTOCOL_TEST_RESPONDER 0x14 -#define MIDICI_PROTOCOL_CONFIRM 0x15 - -#define MIDICI_PROFILE_INQUIRY 0x20 -#define MIDICI_PROFILE_INQUIRYREPLY 0x21 -#define MIDICI_PROFILE_SETON 0x22 -#define MIDICI_PROFILE_SETOFF 0x23 -#define MIDICI_PROFILE_ENABLED 0x24 -#define MIDICI_PROFILE_DISABLED 0x25 -#define MIDICI_PROFILE_ADD 0x26 -#define MIDICI_PROFILE_REMOVE 0x27 -#define MIDICI_PROFILE_DETAILS_INQUIRY 0x28 -#define MIDICI_PROFILE_DETAILS_REPLY 0x29 -#define MIDICI_PROFILE_SPECIFIC_DATA 0x2F - -#define MIDICI_PE_CAPABILITY 0x30 -#define MIDICI_PE_CAPABILITYREPLY 0x31 -#define MIDICI_PE_GET 0x34 -#define MIDICI_PE_GETREPLY 0x35 -#define MIDICI_PE_SET 0x36 -#define MIDICI_PE_SETREPLY 0x37 -#define MIDICI_PE_SUB 0x38 -#define MIDICI_PE_SUBREPLY 0x39 -#define MIDICI_PE_NOTIFY 0x3F - -#define MIDICI_PI_CAPABILITY 0x40 -#define MIDICI_PI_CAPABILITYREPLY 0x41 -#define MIDICI_PI_MM_REPORT 0x42 -#define MIDICI_PI_MM_REPORT_REPLY 0x43 -#define MIDICI_PI_MM_REPORT_END 0x44 - -#define MIDICI_PE_COMMAND_START 1 -#define MIDICI_PE_COMMAND_END 2 -#define MIDICI_PE_COMMAND_PARTIAL 3 -#define MIDICI_PE_COMMAND_FULL 4 -#define MIDICI_PE_COMMAND_NOTIFY 5 - -#define MIDICI_PE_ACTION_COPY 1 -#define MIDICI_PE_ACTION_MOVE 2 -#define MIDICI_PE_ACTION_DELETE 3 -#define MIDICI_PE_ACTION_CREATE_DIR 4 - -#define MIDICI_PE_ASCII 1 -#define MIDICI_PE_MCODED7 2 -#define MIDICI_PE_MCODED7ZLIB 3 - -#define FUNCTION_BLOCK 0x7F -#define M2_CI_BROADCAST 0xFFFFFFF - -#define UMP_VER_MAJOR 1 -#define UMP_VER_MINOR 1 - -#ifndef EXP_MIDICI_PE_EXPERIMENTAL_PATH -#define EXP_MIDICI_PE_EXPERIMENTAL_PATH 1 -#endif - -#define UMP_UTILITY 0x0 -#define UMP_SYSTEM 0x1 -#define UMP_M1CVM 0x2 -#define UMP_SYSEX7 0x3 -#define UMP_M2CVM 0x4 -#define UMP_DATA 0x5 -#define UMP_FLEX_DATA 0xD -#define UMP_MIDI_ENDPOINT 0xF - -namespace M2Utils { -uint32_t scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -uint32_t scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/bytestreamToUMP.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/bytestreamToUMP.cpp deleted file mode 100644 index 915def422..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/bytestreamToUMP.cpp +++ /dev/null @@ -1,228 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - - -#include "utils.h" -#include "bytestreamToUMP.h" - -#ifndef clear -#define clear(dest, c,n ) for(uint16_t i = 0 ; i < n ; i ++) dest[i] = c; -#endif - -bytestreamToUMP::bytestreamToUMP(){ - clear(bankMSB, 255, sizeof(bankMSB)); - clear(bankLSB, 255, sizeof(bankLSB)); - clear(rpnMsbValue, 255, sizeof(rpnMsbValue)); - clear(rpnMsb, 255, sizeof(rpnMsb)); - clear(rpnLsb, 255, sizeof(rpnLsb)); -} - -void bytestreamToUMP::bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2){ - uint8_t status = b0 & 0xF0; - - if(d0 >= TIMING_CODE){ - umpMess[messPos] = ((UMP_SYSTEM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (b0 + 0L) << 16; - umpMess[messPos] += b1 << 8; - umpMess[messPos] += b2; - messPos++; - }else if(status>=NOTE_OFF && status<=PITCH_BEND){ - if(outputMIDI2){ - uint8_t channel = b0 & 0xF; - - if(status==NOTE_ON && b2==0){ - status=NOTE_OFF; - b2 = 0x40; - } - - umpMess[messPos] = ((UMP_M2CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (status + channel + 0L)<<16; - - if(status==NOTE_ON || status==NOTE_OFF){ - umpMess[messPos] += (b1 + 0L) <<8; - umpMess[messPos+1] = (M2Utils::scaleUp(b2,7,16) << 16); - } else if (status == KEY_PRESSURE){ - umpMess[messPos] += (b1 + 0L) <<8; - umpMess[messPos+1] = M2Utils::scaleUp(b2,7,32); - } else if (status == PITCH_BEND){ - umpMess[messPos+1] = M2Utils::scaleUp((b1<<7) + b2,14,32); - } else if (status == PROGRAM_CHANGE){ - if(bankMSB[channel]!=255 && bankLSB[channel]!=255){ - umpMess[messPos] += 1; - umpMess[messPos+1] += (bankMSB[channel] <<8) + bankLSB[channel ]; - } - umpMess[messPos+1] += (b1 + 0L) << 24; - } else if (status == CHANNEL_PRESSURE){ - umpMess[messPos+1] = M2Utils::scaleUp(b1,7,32); - } else if (status == CC){ - switch(b1){ - case 0: - bankMSB[channel] = b2; - return; - case 32: - bankLSB[channel] = b2; - return; - - case 6: //RPN MSB Value - if(rpnMsb[channel]==255 || rpnLsb[channel]==255){ - return; - } - - if(rpnMode[channel] && rpnMsb[channel] == 0 && (rpnLsb[channel] == 0 || rpnLsb[channel] == 6)){ - status = rpnMode[channel]? RPN: NRPN; - - umpMess[messPos] = ((UMP_M2CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (status + channel + 0L)<<16; - umpMess[messPos] += ((int)rpnMsb[channel]<<7) + rpnLsb[channel] + 0L; - umpMess[messPos+1] = M2Utils::scaleUp(((int)b2<<7),14,32); - - }else{ - rpnMsbValue[channel] = b2; - return; - } - break; - case 38: //RPN LSB Value - if(rpnMsb[channel]==255 || rpnLsb[channel]==255){ - return; - } - status = rpnMode[channel]? RPN: NRPN; - - umpMess[messPos] = ((UMP_M2CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (status + channel + 0L)<<16; - umpMess[messPos] += ((int)rpnMsb[channel]<<7) + rpnLsb[channel] + 0L; - umpMess[messPos+1] = M2Utils::scaleUp(((int)rpnMsbValue[channel]<<7) + b2,14,32); - break; - case 99: - rpnMode[channel] = false; - rpnMsb[channel] = b2; - return; - case 98: - rpnMode[channel] = false; - rpnLsb[channel] = b2; - return; - case 101: - rpnMode[channel] = true; - rpnMsb[channel] = b2; - return; - - case 100: - rpnMode[channel] = true; - rpnLsb[channel] = b2; - return; - - default: - umpMess[messPos] += (b1 + 0L) <<8; - umpMess[messPos+1] = M2Utils::scaleUp(b2,7,32); - break; - } - } - messPos+=2; - - } else { - umpMess[messPos] = ((UMP_M1CVM << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (b0 + 0L) << 16; - umpMess[messPos] += b1 << 8; - umpMess[messPos] += b2; - - messPos++; - } - } - -} - - -bool bytestreamToUMP::availableUMP(){ - return messPos; -} - -uint32_t bytestreamToUMP::readUMP(){ - uint32_t mess = umpMess[0]; - for(uint8_t i=0;i= TIMINGCLOCK) { - bsToUMP(midi1Byte,0,0); - return; - } - - if (midi1Byte & NOTE_OFF) { // Status byte received - d0 = midi1Byte; - d1 = 255; - - if (midi1Byte == SYSEX_START){ - sysex7State = 1; - sysex7Pos = 0; - }else - if (midi1Byte == SYSEX_STOP){ - - umpMess[messPos] = ((UMP_SYSEX7 << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += ((sysex7State == 1?0:3) + 0L) << 20; - umpMess[messPos] += ((sysex7Pos + 0L) << 16) ; - umpMess[messPos++] += (sysex[0] << 8) + sysex[1]; - umpMess[messPos++] = ((sysex[2] + 0L) << 24) + ((sysex[3] + 0L)<< 16) + (sysex[4] << 8) + sysex[5]; - - sysex7State = 0; - clear(sysex, 0, sizeof(sysex)); - } - } else - if(sysex7State >= 1){ - //Check IF new UMP Message Type 3 - if(sysex7Pos%6 == 0 && sysex7Pos !=0){ - umpMess[messPos] = ((UMP_SYSEX7 << 4) + defaultGroup + 0L) << 24; - umpMess[messPos] += (sysex7State + 0L) << 20; - umpMess[messPos] += 6L << 16; - umpMess[messPos++] += (sysex[0] << 8) + sysex[1]; - umpMess[messPos++] = ((sysex[2] + 0L) << 24) + ((sysex[3] + 0L)<< 16) + (sysex[4] << 8) + sysex[5] + 0L; - clear(sysex, 0, sizeof(sysex)); - sysex7State=2; - sysex7Pos=0; - } - - sysex[sysex7Pos] = midi1Byte; - sysex7Pos++; - } else - if (d1 != 255) { // Second byte - bsToUMP(d0, d1, midi1Byte); - d1 = 255; - } else if (d0){ // status byte set - if ( - (d0 & 0xF0) == PROGRAM_CHANGE - || (d0 & 0xF0) == CHANNEL_PRESSURE - || d0 == TIMING_CODE - || d0 == SONG_SELECT - ) { - bsToUMP(d0, midi1Byte, 0); - return; - } else - if (d0 < SYSEX_START || d0 == SPP) { // First data byte - d1=midi1Byte; - return; - } - } -} - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/mcoded7.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/mcoded7.cpp deleted file mode 100644 index 47028f13a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/mcoded7.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "mcoded7.h" - -#ifndef clear -#define clear(dest, c,n ) for(uint16_t i = 0 ; i < n ; i ++) dest[i] = c; -#endif - - -uint16_t mcoded7Decode::currentPos(){ return dumpPos;} - -void mcoded7Decode::reset(){ - clear(dump,0,7); - fBit=0; bits=0;dumpPos=255; -} - -void mcoded7Decode::parseS7Byte(uint8_t s7Byte){ - if (dumpPos == 255) { - reset(); - bits = s7Byte; - dumpPos=0; - } else { - fBit = ((bits >> (6 - dumpPos)) & 1) << 7; - dump[dumpPos++] = s7Byte | fBit; - } -} - - -uint16_t mcoded7Encode::currentPos(){ return dumpPos-1;} - -void mcoded7Encode::reset(){ - clear(dump,0,8); - dumpPos=1; cnt = 6; -} - -void mcoded7Encode::parseByte(uint8_t s8Byte){ - uint8_t c = s8Byte & 0x7F; - uint8_t msb = s8Byte >> 7; - dump[0] |= msb << cnt; - dump[dumpPos] = c; - if (cnt == 0) { - cnt = 6; - } else { - cnt--; - } - dumpPos++; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIMessageCreate.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIMessageCreate.cpp deleted file mode 100644 index f1feacb78..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIMessageCreate.cpp +++ /dev/null @@ -1,522 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "midiCIMessageCreate.h" - -void setBytesFromNumbers(uint8_t *message, uint32_t number, uint16_t *start, uint8_t amount) { - for (int amountC = amount; amountC > 0; amountC--) { - message[(*start)++] = number & 127; - number = number >> 7; - } -} - -void concatSysexArray(uint8_t *sysex, uint16_t *start, uint8_t *add, uint16_t len) { - uint16_t i; - for (i = 0; i < len; i++) { - sysex[(*start)++] = add[i]; - } -} - -void createCIHeader(uint8_t *sysexHeader, uint8_t deviceId, uint8_t ciType, uint8_t ciVer, uint32_t localMUID, - uint32_t remoteMUID) { - sysexHeader[0] = S7UNIVERSAL_NRT; - sysexHeader[1] = deviceId; - sysexHeader[2] = S7MIDICI; - sysexHeader[3] = ciType; - sysexHeader[4] = ciVer; - uint16_t length = 5; - setBytesFromNumbers(sysexHeader, localMUID, &length, 4); - setBytesFromNumbers(sysexHeader, remoteMUID, &length, 4); -} - -uint16_t sendDiscovery(uint8_t *sysex, uint8_t midiCIVer, uint8_t ciType, uint32_t srcMUID, uint32_t destMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx -) { - - createCIHeader(sysex, 0x7F, ciType, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, manuId.data(), 3); - concatSysexArray(sysex, &length, familyId.data(), 2); - concatSysexArray(sysex, &length, modelId.data(), 2); - concatSysexArray(sysex, &length, version.data(), 4); - - //Capabilities - sysex[length++] = ciSupport; - setBytesFromNumbers(sysex, sysExMax, &length, 4); - if (midiCIVer < 2) { - return length; - } - sysex[length++] = outputPathId; - - if (ciType == MIDICI_DISCOVERY) { - return length; - } else { - sysex[length++] = fbIdx; - return length; - } -} - -uint16_t CIMessage::sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId -) { - return sendDiscovery(sysex, midiCIVer, MIDICI_DISCOVERY, srcMUID, M2_CI_BROADCAST, - manuId, familyId, - modelId, version, - ciSupport, sysExMax, - outputPathId, - 0 - ); -} - -uint16_t CIMessage::sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx -) { - return sendDiscovery(sysex, midiCIVer, MIDICI_DISCOVERYREPLY, srcMUID, destMUID, - manuId, familyId, - modelId, version, - ciSupport, sysExMax, - outputPathId, - fbIdx - ); -} - -uint16_t -CIMessage::sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t status) { - - if (midiCIVer < 2) return 0; - createCIHeader(sysex, 0x7F, MIDICI_ENDPOINTINFO, midiCIVer, srcMUID, destMUID); - sysex[13] = status; - return 14; -} - -uint16_t -CIMessage::sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t status, - uint16_t infoLength, uint8_t *infoData) { - if (midiCIVer < 2) return 0; - createCIHeader(sysex, 0x7F, MIDICI_ENDPOINTINFO_REPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = status; - uint16_t length = 14; - setBytesFromNumbers(sysex, infoLength, &length, 2); - concatSysexArray(sysex, &length, infoData, infoLength); - return length; -} - - -uint16_t sendACKNAK(uint8_t *sysex, uint8_t midiCIVer, uint8_t ciType, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage) { - createCIHeader(sysex, destination, ciType, midiCIVer, srcMUID, destMUID); - - uint16_t length = 13; - if (midiCIVer < 2) { - return length; - } - - sysex[length++] = originalSubId; - sysex[length++] = statusCode; - sysex[length++] = statusData; - - concatSysexArray(sysex, &length, ackNakDetails, 5); - setBytesFromNumbers(sysex, messageLength, &length, 2); - concatSysexArray(sysex, &length, ackNakMessage, messageLength); - return length; -} - -uint16_t CIMessage::sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage) { - - return sendACKNAK(sysex, midiCIVer, MIDICI_ACK, srcMUID, destMUID, destination, originalSubId, statusCode, - statusData, ackNakDetails, - messageLength, ackNakMessage); - -} - -uint16_t CIMessage::sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage) { - - return sendACKNAK(sysex, midiCIVer, MIDICI_NAK, srcMUID, destMUID, destination, originalSubId, statusCode, - statusData, ackNakDetails, - messageLength, ackNakMessage); - -} - -uint16_t CIMessage::sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid) { - createCIHeader(sysex, 0x7F, MIDICI_INVALIDATEMUID, midiCIVer, srcMUID, M2_CI_BROADCAST); - setBytesFromNumbers(sysex, terminateMuid, 0, 4); - return 17; -} - - -uint16_t CIMessage::sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_NEGOTIATION, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - concatSysexArray(sysex, &length, protocols, numProtocols * 5); - if (midiCIVer < 2) { - return length; - } - concatSysexArray(sysex, &length, currentProtocol, 5); - return length; - -} - -uint16_t CIMessage::sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_NEGOTIATION_REPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - concatSysexArray(sysex, &length, protocols, numProtocols * 5); - return length; -} - - -uint16_t CIMessage::sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel, uint8_t *protocol) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_SET, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - concatSysexArray(sysex, &length, protocol, 5); - return length; -} - -uint16_t CIMessage::sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_TEST, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - uint8_t testData[48] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; - concatSysexArray(sysex, &length, testData, 48); - return length; -} - -uint16_t CIMessage::sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t authorityLevel) { - createCIHeader(sysex, 0x7F, MIDICI_PROTOCOL_TEST_RESPONDER, midiCIVer, srcMUID, destMUID); - sysex[13] = authorityLevel; - uint16_t length = 14; - uint8_t testData[48] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}; - concatSysexArray(sysex, &length, testData, 48); - return length; -} - -//Profiles - -uint16_t CIMessage::sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination) { - createCIHeader(sysex, destination, MIDICI_PROFILE_INQUIRY, midiCIVer, srcMUID, destMUID); - return 13; -} - - -uint16_t -CIMessage::sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled) { - createCIHeader(sysex, destination, MIDICI_PROFILE_INQUIRYREPLY, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - setBytesFromNumbers(sysex, profilesEnabledLen, &length, 2); - concatSysexArray(sysex, &length, profilesEnabled, profilesEnabledLen * 5); - setBytesFromNumbers(sysex, profilesDisabledLen, &length, 2); - concatSysexArray(sysex, &length, profilesDisabled, profilesDisabledLen * 5); - return length; -} - -uint16_t -sendProfileMessage(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile, - uint8_t numberOfChannels, uint8_t ciType) { - createCIHeader(sysex, destination, ciType, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - if (midiCIVer == 1 || ciType == MIDICI_PROFILE_ADD || ciType == MIDICI_PROFILE_REMOVE) { - return length; - } - setBytesFromNumbers(sysex, numberOfChannels, &length, 2); - return length; - -} - -uint16_t -CIMessage::sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, 0, - (uint8_t) MIDICI_PROFILE_ADD); -} - -uint16_t -CIMessage::sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, 0, - (uint8_t) MIDICI_PROFILE_REMOVE); -} - -uint16_t -CIMessage::sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile, uint8_t numberOfChannels) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, numberOfChannels, - (uint8_t) MIDICI_PROFILE_SETON); -} - -uint16_t -CIMessage::sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - std::array profile) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, 0, - (uint8_t) MIDICI_PROFILE_SETOFF); -} - -uint16_t -CIMessage::sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, - uint8_t numberOfChannels) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, numberOfChannels, - (uint8_t) MIDICI_PROFILE_ENABLED); -} - -uint16_t -CIMessage::sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, - uint8_t numberOfChannels) { - return sendProfileMessage(sysex, midiCIVer, srcMUID, destMUID, destination, profile, numberOfChannels, - (uint8_t) MIDICI_PROFILE_DISABLED); -} - - -uint16_t -CIMessage::sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data) { - createCIHeader(sysex, destination, MIDICI_PROFILE_SPECIFIC_DATA, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - setBytesFromNumbers(sysex, datalen, &length, 4); - concatSysexArray(sysex, &length, data, datalen); - return length; -} - -uint16_t CIMessage::sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, uint8_t InquiryTarget) { - if (midiCIVer < 2) return 0; - createCIHeader(sysex, destination, MIDICI_PROFILE_DETAILS_INQUIRY, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - sysex[length++] = InquiryTarget; - return length; -} - -uint16_t -CIMessage::sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, - uint8_t *data) { - if (midiCIVer < 2) return 0; - createCIHeader(sysex, destination, MIDICI_PROFILE_DETAILS_REPLY, midiCIVer, srcMUID, destMUID); - uint16_t length = 13; - concatSysexArray(sysex, &length, profile.data(), 5); - sysex[length++] = InquiryTarget; - setBytesFromNumbers(sysex, datalen, &length, 2); - concatSysexArray(sysex, &length, data, datalen); - return length; -} - - -// Property Exchange - -uint16_t CIMessage::sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) { - createCIHeader(sysex, 0x7F, MIDICI_PE_CAPABILITY, midiCIVer, srcMUID, destMUID); - sysex[13] = numSimulRequests; - if (midiCIVer == 1) { - return 14; - } - sysex[14] = majVer; - sysex[15] = minVer; - return 16; -} - -uint16_t CIMessage::sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer) { - createCIHeader(sysex, 0x7F, MIDICI_PE_CAPABILITYREPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = numSimulRequests; - if (midiCIVer == 1) { - return 14; - } - sysex[14] = majVer; - sysex[15] = minVer; - return 16; -} - - -uint16_t sendPEWithBody(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body, uint8_t ciType) { - createCIHeader(sysex, 0x7F, ciType, midiCIVer, srcMUID, destMUID); - sysex[13] = requestId; - uint16_t length = 14; - setBytesFromNumbers(sysex, headerLen, &length, 2); - concatSysexArray(sysex, &length, header, headerLen); - setBytesFromNumbers(sysex, numberOfChunks, &length, 2); - setBytesFromNumbers(sysex, numberOfThisChunk, &length, 2); - setBytesFromNumbers(sysex, bodyLength, &length, 2); - concatSysexArray(sysex, &length, body, bodyLength); - return length; -} - -uint16_t CIMessage::sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body) { - return sendPEWithBody(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, numberOfChunks, - numberOfThisChunk, - bodyLength, body, (uint8_t) MIDICI_PE_SUB); -} - -uint16_t CIMessage::sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body) { - return sendPEWithBody(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, numberOfChunks, - numberOfThisChunk, - bodyLength, body, (uint8_t) MIDICI_PE_SET); -} - -uint16_t -CIMessage::sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, - uint16_t numberOfThisChunk, uint16_t bodyLength, uint8_t *body) { - return sendPEWithBody(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, numberOfChunks, - numberOfThisChunk, - bodyLength, body, (uint8_t) MIDICI_PE_GETREPLY); -} - - -uint16_t sendPEHeaderOnly(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint8_t ciType) { - createCIHeader(sysex, 0x7F, ciType, midiCIVer, srcMUID, destMUID); - sysex[13] = requestId; - uint16_t length = 14; - setBytesFromNumbers(sysex, headerLen, &length, 2); - concatSysexArray(sysex, &length, header, headerLen); - setBytesFromNumbers(sysex, 1, &length, 2); - setBytesFromNumbers(sysex, 1, &length, 2); - setBytesFromNumbers(sysex, 0, &length, 2); - return length; -} - -uint16_t CIMessage::sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_GET); -} - -uint16_t -CIMessage::sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_SUBREPLY); -} - -uint16_t -CIMessage::sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_NOTIFY); -} - -uint16_t -CIMessage::sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t requestId, - uint16_t headerLen, uint8_t *header) { - return sendPEHeaderOnly(sysex, midiCIVer, srcMUID, destMUID, requestId, headerLen, header, - (uint8_t) MIDICI_PE_SETREPLY); -} - -//Process Inquiry -uint16_t CIMessage::sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID) { - if (midiCIVer == 1) return 0; - createCIHeader(sysex, 0x7F, MIDICI_PI_CAPABILITY, midiCIVer, srcMUID, destMUID); - return 13; -} - -uint16_t CIMessage::sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t supportedFeatures) { - createCIHeader(sysex, 0x7F, MIDICI_PI_CAPABILITYREPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = supportedFeatures; - return 14; -} - - -uint16_t -CIMessage::sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap) { - createCIHeader(sysex, destination, MIDICI_PI_MM_REPORT, midiCIVer, srcMUID, destMUID); - sysex[13] = MDC; - sysex[14] = systemBitmap; - sysex[15] = 0; - sysex[16] = chanContBitmap; - sysex[17] = chanNoteBitmap; - return 18; -} - -uint16_t -CIMessage::sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap) { - createCIHeader(sysex, destination, MIDICI_PI_MM_REPORT_REPLY, midiCIVer, srcMUID, destMUID); - sysex[13] = systemBitmap; - sysex[14] = 0; - sysex[15] = chanContBitmap; - sysex[16] = chanNoteBitmap; - return 17; -} - -uint16_t -CIMessage::sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMUID, - uint8_t destination) { - createCIHeader(sysex, destination, MIDICI_PI_MM_REPORT_END, midiCIVer, srcMUID, destMUID); - return 13; -} - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIProcessor.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIProcessor.cpp deleted file mode 100644 index d6397f388..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/midiCIProcessor.cpp +++ /dev/null @@ -1,808 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "midiCIProcessor.h" - -void midiCIProcessor::endSysex7(){ - if(midici._reqTupleSet){ - cleanupRequest(midici._peReqIdx); - } -} - -void midiCIProcessor::startSysex7(uint8_t group, uint8_t deviceId){ - - sysexPos = 0; - buffer[0]='\0'; - midici = MIDICI(); - midici.deviceId = deviceId; - midici.umpGroup = group; -} - -void midiCIProcessor::cleanupRequest(reqId peReqIdx){ - peHeaderStr.erase(peReqIdx); -} - -void midiCIProcessor::processMIDICI(uint8_t s7Byte){ - //printf("s7 Byte %d\n", s7Byte); - if(sysexPos == 3){ - midici.ciType = s7Byte; - } - - if(sysexPos == 4){ - midici.ciVer = s7Byte; - } - if(sysexPos >= 5 && sysexPos <= 8){ - midici.remoteMUID += s7Byte << (7 * (sysexPos - 5)); - } - - if(sysexPos >= 9 && sysexPos <= 12){ - midici.localMUID += s7Byte << (7 * (sysexPos - 9)); - } - - if(sysexPos >= 12 - && midici.localMUID != M2_CI_BROADCAST - && checkMUID && !checkMUID(midici.umpGroup, midici.localMUID) - ){ - return; //Not for this device - } - - //break up each Process based on ciType - if(sysexPos >= 12) { - switch (midici.ciType) { - case MIDICI_DISCOVERYREPLY: //Discovery Reply - case MIDICI_DISCOVERY: { //Discovery Request - if (sysexPos >= 13 && sysexPos <= 23) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 24) { - intTemp[0] = s7Byte; // ciSupport - } - if (sysexPos >= 25 && sysexPos <= 28) { - intTemp[1] += s7Byte << (7 * (sysexPos - 25)); //maxSysEx - } - - bool complete = false; - if (sysexPos == 28 && midici.ciVer == 1) { - complete = true; - } - else if (sysexPos == 28){ - intTemp[2] = s7Byte; //output path id - if(midici.ciType==MIDICI_DISCOVERY) { - complete = true; - } - } - else if (sysexPos == 29){ - intTemp[3] = s7Byte; //fbIdx id - if(midici.ciType==MIDICI_DISCOVERYREPLY) { - complete = true; - } - } - - if (complete) { - //debug(" - Discovery Request 28 "); - - if(midici.ciType==MIDICI_DISCOVERY) { - if (recvDiscoveryRequest != nullptr) recvDiscoveryRequest( - - midici, - {buffer[0],buffer[1],buffer[2]}, - {buffer[3], buffer[4]}, - {buffer[5], buffer[6]}, - {buffer[7], buffer[8], - buffer[9], buffer[10]}, - (uint8_t) intTemp[0], - intTemp[1], - (uint8_t) intTemp[2] - //intTemp[3], - // &(buffer[11]) - ); - }else{ - if (recvDiscoveryReply != nullptr) recvDiscoveryReply( - - midici, - {buffer[0],buffer[1],buffer[2]}, - {buffer[3], buffer[4]}, - {buffer[5], buffer[6]}, - {buffer[7], buffer[8], - buffer[9], buffer[10]}, - (uint8_t) intTemp[0], - intTemp[1], - (uint8_t) intTemp[2], - (uint8_t) intTemp[3] - //&(buffer[11]) - ); - } - } - break; - } - - case MIDICI_INVALIDATEMUID: //MIDI-CI Invalidate MUID Message - - if (sysexPos >= 13 && sysexPos <= 16) { - buffer[sysexPos - 13] = s7Byte; - } - - //terminate MUID - if (sysexPos == 16 && recvInvalidateMUID != nullptr) { - uint32_t terminateMUID = buffer[0] - + ((uint32_t)buffer[1] << 7) - + ((uint32_t)buffer[2] << 14) - + ((uint32_t)buffer[3] << 21); - recvInvalidateMUID(midici, terminateMUID); - } - break; - case MIDICI_ENDPOINTINFO:{ - if (sysexPos == 13 && midici.ciVer > 1 && recvEndPointInfo!= nullptr) { - recvEndPointInfo(midici,s7Byte); // uint8_t origSubID, - } - break; - } - case MIDICI_ENDPOINTINFO_REPLY:{ - bool complete = false; - if(midici.ciVer < 2) return; - if (sysexPos == 13 && recvEndPointInfo!= nullptr) { - intTemp[0] = s7Byte; - } - if(sysexPos == 14 || sysexPos == 15){ - intTemp[1] += s7Byte << (7 * (sysexPos - 14 )); - return; - } - if (sysexPos >= 16 && sysexPos <= 15 + intTemp[1]){ - buffer[sysexPos - 16] = s7Byte; //Info Data - }if (sysexPos == 16 + intTemp[1]){ - complete = true; - } - - if (complete) { - recvEndPointInfoReply(midici, - (uint8_t) intTemp[0], - intTemp[1], - buffer - ); - } - break; - } - case MIDICI_ACK: - case MIDICI_NAK: { - bool complete = false; - - if (sysexPos == 13 && midici.ciVer == 1) { - complete = true; - } else if (sysexPos == 13 && midici.ciVer > 1) { - intTemp[0] = s7Byte; // uint8_t origSubID, - } - - if (sysexPos == 14) { - intTemp[1] = s7Byte; //statusCode - } - - if (sysexPos == 15) { - intTemp[2] = s7Byte; //statusData - } - - if (sysexPos >= 16 && sysexPos <= 20){ - buffer[sysexPos - 16] = s7Byte; //ackNakDetails - } - - if(sysexPos == 21 || sysexPos == 22){ - intTemp[3] += s7Byte << (7 * (sysexPos - 21 )); - return; - } - - if (sysexPos >= 23 && sysexPos <= 23 + intTemp[3]){ - buffer[sysexPos - 23] = s7Byte; //product ID - } - if (sysexPos == 23 + intTemp[3]){ - complete = true; - } - - if (complete) { - uint8_t ackNakDetails[5] = {buffer[0], buffer[1], - buffer[2], - buffer[3], - buffer[4]}; - - if (midici.ciType == MIDICI_NAK && recvNAK != nullptr) - recvNAK( - - midici, - (uint8_t) intTemp[0], - (uint8_t) intTemp[1], - (uint8_t) intTemp[2], - ackNakDetails, - intTemp[3], - buffer - ); - - if (midici.ciType == MIDICI_ACK && midici.ciVer > 1 && recvACK != nullptr) - recvACK( - - midici, - (uint8_t) intTemp[0], - (uint8_t) intTemp[1], - (uint8_t) intTemp[2], - ackNakDetails, - intTemp[3], - buffer - ); - } - break; - } - -#ifdef M2_ENABLE_PROTOCOL - case MIDICI_PROTOCOL_NEGOTIATION: - case MIDICI_PROTOCOL_NEGOTIATION_REPLY: - case MIDICI_PROTOCOL_SET: - case MIDICI_PROTOCOL_TEST: - case MIDICI_PROTOCOL_TEST_RESPONDER: - case MIDICI_PROTOCOL_CONFIRM: - processProtocolSysex(s7Byte); - break; -#endif - -#ifndef M2_DISABLE_PROFILE - case MIDICI_PROFILE_INQUIRY: //Profile Inquiry - case MIDICI_PROFILE_INQUIRYREPLY: //Reply to Profile Inquiry - case MIDICI_PROFILE_SETON: //Set Profile On Message - case MIDICI_PROFILE_SETOFF: //Set Profile Off Message - case MIDICI_PROFILE_ENABLED: //Set Profile Enabled Message - case MIDICI_PROFILE_DISABLED: //Set Profile Disabled Message - case MIDICI_PROFILE_SPECIFIC_DATA: //ProfileSpecific Data - case MIDICI_PROFILE_DETAILS_INQUIRY: - case MIDICI_PROFILE_DETAILS_REPLY: - processProfileSysex(s7Byte); - break; -#endif - - -#ifndef M2_DISABLE_PE - case MIDICI_PE_CAPABILITY: //Inquiry: Property Exchange Capabilities - case MIDICI_PE_CAPABILITYREPLY: //Reply to Property Exchange Capabilities - case MIDICI_PE_GET: // Inquiry: Get Property Data - case MIDICI_PE_GETREPLY: // Reply To Get Property Data - Needs Work! - case MIDICI_PE_SET: // Inquiry: Set Property Data - case MIDICI_PE_SETREPLY: // Reply To Inquiry: Set Property Data - case MIDICI_PE_SUB: // Inquiry: Subscribe Property Data - case MIDICI_PE_SUBREPLY: // Reply To Subscribe Property Data - case MIDICI_PE_NOTIFY: // Notify - processPESysex(s7Byte); - break; -#endif - -#ifndef M2_DISABLE_PROCESSINQUIRY - case MIDICI_PI_CAPABILITY: - case MIDICI_PI_CAPABILITYREPLY: - case MIDICI_PI_MM_REPORT: - case MIDICI_PI_MM_REPORT_REPLY: - case MIDICI_PI_MM_REPORT_END: - processPISysex(s7Byte); - break; -#endif - default: - if (recvUnknownMIDICI) { - recvUnknownMIDICI(midici, s7Byte); - } - break; - - } - } - sysexPos++; -} - -void midiCIProcessor::processProtocolSysex(uint8_t s7Byte){ - switch (midici.ciType){ - - case MIDICI_PROTOCOL_NEGOTIATION: - case MIDICI_PROTOCOL_NEGOTIATION_REPLY: { - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - } - //Number of Supported Protocols (np) - if (sysexPos == 14 ) { - intTemp[1] = s7Byte; - } - - int protocolOffset = intTemp[1] * 5 + 14; - - if (sysexPos >= 15 && sysexPos < protocolOffset) { - uint8_t pos = (sysexPos - 14) % 5; - buffer[pos] = s7Byte; - if (pos == 4 && recvProtocolAvailable != nullptr) { - uint8_t protocol[5] = {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}; - recvProtocolAvailable(midici, (uint8_t) intTemp[0], protocol); - } - } - if(midici.ciVer > 1){ - if (sysexPos >= protocolOffset && sysexPos <= protocolOffset+5){ - buffer[sysexPos-protocolOffset] = s7Byte; - } - if (sysexPos == protocolOffset+5){ -// uint8_t protocol[5] = {buffer[0], buffer[1], -// buffer[2], buffer[3], -// buffer[4]}; - if (recvSetProtocolConfirm != nullptr)recvSetProtocolConfirm(midici, (uint8_t) intTemp[0]); - } - } - break; - } - - case MIDICI_PROTOCOL_SET: //Set Profile On Message - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - } - if(sysexPos >= 14 && sysexPos <= 18){ - buffer[sysexPos-13] = s7Byte; - } - if (sysexPos == 18 && recvSetProtocol != nullptr){ - uint8_t protocol[5] = {buffer[0], buffer[1], buffer[2], buffer[3], buffer[4]}; - recvSetProtocol(midici, (uint8_t) intTemp[0], protocol); - } - break; - - case MIDICI_PROTOCOL_TEST_RESPONDER: - case MIDICI_PROTOCOL_TEST: - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - intTemp[1] = 1; - } - if(sysexPos >= 14 && sysexPos <= 61){ - if(s7Byte != sysexPos - 14){ - intTemp[1] = 0; - } - } - if (sysexPos == 61 && recvProtocolTest != nullptr){ - recvProtocolTest(midici, (uint8_t) intTemp[0], !!(intTemp[1])); - } - - - break; - - case MIDICI_PROTOCOL_CONFIRM: //Set Profile Off Message - //Authority Level - if (sysexPos == 13 ) { - intTemp[0] = s7Byte; - if (recvSetProtocolConfirm != nullptr){ - recvSetProtocolConfirm(midici, (uint8_t) intTemp[0]); - } - } - break; - } -} - -void midiCIProcessor::processProfileSysex(uint8_t s7Byte){ - switch (midici.ciType){ - case MIDICI_PROFILE_INQUIRY: //Profile Inquiry - if (sysexPos == 12 && recvProfileInquiry != nullptr){ - recvProfileInquiry(midici); - } - break; - case MIDICI_PROFILE_INQUIRYREPLY: { //Reply to Profile Inquiry - //Enabled Profiles Length - if (sysexPos == 13 || sysexPos == 14) { - intTemp[0] += s7Byte << (7 * (sysexPos - 13)); - } - - //Disabled Profile Length - int enabledProfileOffset = intTemp[0] * 5 + 13; - if ( - sysexPos == enabledProfileOffset - || sysexPos == 1 + enabledProfileOffset - ) { - intTemp[1] += s7Byte << (7 * (sysexPos - enabledProfileOffset)); - } - - if (sysexPos >= 15 && sysexPos < enabledProfileOffset) { - uint8_t pos = (sysexPos - 13) % 5; - buffer[pos] = s7Byte; - if (pos == 4 && recvSetProfileEnabled != nullptr) { - - recvSetProfileEnabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]},0); - } - } - - if (sysexPos >= 2 + enabledProfileOffset && - sysexPos < enabledProfileOffset + intTemp[1] * 5) { - uint8_t pos = (sysexPos - 13) % 5; - buffer[pos] = s7Byte; - if (pos == 4 && recvSetProfileDisabled != nullptr) { - recvSetProfileDisabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]} - ,0); - } - } - break; - } - - case MIDICI_PROFILE_ADD: - case MIDICI_PROFILE_REMOVE: - case MIDICI_PROFILE_ENABLED: - case MIDICI_PROFILE_DISABLED: - case MIDICI_PROFILE_SETOFF: - case MIDICI_PROFILE_SETON: { //Set Profile On Message - bool complete = false; - if (sysexPos >= 13 && sysexPos <= 17) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 17 && - (midici.ciVer == 1 || midici.ciType==MIDICI_PROFILE_ADD || midici.ciType==MIDICI_PROFILE_REMOVE) - ){ - complete = true; - } - if(midici.ciVer > 1 && (sysexPos == 18 || sysexPos == 19)){ - intTemp[0] += s7Byte << (7 * (sysexPos - 18 )); - } - if (sysexPos == 19 && midici.ciVer > 1){ - complete = true; - } - - if(complete){ - if (midici.ciType == MIDICI_PROFILE_ADD && recvSetProfileDisabled != nullptr) - recvSetProfileDisabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, 0); - - if (midici.ciType == MIDICI_PROFILE_REMOVE && recvSetProfileRemoved != nullptr) - recvSetProfileRemoved(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}); - - if (midici.ciType == MIDICI_PROFILE_SETON && recvSetProfileOn != nullptr) - recvSetProfileOn(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, (uint8_t)intTemp[0]); - - if (midici.ciType == MIDICI_PROFILE_SETOFF && recvSetProfileOff != nullptr) - recvSetProfileOff(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}); - - if (midici.ciType == MIDICI_PROFILE_ENABLED && recvSetProfileEnabled != nullptr) - recvSetProfileEnabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, (uint8_t)intTemp[0]); - - if (midici.ciType == MIDICI_PROFILE_DISABLED && recvSetProfileDisabled != nullptr) - recvSetProfileDisabled(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, (uint8_t)intTemp[0]); - - } - break; - } - - case MIDICI_PROFILE_DETAILS_INQUIRY:{ - if (sysexPos >= 13 && sysexPos <= 17) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 18 && recvSetProfileDetailsInquiry != nullptr){ //Inquiry Target - recvSetProfileDetailsInquiry(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, s7Byte); - } - - break; - } - - case MIDICI_PROFILE_DETAILS_REPLY:{ - if (sysexPos >= 13 && sysexPos <= 17) { - buffer[sysexPos - 13] = s7Byte; - } - if (sysexPos == 18){//Inquiry Target - buffer[5] = s7Byte; - } - - if(sysexPos == 19 || sysexPos == 20){ //Inquiry Target Data length (dl) - intTemp[0] += s7Byte << (7 * (sysexPos - 19 )); - } - - if (sysexPos >= 21 && sysexPos <= 21 + intTemp[0]){ - buffer[sysexPos - 22 + 6] = s7Byte; //product ID - } - - if (sysexPos == 21 + intTemp[0] && recvSetProfileDetailsInquiry != nullptr){ - recvSetProfileDetailsReply(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, - buffer[5], - intTemp[0], - &(buffer[6]) - ); - } - - break; - } - - case MIDICI_PROFILE_SPECIFIC_DATA: - //Profile - if(sysexPos >= 13 && sysexPos <= 17){ - buffer[sysexPos-13] = s7Byte; - return; - } - if(sysexPos >= 18 && sysexPos <= 21){ //Length of Following Profile Specific Data - intTemp[0] += s7Byte << (7 * (sysexPos - 18 )); - intTemp[1] = 1; - return; - } - - - //****************** - - uint16_t charOffset = (sysexPos - 22) % S7_BUFFERLEN; - uint16_t dataLength = intTemp[0]; - if( - (sysexPos >= 22 && sysexPos <= 21 + dataLength) - || (dataLength == 0 && sysexPos == 21) - ){ - if(dataLength != 0 )buffer[charOffset] = s7Byte; - - bool lastByteOfSet = (sysexPos == 21 + dataLength); - - if(charOffset == S7_BUFFERLEN -1 - || sysexPos == 21 + dataLength - || dataLength == 0 - ){ - recvProfileSpecificData(midici, {buffer[0], buffer[1], - buffer[2], buffer[3], - buffer[4]}, charOffset+1, buffer, intTemp[1], lastByteOfSet); - intTemp[1]++; - } - } - - - //*********** - - break; - } -} - -void midiCIProcessor::processPESysex(uint8_t s7Byte){ - - switch (midici.ciType){ - case MIDICI_PE_CAPABILITY: - case MIDICI_PE_CAPABILITYREPLY:{ - bool complete = false; - - if(sysexPos == 13){ - buffer[0] = s7Byte; - } - - if(sysexPos == 13 && midici.ciVer == 1){ - complete = true; - } - - if(sysexPos == 14){ - buffer[1] = s7Byte; - } - if(sysexPos == 15){ - buffer[2] = s7Byte; - complete = true; - } - - if(complete){ - if(midici.ciType == MIDICI_PE_CAPABILITY && recvPECapabilities != nullptr) - recvPECapabilities(midici, - buffer[0], - buffer[1], - buffer[2] - ); - - if(midici.ciType == MIDICI_PE_CAPABILITYREPLY && recvPECapabilities != nullptr) - recvPECapabilitiesReplies(midici, - buffer[0], - buffer[1], - buffer[2] - ); - - } - - break; - } - default: { - - if (sysexPos == 13) { - midici._peReqIdx = std::make_tuple(midici.remoteMUID,s7Byte); - midici._reqTupleSet = true; //Used for cleanup - //peRequestDetails[midici._peReqIdx] = peHeader(); - midici.requestId = s7Byte; - intTemp[0]=0; - return; - } - - - if (sysexPos == 14 || sysexPos == 15) { //header Length - intTemp[0] += s7Byte << (7 * (sysexPos - 14)); - return; - } - - uint16_t headerLength = intTemp[0]; - - if (sysexPos == 16 && midici.numChunk == 1){ - peHeaderStr[midici._peReqIdx] = ""; - } - - if (sysexPos >= 16 && sysexPos <= 15 + headerLength) { - uint16_t charOffset = (sysexPos - 16); - buffer[charOffset] = s7Byte; - peHeaderStr[midici._peReqIdx].push_back(s7Byte); - - - if (sysexPos == 15 + headerLength) { - - switch (midici.ciType) { - case MIDICI_PE_GET: - if (recvPEGetInquiry != nullptr) { - recvPEGetInquiry(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - case MIDICI_PE_SETREPLY: - if (recvPESetReply != nullptr) { - recvPESetReply(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - case MIDICI_PE_SUBREPLY: - if (recvPESubReply != nullptr) { - recvPESubReply(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - case MIDICI_PE_NOTIFY: - if (recvPENotify != nullptr) { - recvPENotify(midici, peHeaderStr[midici._peReqIdx]); - cleanupRequest(midici._peReqIdx); - } - break; - } - } - } - - if (sysexPos == 16 + headerLength || sysexPos == 17 + headerLength) { - midici.totalChunks += - s7Byte << (7 * (sysexPos - 16 - headerLength)); - return; - } - - if (sysexPos == 18 + headerLength || sysexPos == 19 + headerLength) { - midici.numChunk += s7Byte << (7 * (sysexPos - 18 - headerLength)); - return; - } - - if (sysexPos == 20 + headerLength) { //Body Length - intTemp[1] = s7Byte; - return; - } - if (sysexPos == 21 + headerLength) { //Body Length - intTemp[1] += s7Byte << 7; - } - - uint16_t bodyLength = intTemp[1]; - uint16_t initPos = 22 + headerLength; - uint16_t charOffset = (sysexPos - initPos) % S7_BUFFERLEN; - - if ( - (sysexPos >= initPos && sysexPos <= initPos - 1 + bodyLength) - || (bodyLength == 0 && sysexPos == initPos - 1) - ) { - if (bodyLength != 0)buffer[charOffset] = s7Byte; - - bool lastByteOfSet = ( - midici.numChunk == midici.totalChunks && - sysexPos == initPos - 1 + bodyLength); - bool lastByteOfChunk = (bodyLength == 0 || sysexPos == initPos - 1 + bodyLength); - - - if (charOffset == S7_BUFFERLEN - 1 || lastByteOfChunk) { - if (midici.ciType == MIDICI_PE_GETREPLY && recvPEGetReply != nullptr) { - recvPEGetReply(midici, peHeaderStr[midici._peReqIdx], - charOffset + 1, buffer, lastByteOfChunk, lastByteOfSet); - } - - if (midici.ciType == MIDICI_PE_SUB && recvPESubInquiry != nullptr) { - recvPESubInquiry(midici, peHeaderStr[midici._peReqIdx], - charOffset + 1, buffer, lastByteOfChunk, lastByteOfSet); - } - - if (midici.ciType == MIDICI_PE_SET && recvPESetInquiry != nullptr) { - recvPESetInquiry(midici, peHeaderStr[midici._peReqIdx], - charOffset + 1, buffer, lastByteOfChunk, lastByteOfSet); - } - midici.partialChunkCount++; - } - - if (lastByteOfSet) { - cleanupRequest(midici._peReqIdx); - } - } - break; - } - } - -} - -void midiCIProcessor::processPISysex(uint8_t s7Byte) { - if(midici.ciVer == 1) return; - - switch (midici.ciType) { - case MIDICI_PI_CAPABILITY: { - if (sysexPos == 12 && recvPICapabilities != nullptr) { - recvPICapabilities(midici); - } - break; - } - case MIDICI_PI_CAPABILITYREPLY: { - if (sysexPos == 13 && recvPICapabilitiesReply != nullptr) { - recvPICapabilitiesReply(midici,s7Byte); - } - break; - } - case MIDICI_PI_MM_REPORT_END: { - if (sysexPos == 12 && recvPIMMReportEnd != nullptr) { - recvPIMMReportEnd(midici); - } - break; - } - case MIDICI_PI_MM_REPORT:{ - if (sysexPos == 13) {//MDC - buffer[0] = s7Byte; - } - if (sysexPos == 14) {//Bitmap of requested System Message Types - buffer[1] = s7Byte; - } - if (sysexPos == 16) {//Bitmap of requested Channel Controller Message Types - buffer[2] = s7Byte; - } - if (sysexPos == 17 && recvPIMMReport != nullptr){ - recvPIMMReport(midici, - buffer[0], - buffer[1], - buffer[2], - s7Byte); - } - break; - } - case MIDICI_PI_MM_REPORT_REPLY: { - if (sysexPos == 13) {//Bitmap of requested System Message Types - buffer[0] = s7Byte; - } - if (sysexPos == 15) {//Bitmap of requested Channel Controller Message Types - buffer[1] = s7Byte; - } - if (sysexPos == 16 && recvPIMMReportReply != nullptr){ - recvPIMMReportReply(midici, - buffer[0], - buffer[1], - s7Byte); - } - break; - } - default: { - break; - } - } -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpMessageCreate.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpMessageCreate.cpp deleted file mode 100644 index 825a6a5a0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpMessageCreate.cpp +++ /dev/null @@ -1,366 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#include "utils.h" -#include "umpMessageCreate.h" - - - -uint32_t UMPMessage::mt0NOOP(){ - return 0; -} - -uint32_t UMPMessage::mt0JRClock(uint16_t clockTime){ - return ((UTILITY_JRCLOCK + 0L) << 20) + clockTime; -} - -uint32_t UMPMessage::mt0JRTimeStamp(uint16_t timestamp){ - return ((UTILITY_JRTS + 0L) << 20) + timestamp; -} - -uint32_t UMPMessage::mt0DeltaClockTick( uint16_t ticksPerQtrNote){ - return ((UTILITY_DELTACLOCKTICK + 0L) << 20) + ticksPerQtrNote; -} - -uint32_t UMPMessage::mt0DeltaTicksSinceLast(uint16_t noTicksSince){ - return ((UTILITY_DELTACLOCKSINCE + 0L) << 20) + noTicksSince; -} - - - -uint32_t m1Create(uint8_t group, uint8_t status, uint8_t val1, uint8_t val2){ - return (((UMP_SYSTEM << 4) + group + 0L) << 24) + ((status + 0L) << 16) + ((val1 + 0L) << 8) + val2; -} - -uint32_t UMPMessage::mt1MTC(uint8_t group, uint8_t timeCode){ - return m1Create(group, TIMING_CODE, timeCode, 0); -} -uint32_t UMPMessage::mt1SPP(uint8_t group, uint16_t position){ - return m1Create(group, SPP, position & 0x7F , (position >> 7) & 0x7F ); -} -uint32_t UMPMessage::mt1SongSelect(uint8_t group, uint8_t song){ - return m1Create(group, SONG_SELECT, song, 0 ); -} -uint32_t UMPMessage::mt1TuneRequest(uint8_t group){ - return m1Create(group, TUNEREQUEST, 0, 0 ); -} -uint32_t UMPMessage::mt1TimingClock(uint8_t group){ - return m1Create(group, TIMINGCLOCK, 0, 0 ); -} -uint32_t UMPMessage::mt1SeqStart(uint8_t group){ - return m1Create(group, SEQSTART, 0, 0 ); -} -uint32_t UMPMessage::mt1SeqCont(uint8_t group){ - return m1Create(group, SEQCONT, 0, 0 ); -} -uint32_t UMPMessage::mt1SeqStop(uint8_t group){ - return m1Create(group, SEQSTOP, 0, 0 ); -} -uint32_t UMPMessage::mt1ActiveSense(uint8_t group){ - return m1Create(group, ACTIVESENSE, 0, 0 ); -} -uint32_t UMPMessage::mt1SystemReset(uint8_t group){ - return m1Create(group, SYSTEMRESET, 0, 0 ); -} - -uint32_t mt2Create(uint8_t group, uint8_t status, uint8_t channel, uint8_t val1, uint8_t val2){ - uint32_t message; - message = ((UMP_M1CVM << 4) + group + 0L) << 24; - message += (status + channel + 0L) << 16; - message += (int)val1 << 8; - message += val2; - return message; -} - -uint32_t UMPMessage::mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity){ - return mt2Create(group, NOTE_ON, channel, noteNumber, velocity); -} -uint32_t UMPMessage::mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity){ - return mt2Create(group, NOTE_OFF, channel, noteNumber, velocity); -} - -uint32_t UMPMessage::mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure){ - return mt2Create(group, KEY_PRESSURE, channel, noteNumber, pressure); -} -uint32_t UMPMessage::mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value){ - return mt2Create(group, CC, channel, index, value); -} -uint32_t UMPMessage::mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program){ - return mt2Create(group, PROGRAM_CHANGE, channel, program, 0); -} -uint32_t UMPMessage::mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure){ - return mt2Create(group, CHANNEL_PRESSURE, channel, pressure, 0); -} -uint32_t UMPMessage::mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value){ - return mt2Create(group, PITCH_BEND, channel, value & 0x7F, (value >> 7) & 0x7F); -} - -std::array UMPMessage::mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx){ - std::array umpMess = {0,0}; - umpMess[0] = (0x3 << 28) + (group << 24) + (status << 20)+ (numBytes << 16); - if(numBytes > 0 ) umpMess[0] += (sx[0] << 8); - if(numBytes > 1 ) umpMess[0] += sx[1]; - if(numBytes > 2 ) umpMess[1] += (sx[2] << 24); - if(numBytes > 3 ) umpMess[1] += (sx[3] << 16); - if(numBytes > 4 ) umpMess[1] += (sx[4] << 8); - if(numBytes > 5 ) umpMess[1] += sx[5]; - - return umpMess; -} - - -uint32_t mt4CreateFirstWord(uint8_t group, uint8_t status, uint8_t channel, uint8_t val1, uint8_t val2){ - uint32_t message; - message = ((UMP_M2CVM << 4) + group + 0L) << 24; - message += (status + channel + 0L) << 16; - message += (int)val1 << 8; - message += val2; - return message; -} - -std::array UMPMessage::mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NOTE_ON, channel, noteNumber, attributeType); - umpMess[1] = velocity << 16; - umpMess[1] += attributeData; - return umpMess; -} - -std::array UMPMessage::mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, uint8_t attributeType, uint16_t attributeData){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NOTE_OFF, channel, noteNumber, attributeType); - umpMess[1] = velocity << 16; - umpMess[1] += attributeData; - return umpMess; -} - -std::array UMPMessage::mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, KEY_PRESSURE, channel, noteNumber, 0); - umpMess[1] = pressure; - return umpMess; -} - -std::array UMPMessage::mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, PITCH_BEND, channel, 0, 0); - umpMess[1] = pitch; - return umpMess; -} - -std::array UMPMessage::mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, CC , channel, index, 0); - umpMess[1] = value; - return umpMess; -} - -std::array UMPMessage::mt4RPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value){ - std::array umpMess = {0,0};; - umpMess[0] = mt4CreateFirstWord(group, RPN , channel, bank, index); - umpMess[1] = value; - return umpMess; -} - -std::array UMPMessage::mt4NRPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, uint32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NRPN , channel, bank, index); - umpMess[1] = value; - return umpMess; -} - - -std::array UMPMessage::mt4RelativeRPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, int32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, RPN_RELATIVE , channel, bank, index); - umpMess[1] = (uint32_t)value; - return umpMess; -} - -std::array UMPMessage::mt4RelativeNRPN(uint8_t group, uint8_t channel,uint8_t bank, uint8_t index, int32_t value){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, NRPN_RELATIVE , channel, bank, index); - umpMess[1] = (uint32_t)value; - return umpMess; -} - -std::array UMPMessage::mt4ChannelPressure(uint8_t group, uint8_t channel,uint32_t pressure){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, CHANNEL_PRESSURE, channel, 0, 0); - umpMess[1] = pressure; - return umpMess; -} - -std::array UMPMessage::mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, uint8_t bank, uint8_t index){ - std::array umpMess = {0,0}; - umpMess[0] = mt4CreateFirstWord(group, PROGRAM_CHANGE, channel, program, bankValid?1:0); - umpMess[1] = bankValid? ((uint32_t)bank << 8)+ index :0; - return umpMess; -} - -//TODO mtD* - -std::array UMPMessage::mtFMidiEndpoint(uint8_t filter){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (UMP_VER_MAJOR << 8) + UMP_VER_MINOR); - umpMess[1] = filter; - return umpMess; -} - -std::array UMPMessage::mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (MIDIENDPOINT_INFO_NOTIFICATION << 16) + (UMP_VER_MAJOR << 8) + UMP_VER_MINOR); - umpMess[1] = (numOfFuncBlock << 24) - + (m2 << 9) - + (m1 << 8) - + (rxjr << 1) - + txjr; - return umpMess; -} - -std::array UMPMessage::mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (MIDIENDPOINT_DEVICEINFO_NOTIFICATION << 16)) /*+ numOfFuncBlock*/; - - umpMess[1] = (manuId[0] << 16) - + (manuId[1] << 8) - + manuId[2] ; - umpMess[2] = (familyId[0] << 24) - + (familyId[1] << 16) - + (modelId[0] << 8) - + modelId[1] ; - umpMess[3] = (version[0] << 24) - +(version[1] << 16) - +(version[2] << 8) - +version[3]; - return umpMess; -} - -std::array UMPMessage::mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t* text, uint8_t textLen){ - std::array umpMess = {0,0,0,0}; - uint8_t form = 0; - if(offset==0){ - if(textLen>14)form = 1; - }else{ - if(offset+13 < textLen){ - form = 2; - }else{ - form = 3; - } - } - umpMess[0] = (0xF << 28) + (form << 26) + (replyType << 16); - if(offset < textLen)umpMess[0] += (text[offset++] << 8); - if(offset < textLen)umpMess[0] += text[offset++]; - for(uint8_t i=1;i<4;i++){ - if(offset < textLen)umpMess[i] += (text[offset++] << 24); - if(offset < textLen)umpMess[i] += (text[offset++] << 16); - if(offset < textLen)umpMess[i] += (text[offset++] << 8); - if(offset < textLen)umpMess[i] += text[offset++]; - } - return umpMess; -} - -std::array UMPMessage::mtFFunctionBlock(uint8_t fbIdx, uint8_t filter ){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (FUNCTIONBLOCK << 16) + (fbIdx << 8) + filter; - return umpMess; -} - -std::array UMPMessage::mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, - bool sender, bool recv, uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (FUNCTIONBLOCK_INFO_NOTFICATION << 16) - + ((active?1:0) << 15) - + (fbIdx << 8) - + (recv << 5) - + (sender << 4) - + (isMIDI1 << 2) - + direction; - umpMess[1] = (firstGroup << 24) - + (groupLength << 16) - + (midiCISupport << 8) - + maxS8Streams; - return umpMess; -} - -std::array UMPMessage::mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t* text, uint8_t textLen){ - std::array umpMess = {0,0,0,0}; - uint8_t form = 0; - if(offset==0){ - if(textLen>13)form = 1; - }else{ - if(offset+12 < textLen){ - form = 2; - }else{ - form = 3; - } - } - umpMess[0] = (0xF << 28) + (form << 26) + (FUNCTIONBLOCK_NAME_NOTIFICATION << 16)+ (fbIdx << 8); - if(offset < textLen)umpMess[0] += text[offset++]; - for(uint8_t i=1;i<4;i++){ - if(offset < textLen)umpMess[i] += (text[offset++] << 24); - if(offset < textLen)umpMess[i] += (text[offset++] << 16); - if(offset < textLen)umpMess[i] += (text[offset++] << 8); - if(offset < textLen)umpMess[i] += text[offset++]; - } - return umpMess; -} - -std::array UMPMessage::mtFStartOfSeq(){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (STARTOFSEQ << 16)); - return umpMess; - -} - -std::array UMPMessage::mtFEndOfFile(){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (uint32_t) ((0xF << 28) + (ENDOFFILE << 16)); - return umpMess; -} - - -std::array UMPMessage::mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (MIDIENDPOINT_PROTOCOL_REQUEST << 16) - + (protocol << 8) - + (jrrx << 1) - + jrtx; - return umpMess; - -} - -std::array UMPMessage::mtFNotifyProtocol( uint8_t protocol, bool jrrx, bool jrtx){ - std::array umpMess = {0,0,0,0}; - umpMess[0] = (0xF << 28) + (MIDIENDPOINT_PROTOCOL_NOTIFICATION << 16) - + (protocol << 8) - + (jrrx << 1) - + jrtx; - return umpMess; -} - - - - - - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpProcessor.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpProcessor.cpp deleted file mode 100644 index 49087fe8c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpProcessor.cpp +++ /dev/null @@ -1,520 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "umpProcessor.h" - -void umpProcessor::clearUMP(){ - messPos = 0; - umpMess[0]=0; - umpMess[1]=0; - umpMess[2]=0; - umpMess[3]=0; -} - -void umpProcessor::processUMP(uint32_t UMP){ - umpMess[messPos] = UMP; - - uint8_t mt = (umpMess[0] >> 28) & 0xF; - uint8_t group = (umpMess[0] >> 24) & 0xF; - - if(messPos == 0 - && (mt <= UMP_M1CVM || mt==0x6 || mt==0x7) - ){ //32bit Messages - - if(mt == UMP_UTILITY && utilityMessage!= nullptr){ //32 bits Utility Messages - umpGeneric mess = umpGeneric(); - mess.messageType = mt; - mess.status = (umpMess[0] >> 20) & 0xF; - mess.value = (umpMess[0] >> 16) & 0xFFFF; - utilityMessage(mess); - } else - if(mt == UMP_SYSTEM && systemMessage!= nullptr){ //32 bits System Real Time and System Common Messages (except System Exclusive) - umpGeneric mess = umpGeneric(); - mess.messageType = mt; - mess.umpGroup = group; - mess.status = umpMess[0] >> 16 & 0xFF; - switch(mess.status){ - case TIMING_CODE: - case SONG_SELECT: - mess.value = (umpMess[0] >> 8) & 0x7F; - systemMessage(mess); - break; - case SPP: - mess.value = ((umpMess[0] >> 8) & 0x7F) + ((umpMess[0] & 0x7F) << 7); - systemMessage(mess); - break; - default: - systemMessage(mess); - break; - } - - } else - if(mt == UMP_M1CVM && channelVoiceMessage != nullptr){ //32 Bits MIDI 1.0 Channel Voice Messages - umpCVM mess = umpCVM(); - mess.umpGroup = group; - mess.messageType = mt; - mess.status = umpMess[0] >> 16 & 0xF0; - mess.channel = (umpMess[0] >> 16) & 0xF; - uint8_t val1 = (umpMess[0] >> 8) & 0x7F; - uint8_t val2 = umpMess[0] & 0x7F; - - switch(mess.status){ - case NOTE_OFF: //Note Off - case NOTE_ON: //Note On - mess.note = val1; - mess.value = M2Utils::scaleUp(val2,7,16); - channelVoiceMessage(mess); - break; - case KEY_PRESSURE: //Poly Pressure - mess.note = val1; - case CHANNEL_PRESSURE: //Channel Pressure - mess.value = M2Utils::scaleUp(val2,7,32); - channelVoiceMessage(mess); - break; - case CC: //CC - mess.index = val1; - mess.value = M2Utils::scaleUp(val2,7,32); - channelVoiceMessage(mess); - break; - case PROGRAM_CHANGE: //Program Change Message - mess.value = val1; - channelVoiceMessage(mess); - break; - case PITCH_BEND: //PitchBend - mess.value = M2Utils::scaleUp((val2 << 7) + val1,14,32); - channelVoiceMessage(mess); - break; - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 2); - break; - } - } - return; - - }else - if(messPos == 1 - && (mt == UMP_SYSEX7 || mt == UMP_M2CVM || mt==0x8 || mt==0x9 || mt==0xA) - ){ //64bit Messages - if(mt == UMP_SYSEX7 && sendOutSysex != nullptr){ //64 bits Data Messages (including System Exclusive) - umpData mess = umpData(); - mess.umpGroup = group; - mess.messageType = mt; - mess.form = (umpMess[0] >> 20) & 0xF; - mess.dataLength = (umpMess[0] >> 16) & 0xF; - uint8_t sysex[6]; - - if(mess.dataLength > 0)sysex[0] = (umpMess[0] >> 8) & 0x7F; - if(mess.dataLength > 1)sysex[1] = umpMess[0] & 0x7F; - if(mess.dataLength > 2)sysex[2] = (umpMess[1] >> 24) & 0x7F; - if(mess.dataLength > 3)sysex[3] = (umpMess[1] >> 16) & 0x7F; - if(mess.dataLength > 4)sysex[4] = (umpMess[1] >> 8) & 0x7F; - if(mess.dataLength > 5)sysex[5] = umpMess[1] & 0x7F; - - mess.data = sysex; - sendOutSysex(mess); - - } else - if(mt == UMP_M2CVM && channelVoiceMessage != nullptr){//64 bits MIDI 2.0 Channel Voice Messages - umpCVM mess = umpCVM(); - mess.umpGroup = group; - mess.messageType = mt; - mess.status = (umpMess[0] >> 16) & 0xF0; - mess.channel = (umpMess[0] >> 16) & 0xF; - uint8_t val1 = (umpMess[0] >> 8) & 0xFF; - uint8_t val2 = umpMess[0] & 0xFF; - - switch(mess.status){ - case NOTE_OFF: //Note Off - case NOTE_ON: //Note On - mess.note = val1; - mess.value = umpMess[1] >> 16; - mess.bank = val2; - mess.index = umpMess[1] & 65535; - channelVoiceMessage(mess); - break; - case PITCH_BEND_PERNOTE: - case KEY_PRESSURE: //Poly Pressure - mess.note = val1; - case CHANNEL_PRESSURE: //Channel Pressure - mess.value = umpMess[1]; - channelVoiceMessage(mess); - break; - case CC: //CC - mess.index = val1; - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case RPN: //RPN - case NRPN: //NRPN - case RPN_RELATIVE: //Relative RPN - case NRPN_RELATIVE: //Relative NRPN - mess.bank = val1; - mess.index = val2; - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case PROGRAM_CHANGE: //Program Change Message - mess.value = umpMess[1] >> 24; - mess.flag1 = umpMess[0] & 1; - mess.bank = (umpMess[1] >> 8) & 0x7f; - mess.index = umpMess[1] & 0x7f; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case PITCH_BEND: //PitchBend - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - - case NRPN_PERNOTE: //Assignable Per-Note Controller 1 - case RPN_PERNOTE: //Registered Per-Note Controller 0 - - mess.note = val1; - mess.index = val2; - mess.value = umpMess[1]; - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - case PERNOTE_MANAGE: //Per-Note Management Message - - mess.note = val1; - mess.flag1 =(bool)(val2 & 2); - mess.flag2 = (bool)(val2 & 1); - if(channelVoiceMessage != nullptr) channelVoiceMessage(mess); - break; - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 2); - break; - } - } - messPos =0; - }else - if(messPos == 2 - && (mt == 0xB || mt == 0xC) - ){ //96bit Messages - messPos =0; - if(unknownUMPMessage)unknownUMPMessage(umpMess, 3); - - }else - if(messPos == 3 - && (mt == UMP_DATA || mt >= 0xD) - ){ //128bit Messages - - if(mt == UMP_MIDI_ENDPOINT) { //128 bits UMP Stream Messages - uint16_t status = (umpMess[0] >> 16) & 0x3FF; - - switch(status) { - case MIDIENDPOINT: { - if (midiEndpoint != nullptr) midiEndpoint( - (umpMess[0]>>8) & 0xFF, //Maj Ver - umpMess[0] & 0xFF, //Min Ver - umpMess[1] & 0xFF); //Filter - break; - } - case MIDIENDPOINT_INFO_NOTIFICATION:{ - if (midiEndpointInfo != nullptr) midiEndpointInfo( - (umpMess[0]>>8) & 0xFF, //Maj Ver - umpMess[0] & 0xFF, //Min Ver - (umpMess[1]>>24) & 0xFF, //Num Of Func Block - ((umpMess[1]>>9) & 0x1), //M2 Support - ((umpMess[1]>>8) & 0x1), //M1 Support - ((umpMess[1]>>1) & 0x1), //rxjr Support - (umpMess[1] & 0x1) //txjr Support - ); - break; - } - - case MIDIENDPOINT_DEVICEINFO_NOTIFICATION: - if(midiEndpointDeviceInfo != nullptr) { - midiEndpointDeviceInfo( - {(uint8_t)((umpMess[1] >> 16) & 0x7F),(uint8_t)((umpMess[1] >> 8) & 0x7F), (uint8_t)(umpMess[1] & 0x7F)}, - {(uint8_t)((umpMess[2] >> 24) & 0x7F) , (uint8_t)((umpMess[2] >> 16) & 0x7F)}, - {(uint8_t)((umpMess[2] >> 8) & 0x7F ), (uint8_t)(umpMess[2] & 0x7F)}, - {(uint8_t)((umpMess[3] >> 24) & 0x7F), (uint8_t)((umpMess[3] >> 16) & 0x7F), - (uint8_t)( (umpMess[3] >> 8) & 0x7F), (uint8_t)(umpMess[3] & 0x7F)} - ); - } - break; - case MIDIENDPOINT_NAME_NOTIFICATION: - case MIDIENDPOINT_PRODID_NOTIFICATION: { - umpData mess = umpData(); - mess.messageType = mt; - mess.status = (uint8_t) status; - mess.form = umpMess[0] >> 24 & 0x3; - mess.dataLength = 0; - uint8_t text[14]; - - if ((umpMess[0] >> 8) & 0xFF) text[mess.dataLength++] = (umpMess[0] >> 8) & 0xFF; - if (umpMess[0] & 0xFF) text[mess.dataLength++] = umpMess[0] & 0xFF; - for(uint8_t i = 1; i<=3; i++){ - for(int j = 24; j>=0; j-=8){ - uint8_t c = (umpMess[i] >> j) & 0xFF; - if(c){ - text[mess.dataLength++]=c; - } - } - } - mess.data = text; - if(status == MIDIENDPOINT_NAME_NOTIFICATION && midiEndpointName != nullptr) midiEndpointName(mess); - if(status == MIDIENDPOINT_PRODID_NOTIFICATION && midiEndpointProdId != nullptr) midiEndpointProdId(mess); - break; - } - - case MIDIENDPOINT_PROTOCOL_REQUEST: //JR Protocol Req - if(midiEndpointJRProtocolReq != nullptr) - midiEndpointJRProtocolReq((uint8_t) (umpMess[0] >> 8), - (umpMess[0] >> 1) & 1, - umpMess[0] & 1 - ); - break; - case MIDIENDPOINT_PROTOCOL_NOTIFICATION: //JR Protocol Req - if(midiEndpointJRProtocolNotify != nullptr) - midiEndpointJRProtocolNotify((uint8_t) (umpMess[0] >> 8), - (umpMess[0] >> 1) & 1, - umpMess[0] & 1 - ); - break; - - case FUNCTIONBLOCK:{ - uint8_t filter = umpMess[0] & 0xFF; - uint8_t fbIdx = (umpMess[0] >> 8) & 0xFF; - if(functionBlock != nullptr) functionBlock(fbIdx, filter); - break; - } - - case FUNCTIONBLOCK_INFO_NOTFICATION: - if(functionBlockInfo != nullptr) { - uint8_t fbIdx = (umpMess[0] >> 8) & 0x7F; - functionBlockInfo( - fbIdx, //fbIdx - (umpMess[0] >> 15) & 0x1, // active - umpMess[0] & 0x3, //dir - (umpMess[0] >> 7) & 0x1, // Sender - (umpMess[0] >> 6) & 0x1, // Receiver - ((umpMess[1] >> 24) & 0x1F), //first group - ((umpMess[1] >> 16) & 0x1F), // group length - ((umpMess[1] >> 8) & 0x7F), //midiCIVersion - ((umpMess[0]>>2) & 0x3), //isMIDI 1 - (umpMess[1] & 0xFF) // max Streams - ); - } - break; - case FUNCTIONBLOCK_NAME_NOTIFICATION:{ - uint8_t fbIdx = (umpMess[0] >> 8) & 0x7F; - umpData mess = umpData(); - mess.messageType = mt; - mess.status = (uint8_t) status; - mess.form = umpMess[0] >> 24 & 0x3; - mess.dataLength = 0; - uint8_t text[13]; - - if (umpMess[0] & 0xFF) text[mess.dataLength++] = umpMess[0] & 0xFF; - for(uint8_t i = 1; i<=3; i++){ - for(int j = 24; j>=0; j-=8){ - uint8_t c = (umpMess[i] >> j) & 0xFF; - if(c){ - text[mess.dataLength++]=c; - } - } - } - mess.data = text; - - if(functionBlockName != nullptr) functionBlockName(mess,fbIdx); - break; - } - case STARTOFSEQ: { - if(startOfSeq != nullptr) startOfSeq(); - break; - } - case ENDOFFILE: { - if(endOfFile != nullptr) endOfFile(); - break; - } - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - break; - - } - - }else - if(mt == UMP_DATA){ //128 bits Data Messages (including System Exclusive 8) - uint8_t status = (umpMess[0] >> 20) & 0xF; - - if(status <= 3){ - umpData mess = umpData(); - mess.umpGroup = group; - mess.messageType = mt; - mess.streamId = (umpMess[0] >> 8) & 0xFF; - mess.form = status; - mess.dataLength = (umpMess[0] >> 16) & 0xF; - - uint8_t sysex[13]; - - if(mess.dataLength > 1)sysex[0] = umpMess[0] & 0x7F; - if(mess.dataLength > 2)sysex[1] = (umpMess[1] >> 24) & 0x7F; - if(mess.dataLength > 3)sysex[2] = (umpMess[1] >> 16) & 0x7F; - if(mess.dataLength > 4)sysex[3] = (umpMess[1] >> 8) & 0x7F; - if(mess.dataLength > 5)sysex[4] = umpMess[1] & 0x7F; - if(mess.dataLength > 6)sysex[5] = (umpMess[2] >> 24) & 0x7F; - if(mess.dataLength > 7)sysex[6] = (umpMess[2] >> 16) & 0x7F; - if(mess.dataLength > 8)sysex[7] = (umpMess[2] >> 8) & 0x7F; - if(mess.dataLength > 9)sysex[8] = umpMess[2] & 0x7F; - if(mess.dataLength > 10)sysex[9] = (umpMess[3] >> 24) & 0x7F; - if(mess.dataLength > 11)sysex[10] = (umpMess[3] >> 16) & 0x7F; - if(mess.dataLength > 12)sysex[11] = (umpMess[3] >> 8) & 0x7F; - if(mess.dataLength > 13)sysex[12] = umpMess[3] & 0x7F; - - mess.data = sysex; - sendOutSysex(mess); - - }else if(status == 8 || status ==9){ - //Beginning of Mixed Data Set - //uint8_t mdsId = (umpMess[0] >> 16) & 0xF; - - if(status == 8){ - /*uint16_t numValidBytes = umpMess[0] & 0xFFFF; - uint16_t numChunk = (umpMess[1] >> 16) & 0xFFFF; - uint16_t numOfChunk = umpMess[1] & 0xFFFF; - uint16_t manuId = (umpMess[2] >> 16) & 0xFFFF; - uint16_t deviceId = umpMess[2] & 0xFFFF; - uint16_t subId1 = (umpMess[3] >> 16) & 0xFFFF; - uint16_t subId2 = umpMess[3] & 0xFFFF;*/ - }else{ - // MDS bytes? - } - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - - - } - - } - else - if(mt == UMP_FLEX_DATA){ //128 bits Data Messages (including System Exclusive 8) - uint8_t statusBank = (umpMess[0] >> 8) & 0xFF; - uint8_t status = umpMess[0] & 0xFF; - uint8_t channel = (umpMess[0] >> 16) & 0xF; - uint8_t addrs = (umpMess[0] >> 18) & 0b11; - uint8_t form = (umpMess[0] >> 20) & 0b11; - //SysEx 8 - switch (statusBank){ - case FLEXDATA_COMMON:{ //Common/Configuration for MIDI File, Project, and Track - switch (status){ - case FLEXDATA_COMMON_TEMPO: { //Set Tempo Message - if(flexTempo != nullptr) flexTempo(group, umpMess[1]); - break; - } - case FLEXDATA_COMMON_TIMESIG: { //Set Time Signature Message - if(flexTimeSig != nullptr) flexTimeSig(group, - (umpMess[1] >> 24) & 0xFF, - (umpMess[1] >> 16) & 0xFF, - (umpMess[1] >> 8) & 0xFF - ); - break; - } - case FLEXDATA_COMMON_METRONOME: { //Set Metronome Message - if(flexMetronome != nullptr) flexMetronome(group, - (umpMess[1] >> 24) & 0xFF, - (umpMess[1] >> 16) & 0xFF, - (umpMess[1] >> 8) & 0xFF, - umpMess[1] & 0xFF, - (umpMess[2] >> 24) & 0xFF, - (umpMess[2] >> 16) & 0xFF - ); - break; - } - case FLEXDATA_COMMON_KEYSIG: { //Set Key Signature Message - if(flexKeySig != nullptr) flexKeySig(group, addrs, channel, - (umpMess[1] >> 24) & 0xFF, - (umpMess[1] >> 16) & 0xFF - ); - break; - } - case FLEXDATA_COMMON_CHORD: { //Set Chord Message - if(flexChord != nullptr) flexChord(group, addrs, channel, - (umpMess[1] >> 28) & 0xF, //chShrpFlt - (umpMess[1] >> 24) & 0xF, //chTonic - (umpMess[1] >> 16) & 0xFF, //chType - (umpMess[1] >> 12) & 0xF, //chAlt1Type - (umpMess[1] >> 8) & 0xF,//chAlt1Deg - (umpMess[1] >> 4) & 0xF,//chAlt2Type - umpMess[1] & 0xF,//chAlt2Deg - (umpMess[2] >> 28) & 0xF,//chAlt3Type - (umpMess[2] >> 24) & 0xF,//chAlt3Deg - (umpMess[2] >> 20) & 0xF,//chAlt4Type - (umpMess[2] >> 16) & 0xF,//chAlt4Deg - (umpMess[3] >> 28) & 0xF,//baShrpFlt - (umpMess[3] >> 24) & 0xF,//baTonic - (umpMess[3] >> 16) & 0xFF,//baType - (umpMess[3] >> 12) & 0xF,//baAlt1Type - (umpMess[3] >> 8) & 0xF,//baAlt1Deg - (umpMess[3] >> 4) & 0xF,//baAlt2Type - umpMess[1] & 0xF//baAlt2Deg - ); - break; - } - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - break; - } - break; - } - case FLEXDATA_PERFORMANCE: //Performance Events - case FLEXDATA_LYRIC:{ //Lyric Events - umpData mess = umpData(); - mess.umpGroup = group; - mess.messageType = mt; - mess.status = status; - mess.form = form; - mess.dataLength = 0; - uint8_t text[12]; - - for(uint8_t i = 1; i<=3; i++){ - for(int j = 24; j>=0; j-=8){ - uint8_t c = (umpMess[i] >> j) & 0xFF; - if(c){ - text[mess.dataLength++]=c; - } - } - } - mess.data = text; - if(statusBank== FLEXDATA_LYRIC && flexLyric != nullptr) flexLyric(mess, addrs, channel); - if(statusBank== FLEXDATA_PERFORMANCE && flexPerformance != nullptr) flexPerformance(mess, addrs, channel); - break; - - } - default: - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - break; - } - }else{ - if(unknownUMPMessage)unknownUMPMessage(umpMess, 4); - } - messPos =0; - } else { - messPos++; - } -} - - - - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpToBytestream.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpToBytestream.cpp deleted file mode 100644 index 9b039291b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/umpToBytestream.cpp +++ /dev/null @@ -1,266 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - - -#include "utils.h" -#include "umpToBytestream.h" - -umpToBytestream::umpToBytestream(){} - -bool umpToBytestream::availableBS(){ - return bsOutLength; -} - -uint8_t umpToBytestream::readBS(){ - uint8_t mess = bsOut[0]; - for(uint8_t i=0;i> 28; - group = UMP >> 24 & 0xF; - switch (mType) { - case UMP_UTILITY: //32 bits Utility Messages - case 0x6: //32 Reserved - case 0x7: //32 Reserved - return; - break; - case UMP_SYSTEM: { //32 bits System Real Time and System Common Messages (except System Exclusive) - bsOutLength = 1; - bsOut[0] = UMP >> 16 & 0xFF; - if (bsOut[0] == 0xF1 || bsOut[0] == 0xF2 || bsOut[0] == 0xF3) { - bsOut[1] = UMP >> 8 & 0x7F; - bsOutLength++; - } - if (bsOut[0] == 0xF2) { - bsOut[2] = UMP & 0x7F; - bsOutLength++; - } - return; - break; - } - case UMP_M1CVM: {//32 Bits MIDI 1.0 Channel Voice Messages - bsOutLength = 2; - bsOut[0] = UMP >> 16 & 0xFF; - bsOut[1] = UMP >> 8 & 0x7F; - if (bsOut[0] >> 4 != 0xC && bsOut[0] >> 4 != 0xD) { - bsOut[2] = UMP & 0x7F; - bsOutLength++; - } - return; - break; - } - case UMP_SYSEX7: //64 bits Data Messages (including System Exclusive) - case UMP_M2CVM: //MIDI2.0 Channel Voice Messages - ump64word1 = UMP; - UMPPos++; - break; - default: - UMPPos++; - break; - } - break; - } - case 1: { //64Bit+ Messages only - switch (mType) { - case 0x8: //64 Reserved - case 0x9: //64 Reserved - case 0xA: //64 Reserved - UMPPos=0; - break; - case UMP_SYSEX7: { //64 bits Data Messages (including System Exclusive) part 2 - - UMPPos = 0; - uint8_t status = (ump64word1 >> 20) & 0xF; - uint8_t numSysexbytes = (ump64word1 >> 16) & 0xF; - - bsOutLength = 0; - - - if (status <= 1) { - bsOut[byPos++] = SYSEX_START; - bsOutLength++; - } - if (numSysexbytes > 0) { - bsOut[byPos++] = ump64word1 >> 8 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 1) { - bsOut[byPos++] = ump64word1 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 2) { - bsOut[byPos++] = UMP >> 24 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 3) { - bsOut[byPos++] = UMP >> 16 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 4) { - bsOut[byPos++] = UMP >> 8 & 0x7F; - bsOutLength++; - } - if (numSysexbytes > 5) { - bsOut[byPos++] = UMP & 0x7F; - bsOutLength++; - } - if (status == 0 || status == 3) { - bsOut[byPos++] = SYSEX_STOP; - bsOutLength++; - } - break; - } - case UMP_M2CVM:{ - UMPPos=0; - uint8_t status = ump64word1 >> 16 & 0xF0; - uint8_t channel = ump64word1 >> 16 & 0xF; - uint8_t val1 = ump64word1 >> 8 & 0xFF; - uint8_t val2 = ump64word1 & 0xFF; - - bsOutLength = 0; - - switch (status) { - case NOTE_OFF: //note off - case NOTE_ON: { //note on - bsOut[byPos++] = ump64word1 >> 16 & 0xFF;bsOutLength++; - bsOut[byPos++] = val1; bsOutLength++; - - uint8_t velocity = (uint8_t) M2Utils::scaleDown((UMP >> 16), 16, 7); - if (velocity == 0 && status == NOTE_ON) { - velocity = 1; - } - bsOut[byPos++] = velocity; bsOutLength++; - - break; - } - case KEY_PRESSURE: //poly aftertouch - case CC: {//CC - bsOut[byPos++] = ump64word1 >> 16 & 0xFF;bsOutLength++; - bsOut[byPos++] = val1; bsOutLength++; - uint8_t value = (uint8_t)M2Utils::scaleDown(UMP , 32, 7); - bsOut[byPos++] = value; bsOutLength++; - break; - } - case CHANNEL_PRESSURE: { //Channel Pressure - bsOut[byPos++] = ump64word1 >> 16 & 0xFF;bsOutLength++; - uint8_t value = (uint8_t) M2Utils::scaleDown(UMP, 32, 7); - bsOut[byPos++] = value; bsOutLength++; - break; - } - case RPN: {//rpn - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 101;bsOutLength++; - bsOut[byPos++] = val1;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 100;bsOutLength++; - bsOut[byPos++] = val2;bsOutLength++; - - uint16_t val14bit = (uint16_t)M2Utils::scaleDown(UMP , 32, 14); - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 6;bsOutLength++; - bsOut[byPos++] = (val14bit >> 7) & 0x7F;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 38;bsOutLength++; - bsOut[byPos++] = val14bit & 0x7F;bsOutLength++; - - break; - } - case NRPN: { //nrpn - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 99;bsOutLength++; - bsOut[byPos++] = val1;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 98;bsOutLength++; - bsOut[byPos++] = val2;bsOutLength++; - - uint16_t val14bit = (uint16_t)M2Utils::scaleDown(UMP, 32, 14); - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 6;bsOutLength++; - bsOut[byPos++] = (val14bit >> 7) & 0x7F;bsOutLength++; - bsOut[byPos++] = CC + channel;bsOutLength++; - bsOut[byPos++] = 38;bsOutLength++; - bsOut[byPos++] = val14bit & 0x7F;bsOutLength++; - break; - } - case PROGRAM_CHANGE: { //Program change - if (ump64word1 & 0x1) { - bsOut[byPos++] = CC + channel; - bsOutLength++; - bsOut[byPos++] = 0; - bsOutLength++; - bsOut[byPos++] = (UMP >> 8) & 0x7F; - bsOutLength++; - - bsOut[byPos++] = CC + channel; - bsOutLength++; - bsOut[byPos++] = 32; - bsOutLength++; - bsOut[byPos++] = UMP & 0x7F; - bsOutLength++; - } - bsOut[byPos++] = PROGRAM_CHANGE + channel; - bsOutLength++; - bsOut[byPos++] = (UMP >> 24) & 0x7F; - bsOutLength++; - break; - } - case PITCH_BEND: //Pitch bend - bsOut[byPos++] = (ump64word1 >> 16) & 0xFF;bsOutLength++; - bsOut[byPos++] = (UMP >> 18) & 0x7F;bsOutLength++; - bsOut[byPos++] = (UMP >> 25) & 0x7F;bsOutLength++; - break; - } - - break; - } - default: - UMPPos++; - break; - } - break; - } - case 2:{ - switch (mType) { - case 0xB: //96 Reserved - case 0xC: //96 Reserved - UMPPos = 0; - break; - default: - UMPPos++; - break; - } - break; - } - case 3:{ - UMPPos = 0; - break; - } - } - -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/utils.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/utils.cpp deleted file mode 100644 index 96345b9d9..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/src/utils.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#include "utils.h" - -// power of 2, pow(exp) -uint32_t power_of_2(uint8_t exp) -{ - return 1 << exp; // implement integer power of 2 using bit shift -} - - -uint32_t M2Utils::scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits){ - //Handle value of 0 - skip processing - if(srcVal == 0){ - return 0L; - } - - //handle 1-bit (bool) scaling - if(srcBits == 1){ - return power_of_2(dstBits) - 1L; - } - - // simple bit shift - uint8_t scaleBits = (dstBits - srcBits); - uint32_t bitShiftedValue = (srcVal + 0L) << scaleBits; - auto srcCenter = power_of_2((srcBits-1)); - if (srcVal <= srcCenter ) { - return bitShiftedValue; - } - - // expanded bit repeat scheme - uint8_t repeatBits = srcBits - 1; - auto repeatMask = power_of_2(repeatBits) - 1; - uint32_t repeatValue = srcVal & repeatMask; - if (scaleBits > repeatBits) { - repeatValue <<= scaleBits - repeatBits; - } else { - repeatValue >>= repeatBits - scaleBits; - } - - while (repeatValue != 0) { - bitShiftedValue |= repeatValue; - repeatValue >>= repeatBits; - } - return bitShiftedValue; -} - -uint32_t M2Utils::scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits) { - // simple bit shift - uint8_t scaleBits = (srcBits - dstBits); - return srcVal >> scaleBits; -} - - - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps deleted file mode 100644 index ded6e70bf..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_deps and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log deleted file mode 100644 index 63a1db8a1..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/.ninja_log +++ /dev/null @@ -1,11 +0,0 @@ -# ninja log v5 -52 169 7351963582019342 CMakeFiles/libmidi2.dir/src/mcoded7.cpp.obj 8a6a587b79752cd4 -6 183 7351963582179272 CMakeFiles/libmidi2.dir/src/utils.cpp.obj 63917058a8bce58a -12 201 7351963582369340 CMakeFiles/libmidi2.dir/src/bytestreamToUMP.cpp.obj 269dabb2363502cf -17 203 7351963582389276 CMakeFiles/libmidi2.dir/src/umpToBytestream.cpp.obj e216d734e75753f6 -31 267 7351963583034527 CMakeFiles/libmidi2.dir/src/midiCIMessageCreate.cpp.obj 38a0a91b59090a83 -24 268 7351963583044579 CMakeFiles/libmidi2.dir/src/umpMessageCreate.cpp.obj a8b57e056b889a88 -45 461 7351963584965903 CMakeFiles/libmidi2.dir/src/umpProcessor.cpp.obj bcd235c474f7e17 -38 615 7351963586471726 CMakeFiles/libmidi2.dir/src/midiCIProcessor.cpp.obj 96413479e725293b -615 698 7351963587267336 libmidi2.lib 7f56c2d8880a2aa3 -698 793 0 CMakeFiles/install.util 84e7e13dc31c6070 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt deleted file mode 100644 index bb7527723..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeCache.txt +++ /dev/null @@ -1,477 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//No help, variable specified on the command line. -BUILD_SHARED_LIBS:UNINITIALIZED=OFF - -//Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -CMAKE_BUILD_TYPE:STRING=Debug - -CMAKE_CROSSCOMPILING:STRING=OFF - -//CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe - -CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' - -CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG - -CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C++ applications. -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.40.33721/bin/Hostx64/x64/cl.exe - -CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' - -CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the C compiler during MINSIZEREL builds. -CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG - -CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the C compiler during RELWITHDEBINFO builds. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C applications. -CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib - -//No help, variable specified on the command line. -CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//No help, variable specified on the command line. -CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/pkgRedirects - -//No help, variable specified on the command line. -CMAKE_INSTALL_BINDIR:STRING=bin - -//No help, variable specified on the command line. -CMAKE_INSTALL_LIBDIR:STRING=lib - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug - -//No help, variable specified on the command line. -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.40.33721/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 - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> - -//Path to a program. -CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=libmidi2 - -//RC compiler -CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe - -CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 - -//Flags for Windows Resource Compiler during DEBUG builds. -CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG - -//Flags for Windows Resource Compiler during MINSIZEREL builds. -CMAKE_RC_FLAGS_MINSIZEREL:STRING= - -//Flags for Windows Resource Compiler during RELEASE builds. -CMAKE_RC_FLAGS_RELEASE:STRING= - -//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. -CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -CMAKE_SYSTEM_NAME:STRING=Windows - -CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 - -CMAKE_SYSTEM_VERSION:STRING=10.0.26100 - -//The CMake toolchain file -CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=ON - -//No help, variable specified on the command line. -FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON - -//Automatically copy dependencies into the output directory for -// executables. -VCPKG_APPLOCAL_DEPS:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake - -//No help, variable specified on the command line. -VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= - -//The directory which contains the installed libraries for each -// triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= - -//The path to the vcpkg manifest directory. -VCPKG_MANIFEST_DIR:PATH= - -//Use manifest mode, as opposed to classic mode. -VCPKG_MANIFEST_MODE:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 - -//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH -// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are -// found after toolchain/system libraries/packages. -VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF - -//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths -VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON - -//No help, variable specified on the command line. -VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 - -//Vcpkg target triplet (ex. x86-windows) -VCPKG_TARGET_TRIPLET:STRING=x64-windows - -//Trace calls to find_package() -VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF - -//Enables messages from the VCPKG toolchain for debugging purposes. -VCPKG_VERBOSE:BOOL=OFF - -//(experimental) Automatically copy dependencies into the install -// target directory for executables. Requires CMake 3.14. -X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF - -//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force -// serialization. -X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF - -//The directory which contains the installed libraries for each -// triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows - -//No help, variable specified on the command line. -_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//Value Computed by CMake -libmidi2_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg - -//Value Computed by CMake -libmidi2_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -libmidi2_SOURCE_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES -CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES -CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MT -CMAKE_MT-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//noop for ranlib -CMAKE_RANLIB:INTERNAL=: -//ADVANCED property for variable: CMAKE_RC_COMPILER -CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 -CMAKE_RC_COMPILER_WORKS:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS -CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG -CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL -CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE -CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO -CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE -CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 -//Install the dependencies listed in your manifest: -//\n If this is off, you will have to manually install your dependencies. -//\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md -// for more info. -//\n -VCPKG_MANIFEST_INSTALL:INTERNAL=OFF -//ADVANCED property for variable: VCPKG_VERBOSE -VCPKG_VERBOSE-ADVANCED:INTERNAL=1 -//Making sure VCPKG_MANIFEST_MODE doesn't change -Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF -//Vcpkg root directory -Z_VCPKG_ROOT_DIR:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index a6c08b8a4..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33721.2") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17") -set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") -set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") -set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") -set(CMAKE_C17_COMPILE_FEATURES "c_std_17") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS TRUE) -set(CMAKE_C_ABI_COMPILED TRUE) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "8") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index f9fe7e0e5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33721.2") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23") -set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") -set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") -set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") -set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") -set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") -set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_CXX_ABI_COMPILED TRUE) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "8") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_C.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_C.bin deleted file mode 100644 index 6b3b06437..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_C.bin and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_CXX.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_CXX.bin deleted file mode 100644 index 2855e5f11..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_CXX.bin and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeRCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeRCCompiler.cmake deleted file mode 100644 index 4c9d9a854..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeRCCompiler.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMAKE_RC_COMPILER "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe") -set(CMAKE_RC_COMPILER_ARG1 "") -set(CMAKE_RC_COMPILER_LOADED 1) -set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) -set(CMAKE_RC_OUTPUT_EXTENSION .res) -set(CMAKE_RC_COMPILER_ENV_VAR "RC") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index c39544b85..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26100") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26100") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26100") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26100") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 66be36543..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,866 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif __STDC_VERSION__ > 201710L -# define C_VERSION "23" -#elif __STDC_VERSION__ >= 201710L -# define C_VERSION "17" -#elif __STDC_VERSION__ >= 201000L -# define C_VERSION "11" -#elif __STDC_VERSION__ >= 199901L -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 9a17388fb..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 52d56e25d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,855 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > 202002L - "23" -#elif CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index c13c82056..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml deleted file mode 100644 index 91b7d2a34..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeConfigureLog.yaml +++ /dev/null @@ -1,154 +0,0 @@ - ---- -events: - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" - - "CMakeLists.txt:3 (project)" - message: | - The target system is: Windows - 10.0.26100 - AMD64 - The host system is: Windows - 10.0.26100 - AMD64 - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP - Id flags: - - The output was: - 0 - CMakeCCompilerId.c - - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe" - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" - - The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Detecting C compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\x64-windows\\vcpkg\\blds\\libmidi2\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP - Id flags: - - The output was: - 0 - CMakeCXXCompilerId.cpp - - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe" - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" - - The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Detecting CXX compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\x64-windows\\vcpkg\\blds\\libmidi2\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "try_compile-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:3 (project)" - checks: - - "Detecting C compiler ABI info" - directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-x7g89n" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-x7g89n" - cmakeVariables: - CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP " - CMAKE_C_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " - CMAKE_EXE_LINKER_FLAGS: "/machine:x64" - CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" - CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>$<$:DLL>" - VCPKG_APPLOCAL_DEPS: "OFF" - VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" - VCPKG_TARGET_ARCHITECTURE: "x64" - VCPKG_TARGET_TRIPLET: "x64-windows" - Z_VCPKG_ROOT_DIR: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" - buildResult: - variable: "CMAKE_C_ABI_COMPILED" - cached: true - stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-x7g89n' - - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_56ddc - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_56ddc.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_56ddc.dir\\ /FS -c C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\share\\cmake-3.27\\Modules\\CMakeCCompilerABI.c - [2/2] cmd.exe /C "cd . && C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_56ddc.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_56ddc.dir\\CMakeCCompilerABI.c.obj /out:cmTC_56ddc.exe /implib:cmTC_56ddc.lib /pdb:cmTC_56ddc.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." - - exitCode: 0 - - - kind: "try_compile-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:3 (project)" - checks: - - "Detecting CXX compiler ABI info" - directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-x98lhj" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-x98lhj" - cmakeVariables: - CMAKE_CXX_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP " - CMAKE_CXX_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " - CMAKE_EXE_LINKER_FLAGS: "/machine:x64" - CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" - CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>$<$:DLL>" - VCPKG_APPLOCAL_DEPS: "OFF" - VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" - VCPKG_TARGET_ARCHITECTURE: "x64" - VCPKG_TARGET_TRIPLET: "x64-windows" - Z_VCPKG_ROOT_DIR: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" - buildResult: - variable: "CMAKE_CXX_ABI_COMPILED" - cached: true - stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-x98lhj' - - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_8fc16 - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_8fc16.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_8fc16.dir\\ /FS -c C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\share\\cmake-3.27\\Modules\\CMakeCXXCompilerABI.cpp - [2/2] cmd.exe /C "cd . && C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_8fc16.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_8fc16.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_8fc16.exe /implib:cmTC_8fc16.lib /pdb:cmTC_8fc16.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." - - exitCode: 0 -... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-debug.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-debug.cmake deleted file mode 100644 index d80fc809a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-debug.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Debug". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Debug" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake deleted file mode 100644 index 9a506956d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS libmidi2::libmidi2) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target libmidi2::libmidi2 -add_library(libmidi2::libmidi2 STATIC IMPORTED) - -set_target_properties(libmidi2::libmidi2 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" -) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libmidi2-config-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/ShowIncludes/foo.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/ShowIncludes/foo.h deleted file mode 100644 index 8b1378917..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/ShowIncludes/foo.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/ShowIncludes/main.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/ShowIncludes/main.c deleted file mode 100644 index cd3cbc1ff..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/ShowIncludes/main.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "foo.h" -int main(){} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 6d7a3f33b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,6 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/libmidi2.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rebuild_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/list_install_components.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/install.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/install/local.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/cmake.check_cache b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd7317..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja deleted file mode 100644 index 05c5f5134..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/rules.ninja +++ /dev/null @@ -1,69 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the rules used to get the outputs files -# built from the input files. -# It is included in the main 'build.ninja'. - -# ============================================================================= -# Project: libmidi2 -# Configurations: Debug -# ============================================================================= -# ============================================================================= - -############################################# -# localized /showIncludes string - -msvc_deps_prefix = Note: including file: - - -############################################# -# Rule for compiling CXX files. - -rule CXX_COMPILER__libmidi2_unscanned_Debug - deps = msvc - command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\cl.exe /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in - description = Building CXX object $out - - -############################################# -# Rule for linking CXX static library. - -rule CXX_STATIC_LIBRARY_LINKER__libmidi2_Debug - command = cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\lib.exe $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD" - description = Linking CXX static library $TARGET_FILE - restat = $RESTAT - - -############################################# -# Rule for running custom commands. - -rule CUSTOM_COMMAND - command = $COMMAND - description = $DESC - - -############################################# -# Rule for re-running cmake. - -rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg - description = Re-running CMake... - generator = 1 - - -############################################# -# Rule for cleaning all built files. - -rule CLEAN - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS - description = Cleaning all built files... - - -############################################# -# Rule for printing all primary targets available. - -rule HELP - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets - description = All primary targets available: - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja deleted file mode 100644 index 8ee9ee829..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/build.ninja +++ /dev/null @@ -1,235 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the build statements describing the -# compilation DAG. - -# ============================================================================= -# Write statements declared in CMakeLists.txt: -# -# Which is the root file. -# ============================================================================= - -# ============================================================================= -# Project: libmidi2 -# Configurations: Debug -# ============================================================================= - -############################################# -# Minimal version of Ninja required by this file - -ninja_required_version = 1.5 - - -############################################# -# Set configuration variable for custom commands. - -CONFIGURATION = Debug -# ============================================================================= -# Include auxiliary files. - - -############################################# -# Include rules file. - -include CMakeFiles\rules.ninja - -# ============================================================================= - -############################################# -# Logical path to working directory; prefix for absolute paths. - -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg\ -# ============================================================================= -# Object build statements for STATIC_LIBRARY target libmidi2 - - -############################################# -# Order-only phony target for libmidi2 - -build cmake_object_order_depends_target_libmidi2: phony || CMakeFiles\libmidi2.dir - -build CMakeFiles\libmidi2.dir\src\utils.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\utils.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\bytestreamToUMP.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpToBytestream.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIProcessor.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpProcessor.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Debug G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\mcoded7.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - - -# ============================================================================= -# Link build statements for STATIC_LIBRARY target libmidi2 - - -############################################# -# Link the static library libmidi2.lib - -build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Debug CMakeFiles\libmidi2.dir\src\utils.cpp.obj CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj - LANGUAGE_COMPILE_FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 - LINK_FLAGS = /machine:x64 /nologo - OBJECT_DIR = CMakeFiles\libmidi2.dir - POST_BUILD = cd . - PRE_LINK = cd . - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_FILE = libmidi2.lib - TARGET_PDB = libmidi2.pdb - - -############################################# -# Utility command for edit_cache - -build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg" - DESC = Running CMake cache editor... - pool = console - restat = 1 - -build edit_cache: phony CMakeFiles\edit_cache.util - - -############################################# -# Utility command for rebuild_cache - -build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg" - DESC = Running CMake to regenerate build system... - pool = console - restat = 1 - -build rebuild_cache: phony CMakeFiles\rebuild_cache.util - - -############################################# -# Utility command for list_install_components - -build list_install_components: phony - - -############################################# -# Utility command for install - -build CMakeFiles\install.util: CUSTOM_COMMAND all - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -P cmake_install.cmake" - DESC = Install the project... - pool = console - restat = 1 - -build install: phony CMakeFiles\install.util - - -############################################# -# Utility command for install/local - -build CMakeFiles\install\local.util: CUSTOM_COMMAND all - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-dbg && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake" - DESC = Installing only the local directory... - pool = console - restat = 1 - -build install\local: phony CMakeFiles\install\local.util - -# ============================================================================= -# Target aliases. - -build libmidi2: phony libmidi2.lib - -# ============================================================================= -# Folder targets. - -# ============================================================================= - -############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg - -build all: phony libmidi2.lib - -# ============================================================================= -# Built-in targets - - -############################################# -# Re-run CMake if any of its inputs changed. - -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompilerABI.c C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompilerABI.cpp C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompileFeatures.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerABI.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseLibraryArchitecture.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCompilerCommon.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Internal\FeatureTesting.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt - pool = console - - -############################################# -# A missing CMake input file is not an error. - -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompilerABI.c C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompilerABI.cpp C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompileFeatures.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerABI.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseLibraryArchitecture.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCompilerCommon.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Internal\FeatureTesting.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt: phony - - -############################################# -# Clean all the built files. - -build clean: CLEAN - - -############################################# -# Print all primary targets available. - -build help: HELP - - -############################################# -# Make the all target the default. - -default all diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake deleted file mode 100644 index 0575d2f5f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/cmake_install.cmake +++ /dev/null @@ -1,84 +0,0 @@ -# Install script for directory: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "Debug") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "OFF") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake") - file(DIFFERENT _cmake_export_file_changed FILES - "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") - if(_cmake_export_file_changed) - file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config-*.cmake") - if(_cmake_old_config_files) - string(REPLACE ";" ", " _cmake_old_config_files_text "${_cmake_old_config_files}") - message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake\" will be replaced. Removing files [${_cmake_old_config_files_text}].") - unset(_cmake_old_config_files_text) - file(REMOVE ${_cmake_old_config_files}) - endif() - unset(_cmake_old_config_files) - endif() - unset(_cmake_export_file_changed) - endif() - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") - if(CMAKE_INSTALL_CONFIG_NAME MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-debug.cmake") - endif() -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libmidi2" TYPE FILE FILES - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h" - ) -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt deleted file mode 100644 index 7c5bf7f25..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/install_manifest.txt +++ /dev/null @@ -1,11 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/lib/libmidi2.lib -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/share/libmidi2/libmidi2-config.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/share/libmidi2/libmidi2-config-debug.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/bytestreamToUMP.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/mcoded7.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/midiCIMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/midiCIProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/umpToBytestream.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug/include/libmidi2/utils.h \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib deleted file mode 100644 index 28574b74b..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-dbg/libmidi2.lib and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps deleted file mode 100644 index 6b8fcc239..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_deps and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log deleted file mode 100644 index 49bd99c8a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/.ninja_log +++ /dev/null @@ -1,11 +0,0 @@ -# ninja log v5 -58 178 7351963590848154 CMakeFiles/libmidi2.dir/src/mcoded7.cpp.obj 7b95493bfc3da1f -9 196 7351963591038157 CMakeFiles/libmidi2.dir/src/utils.cpp.obj 350ef486642d3bbe -24 226 7351963591338228 CMakeFiles/libmidi2.dir/src/umpToBytestream.cpp.obj 58565c85e31ef4d5 -19 231 7351963591398231 CMakeFiles/libmidi2.dir/src/bytestreamToUMP.cpp.obj 6fea4d4def4cbc0f -30 286 7351963591923441 CMakeFiles/libmidi2.dir/src/umpMessageCreate.cpp.obj e1f60f3d1577c6f2 -37 305 7351963592123444 CMakeFiles/libmidi2.dir/src/midiCIMessageCreate.cpp.obj 102ed75ec0da5266 -51 590 7351963594949869 CMakeFiles/libmidi2.dir/src/umpProcessor.cpp.obj 177661c6bfc8e729 -43 785 7351963596881078 CMakeFiles/libmidi2.dir/src/midiCIProcessor.cpp.obj d88452063c29c01a -786 865 7351963597641796 libmidi2.lib 7f56c2d8880a2aa3 -865 965 0 CMakeFiles/install.util e361f507eb1c66f2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt deleted file mode 100644 index fc2630179..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeCache.txt +++ /dev/null @@ -1,477 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//No help, variable specified on the command line. -BUILD_SHARED_LIBS:UNINITIALIZED=OFF - -//Path to a program. -CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -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.40.33721/bin/Hostx64/x64/cl.exe - -CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' - -CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG - -CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C++ applications. -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.40.33721/bin/Hostx64/x64/cl.exe - -CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' - -CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' - -//Flags used by the C compiler during MINSIZEREL builds. -CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG - -CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' - -//Flags used by the C compiler during RELWITHDEBINFO builds. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG - -//Libraries linked by default with all C applications. -CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib - -//No help, variable specified on the command line. -CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//No help, variable specified on the command line. -CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//No help, variable specified on the command line. -CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON - -//Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/pkgRedirects - -//No help, variable specified on the command line. -CMAKE_INSTALL_BINDIR:STRING=bin - -//No help, variable specified on the command line. -CMAKE_INSTALL_LIBDIR:STRING=lib - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows - -//No help, variable specified on the command line. -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.40.33721/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 - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> - -//Path to a program. -CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=libmidi2 - -//RC compiler -CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe - -CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 - -//Flags for Windows Resource Compiler during DEBUG builds. -CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG - -//Flags for Windows Resource Compiler during MINSIZEREL builds. -CMAKE_RC_FLAGS_MINSIZEREL:STRING= - -//Flags for Windows Resource Compiler during RELEASE builds. -CMAKE_RC_FLAGS_RELEASE:STRING= - -//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. -CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO - -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -CMAKE_SYSTEM_NAME:STRING=Windows - -CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 - -CMAKE_SYSTEM_VERSION:STRING=10.0.26100 - -//The CMake toolchain file -CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=ON - -//No help, variable specified on the command line. -FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON - -//Automatically copy dependencies into the output directory for -// executables. -VCPKG_APPLOCAL_DEPS:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake - -//No help, variable specified on the command line. -VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= - -//The directory which contains the installed libraries for each -// triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= - -//No help, variable specified on the command line. -VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= - -//The path to the vcpkg manifest directory. -VCPKG_MANIFEST_DIR:PATH= - -//Use manifest mode, as opposed to classic mode. -VCPKG_MANIFEST_MODE:BOOL=OFF - -//No help, variable specified on the command line. -VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 - -//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH -// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are -// found after toolchain/system libraries/packages. -VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF - -//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths -VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON - -//No help, variable specified on the command line. -VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON - -//No help, variable specified on the command line. -VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 - -//Vcpkg target triplet (ex. x86-windows) -VCPKG_TARGET_TRIPLET:STRING=x64-windows - -//Trace calls to find_package() -VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF - -//Enables messages from the VCPKG toolchain for debugging purposes. -VCPKG_VERBOSE:BOOL=OFF - -//(experimental) Automatically copy dependencies into the install -// target directory for executables. Requires CMake 3.14. -X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF - -//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force -// serialization. -X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF - -//The directory which contains the installed libraries for each -// triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows - -//No help, variable specified on the command line. -_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/ - -//Value Computed by CMake -libmidi2_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel - -//Value Computed by CMake -libmidi2_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -libmidi2_SOURCE_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES -CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES -CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MT -CMAKE_MT-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//noop for ranlib -CMAKE_RANLIB:INTERNAL=: -//ADVANCED property for variable: CMAKE_RC_COMPILER -CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 -CMAKE_RC_COMPILER_WORKS:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS -CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG -CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL -CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE -CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO -CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE -CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 -//Install the dependencies listed in your manifest: -//\n If this is off, you will have to manually install your dependencies. -//\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md -// for more info. -//\n -VCPKG_MANIFEST_INSTALL:INTERNAL=OFF -//ADVANCED property for variable: VCPKG_VERBOSE -VCPKG_VERBOSE-ADVANCED:INTERNAL=1 -//Making sure VCPKG_MANIFEST_MODE doesn't change -Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF -//Vcpkg root directory -Z_VCPKG_ROOT_DIR:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index a6c08b8a4..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33721.2") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17") -set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") -set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") -set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") -set(CMAKE_C17_COMPILE_FEATURES "c_std_17") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS TRUE) -set(CMAKE_C_ABI_COMPILED TRUE) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "8") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index f9fe7e0e5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33721.2") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23") -set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") -set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") -set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") -set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") -set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") -set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_CXX_ABI_COMPILED TRUE) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "8") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_C.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_C.bin deleted file mode 100644 index 0e6d0e9ad..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_C.bin and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_CXX.bin b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_CXX.bin deleted file mode 100644 index a2a86c6b9..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeDetermineCompilerABI_CXX.bin and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake deleted file mode 100644 index 4c9d9a854..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeRCCompiler.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMAKE_RC_COMPILER "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe") -set(CMAKE_RC_COMPILER_ARG1 "") -set(CMAKE_RC_COMPILER_LOADED 1) -set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) -set(CMAKE_RC_OUTPUT_EXTENSION .res) -set(CMAKE_RC_COMPILER_ENV_VAR "RC") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index c39544b85..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26100") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26100") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26100") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26100") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 66be36543..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,866 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif __STDC_VERSION__ > 201710L -# define C_VERSION "23" -#elif __STDC_VERSION__ >= 201710L -# define C_VERSION "17" -#elif __STDC_VERSION__ >= 201000L -# define C_VERSION "11" -#elif __STDC_VERSION__ >= 199901L -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 9a17388fb..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 52d56e25d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,855 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > 202002L - "23" -#elif CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index c13c82056..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml deleted file mode 100644 index 71c0228f2..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ /dev/null @@ -1,154 +0,0 @@ - ---- -events: - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" - - "CMakeLists.txt:3 (project)" - message: | - The target system is: Windows - 10.0.26100 - AMD64 - The host system is: Windows - 10.0.26100 - AMD64 - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP - Id flags: - - The output was: - 0 - CMakeCCompilerId.c - - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe" - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" - - The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Detecting C compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\x64-windows\\vcpkg\\blds\\libmidi2\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33721/bin/Hostx64/x64/cl.exe - Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP - Id flags: - - The output was: - 0 - CMakeCXXCompilerId.cpp - - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe" - - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" - - The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe - - - - kind: "message-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:3 (project)" - message: | - Detecting CXX compiler /showIncludes prefix: - main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\x64-windows\\vcpkg\\blds\\libmidi2\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h - - Found prefix "Note: including file: " - - - kind: "try_compile-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:3 (project)" - checks: - - "Detecting C compiler ABI info" - directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-efukr0" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-efukr0" - cmakeVariables: - CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP " - CMAKE_C_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " - CMAKE_EXE_LINKER_FLAGS: "/machine:x64" - CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" - CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>$<$:DLL>" - VCPKG_APPLOCAL_DEPS: "OFF" - VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" - VCPKG_TARGET_ARCHITECTURE: "x64" - VCPKG_TARGET_TRIPLET: "x64-windows" - Z_VCPKG_ROOT_DIR: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" - buildResult: - variable: "CMAKE_C_ABI_COMPILED" - cached: true - stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-efukr0' - - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_febc3 - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_febc3.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_febc3.dir\\ /FS -c C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\share\\cmake-3.27\\Modules\\CMakeCCompilerABI.c - [2/2] cmd.exe /C "cd . && C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_febc3.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_febc3.dir\\CMakeCCompilerABI.c.obj /out:cmTC_febc3.exe /implib:cmTC_febc3.lib /pdb:cmTC_febc3.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." - - exitCode: 0 - - - kind: "try_compile-v1" - backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:3 (project)" - checks: - - "Detecting CXX compiler ABI info" - directories: - source: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-o8bbz1" - binary: "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-o8bbz1" - cmakeVariables: - CMAKE_CXX_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP " - CMAKE_CXX_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " - CMAKE_EXE_LINKER_FLAGS: "/machine:x64" - CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" - CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>$<$:DLL>" - VCPKG_APPLOCAL_DEPS: "OFF" - VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" - VCPKG_TARGET_ARCHITECTURE: "x64" - VCPKG_TARGET_TRIPLET: "x64-windows" - Z_VCPKG_ROOT_DIR: "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" - buildResult: - variable: "CMAKE_CXX_ABI_COMPILED" - cached: true - stdout: | - Change Dir: 'G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-o8bbz1' - - Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_7fbf1 - [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_7fbf1.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_7fbf1.dir\\ /FS -c C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\share\\cmake-3.27\\Modules\\CMakeCXXCompilerABI.cpp - [2/2] cmd.exe /C "cd . && C:\\Users\\peteb\\AppData\\Local\\vcpkg\\downloads\\tools\\cmake-3.27.1-windows\\cmake-3.27.1-windows-i386\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_7fbf1.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\Preview\\VC\\Tools\\MSVC\\1440~1.337\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_7fbf1.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_7fbf1.exe /implib:cmTC_7fbf1.lib /pdb:cmTC_7fbf1.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." - - exitCode: 0 -... diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-release.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-release.cmake deleted file mode 100644 index 5d995b0ed..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-release.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Release". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Release" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" - IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake deleted file mode 100644 index 9a506956d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS libmidi2::libmidi2) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target libmidi2::libmidi2 -add_library(libmidi2::libmidi2 STATIC IMPORTED) - -set_target_properties(libmidi2::libmidi2 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" -) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libmidi2-config-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h deleted file mode 100644 index 8b1378917..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/ShowIncludes/foo.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/ShowIncludes/main.c b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/ShowIncludes/main.c deleted file mode 100644 index cd3cbc1ff..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/ShowIncludes/main.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "foo.h" -int main(){} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 66c6e6ad0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,6 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/libmidi2.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/edit_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rebuild_cache.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/list_install_components.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/install.dir -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/install/local.dir diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/cmake.check_cache b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd7317..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja deleted file mode 100644 index 9ac7d5f2c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/rules.ninja +++ /dev/null @@ -1,69 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the rules used to get the outputs files -# built from the input files. -# It is included in the main 'build.ninja'. - -# ============================================================================= -# Project: libmidi2 -# Configurations: Release -# ============================================================================= -# ============================================================================= - -############################################# -# localized /showIncludes string - -msvc_deps_prefix = Note: including file: - - -############################################# -# Rule for compiling CXX files. - -rule CXX_COMPILER__libmidi2_unscanned_Release - deps = msvc - command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\cl.exe /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in - description = Building CXX object $out - - -############################################# -# Rule for linking CXX static library. - -rule CXX_STATIC_LIBRARY_LINKER__libmidi2_Release - command = cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MIB055~1\2022\Preview\VC\Tools\MSVC\1440~1.337\bin\Hostx64\x64\lib.exe $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD" - description = Linking CXX static library $TARGET_FILE - restat = $RESTAT - - -############################################# -# Rule for running custom commands. - -rule CUSTOM_COMMAND - command = $COMMAND - description = $DESC - - -############################################# -# Rule for re-running cmake. - -rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel - description = Re-running CMake... - generator = 1 - - -############################################# -# Rule for cleaning all built files. - -rule CLEAN - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS - description = Cleaning all built files... - - -############################################# -# Rule for printing all primary targets available. - -rule HELP - command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets - description = All primary targets available: - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja deleted file mode 100644 index 623919aa8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/build.ninja +++ /dev/null @@ -1,235 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 - -# This file contains all the build statements describing the -# compilation DAG. - -# ============================================================================= -# Write statements declared in CMakeLists.txt: -# -# Which is the root file. -# ============================================================================= - -# ============================================================================= -# Project: libmidi2 -# Configurations: Release -# ============================================================================= - -############################################# -# Minimal version of Ninja required by this file - -ninja_required_version = 1.5 - - -############################################# -# Set configuration variable for custom commands. - -CONFIGURATION = Release -# ============================================================================= -# Include auxiliary files. - - -############################################# -# Include rules file. - -include CMakeFiles\rules.ninja - -# ============================================================================= - -############################################# -# Logical path to working directory; prefix for absolute paths. - -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel\ -# ============================================================================= -# Object build statements for STATIC_LIBRARY target libmidi2 - - -############################################# -# Order-only phony target for libmidi2 - -build cmake_object_order_depends_target_libmidi2: phony || CMakeFiles\libmidi2.dir - -build CMakeFiles\libmidi2.dir\src\utils.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\utils.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\bytestreamToUMP.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpToBytestream.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIMessageCreate.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\midiCIProcessor.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\umpProcessor.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - -build CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj: CXX_COMPILER__libmidi2_unscanned_Release G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\src\mcoded7.cpp || cmake_object_order_depends_target_libmidi2 - FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 -std:c++17 -Wall - INCLUDES = -IG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\include - OBJECT_DIR = CMakeFiles\libmidi2.dir - OBJECT_FILE_DIR = CMakeFiles\libmidi2.dir\src - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_PDB = libmidi2.pdb - - -# ============================================================================= -# Link build statements for STATIC_LIBRARY target libmidi2 - - -############################################# -# Link the static library libmidi2.lib - -build libmidi2.lib: CXX_STATIC_LIBRARY_LINKER__libmidi2_Release CMakeFiles\libmidi2.dir\src\utils.cpp.obj CMakeFiles\libmidi2.dir\src\bytestreamToUMP.cpp.obj CMakeFiles\libmidi2.dir\src\umpToBytestream.cpp.obj CMakeFiles\libmidi2.dir\src\umpMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIMessageCreate.cpp.obj CMakeFiles\libmidi2.dir\src\midiCIProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\umpProcessor.cpp.obj CMakeFiles\libmidi2.dir\src\mcoded7.cpp.obj - LANGUAGE_COMPILE_FLAGS = /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 - LINK_FLAGS = /machine:x64 /nologo - OBJECT_DIR = CMakeFiles\libmidi2.dir - POST_BUILD = cd . - PRE_LINK = cd . - TARGET_COMPILE_PDB = CMakeFiles\libmidi2.dir\libmidi2.pdb - TARGET_FILE = libmidi2.lib - TARGET_PDB = libmidi2.pdb - - -############################################# -# Utility command for edit_cache - -build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel" - DESC = Running CMake cache editor... - pool = console - restat = 1 - -build edit_cache: phony CMakeFiles\edit_cache.util - - -############################################# -# Utility command for rebuild_cache - -build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -SG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel" - DESC = Running CMake to regenerate build system... - pool = console - restat = 1 - -build rebuild_cache: phony CMakeFiles\rebuild_cache.util - - -############################################# -# Utility command for list_install_components - -build list_install_components: phony - - -############################################# -# Utility command for install - -build CMakeFiles\install.util: CUSTOM_COMMAND all - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -P cmake_install.cmake" - DESC = Install the project... - pool = console - restat = 1 - -build install: phony CMakeFiles\install.util - - -############################################# -# Utility command for install/local - -build CMakeFiles\install\local.util: CUSTOM_COMMAND all - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake" - DESC = Installing only the local directory... - pool = console - restat = 1 - -build install\local: phony CMakeFiles\install\local.util - -# ============================================================================= -# Target aliases. - -build libmidi2: phony libmidi2.lib - -# ============================================================================= -# Folder targets. - -# ============================================================================= - -############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel - -build all: phony libmidi2.lib - -# ============================================================================= -# Built-in targets - - -############################################# -# Re-run CMake if any of its inputs changed. - -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompilerABI.c C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompilerABI.cpp C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompileFeatures.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerABI.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseLibraryArchitecture.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCompilerCommon.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Internal\FeatureTesting.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt - pool = console - - -############################################# -# A missing CMake input file is not an error. - -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompilerABI.c C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompilerABI.cpp C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompileFeatures.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerABI.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeParseLibraryArchitecture.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCompilerCommon.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Internal\FeatureTesting.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\x64-windows\vcpkg\blds\libmidi2\src\v0.7-9d11c5604d.clean\CMakeLists.txt: phony - - -############################################# -# Clean all the built files. - -build clean: CLEAN - - -############################################# -# Print all primary targets available. - -build help: HELP - - -############################################# -# Make the all target the default. - -default all diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake deleted file mode 100644 index 30d7db55b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/cmake_install.cmake +++ /dev/null @@ -1,84 +0,0 @@ -# Install script for directory: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "Release") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "OFF") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib") -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake") - file(DIFFERENT _cmake_export_file_changed FILES - "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") - if(_cmake_export_file_changed) - file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config-*.cmake") - if(_cmake_old_config_files) - string(REPLACE ";" ", " _cmake_old_config_files_text "${_cmake_old_config_files}") - message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/libmidi2/libmidi2-config.cmake\" will be replaced. Removing files [${_cmake_old_config_files_text}].") - unset(_cmake_old_config_files_text) - file(REMOVE ${_cmake_old_config_files}) - endif() - unset(_cmake_old_config_files) - endif() - unset(_cmake_export_file_changed) - endif() - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config.cmake") - if(CMAKE_INSTALL_CONFIG_NAME MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libmidi2" TYPE FILE FILES "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/CMakeFiles/Export/0d7ad336f582a14afd488c3a7811f6bb/libmidi2-config-release.cmake") - endif() -endif() - -if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) - file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/libmidi2" TYPE FILE FILES - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/bytestreamToUMP.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/mcoded7.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/midiCIProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpMessageCreate.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpProcessor.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/umpToBytestream.h" - "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean/include/utils.h" - ) -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt deleted file mode 100644 index 2e559329a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/install_manifest.txt +++ /dev/null @@ -1,11 +0,0 @@ -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-release.cmake -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/bytestreamToUMP.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/mcoded7.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpMessageCreate.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpProcessor.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToBytestream.h -G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/utils.h \ No newline at end of file diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib deleted file mode 100644 index 23edf9295..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/libmidi2.lib and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log deleted file mode 100644 index 590fcc6ae..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ /dev/null @@ -1,3 +0,0 @@ -# ninja log v5 -1 2908 7351963578372185 ../CMakeCache.txt c5adaa9762e3e627 -121 2913 7351963578322179 ../../x64-windows-dbg/CMakeCache.txt d07b61cd572245f6 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja deleted file mode 100644 index b53080987..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows-rel/vcpkg-parallel-configure/build.ninja +++ /dev/null @@ -1,9 +0,0 @@ -rule CreateProcess - command = $process - -build ../CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/" "-DVCPKG_MANIFEST_INSTALL=OFF" - -build ../../x64-windows-dbg/CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/src/v0.7-9d11c5604d.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/" "-DVCPKG_MANIFEST_INSTALL=OFF" - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt deleted file mode 100644 index 29347d5f0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 -vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 -vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 -vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f -vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt deleted file mode 100644 index 69b9c738f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ /dev/null @@ -1,13 +0,0 @@ -cmake 3.27.1 -copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 -features core -portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e -vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 -vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt deleted file mode 100644 index 410aff1d5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 -vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 -vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe -vcpkg_cmake_build.cmake 6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1 -vcpkg_cmake_configure.cmake f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e -vcpkg_cmake_install.cmake 3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369 -vcpkg_configure_cmake 9dfd362bd20613eaa83af55eb0f98c8cb50fd4826a65da74a0f1641da73497c2 -vcpkg_execute_build_process 4976d00fc7d25ad07984f282490121a09aa44a49c5dae627ca68355affd929d0 -vcpkg_execute_required_process 0c6f52ca848715efd88acfec9bdb2ed3b5f38a650baa6a614bf23ccc3eec150a -vcpkg_find_acquire_program 96d9ee675798a3bddb54340d404b814be45a35c624b2eab5465cd45eaf18b6d3 -vcpkg_find_acquire_program(NINJA) 8692aff2f893a8afcabbb4395a8b91ad4f6dd228f410fa4fd050d99c2ec0f52c -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/info/vcpkg-cmake-config_2022-02-06_x64-windows.list b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/info/vcpkg-cmake-config_2022-02-06_x64-windows.list deleted file mode 100644 index 25d866f74..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/info/vcpkg-cmake-config_2022-02-06_x64-windows.list +++ /dev/null @@ -1,8 +0,0 @@ -x64-windows/ -x64-windows/share/ -x64-windows/share/vcpkg-cmake-config/ -x64-windows/share/vcpkg-cmake-config/copyright -x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake -x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json -x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt -x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/BUILD_INFO b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/BUILD_INFO deleted file mode 100644 index 21ca67e3b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/BUILD_INFO +++ /dev/null @@ -1,2 +0,0 @@ -CRTLinkage: dynamic -LibraryLinkage: static diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL deleted file mode 100644 index 5b8294dad..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ /dev/null @@ -1,7 +0,0 @@ -Package: libmidi2 -Version: 0.9 -Depends: vcpkg-cmake, vcpkg-cmake-config -Architecture: x64-windows -Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/bytestreamToUMP.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/bytestreamToUMP.h deleted file mode 100644 index a7ebcff5d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/bytestreamToUMP.h +++ /dev/null @@ -1,72 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef BSUMP_H -#define BSUMP_H - -#define BSTOUMP_BUFFER 4 - - -#include - -class bytestreamToUMP{ - - private: - uint8_t d0; - uint8_t d1; - - uint8_t sysex7State = 0; - uint8_t sysex7Pos = 0; - - uint8_t sysex[6] = {0,0,0,0,0,0}; - uint32_t umpMess[BSTOUMP_BUFFER] = {0,0,0,0}; - - //Channel Based Data - uint8_t bankMSB[16]; - uint8_t bankLSB[16]; - bool rpnMode[16]; - uint8_t rpnMsbValue[16]; - uint8_t rpnMsb[16]; - uint8_t rpnLsb[16]; - - void bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2); - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - - public: - uint8_t defaultGroup = 0; - bool outputMIDI2 = false; - - bytestreamToUMP(); - - bool availableUMP(); - - uint32_t readUMP(); - - void bytestreamParse(uint8_t midi1Byte); - - -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/mcoded7.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/mcoded7.h deleted file mode 100644 index 6d72a090f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/mcoded7.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MC7_H -#define MC7_H - -#include - -class mcoded7Decode{ - private: - uint8_t dumpPos=255; - uint8_t fBit=0; - uint8_t cnt=0; - uint8_t bits=0; - public: - uint8_t dump[7]; - uint16_t currentPos(); - void reset(); - void parseS7Byte(uint8_t s7Byte); -}; - - -class mcoded7Encode{ - - private: - uint16_t dumpPos = 1; - uint8_t cnt = 6; - public: - uint8_t dump[8]; - uint16_t currentPos(); - void reset(); - void parseByte(uint8_t s8Byte); -}; - -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIMessageCreate.h deleted file mode 100644 index 922c91aac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIMessageCreate.h +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIMESSAGECREATE_H -#define MIDI2CPP_MIDICIMESSAGECREATE_H -#include "utils.h" -#include -#include - -namespace CIMessage { - - uint16_t sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId - ); - - uint16_t sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx - ); - - uint16_t - sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); - - uint16_t - sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, - uint16_t infoLength, uint8_t *infoData); - - uint16_t sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, - uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -//Profile Negotiation CI 1.1 - uint16_t sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol); - - uint16_t sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols); - - uint16_t sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t *protocol); - - uint16_t sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - uint16_t sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - - uint16_t - sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - uint16_t - sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled); - - uint16_t sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data); - - uint16_t sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t destination, - std::array profile, uint8_t InquiryTarget); - - uint16_t - sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t *data); - - - uint16_t sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - - uint16_t sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid); - - uint16_t sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t supportedFeatures); - - uint16_t sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - -} -#endif //MIDI2CPP_MIDICIMESSAGECREATE_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIProcessor.h deleted file mode 100644 index 768e4fae8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/midiCIProcessor.h +++ /dev/null @@ -1,280 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIPROCESSOR_H -#define MIDI2CPP_MIDICIPROCESSOR_H - -#include -#include -#include // this was missing and causing build errors -#include -#include - -#include "utils.h" - -typedef std::tuple reqId; //muid-requestId - -struct MIDICI{ - MIDICI() : umpGroup(255), deviceId(FUNCTION_BLOCK),ciType(255),ciVer(1), remoteMUID(0), localMUID(0), - _reqTupleSet(false), totalChunks(0), numChunk(0), partialChunkCount(0), requestId(255) {} - uint8_t umpGroup; - uint8_t deviceId; - uint8_t ciType; - uint8_t ciVer; - uint32_t remoteMUID; - uint32_t localMUID; - bool _reqTupleSet; - reqId _peReqIdx; - - uint8_t totalChunks; - uint8_t numChunk; - uint8_t partialChunkCount; - uint8_t requestId; -}; - - - - -class midiCIProcessor{ -private: - MIDICI midici; - uint8_t buffer[256]; - /* - * in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4,...product Id] - * in Profiles this is [pf1, pf1, pf3, pf4, pf5] - * in Protocols this is [pr1, pr2, pr3, pr4, pr5] - */ - - uint16_t intTemp[4]; - /* in Discovery this is [ciSupport, maxSysex, output path id] - * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length] - * in Profile On/Off/Enabled/Disabled, this is [numOfChannels] - * in PE this is [header length, Body Length] - */ - uint16_t sysexPos; - - //MIDI-CI callbacks - - // EB: update callbacks step1 - update pointer definitions to: - // std::function name = nullptr; - - std::function - checkMUID = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, - uint16_t maxSysex, uint8_t outputPathId)> recvDiscoveryRequest = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx)> recvDiscoveryReply = nullptr; - std::function recvEndPointInfo = nullptr; - std::function recvEndPointInfoReply = nullptr; - std::function recvNAK = nullptr; - std::function recvACK = nullptr; - std::function recvInvalidateMUID = nullptr; - std::function recvUnknownMIDICI = nullptr; - -//Protocol Negotiation - std::function recvProtocolAvailable = nullptr; - std::function recvSetProtocol = nullptr; - std::function recvSetProtocolConfirm = nullptr; - std::function recvProtocolTest = nullptr; - - void processProtocolSysex(uint8_t s7Byte); - -//Profiles - std::function recvProfileInquiry = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileEnabled = nullptr; - std::function)> recvSetProfileRemoved = nullptr; - std::function, uint8_t numberOfChannels)> recvSetProfileDisabled = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileOn = nullptr; - std::function profile)> recvSetProfileOff = nullptr; - std::function profile, uint16_t datalen, uint8_t* data, - uint16_t part, bool lastByteOfSet)> recvProfileSpecificData = nullptr; - std::function profile, uint8_t InquiryTarget)> recvSetProfileDetailsInquiry = nullptr; - std::function profile, uint8_t InquiryTarget, - uint16_t datalen, uint8_t* data)> recvSetProfileDetailsReply = nullptr; - - void processProfileSysex(uint8_t s7Byte); - -//Property Exchange - std::map peHeaderStr; - - std::function recvPECapabilities = nullptr; - std::function recvPECapabilitiesReplies = nullptr; - std::function recvPEGetInquiry = nullptr; - std::function recvPESetReply = nullptr; - std::function recvPESubReply = nullptr; - std::function recvPENotify = nullptr; - std::function recvPEGetReply = nullptr; - std::function recvPESetInquiry = nullptr; - std::function recvPESubInquiry = nullptr; - - void cleanupRequest(reqId peReqIdx); - - void processPESysex(uint8_t s7Byte); - -//Process Inquiry - std::function recvPICapabilities = nullptr; - std::function recvPICapabilitiesReply = nullptr; - - std::function recvPIMMReport = nullptr; - std::function recvPIMMReportReply = nullptr; - std::function recvPIMMReportEnd = nullptr; - - void processPISysex(uint8_t s7Byte); - -public: - - // EB: update callbacks step2 - update setCallback functions: - // inline void setCallback(std::function fptr){ pointerName = fptr; } - // - // Calling these functions from within a member class looks like: - // MIDICIHandler->setCheckMUID(std::bind(&YourClass::checkMUID, this, std::placeholders::_1, std::placeholders::_2)); - - inline void setCheckMUID(std::function fptr){ - checkMUID = fptr; } - void endSysex7(); - void startSysex7(uint8_t group, uint8_t deviceId); - void processMIDICI(uint8_t s7Byte); - - - inline void setRecvDiscovery(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId - )> fptr) { - recvDiscoveryRequest = fptr;} - inline void setRecvDiscoveryReply(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx - )> fptr) { - recvDiscoveryReply = fptr;} - inline void setRecvNAK(std::function fptr){ - recvNAK = fptr;} - inline void setRecvACK(std::function fptr){ - recvACK = fptr;} - inline void setRecvInvalidateMUID(std::function fptr){ - recvInvalidateMUID = fptr;} - inline void setRecvUnknownMIDICI(std::function fptr){ - recvUnknownMIDICI = fptr;} - - - inline void setRecvEndpointInfo(std::function fptr){ - recvEndPointInfo = fptr;} - inline void setRecvEndpointInfoReply(std::function fptr){ - recvEndPointInfoReply = fptr;} - - //Protocol Negotiation - inline void setRecvProtocolAvailable(std::function fptr){ - recvProtocolAvailable = fptr;} - inline void setRecvSetProtocol(std::function fptr){ - recvSetProtocol = fptr;} - inline void setRecvSetProtocolConfirm(std::function fptr){ - recvSetProtocolConfirm = fptr;} - inline void setRecvSetProtocolTest(std::function fptr){ - recvProtocolTest = fptr;} - - //Profiles - inline void setRecvProfileInquiry(std::function fptr){ recvProfileInquiry = fptr;} - inline void setRecvProfileEnabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileEnabled = fptr;} - inline void setRecvSetProfileRemoved(std::function)> fptr){ - recvSetProfileRemoved = fptr;} - inline void setRecvProfileDisabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileDisabled = fptr;} - inline void setRecvProfileOn(std::function profile, uint8_t numberOfChannels)> fptr){ - recvSetProfileOn = fptr;} - inline void setRecvProfileOff(std::function profile)> fptr){ - recvSetProfileOff = fptr;} - inline void setRecvProfileSpecificData(std::function profile, uint16_t datalen, - uint8_t* data, uint16_t part, bool lastByteOfSet)> fptr){ - recvProfileSpecificData = fptr;} - inline void setRecvProfileDetailsInquiry(std::function profile, - uint8_t InquiryTarget)> fptr){ - recvSetProfileDetailsInquiry = fptr;} - inline void setRecvProfileDetailsReply(std::function profile, - uint8_t InquiryTarget, uint16_t datalen, uint8_t* data)> fptr){ - recvSetProfileDetailsReply = fptr;} - - //Property Exchange - inline void setPECapabilities(std::function fptr){ - recvPECapabilities = fptr;} - inline void setPECapabilitiesReply(std::function fptr){ - recvPECapabilitiesReplies = fptr;} - inline void setRecvPEGetInquiry(std::function fptr){ - recvPEGetInquiry = fptr;} - inline void setRecvPESetReply(std::function fptr){ - recvPESetReply = fptr;} - inline void setRecvPESubReply(std::function fptr){ - recvPESubReply = fptr;} - inline void setRecvPENotify(std::function fptr){ - recvPENotify = fptr;} - inline void setRecvPEGetReply(std::function fptr){ - recvPEGetReply = fptr;} - inline void setRecvPESetInquiry(std::function fptr){ - recvPESetInquiry = fptr;} - inline void setRecvPESubInquiry(std::function fptr){ - recvPESubInquiry = fptr;} - -//Process Inquiry - - inline void setRecvPICapabilities(std::function fptr){ - recvPICapabilities = fptr;} - inline void setRecvPICapabilitiesReply(std::function fptr){ - recvPICapabilitiesReply = fptr;} - inline void setRecvPIMMReport(std::function fptr){ - recvPIMMReport = fptr;} - inline void setRecvPIMMReportReply(std::function fptr){ - recvPIMMReportReply = fptr;} - inline void setRecvPIMMEnd(std::function fptr){ - recvPIMMReportEnd = fptr;} - -}; - -#endif //MIDI2CPP_MIDICIPROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpMessageCreate.h deleted file mode 100644 index 4e4862a79..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpMessageCreate.h +++ /dev/null @@ -1,132 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MESSAGE_CREATE_H -#define MESSAGE_CREATE_H -#include -#include - -namespace UMPMessage { - uint32_t mt0NOOP(); - - uint32_t mt0JRClock(uint16_t clockTime); - - uint32_t mt0JRTimeStamp(uint16_t timestamp); - - uint32_t mt0DeltaClockTick(uint16_t ticksPerQtrNote); - - uint32_t mt0DeltaTicksSinceLast(uint16_t noTicksSince); - - - uint32_t mt1MTC(uint8_t group, uint8_t timeCode); - - uint32_t mt1SPP(uint8_t group, uint16_t position); - - uint32_t mt1SongSelect(uint8_t group, uint8_t song); - - uint32_t mt1TuneRequest(uint8_t group); - - uint32_t mt1TimingClock(uint8_t group); - - uint32_t mt1SeqStart(uint8_t group); - - uint32_t mt1SeqCont(uint8_t group); - - uint32_t mt1SeqStop(uint8_t group); - - uint32_t mt1ActiveSense(uint8_t group); - - uint32_t mt1SystemReset(uint8_t group); - - - uint32_t mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure); - - uint32_t mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value); - - uint32_t mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program); - - uint32_t mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure); - - uint32_t mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value); - - std::array mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx); - - - std::array mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure); - - std::array mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch); - - std::array mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value); - - std::array mt4RPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4NRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4RelativeRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4RelativeNRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4ChannelPressure(uint8_t group, uint8_t channel, uint32_t pressure); - - std::array mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, - uint8_t bank, uint8_t index); - - - std::array mtFMidiEndpoint(uint8_t filter); - - std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); - - std::array - mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version); - - std::array - mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); - - std::array - mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, - uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); - - std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFStartOfSeq(); - - std::array mtFEndOfFile(); - - std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); - - std::array mtFNotifyProtocol(uint8_t protocol, bool jrrx, bool jrtx); - -} -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpProcessor.h deleted file mode 100644 index 0e81025fb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpProcessor.h +++ /dev/null @@ -1,177 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#ifndef UMP_PROCESSOR_H -#define UMP_PROCESSOR_H - -#include -#include -#include - -#include "utils.h" - -struct umpCVM{ - umpCVM() : umpGroup(255), messageType(255), status(0),channel(255),note(255), value(0), index(0), bank(0), - flag1(false), flag2(false) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; - -struct umpGeneric{ - umpGeneric() : umpGroup(255), status(0), value(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; - -struct umpData{ - umpData() : umpGroup(255), streamId(0), status(0), form(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t streamId; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; - -class umpProcessor{ - - private: - - uint32_t umpMess[4]{}; - uint8_t messPos=0; - - // Message type 0x0 callbacks - std::function utilityMessage = nullptr; - - // MIDI 1 and 2 CVM callbacks - std::function channelVoiceMessage = nullptr; - - //System Messages callbacks - std::function systemMessage = nullptr; - - //Sysex - std::function sendOutSysex = nullptr; - - // Message Type 0xD callbacks - std::function flexTempo = nullptr; - std::function flexTimeSig = nullptr; - std::function flexMetronome = nullptr; - std::function flexKeySig = nullptr; - std::function flexChord = nullptr; - std::function flexPerformance = nullptr; - std::function flexLyric = nullptr; - - // Message Type 0xF callbacks - std::function midiEndpoint = nullptr; - std::function functionBlock = nullptr; - std::function - midiEndpointInfo = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version)> midiEndpointDeviceInfo = nullptr; - std::function midiEndpointName = nullptr; - std::function midiEndpointProdId = nullptr; - - std::function midiEndpointJRProtocolReq = nullptr; - std::function midiEndpointJRProtocolNotify = nullptr; - - std::function functionBlockInfo = nullptr; - std::function functionBlockName = nullptr; - std::function startOfSeq = nullptr; - std::function endOfFile = nullptr; - - //Handle new Messages - std::function unknownUMPMessage = nullptr; - - public: - - void clearUMP(); - void processUMP(uint32_t UMP); - - //-----------------------Handlers --------------------------- - inline void setUtility(std::function fptr){ utilityMessage = fptr; } - inline void setCVM(std::function fptr ){ channelVoiceMessage = fptr; } - inline void setSystem(std::function fptr) { systemMessage = fptr; } - inline void setSysEx(std::function fptr ){sendOutSysex = fptr; } - - //---------- Flex Data - inline void setFlexTempo(std::function fptr ){ flexTempo = fptr; } - inline void setFlexTimeSig(std::function fptr){ - flexTimeSig = fptr; } - inline void setFlexMetronome(std::function fptr){ flexMetronome = fptr; } - inline void setFlexKeySig(std::function fptr){ - flexKeySig = fptr; } - inline void setFlexChord(std::function fptr){ - flexChord = fptr; } - inline void setFlexPerformance(std::function fptr){ flexPerformance = fptr; } - inline void setFlexLyric(std::function fptr){ flexLyric = fptr; } - - //---------- UMP Stream - - inline void setMidiEndpoint(std::function fptr){ - midiEndpoint = fptr; } - inline void setMidiEndpointNameNotify(std::function fptr){ - midiEndpointName = fptr; } - inline void setMidiEndpointProdIdNotify(std::function fptr){ - midiEndpointProdId = fptr; } - inline void setMidiEndpointInfoNotify(std::function fptr){ - midiEndpointInfo = fptr; } - inline void setMidiEndpointDeviceInfoNotify(std::function manuId, std::array familyId, - std::array modelId, std::array version)> fptr){ - midiEndpointDeviceInfo = fptr; } - inline void setJRProtocolRequest(std::function fptr){ midiEndpointJRProtocolReq = fptr;} - inline void setJRProtocolNotify(std::function fptr){ - midiEndpointJRProtocolNotify = fptr;} - - inline void setFunctionBlock(std::function fptr){ functionBlock = fptr; } - inline void setFunctionBlockNotify(std::function fptr){ - functionBlockInfo = fptr; } - inline void setFunctionBlockNameNotify(std::function fptr){functionBlockName = fptr; } - inline void setStartOfSeq(std::function fptr){startOfSeq = fptr; } - inline void setEndOfFile(std::function fptr){endOfFile = fptr; } - - //Unknown UMP - inline void setUnknownUMP(std::function fptr){unknownUMPMessage = fptr; } - -}; - -#endif //UMP_PROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToBytestream.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToBytestream.h deleted file mode 100644 index 4dc658a2b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/umpToBytestream.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UMPBS_H -#define UMPBS_H - - -#include - -#define UMPTOBS_BUFFER 12 - -class umpToBytestream{ - - private: - uint8_t mType; - uint32_t ump64word1; - - uint8_t UMPPos=0; - uint8_t bsOut[UMPTOBS_BUFFER]; - - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - public: - uint8_t group; - - umpToBytestream(); - bool availableBS(); - uint8_t readBS(); - void UMPStreamParse(uint32_t UMP); -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/utils.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/utils.h deleted file mode 100644 index f92125503..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/include/libmidi2/utils.h +++ /dev/null @@ -1,176 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UTILS_H -#define UTILS_H - -#include -#include - - -#define NOTE_OFF 0x80 -#define NOTE_ON 0x90 -#define KEY_PRESSURE 0xA0 -#define CC 0xB0 -#define RPN 0x20 -#define NRPN 0x30 -#define RPN_RELATIVE 0x40 -#define NRPN_RELATIVE 0x50 -#define PROGRAM_CHANGE 0xC0 -#define CHANNEL_PRESSURE 0xD0 -#define PITCH_BEND 0xE0 -#define PITCH_BEND_PERNOTE 0x60 -#define NRPN_PERNOTE 0x10 -#define RPN_PERNOTE 0x00 -#define PERNOTE_MANAGE 0xF0 - -#define SYSEX_START 0xF0 -#define TIMING_CODE 0xF1 -#define SPP 0xF2 -#define SONG_SELECT 0xF3 -#define TUNEREQUEST 0xF6 -#define SYSEX_STOP 0xF7 -#define TIMINGCLOCK 0xF8 -#define SEQSTART 0xFA -#define SEQCONT 0xFB -#define SEQSTOP 0xFC -#define ACTIVESENSE 0xFE -#define SYSTEMRESET 0xFF - -#define UTILITY_NOOP 0x0 -#define UTILITY_JRCLOCK 0x1 -#define UTILITY_JRTS 0x2 -#define UTILITY_DELTACLOCKTICK 0x3 -#define UTILITY_DELTACLOCKSINCE 0x4 - -#define FLEXDATA_COMMON 0x00 -#define FLEXDATA_COMMON_TEMPO 0x00 -#define FLEXDATA_COMMON_TIMESIG 0x01 -#define FLEXDATA_COMMON_METRONOME 0x02 -#define FLEXDATA_COMMON_KEYSIG 0x05 -#define FLEXDATA_COMMON_CHORD 0x06 -#define FLEXDATA_PERFORMANCE 0x01 -#define FLEXDATA_LYRIC 0x02 - -#define MIDIENDPOINT 0x000 -#define MIDIENDPOINT_INFO_NOTIFICATION 0x001 -#define MIDIENDPOINT_DEVICEINFO_NOTIFICATION 0x002 -#define MIDIENDPOINT_NAME_NOTIFICATION 0x003 -#define MIDIENDPOINT_PRODID_NOTIFICATION 0x004 -#define MIDIENDPOINT_PROTOCOL_REQUEST 0x005 -#define MIDIENDPOINT_PROTOCOL_NOTIFICATION 0x006 -#define STARTOFSEQ 0x020 -#define ENDOFFILE 0x021 - -#define FUNCTIONBLOCK 0x010 -#define FUNCTIONBLOCK_INFO_NOTFICATION 0x011 -#define FUNCTIONBLOCK_NAME_NOTIFICATION 0x012 - -#ifndef S7_BUFFERLEN -#define S7_BUFFERLEN 36 -#endif -#define S7UNIVERSAL_NRT 0x7E -#define S7UNIVERSAL_RT 0x7F -#define S7MIDICI 0x0D - -#define MIDICI_DISCOVERY 0x70 -#define MIDICI_DISCOVERYREPLY 0x71 -#define MIDICI_ENDPOINTINFO 0x72 -#define MIDICI_ENDPOINTINFO_REPLY 0x73 -#define MIDICI_INVALIDATEMUID 0x7E -#define MIDICI_ACK 0x7D -#define MIDICI_NAK 0x7F - -#define MIDICI_PROTOCOL_NEGOTIATION 0x10 -#define MIDICI_PROTOCOL_NEGOTIATION_REPLY 0x11 -#define MIDICI_PROTOCOL_SET 0x12 -#define MIDICI_PROTOCOL_TEST 0x13 -#define MIDICI_PROTOCOL_TEST_RESPONDER 0x14 -#define MIDICI_PROTOCOL_CONFIRM 0x15 - -#define MIDICI_PROFILE_INQUIRY 0x20 -#define MIDICI_PROFILE_INQUIRYREPLY 0x21 -#define MIDICI_PROFILE_SETON 0x22 -#define MIDICI_PROFILE_SETOFF 0x23 -#define MIDICI_PROFILE_ENABLED 0x24 -#define MIDICI_PROFILE_DISABLED 0x25 -#define MIDICI_PROFILE_ADD 0x26 -#define MIDICI_PROFILE_REMOVE 0x27 -#define MIDICI_PROFILE_DETAILS_INQUIRY 0x28 -#define MIDICI_PROFILE_DETAILS_REPLY 0x29 -#define MIDICI_PROFILE_SPECIFIC_DATA 0x2F - -#define MIDICI_PE_CAPABILITY 0x30 -#define MIDICI_PE_CAPABILITYREPLY 0x31 -#define MIDICI_PE_GET 0x34 -#define MIDICI_PE_GETREPLY 0x35 -#define MIDICI_PE_SET 0x36 -#define MIDICI_PE_SETREPLY 0x37 -#define MIDICI_PE_SUB 0x38 -#define MIDICI_PE_SUBREPLY 0x39 -#define MIDICI_PE_NOTIFY 0x3F - -#define MIDICI_PI_CAPABILITY 0x40 -#define MIDICI_PI_CAPABILITYREPLY 0x41 -#define MIDICI_PI_MM_REPORT 0x42 -#define MIDICI_PI_MM_REPORT_REPLY 0x43 -#define MIDICI_PI_MM_REPORT_END 0x44 - -#define MIDICI_PE_COMMAND_START 1 -#define MIDICI_PE_COMMAND_END 2 -#define MIDICI_PE_COMMAND_PARTIAL 3 -#define MIDICI_PE_COMMAND_FULL 4 -#define MIDICI_PE_COMMAND_NOTIFY 5 - -#define MIDICI_PE_ACTION_COPY 1 -#define MIDICI_PE_ACTION_MOVE 2 -#define MIDICI_PE_ACTION_DELETE 3 -#define MIDICI_PE_ACTION_CREATE_DIR 4 - -#define MIDICI_PE_ASCII 1 -#define MIDICI_PE_MCODED7 2 -#define MIDICI_PE_MCODED7ZLIB 3 - -#define FUNCTION_BLOCK 0x7F -#define M2_CI_BROADCAST 0xFFFFFFF - -#define UMP_VER_MAJOR 1 -#define UMP_VER_MINOR 1 - -#ifndef EXP_MIDICI_PE_EXPERIMENTAL_PATH -#define EXP_MIDICI_PE_EXPERIMENTAL_PATH 1 -#endif - -#define UMP_UTILITY 0x0 -#define UMP_SYSTEM 0x1 -#define UMP_M1CVM 0x2 -#define UMP_SYSEX7 0x3 -#define UMP_M2CVM 0x4 -#define UMP_DATA 0x5 -#define UMP_FLEX_DATA 0xD -#define UMP_MIDI_ENDPOINT 0xF - -namespace M2Utils { -uint32_t scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -uint32_t scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib deleted file mode 100644 index 1b3dee0e8..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/copyright deleted file mode 100644 index 71e49ad38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/copyright +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Andrew Mee - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-debug.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-debug.cmake deleted file mode 100644 index 6fe525151..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-debug.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Debug". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Debug" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-release.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-release.cmake deleted file mode 100644 index 5d995b0ed..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config-release.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Release". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Release" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" - IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake deleted file mode 100644 index 9a506956d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS libmidi2::libmidi2) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target libmidi2::libmidi2 -add_library(libmidi2::libmidi2 STATIC IMPORTED) - -set_target_properties(libmidi2::libmidi2 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" -) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libmidi2-config-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json deleted file mode 100644 index da04a66a8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:34:03Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "libmidi2", - "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", - "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "description": "General purpose Midi 2 library for bytestream conversions and midi-ci", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "libmidi2:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - }, - { - "SPDXID": "SPDXRef-resource-1", - "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", - "licenseConcluded": "NOASSERTION", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "checksums": [ - { - "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" - } - ] - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt deleted file mode 100644 index 29347d5f0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 -vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 -vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 -vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f -vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/BUILD_INFO b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/BUILD_INFO deleted file mode 100644 index e97d8d9af..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/BUILD_INFO +++ /dev/null @@ -1,3 +0,0 @@ -CRTLinkage: dynamic -LibraryLinkage: dynamic -PolicyEmptyPackage: enabled diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL deleted file mode 100644 index c895479e5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 -Architecture: x64-windows -Multi-Arch: same -Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright deleted file mode 100644 index 2e4eac826..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) Microsoft Corporation - -All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake deleted file mode 100644 index 980d41131..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_config_fixup.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json deleted file mode 100644 index f754aa3ac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:57Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake-config", - "SPDXID": "SPDXRef-port", - "versionInfo": "2022-02-06#1", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@8d54cc4f487d51b655abec5f9c9c3f86ca83311f", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake-config:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt deleted file mode 100644 index 69b9c738f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ /dev/null @@ -1,13 +0,0 @@ -cmake 3.27.1 -copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 -features core -portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e -vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 -vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake deleted file mode 100644 index 368e5809a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake +++ /dev/null @@ -1,258 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_config_fixup) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DO_NOT_DELETE_PARENT_CONFIG_PATH;NO_PREFIX_CORRECTION" "PACKAGE_NAME;CONFIG_PATH;TOOLS_PATH" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_config_fixup was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT arg_PACKAGE_NAME) - set(arg_PACKAGE_NAME "${PORT}") - endif() - if(NOT arg_CONFIG_PATH) - set(arg_CONFIG_PATH "share/${arg_PACKAGE_NAME}") - endif() - if(NOT arg_TOOLS_PATH) - set(arg_TOOLS_PATH "tools/${PORT}") - endif() - set(target_path "share/${arg_PACKAGE_NAME}") - - string(REPLACE "." "\\." EXECUTABLE_SUFFIX "${VCPKG_TARGET_EXECUTABLE_SUFFIX}") - - set(debug_share "${CURRENT_PACKAGES_DIR}/debug/${target_path}") - set(release_share "${CURRENT_PACKAGES_DIR}/${target_path}") - - if(NOT arg_CONFIG_PATH STREQUAL "share/${arg_PACKAGE_NAME}") - if(arg_CONFIG_PATH STREQUAL "share") - set(arg_CONFIG_PATH z_vcpkg_share) - file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share" "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - file(RENAME "${CURRENT_PACKAGES_DIR}/share" "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - endif() - - set(debug_config "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - set(release_config "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_config}") - message(FATAL_ERROR "'${debug_config}' does not exist.") - endif() - - # This roundabout handling enables CONFIG_PATH = share - file(MAKE_DIRECTORY "${debug_share}") - file(GLOB files "${debug_config}/*") - file(COPY ${files} DESTINATION "${debug_share}") - file(REMOVE_RECURSE "${debug_config}") - endif() - - file(GLOB files "${release_config}/*") - file(COPY ${files} DESTINATION "${release_share}") - file(REMOVE_RECURSE "${release_config}") - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - get_filename_component(debug_config_dir_name "${debug_config}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config}") - else() - get_filename_component(debug_config_parent_dir "${debug_config}" DIRECTORY) - get_filename_component(debug_config_dir_name "${debug_config_parent_dir}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config_parent_dir}") - endif() - endif() - endif() - - get_filename_component(release_config_dir_name "${release_config}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config}") - else() - get_filename_component(release_config_parent_dir "${release_config}" DIRECTORY) - get_filename_component(release_config_dir_name "${release_config_parent_dir}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config_parent_dir}") - endif() - endif() - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_share}") - message(FATAL_ERROR "'${debug_share}' does not exist.") - endif() - endif() - - file(GLOB_RECURSE release_targets - "${release_share}/*-release.cmake" - ) - foreach(release_target IN LISTS release_targets) - file(READ "${release_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \"]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - file(WRITE "${release_target}" "${contents}") - endforeach() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(GLOB_RECURSE debug_targets - "${debug_share}/*-debug.cmake" - ) - foreach(debug_target IN LISTS debug_targets) - file(RELATIVE_PATH debug_target_rel "${debug_share}" "${debug_target}") - - file(READ "${debug_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \";]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/lib" "\${_IMPORT_PREFIX}/debug/lib" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/bin" "\${_IMPORT_PREFIX}/debug/bin" contents "${contents}") - file(WRITE "${release_share}/${debug_target_rel}" "${contents}") - - file(REMOVE "${debug_target}") - endforeach() - endif() - - #Fix ${_IMPORT_PREFIX} and absolute paths in cmake generated targets and configs; - #Since those can be renamed we have to check in every *.cmake, but only once. - file(GLOB_RECURSE main_cmakes "${release_share}/*.cmake") - if(NOT DEFINED Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(SET Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - endif() - foreach(already_fixed_up IN LISTS Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(REMOVE_ITEM main_cmakes "${already_fixed_up}") - endforeach() - vcpkg_list(APPEND Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP ${main_cmakes}) - set(Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP "${Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP}" CACHE INTERNAL "") - - foreach(main_cmake IN LISTS main_cmakes) - file(READ "${main_cmake}" contents) - # Note: I think the following comment is no longer true, since we now require the path to be `share/blah` - # however, I don't know it for sure. - # - nimazzuc - - #This correction is not correct for all cases. To make it correct for all cases it needs to consider - #original folder deepness to CURRENT_PACKAGES_DIR in comparison to the moved to folder deepness which - #is always at least (>=) 2, e.g. share/${PORT}. Currently the code assumes it is always 2 although - #this requirement is only true for the *Config.cmake. The targets are not required to be in the same - #folder as the *Config.cmake! - if(NOT arg_NO_PREFIX_CORRECTION) - string(REGEX REPLACE -[[get_filename_component\(_IMPORT_PREFIX "\${CMAKE_CURRENT_LIST_FILE}" PATH\)( -get_filename_component\(_IMPORT_PREFIX "\${_IMPORT_PREFIX}" PATH\))*]] -[[get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)]] - contents "${contents}") # see #1044 for details why this replacement is necessary. See #4782 why it must be a regex. - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\./(\.\./)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\.((\\|/)\.\.)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") # This is a meson-related workaround, see https://github.com/mesonbuild/meson/issues/6955 - endif() - - # Merge release and debug configurations of target property INTERFACE_LINK_LIBRARIES. - string(REPLACE "${release_share}/" "${debug_share}/" debug_cmake "${main_cmake}") - if(DEFINED VCPKG_BUILD_TYPE) - # Skip. Warning: A release-only port in a dual-config installation - # may pull release dependencies into the debug configuration. - elseif(NOT contents MATCHES "INTERFACE_LINK_LIBRARIES") - # Skip. No relevant properties. - elseif(NOT contents MATCHES "# Generated CMake target import file\\.") - # Skip. No safe assumptions about a matching debug import file. - elseif(NOT EXISTS "${debug_cmake}") - message(SEND_ERROR "Did not find a debug import file matching '${main_cmake}'") - else() - file(READ "${debug_cmake}" debug_contents) - while(contents MATCHES "set_target_properties\\(([^ \$]*) PROPERTIES[^)]*\\)") - set(matched_command "${CMAKE_MATCH_0}") - string(REPLACE "+" "\\+" target "${CMAKE_MATCH_1}") - if(NOT debug_contents MATCHES "set_target_properties\\(${target} PROPERTIES[^)]*\\)") - message(SEND_ERROR "Did not find a debug configuration for target '${target}'.") - endif() - set(debug_command "${CMAKE_MATCH_0}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" release_line "${matched_command}") - set(release_libs "${CMAKE_MATCH_1}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" debug_line "${debug_command}") - set(debug_libs "${CMAKE_MATCH_1}") - z_vcpkg_cmake_config_fixup_merge(merged_libs release_libs debug_libs) - string(REPLACE "${release_line}" " INTERFACE_LINK_LIBRARIES \"${merged_libs}\"" updated_command "${matched_command}") - string(REPLACE "set_target_properties" "set_target_properties::done" updated_command "${updated_command}") # Prevend 2nd match - string(REPLACE "${matched_command}" "${updated_command}" contents "${contents}") - endwhile() - string(REPLACE "set_target_properties::done" "set_target_properties" contents "${contents}") # Restore original command - endif() - - #Fix absolute paths to installed dir with ones relative to ${CMAKE_CURRENT_LIST_DIR} - #This happens if vcpkg built libraries are directly linked to a target instead of using - #an imported target. - string(REPLACE "${CURRENT_INSTALLED_DIR}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}" cmake_current_packages_dir) - string(REPLACE "${cmake_current_packages_dir}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - # If ${VCPKG_IMPORT_PREFIX} was actually used, inject a definition of it: - string(FIND "${contents}" [[${VCPKG_IMPORT_PREFIX}]] index) - if (NOT index STREQUAL "-1") - get_filename_component(main_cmake_dir "${main_cmake}" DIRECTORY) - # Calculate relative to be a sequence of "../" - file(RELATIVE_PATH relative "${main_cmake_dir}" "${cmake_current_packages_dir}") - string(PREPEND contents "get_filename_component(VCPKG_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_DIR}\/${relative}\" ABSOLUTE)\n") - endif() - - file(WRITE "${main_cmake}" "${contents}") - endforeach() - - file(GLOB_RECURSE unused_files - "${debug_share}/*[Tt]argets.cmake" - "${debug_share}/*[Cc]onfig.cmake" - "${debug_share}/*[Cc]onfigVersion.cmake" - "${debug_share}/*[Cc]onfig-version.cmake" - ) - foreach(unused_file IN LISTS unused_files) - file(REMOVE "${unused_file}") - endforeach() - - # Remove /debug// if it's empty. - file(GLOB_RECURSE remaining_files "${debug_share}/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${debug_share}") - endif() - - # Remove /debug/share/ if it's empty. - file(GLOB_RECURSE remaining_files "${CURRENT_PACKAGES_DIR}/debug/share/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") - endif() -endfunction() - -# Merges link interface library lists for release and debug -# into a single expression which use generator expression as necessary. -function(z_vcpkg_cmake_config_fixup_merge out_var release_var debug_var) - set(release_libs "VCPKG;${${release_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";\\1" release_libs "${release_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";" release_libs "${release_libs}") - list(REMOVE_AT release_libs 0) - list(FILTER release_libs EXCLUDE REGEX [[^\\[$]<\\[$]:]]) - list(TRANSFORM release_libs REPLACE [[^\\[$]<\\[$]>:(.*)>$]] "\\1") - - set(debug_libs "VCPKG;${${debug_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";" debug_libs "${debug_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";\\1" debug_libs "${debug_libs}") - list(REMOVE_AT debug_libs 0) - list(FILTER debug_libs EXCLUDE REGEX [[^\\[$]<\\[$]>:]]) - list(TRANSFORM debug_libs REPLACE [[^\\[$]<\\[$]:(.*)>$]] "\\1") - - set(merged_libs "") - foreach(release_lib debug_lib IN ZIP_LISTS release_libs debug_libs) - if(release_lib STREQUAL debug_lib) - list(APPEND merged_libs "${release_lib}") - else() - if(release_lib) - list(APPEND merged_libs "\\\$<\\\$>:${release_lib}>") - endif() - if(debug_lib) - list(APPEND merged_libs "\\\$<\\\$:${debug_lib}>") - endif() - endif() - endforeach() - set("${out_var}" "${merged_libs}" PARENT_SCOPE) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/BUILD_INFO b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/BUILD_INFO deleted file mode 100644 index 12b86cd0f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/BUILD_INFO +++ /dev/null @@ -1,3 +0,0 @@ -CRTLinkage: dynamic -LibraryLinkage: dynamic -PolicyCmakeHelperPort: enabled diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL deleted file mode 100644 index f66e8764d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ /dev/null @@ -1,5 +0,0 @@ -Package: vcpkg-cmake -Version: 2024-04-18 -Architecture: x64-windows -Multi-Arch: same -Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright deleted file mode 100644 index 4d23e0e39..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) Microsoft Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake deleted file mode 100644 index f2a973d4e..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake +++ /dev/null @@ -1,3 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_configure.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_build.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_install.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json deleted file mode 100644 index 3b590911c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:58Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-5" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-5", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake", - "SPDXID": "SPDXRef-port", - "versionInfo": "2024-04-18", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", - "SPDXID": "SPDXRef-file-5", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt deleted file mode 100644 index 410aff1d5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 -vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 -vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe -vcpkg_cmake_build.cmake 6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1 -vcpkg_cmake_configure.cmake f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e -vcpkg_cmake_install.cmake 3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369 -vcpkg_configure_cmake 9dfd362bd20613eaa83af55eb0f98c8cb50fd4826a65da74a0f1641da73497c2 -vcpkg_execute_build_process 4976d00fc7d25ad07984f282490121a09aa44a49c5dae627ca68355affd929d0 -vcpkg_execute_required_process 0c6f52ca848715efd88acfec9bdb2ed3b5f38a650baa6a614bf23ccc3eec150a -vcpkg_find_acquire_program 96d9ee675798a3bddb54340d404b814be45a35c624b2eab5465cd45eaf18b6d3 -vcpkg_find_acquire_program(NINJA) 8692aff2f893a8afcabbb4395a8b91ad4f6dd228f410fa4fd050d99c2ec0f52c -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake deleted file mode 100644 index 47933b3fe..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake +++ /dev/null @@ -1,91 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_build) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "TARGET;LOGFILE_BASE" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_build was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "build") - endif() - vcpkg_list(SET build_param) - vcpkg_list(SET parallel_param) - vcpkg_list(SET no_parallel_param) - - if("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "Ninja") - vcpkg_list(SET build_param "-v") # verbose output - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "-j1") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" MATCHES "^Visual Studio") - vcpkg_list(SET build_param - "/p:VCPkgLocalAppDataDisabled=true" - "/p:UseIntelMKL=No" - ) - vcpkg_list(SET parallel_param "/m") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "NMake Makefiles") - # No options are currently added for nmake builds - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Unix Makefiles") - vcpkg_list(SET build_param "VERBOSE=1") - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "") - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Xcode") - vcpkg_list(SET parallel_param -jobs "${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param -jobs 1) - else() - message(WARNING "Unrecognized GENERATOR setting from vcpkg_cmake_configure().") - endif() - - vcpkg_list(SET target_param) - if(arg_TARGET) - vcpkg_list(SET target_param "--target" "${arg_TARGET}") - endif() - - foreach(build_type IN ITEMS debug release) - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "${build_type}") - if("${build_type}" STREQUAL "debug") - set(short_build_type "dbg") - set(config "Debug") - else() - set(short_build_type "rel") - set(config "Release") - endif() - - message(STATUS "Building ${TARGET_TRIPLET}-${short_build_type}") - - if(arg_ADD_BIN_TO_PATH) - vcpkg_backup_env_variables(VARS PATH) - if("${build_type}" STREQUAL "debug") - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/debug/bin") - else() - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/bin") - endif() - endif() - - if(arg_DISABLE_PARALLEL) - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - else() - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${parallel_param} - NO_PARALLEL_COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - endif() - - if(arg_ADD_BIN_TO_PATH) - vcpkg_restore_env_variables(VARS PATH) - endif() - endif() - endforeach() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake deleted file mode 100644 index c8415c712..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake +++ /dev/null @@ -1,336 +0,0 @@ -include_guard(GLOBAL) - -macro(z_vcpkg_cmake_configure_both_set_or_unset var1 var2) - if(DEFINED ${var1} AND NOT DEFINED ${var2}) - message(FATAL_ERROR "If ${var1} is set, then ${var2} must be set.") - elseif(NOT DEFINED ${var1} AND DEFINED ${var2}) - message(FATAL_ERROR "If ${var2} is set, then ${var1} must be set.") - endif() -endmacro() - -function(vcpkg_cmake_configure) - cmake_parse_arguments(PARSE_ARGV 0 "arg" - "PREFER_NINJA;DISABLE_PARALLEL_CONFIGURE;WINDOWS_USE_MSBUILD;NO_CHARSET_FLAG;Z_CMAKE_GET_VARS_USAGE" - "SOURCE_PATH;GENERATOR;LOGFILE_BASE" - "OPTIONS;OPTIONS_DEBUG;OPTIONS_RELEASE;MAYBE_UNUSED_VARIABLES" - ) - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE AND DEFINED CACHE{Z_VCPKG_CMAKE_GENERATOR}) - message(WARNING "${CMAKE_CURRENT_FUNCTION} already called; this function should only be called once.") - endif() - if(arg_PREFER_NINJA) - message(WARNING "PREFER_NINJA has been deprecated in ${CMAKE_CURRENT_FUNCTION}. Please remove it from the portfile!") - endif() - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "${CMAKE_CURRENT_FUNCTION} was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - if(NOT DEFINED arg_SOURCE_PATH) - message(FATAL_ERROR "SOURCE_PATH must be set") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "config-${TARGET_TRIPLET}") - endif() - - set(invalid_maybe_unused_vars "${arg_MAYBE_UNUSED_VARIABLES}") - list(FILTER invalid_maybe_unused_vars INCLUDE REGEX "^-D") - if(NOT invalid_maybe_unused_vars STREQUAL "") - list(JOIN invalid_maybe_unused_vars " " bad_items) - message(${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL} - "Option MAYBE_UNUSED_VARIABLES must be used with variables names. " - "The following items are invalid: ${bad_items}") - endif() - - set(manually_specified_variables "") - - if(arg_Z_CMAKE_GET_VARS_USAGE) - set(configuring_message "Getting CMake variables for ${TARGET_TRIPLET}") - else() - set(configuring_message "Configuring ${TARGET_TRIPLET}") - - foreach(option IN LISTS arg_OPTIONS arg_OPTIONS_RELEASE arg_OPTIONS_DEBUG) - if("${option}" MATCHES "^-D([^:=]*)[:=]") - vcpkg_list(APPEND manually_specified_variables "${CMAKE_MATCH_1}") - endif() - endforeach() - vcpkg_list(REMOVE_DUPLICATES manually_specified_variables) - foreach(maybe_unused_var IN LISTS arg_MAYBE_UNUSED_VARIABLES) - vcpkg_list(REMOVE_ITEM manually_specified_variables "${maybe_unused_var}") - endforeach() - debug_message("manually specified variables: ${manually_specified_variables}") - endif() - - if(CMAKE_HOST_WIN32) - if(DEFINED ENV{PROCESSOR_ARCHITEW6432}) - set(host_architecture "$ENV{PROCESSOR_ARCHITEW6432}") - else() - set(host_architecture "$ENV{PROCESSOR_ARCHITECTURE}") - endif() - endif() - - set(ninja_host ON) # Ninja availability - if(host_architecture STREQUAL "x86" OR DEFINED ENV{VCPKG_FORCE_SYSTEM_BINARIES}) - # Prebuilt ninja binaries are only provided for x64 hosts - find_program(NINJA NAMES ninja ninja-build) - if(NOT NINJA) - set(ninja_host OFF) - set(arg_DISABLE_PARALLEL_CONFIGURE ON) - set(arg_WINDOWS_USE_MSBUILD ON) - endif() - endif() - - set(generator "") - set(architecture_options "") - if(arg_WINDOWS_USE_MSBUILD AND VCPKG_HOST_IS_WINDOWS AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) - z_vcpkg_get_visual_studio_generator(OUT_GENERATOR generator OUT_ARCH arch) - vcpkg_list(APPEND architecture_options "-A${arch}") - if(DEFINED VCPKG_PLATFORM_TOOLSET) - vcpkg_list(APPEND arg_OPTIONS "-T${VCPKG_PLATFORM_TOOLSET}") - endif() - if(NOT generator) - message(FATAL_ERROR "Unable to determine appropriate Visual Studio generator for triplet ${TARGET_TRIPLET}: - ENV{VisualStudioVersion} : $ENV{VisualStudioVersion} - VCPKG_TARGET_ARCHITECTURE: ${VCPKG_TARGET_ARCHITECTURE}") - endif() - elseif(DEFINED arg_GENERATOR) - set(generator "${arg_GENERATOR}") - elseif(ninja_host) - set(generator "Ninja") - elseif(NOT VCPKG_HOST_IS_WINDOWS) - set(generator "Unix Makefiles") - endif() - - if(NOT generator) - if(NOT VCPKG_CMAKE_SYSTEM_NAME) - set(VCPKG_CMAKE_SYSTEM_NAME "Windows") - endif() - message(FATAL_ERROR "Unable to determine appropriate generator for: " - "${VCPKG_CMAKE_SYSTEM_NAME}-${VCPKG_TARGET_ARCHITECTURE}-${VCPKG_PLATFORM_TOOLSET}") - endif() - - if(generator STREQUAL "Ninja") - vcpkg_find_acquire_program(NINJA) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_MAKE_PROGRAM=${NINJA}") - # If we use Ninja, it must be on PATH for CMake's ExternalProject, - # cf. https://gitlab.kitware.com/cmake/cmake/-/issues/23355. - get_filename_component(ninja_path "${NINJA}" DIRECTORY) - vcpkg_add_to_path("${ninja_path}") - endif() - - set(build_dir_release "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel") - set(build_dir_debug "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg") - file(REMOVE_RECURSE - "${build_dir_release}" - "${build_dir_debug}") - file(MAKE_DIRECTORY "${build_dir_release}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(MAKE_DIRECTORY "${build_dir_debug}") - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_NAME) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_NAME=${VCPKG_CMAKE_SYSTEM_NAME}") - if(VCPKG_TARGET_IS_UWP AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 10.0) - elseif(VCPKG_TARGET_IS_ANDROID AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 21) - endif() - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_VERSION=${VCPKG_CMAKE_SYSTEM_VERSION}") - endif() - - if(DEFINED VCPKG_XBOX_CONSOLE_TARGET) - vcpkg_list(APPEND arg_OPTIONS "-DXBOX_CONSOLE_TARGET=${VCPKG_XBOX_CONSOLE_TARGET}") - endif() - - if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=ON") - elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=OFF") - else() - message(FATAL_ERROR - "Invalid setting for VCPKG_LIBRARY_LINKAGE: \"${VCPKG_LIBRARY_LINKAGE}\". " - "It must be \"static\" or \"dynamic\"") - endif() - - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_DEBUG VCPKG_C_FLAGS_DEBUG) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_RELEASE VCPKG_C_FLAGS_RELEASE) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS VCPKG_C_FLAGS) - - set(VCPKG_SET_CHARSET_FLAG ON) - if(arg_NO_CHARSET_FLAG) - set(VCPKG_SET_CHARSET_FLAG OFF) - endif() - - if(NOT DEFINED VCPKG_CHAINLOAD_TOOLCHAIN_FILE) - z_vcpkg_select_default_vcpkg_chainload_toolchain() - endif() - - list(JOIN VCPKG_TARGET_ARCHITECTURE "\;" target_architecture_string) - vcpkg_list(APPEND arg_OPTIONS - "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" - "-DVCPKG_TARGET_TRIPLET=${TARGET_TRIPLET}" - "-DVCPKG_SET_CHARSET_FLAG=${VCPKG_SET_CHARSET_FLAG}" - "-DVCPKG_PLATFORM_TOOLSET=${VCPKG_PLATFORM_TOOLSET}" - "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" - "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" - "-DCMAKE_VERBOSE_MAKEFILE=ON" - "-DVCPKG_APPLOCAL_DEPS=OFF" - "-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS}/buildsystems/vcpkg.cmake" - "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" - "-DVCPKG_CXX_FLAGS=${VCPKG_CXX_FLAGS}" - "-DVCPKG_CXX_FLAGS_RELEASE=${VCPKG_CXX_FLAGS_RELEASE}" - "-DVCPKG_CXX_FLAGS_DEBUG=${VCPKG_CXX_FLAGS_DEBUG}" - "-DVCPKG_C_FLAGS=${VCPKG_C_FLAGS}" - "-DVCPKG_C_FLAGS_RELEASE=${VCPKG_C_FLAGS_RELEASE}" - "-DVCPKG_C_FLAGS_DEBUG=${VCPKG_C_FLAGS_DEBUG}" - "-DVCPKG_CRT_LINKAGE=${VCPKG_CRT_LINKAGE}" - "-DVCPKG_LINKER_FLAGS=${VCPKG_LINKER_FLAGS}" - "-DVCPKG_LINKER_FLAGS_RELEASE=${VCPKG_LINKER_FLAGS_RELEASE}" - "-DVCPKG_LINKER_FLAGS_DEBUG=${VCPKG_LINKER_FLAGS_DEBUG}" - "-DVCPKG_TARGET_ARCHITECTURE=${target_architecture_string}" - "-DCMAKE_INSTALL_LIBDIR:STRING=lib" - "-DCMAKE_INSTALL_BINDIR:STRING=bin" - "-D_VCPKG_ROOT_DIR=${VCPKG_ROOT_DIR}" - "-D_VCPKG_INSTALLED_DIR=${_VCPKG_INSTALLED_DIR}" - "-DVCPKG_MANIFEST_INSTALL=OFF" - ) - - # Sets configuration variables for macOS builds - foreach(config_var IN ITEMS INSTALL_NAME_DIR OSX_DEPLOYMENT_TARGET OSX_SYSROOT OSX_ARCHITECTURES) - if(DEFINED VCPKG_${config_var}) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_${config_var}=${VCPKG_${config_var}}") - endif() - endforeach() - - vcpkg_list(PREPEND arg_OPTIONS "-DFETCHCONTENT_FULLY_DISCONNECTED=ON") - - # Allow overrides / additional configuration variables from triplets - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS) - vcpkg_list(APPEND arg_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE) - vcpkg_list(APPEND arg_OPTIONS_RELEASE ${VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG) - vcpkg_list(APPEND arg_OPTIONS_DEBUG ${VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG}) - endif() - - vcpkg_list(SET rel_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}" - ${arg_OPTIONS} ${arg_OPTIONS_RELEASE}) - vcpkg_list(SET dbg_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Debug" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}/debug" - ${arg_OPTIONS} ${arg_OPTIONS_DEBUG}) - - if(NOT arg_DISABLE_PARALLEL_CONFIGURE) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_DISABLE_SOURCE_CHANGES=ON") - - vcpkg_find_acquire_program(NINJA) - - #parallelize the configure step - set(ninja_configure_contents - "rule CreateProcess\n command = \$process\n\n" - ) - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents ".." "rel") - endif() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents "../../${TARGET_TRIPLET}-dbg" "dbg") - endif() - - file(MAKE_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure") - file(WRITE - "${build_dir_release}/vcpkg-parallel-configure/build.ninja" - "${ninja_configure_contents}") - - message(STATUS "${configuring_message}") - vcpkg_execute_required_process( - COMMAND "${NINJA}" -v - WORKING_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure" - LOGNAME "${arg_LOGFILE_BASE}" - SAVE_LOG_FILES - "../../${TARGET_TRIPLET}-dbg/CMakeCache.txt" ALIAS "dbg-CMakeCache.txt.log" - "../CMakeCache.txt" ALIAS "rel-CMakeCache.txt.log" - ) - - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-err.log") - else() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - message(STATUS "${configuring_message}-dbg") - vcpkg_execute_required_process( - COMMAND ${dbg_command} - WORKING_DIRECTORY "${build_dir_debug}" - LOGNAME "${arg_LOGFILE_BASE}-dbg" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-err.log") - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - message(STATUS "${configuring_message}-rel") - vcpkg_execute_required_process( - COMMAND ${rel_command} - WORKING_DIRECTORY "${build_dir_release}" - LOGNAME "${arg_LOGFILE_BASE}-rel" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-err.log") - endif() - endif() - - set(all_unused_variables) - foreach(config_log IN LISTS config_logs) - if(NOT EXISTS "${config_log}") - continue() - endif() - file(READ "${config_log}" log_contents) - debug_message("Reading configure log ${config_log}...") - if(NOT log_contents MATCHES "Manually-specified variables were not used by the project:\n\n(( [^\n]*\n)*)") - continue() - endif() - string(STRIP "${CMAKE_MATCH_1}" unused_variables) # remove leading ` ` and trailing `\n` - string(REPLACE "\n " ";" unused_variables "${unused_variables}") - debug_message("unused variables: ${unused_variables}") - foreach(unused_variable IN LISTS unused_variables) - if(unused_variable IN_LIST manually_specified_variables) - debug_message("manually specified unused variable: ${unused_variable}") - vcpkg_list(APPEND all_unused_variables "${unused_variable}") - else() - debug_message("unused variable (not manually specified): ${unused_variable}") - endif() - endforeach() - endforeach() - - if(DEFINED all_unused_variables) - vcpkg_list(REMOVE_DUPLICATES all_unused_variables) - vcpkg_list(JOIN all_unused_variables "\n " all_unused_variables) - message(WARNING "The following variables are not used in CMakeLists.txt: - ${all_unused_variables} -Please recheck them and remove the unnecessary options from the `vcpkg_cmake_configure` call. -If these options should still be passed for whatever reason, please use the `MAYBE_UNUSED_VARIABLES` argument.") - endif() - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE) - set(Z_VCPKG_CMAKE_GENERATOR "${generator}" CACHE INTERNAL "The generator which was used to configure CMake.") - endif() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake deleted file mode 100644 index 2bd8b4ea7..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake +++ /dev/null @@ -1,21 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_install) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "" "") - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_install was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - set(args) - foreach(arg IN ITEMS DISABLE_PARALLEL ADD_BIN_TO_PATH) - if(arg_${arg}) - list(APPEND args "${arg}") - endif() - endforeach() - - vcpkg_cmake_build( - ${args} - LOGFILE_BASE install - TARGET install - ) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 deleted file mode 100644 index 3305403dd..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000000 +++ /dev/null @@ -1,8 +0,0 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config -Architecture: x64-windows -Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 deleted file mode 100644 index cf5c9fa04..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000001 +++ /dev/null @@ -1,8 +0,0 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config -Architecture: x64-windows -Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok not-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 deleted file mode 100644 index 47264ad41..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000002 +++ /dev/null @@ -1,6 +0,0 @@ -Package: vcpkg-cmake -Version: 2023-05-04 -Architecture: x64-windows -Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 deleted file mode 100644 index 068463e0b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000003 +++ /dev/null @@ -1,6 +0,0 @@ -Package: vcpkg-cmake -Version: 2023-05-04 -Architecture: x64-windows -Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok not-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 deleted file mode 100644 index 7d4d2310d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000004 +++ /dev/null @@ -1,7 +0,0 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 -Architecture: x64-windows -Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok half-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 deleted file mode 100644 index 0bb5040a6..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/updates/0000000005 +++ /dev/null @@ -1,7 +0,0 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 -Architecture: x64-windows -Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok not-installed diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json deleted file mode 100644 index f65eb46bd..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" - } -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/bytestreamToUMP.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/bytestreamToUMP.h deleted file mode 100644 index a7ebcff5d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/bytestreamToUMP.h +++ /dev/null @@ -1,72 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef BSUMP_H -#define BSUMP_H - -#define BSTOUMP_BUFFER 4 - - -#include - -class bytestreamToUMP{ - - private: - uint8_t d0; - uint8_t d1; - - uint8_t sysex7State = 0; - uint8_t sysex7Pos = 0; - - uint8_t sysex[6] = {0,0,0,0,0,0}; - uint32_t umpMess[BSTOUMP_BUFFER] = {0,0,0,0}; - - //Channel Based Data - uint8_t bankMSB[16]; - uint8_t bankLSB[16]; - bool rpnMode[16]; - uint8_t rpnMsbValue[16]; - uint8_t rpnMsb[16]; - uint8_t rpnLsb[16]; - - void bsToUMP(uint8_t b0, uint8_t b1, uint8_t b2); - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - - public: - uint8_t defaultGroup = 0; - bool outputMIDI2 = false; - - bytestreamToUMP(); - - bool availableUMP(); - - uint32_t readUMP(); - - void bytestreamParse(uint8_t midi1Byte); - - -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/mcoded7.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/mcoded7.h deleted file mode 100644 index 6d72a090f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/mcoded7.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MC7_H -#define MC7_H - -#include - -class mcoded7Decode{ - private: - uint8_t dumpPos=255; - uint8_t fBit=0; - uint8_t cnt=0; - uint8_t bits=0; - public: - uint8_t dump[7]; - uint16_t currentPos(); - void reset(); - void parseS7Byte(uint8_t s7Byte); -}; - - -class mcoded7Encode{ - - private: - uint16_t dumpPos = 1; - uint8_t cnt = 6; - public: - uint8_t dump[8]; - uint16_t currentPos(); - void reset(); - void parseByte(uint8_t s8Byte); -}; - -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/midiCIMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/midiCIMessageCreate.h deleted file mode 100644 index 922c91aac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/midiCIMessageCreate.h +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIMESSAGECREATE_H -#define MIDI2CPP_MIDICIMESSAGECREATE_H -#include "utils.h" -#include -#include - -namespace CIMessage { - - uint16_t sendDiscoveryRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId - ); - - uint16_t sendDiscoveryReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - std::array manuId, std::array familyId, - std::array modelId, std::array version, - uint8_t ciSupport, uint32_t sysExMax, - uint8_t outputPathId, - uint8_t fbIdx - ); - - uint16_t - sendEndpointInfoRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status); - - uint16_t - sendEndpointInfoReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t status, - uint16_t infoLength, uint8_t *infoData); - - uint16_t sendACK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendNAK(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t originalSubId, - uint8_t statusCode, - uint8_t statusData, uint8_t *ackNakDetails, uint16_t messageLength, - uint8_t *ackNakMessage); - - uint16_t sendInvalidateMUID(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t terminateMuid); - -//Profile Negotiation CI 1.1 - uint16_t sendProtocolNegotiation(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols, - uint8_t *currentProtocol); - - uint16_t sendProtocolNegotiationReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t numProtocols, uint8_t *protocols); - - uint16_t sendSetProtocol(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel, uint8_t *protocol); - - uint16_t sendProtocolTest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - uint16_t sendProtocolTestResponder(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t authorityLevel); - - - uint16_t - sendProfileListRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - uint16_t - sendProfileListResponse(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t profilesEnabledLen, uint8_t *profilesEnabled, uint8_t profilesDisabledLen, - uint8_t *profilesDisabled); - - uint16_t sendProfileAdd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileRemove(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t sendProfileOn(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t sendProfileOff(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile); - - uint16_t - sendProfileEnabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileDisabled(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t numberOfChannels); - - uint16_t - sendProfileSpecificData(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint16_t datalen, uint8_t *data); - - uint16_t sendProfileDetailsInquiry(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t destination, - std::array profile, uint8_t InquiryTarget); - - uint16_t - sendProfileDetailsReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - std::array profile, uint8_t InquiryTarget, uint16_t datalen, uint8_t *data); - - - uint16_t sendPECapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPECapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t numSimulRequests, uint8_t majVer, uint8_t minVer); - - uint16_t sendPEGet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESet(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESub(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPEGetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header, uint16_t numberOfChunks, uint16_t numberOfThisChunk, - uint16_t bodyLength, uint8_t *body); - - uint16_t sendPESubReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPENotify(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - uint16_t sendPESetReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t requestId, - uint16_t headerLen, uint8_t *header); - - - uint16_t sendPICapabilityRequest(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid); - - uint16_t sendPICapabilityReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, - uint8_t supportedFeatures); - - uint16_t sendPIMMReport(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t MDC, uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportReply(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination, - uint8_t systemBitmap, - uint8_t chanContBitmap, uint8_t chanNoteBitmap); - - uint16_t - sendPIMMReportEnd(uint8_t *sysex, uint8_t midiCIVer, uint32_t srcMUID, uint32_t destMuid, uint8_t destination); - - -} -#endif //MIDI2CPP_MIDICIMESSAGECREATE_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/midiCIProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/midiCIProcessor.h deleted file mode 100644 index 768e4fae8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/midiCIProcessor.h +++ /dev/null @@ -1,280 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2022 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MIDI2CPP_MIDICIPROCESSOR_H -#define MIDI2CPP_MIDICIPROCESSOR_H - -#include -#include -#include // this was missing and causing build errors -#include -#include - -#include "utils.h" - -typedef std::tuple reqId; //muid-requestId - -struct MIDICI{ - MIDICI() : umpGroup(255), deviceId(FUNCTION_BLOCK),ciType(255),ciVer(1), remoteMUID(0), localMUID(0), - _reqTupleSet(false), totalChunks(0), numChunk(0), partialChunkCount(0), requestId(255) {} - uint8_t umpGroup; - uint8_t deviceId; - uint8_t ciType; - uint8_t ciVer; - uint32_t remoteMUID; - uint32_t localMUID; - bool _reqTupleSet; - reqId _peReqIdx; - - uint8_t totalChunks; - uint8_t numChunk; - uint8_t partialChunkCount; - uint8_t requestId; -}; - - - - -class midiCIProcessor{ -private: - MIDICI midici; - uint8_t buffer[256]; - /* - * in Discovery this is [sysexID1,sysexID2,sysexID3,famId1,famid2,modelId1,modelId2,ver1,ver2,ver3,ver4,...product Id] - * in Profiles this is [pf1, pf1, pf3, pf4, pf5] - * in Protocols this is [pr1, pr2, pr3, pr4, pr5] - */ - - uint16_t intTemp[4]; - /* in Discovery this is [ciSupport, maxSysex, output path id] - * in Profile Inquiry Reply, this is [Enabled Profiles Length, Disabled Profile Length] - * in Profile On/Off/Enabled/Disabled, this is [numOfChannels] - * in PE this is [header length, Body Length] - */ - uint16_t sysexPos; - - //MIDI-CI callbacks - - // EB: update callbacks step1 - update pointer definitions to: - // std::function name = nullptr; - - std::function - checkMUID = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, - uint16_t maxSysex, uint8_t outputPathId)> recvDiscoveryRequest = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version, uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx)> recvDiscoveryReply = nullptr; - std::function recvEndPointInfo = nullptr; - std::function recvEndPointInfoReply = nullptr; - std::function recvNAK = nullptr; - std::function recvACK = nullptr; - std::function recvInvalidateMUID = nullptr; - std::function recvUnknownMIDICI = nullptr; - -//Protocol Negotiation - std::function recvProtocolAvailable = nullptr; - std::function recvSetProtocol = nullptr; - std::function recvSetProtocolConfirm = nullptr; - std::function recvProtocolTest = nullptr; - - void processProtocolSysex(uint8_t s7Byte); - -//Profiles - std::function recvProfileInquiry = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileEnabled = nullptr; - std::function)> recvSetProfileRemoved = nullptr; - std::function, uint8_t numberOfChannels)> recvSetProfileDisabled = nullptr; - std::function profile, uint8_t numberOfChannels)> recvSetProfileOn = nullptr; - std::function profile)> recvSetProfileOff = nullptr; - std::function profile, uint16_t datalen, uint8_t* data, - uint16_t part, bool lastByteOfSet)> recvProfileSpecificData = nullptr; - std::function profile, uint8_t InquiryTarget)> recvSetProfileDetailsInquiry = nullptr; - std::function profile, uint8_t InquiryTarget, - uint16_t datalen, uint8_t* data)> recvSetProfileDetailsReply = nullptr; - - void processProfileSysex(uint8_t s7Byte); - -//Property Exchange - std::map peHeaderStr; - - std::function recvPECapabilities = nullptr; - std::function recvPECapabilitiesReplies = nullptr; - std::function recvPEGetInquiry = nullptr; - std::function recvPESetReply = nullptr; - std::function recvPESubReply = nullptr; - std::function recvPENotify = nullptr; - std::function recvPEGetReply = nullptr; - std::function recvPESetInquiry = nullptr; - std::function recvPESubInquiry = nullptr; - - void cleanupRequest(reqId peReqIdx); - - void processPESysex(uint8_t s7Byte); - -//Process Inquiry - std::function recvPICapabilities = nullptr; - std::function recvPICapabilitiesReply = nullptr; - - std::function recvPIMMReport = nullptr; - std::function recvPIMMReportReply = nullptr; - std::function recvPIMMReportEnd = nullptr; - - void processPISysex(uint8_t s7Byte); - -public: - - // EB: update callbacks step2 - update setCallback functions: - // inline void setCallback(std::function fptr){ pointerName = fptr; } - // - // Calling these functions from within a member class looks like: - // MIDICIHandler->setCheckMUID(std::bind(&YourClass::checkMUID, this, std::placeholders::_1, std::placeholders::_2)); - - inline void setCheckMUID(std::function fptr){ - checkMUID = fptr; } - void endSysex7(); - void startSysex7(uint8_t group, uint8_t deviceId); - void processMIDICI(uint8_t s7Byte); - - - inline void setRecvDiscovery(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId - )> fptr) { - recvDiscoveryRequest = fptr;} - inline void setRecvDiscoveryReply(std::function manuId, - std::array familyId, - std::array modelId, - std::array version, - uint8_t ciSupport, uint16_t maxSysex, - uint8_t outputPathId, - uint8_t fbIdx - )> fptr) { - recvDiscoveryReply = fptr;} - inline void setRecvNAK(std::function fptr){ - recvNAK = fptr;} - inline void setRecvACK(std::function fptr){ - recvACK = fptr;} - inline void setRecvInvalidateMUID(std::function fptr){ - recvInvalidateMUID = fptr;} - inline void setRecvUnknownMIDICI(std::function fptr){ - recvUnknownMIDICI = fptr;} - - - inline void setRecvEndpointInfo(std::function fptr){ - recvEndPointInfo = fptr;} - inline void setRecvEndpointInfoReply(std::function fptr){ - recvEndPointInfoReply = fptr;} - - //Protocol Negotiation - inline void setRecvProtocolAvailable(std::function fptr){ - recvProtocolAvailable = fptr;} - inline void setRecvSetProtocol(std::function fptr){ - recvSetProtocol = fptr;} - inline void setRecvSetProtocolConfirm(std::function fptr){ - recvSetProtocolConfirm = fptr;} - inline void setRecvSetProtocolTest(std::function fptr){ - recvProtocolTest = fptr;} - - //Profiles - inline void setRecvProfileInquiry(std::function fptr){ recvProfileInquiry = fptr;} - inline void setRecvProfileEnabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileEnabled = fptr;} - inline void setRecvSetProfileRemoved(std::function)> fptr){ - recvSetProfileRemoved = fptr;} - inline void setRecvProfileDisabled(std::function, uint8_t numberOfChannels)> fptr){ - recvSetProfileDisabled = fptr;} - inline void setRecvProfileOn(std::function profile, uint8_t numberOfChannels)> fptr){ - recvSetProfileOn = fptr;} - inline void setRecvProfileOff(std::function profile)> fptr){ - recvSetProfileOff = fptr;} - inline void setRecvProfileSpecificData(std::function profile, uint16_t datalen, - uint8_t* data, uint16_t part, bool lastByteOfSet)> fptr){ - recvProfileSpecificData = fptr;} - inline void setRecvProfileDetailsInquiry(std::function profile, - uint8_t InquiryTarget)> fptr){ - recvSetProfileDetailsInquiry = fptr;} - inline void setRecvProfileDetailsReply(std::function profile, - uint8_t InquiryTarget, uint16_t datalen, uint8_t* data)> fptr){ - recvSetProfileDetailsReply = fptr;} - - //Property Exchange - inline void setPECapabilities(std::function fptr){ - recvPECapabilities = fptr;} - inline void setPECapabilitiesReply(std::function fptr){ - recvPECapabilitiesReplies = fptr;} - inline void setRecvPEGetInquiry(std::function fptr){ - recvPEGetInquiry = fptr;} - inline void setRecvPESetReply(std::function fptr){ - recvPESetReply = fptr;} - inline void setRecvPESubReply(std::function fptr){ - recvPESubReply = fptr;} - inline void setRecvPENotify(std::function fptr){ - recvPENotify = fptr;} - inline void setRecvPEGetReply(std::function fptr){ - recvPEGetReply = fptr;} - inline void setRecvPESetInquiry(std::function fptr){ - recvPESetInquiry = fptr;} - inline void setRecvPESubInquiry(std::function fptr){ - recvPESubInquiry = fptr;} - -//Process Inquiry - - inline void setRecvPICapabilities(std::function fptr){ - recvPICapabilities = fptr;} - inline void setRecvPICapabilitiesReply(std::function fptr){ - recvPICapabilitiesReply = fptr;} - inline void setRecvPIMMReport(std::function fptr){ - recvPIMMReport = fptr;} - inline void setRecvPIMMReportReply(std::function fptr){ - recvPIMMReportReply = fptr;} - inline void setRecvPIMMEnd(std::function fptr){ - recvPIMMReportEnd = fptr;} - -}; - -#endif //MIDI2CPP_MIDICIPROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpMessageCreate.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpMessageCreate.h deleted file mode 100644 index 4e4862a79..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpMessageCreate.h +++ /dev/null @@ -1,132 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef MESSAGE_CREATE_H -#define MESSAGE_CREATE_H -#include -#include - -namespace UMPMessage { - uint32_t mt0NOOP(); - - uint32_t mt0JRClock(uint16_t clockTime); - - uint32_t mt0JRTimeStamp(uint16_t timestamp); - - uint32_t mt0DeltaClockTick(uint16_t ticksPerQtrNote); - - uint32_t mt0DeltaTicksSinceLast(uint16_t noTicksSince); - - - uint32_t mt1MTC(uint8_t group, uint8_t timeCode); - - uint32_t mt1SPP(uint8_t group, uint16_t position); - - uint32_t mt1SongSelect(uint8_t group, uint8_t song); - - uint32_t mt1TuneRequest(uint8_t group); - - uint32_t mt1TimingClock(uint8_t group); - - uint32_t mt1SeqStart(uint8_t group); - - uint32_t mt1SeqCont(uint8_t group); - - uint32_t mt1SeqStop(uint8_t group); - - uint32_t mt1ActiveSense(uint8_t group); - - uint32_t mt1SystemReset(uint8_t group); - - - uint32_t mt2NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t velocity); - - uint32_t mt2PolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint8_t pressure); - - uint32_t mt2CC(uint8_t group, uint8_t channel, uint8_t index, uint8_t value); - - uint32_t mt2ProgramChange(uint8_t group, uint8_t channel, uint8_t program); - - uint32_t mt2ChannelPressure(uint8_t group, uint8_t channel, uint8_t pressure); - - uint32_t mt2PitchBend(uint8_t group, uint8_t channel, uint16_t value); - - std::array mt3Sysex7(uint8_t group, uint8_t status, uint8_t numBytes, std::array sx); - - - std::array mt4NoteOn(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4NoteOff(uint8_t group, uint8_t channel, uint8_t noteNumber, uint16_t velocity, - uint8_t attributeType, uint16_t attributeData); - - std::array mt4CPolyPressure(uint8_t group, uint8_t channel, uint8_t noteNumber, uint32_t pressure); - - std::array mt4PitchBend(uint8_t group, uint8_t channel, uint32_t pitch); - - std::array mt4CC(uint8_t group, uint8_t channel, uint8_t index, uint32_t value); - - std::array mt4RPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4NRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, uint32_t value); - - std::array mt4RelativeRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4RelativeNRPN(uint8_t group, uint8_t channel, uint8_t bank, uint8_t index, int32_t value); - - std::array mt4ChannelPressure(uint8_t group, uint8_t channel, uint32_t pressure); - - std::array mt4ProgramChange(uint8_t group, uint8_t channel, uint8_t program, bool bankValid, - uint8_t bank, uint8_t index); - - - std::array mtFMidiEndpoint(uint8_t filter); - - std::array mtFMidiEndpointInfoNotify(uint8_t numOfFuncBlock, bool m2, bool m1, bool rxjr, bool txjr); - - std::array - mtFMidiEndpointDeviceInfoNotify(std::array manuId, std::array familyId, - std::array modelId, std::array version); - - std::array - mtFMidiEndpointTextNotify(uint16_t replyType, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFFunctionBlock(uint8_t fbIdx, uint8_t filter); - - std::array - mtFFunctionBlockInfoNotify(uint8_t fbIdx, bool active, uint8_t direction, bool sender, bool recv, - uint8_t firstGroup, uint8_t groupLength, - uint8_t midiCISupport, uint8_t isMIDI1, uint8_t maxS8Streams); - - std::array mtFFunctionBlockNameNotify(uint8_t fbIdx, uint8_t offset, uint8_t *text, uint8_t textLen); - - std::array mtFStartOfSeq(); - - std::array mtFEndOfFile(); - - std::array mtFRequestProtocol(uint8_t protocol, bool jrrx, bool jrtx); - - std::array mtFNotifyProtocol(uint8_t protocol, bool jrrx, bool jrtx); - -} -#endif - diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpProcessor.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpProcessor.h deleted file mode 100644 index 0e81025fb..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpProcessor.h +++ /dev/null @@ -1,177 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ -#ifndef UMP_PROCESSOR_H -#define UMP_PROCESSOR_H - -#include -#include -#include - -#include "utils.h" - -struct umpCVM{ - umpCVM() : umpGroup(255), messageType(255), status(0),channel(255),note(255), value(0), index(0), bank(0), - flag1(false), flag2(false) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint8_t channel; - uint8_t note; - uint32_t value; - uint16_t index; - uint8_t bank; - bool flag1; - bool flag2; -}; - -struct umpGeneric{ - umpGeneric() : umpGroup(255), status(0), value(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t status; - uint16_t value; -}; - -struct umpData{ - umpData() : umpGroup(255), streamId(0), status(0), form(0) {} - uint8_t umpGroup; - uint8_t messageType; - uint8_t streamId; - uint8_t status; - uint8_t form; - uint8_t* data; - uint8_t dataLength; -}; - -class umpProcessor{ - - private: - - uint32_t umpMess[4]{}; - uint8_t messPos=0; - - // Message type 0x0 callbacks - std::function utilityMessage = nullptr; - - // MIDI 1 and 2 CVM callbacks - std::function channelVoiceMessage = nullptr; - - //System Messages callbacks - std::function systemMessage = nullptr; - - //Sysex - std::function sendOutSysex = nullptr; - - // Message Type 0xD callbacks - std::function flexTempo = nullptr; - std::function flexTimeSig = nullptr; - std::function flexMetronome = nullptr; - std::function flexKeySig = nullptr; - std::function flexChord = nullptr; - std::function flexPerformance = nullptr; - std::function flexLyric = nullptr; - - // Message Type 0xF callbacks - std::function midiEndpoint = nullptr; - std::function functionBlock = nullptr; - std::function - midiEndpointInfo = nullptr; - std::function manuId, std::array familyId, - std::array modelId, std::array version)> midiEndpointDeviceInfo = nullptr; - std::function midiEndpointName = nullptr; - std::function midiEndpointProdId = nullptr; - - std::function midiEndpointJRProtocolReq = nullptr; - std::function midiEndpointJRProtocolNotify = nullptr; - - std::function functionBlockInfo = nullptr; - std::function functionBlockName = nullptr; - std::function startOfSeq = nullptr; - std::function endOfFile = nullptr; - - //Handle new Messages - std::function unknownUMPMessage = nullptr; - - public: - - void clearUMP(); - void processUMP(uint32_t UMP); - - //-----------------------Handlers --------------------------- - inline void setUtility(std::function fptr){ utilityMessage = fptr; } - inline void setCVM(std::function fptr ){ channelVoiceMessage = fptr; } - inline void setSystem(std::function fptr) { systemMessage = fptr; } - inline void setSysEx(std::function fptr ){sendOutSysex = fptr; } - - //---------- Flex Data - inline void setFlexTempo(std::function fptr ){ flexTempo = fptr; } - inline void setFlexTimeSig(std::function fptr){ - flexTimeSig = fptr; } - inline void setFlexMetronome(std::function fptr){ flexMetronome = fptr; } - inline void setFlexKeySig(std::function fptr){ - flexKeySig = fptr; } - inline void setFlexChord(std::function fptr){ - flexChord = fptr; } - inline void setFlexPerformance(std::function fptr){ flexPerformance = fptr; } - inline void setFlexLyric(std::function fptr){ flexLyric = fptr; } - - //---------- UMP Stream - - inline void setMidiEndpoint(std::function fptr){ - midiEndpoint = fptr; } - inline void setMidiEndpointNameNotify(std::function fptr){ - midiEndpointName = fptr; } - inline void setMidiEndpointProdIdNotify(std::function fptr){ - midiEndpointProdId = fptr; } - inline void setMidiEndpointInfoNotify(std::function fptr){ - midiEndpointInfo = fptr; } - inline void setMidiEndpointDeviceInfoNotify(std::function manuId, std::array familyId, - std::array modelId, std::array version)> fptr){ - midiEndpointDeviceInfo = fptr; } - inline void setJRProtocolRequest(std::function fptr){ midiEndpointJRProtocolReq = fptr;} - inline void setJRProtocolNotify(std::function fptr){ - midiEndpointJRProtocolNotify = fptr;} - - inline void setFunctionBlock(std::function fptr){ functionBlock = fptr; } - inline void setFunctionBlockNotify(std::function fptr){ - functionBlockInfo = fptr; } - inline void setFunctionBlockNameNotify(std::function fptr){functionBlockName = fptr; } - inline void setStartOfSeq(std::function fptr){startOfSeq = fptr; } - inline void setEndOfFile(std::function fptr){endOfFile = fptr; } - - //Unknown UMP - inline void setUnknownUMP(std::function fptr){unknownUMPMessage = fptr; } - -}; - -#endif //UMP_PROCESSOR_H diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpToBytestream.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpToBytestream.h deleted file mode 100644 index 4dc658a2b..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/umpToBytestream.h +++ /dev/null @@ -1,53 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UMPBS_H -#define UMPBS_H - - -#include - -#define UMPTOBS_BUFFER 12 - -class umpToBytestream{ - - private: - uint8_t mType; - uint32_t ump64word1; - - uint8_t UMPPos=0; - uint8_t bsOut[UMPTOBS_BUFFER]; - - void increaseWrite(); - - int readIndex = 0; - int writeIndex = 0; - int bufferLength = 0; - - public: - uint8_t group; - - umpToBytestream(); - bool availableBS(); - uint8_t readBS(); - void UMPStreamParse(uint32_t UMP); -}; - -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/utils.h b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/utils.h deleted file mode 100644 index f92125503..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/include/libmidi2/utils.h +++ /dev/null @@ -1,176 +0,0 @@ -/********************************************************** - * MIDI 2.0 Library - * Author: Andrew Mee - * - * MIT License - * Copyright 2021 Andrew Mee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * ********************************************************/ - -#ifndef UTILS_H -#define UTILS_H - -#include -#include - - -#define NOTE_OFF 0x80 -#define NOTE_ON 0x90 -#define KEY_PRESSURE 0xA0 -#define CC 0xB0 -#define RPN 0x20 -#define NRPN 0x30 -#define RPN_RELATIVE 0x40 -#define NRPN_RELATIVE 0x50 -#define PROGRAM_CHANGE 0xC0 -#define CHANNEL_PRESSURE 0xD0 -#define PITCH_BEND 0xE0 -#define PITCH_BEND_PERNOTE 0x60 -#define NRPN_PERNOTE 0x10 -#define RPN_PERNOTE 0x00 -#define PERNOTE_MANAGE 0xF0 - -#define SYSEX_START 0xF0 -#define TIMING_CODE 0xF1 -#define SPP 0xF2 -#define SONG_SELECT 0xF3 -#define TUNEREQUEST 0xF6 -#define SYSEX_STOP 0xF7 -#define TIMINGCLOCK 0xF8 -#define SEQSTART 0xFA -#define SEQCONT 0xFB -#define SEQSTOP 0xFC -#define ACTIVESENSE 0xFE -#define SYSTEMRESET 0xFF - -#define UTILITY_NOOP 0x0 -#define UTILITY_JRCLOCK 0x1 -#define UTILITY_JRTS 0x2 -#define UTILITY_DELTACLOCKTICK 0x3 -#define UTILITY_DELTACLOCKSINCE 0x4 - -#define FLEXDATA_COMMON 0x00 -#define FLEXDATA_COMMON_TEMPO 0x00 -#define FLEXDATA_COMMON_TIMESIG 0x01 -#define FLEXDATA_COMMON_METRONOME 0x02 -#define FLEXDATA_COMMON_KEYSIG 0x05 -#define FLEXDATA_COMMON_CHORD 0x06 -#define FLEXDATA_PERFORMANCE 0x01 -#define FLEXDATA_LYRIC 0x02 - -#define MIDIENDPOINT 0x000 -#define MIDIENDPOINT_INFO_NOTIFICATION 0x001 -#define MIDIENDPOINT_DEVICEINFO_NOTIFICATION 0x002 -#define MIDIENDPOINT_NAME_NOTIFICATION 0x003 -#define MIDIENDPOINT_PRODID_NOTIFICATION 0x004 -#define MIDIENDPOINT_PROTOCOL_REQUEST 0x005 -#define MIDIENDPOINT_PROTOCOL_NOTIFICATION 0x006 -#define STARTOFSEQ 0x020 -#define ENDOFFILE 0x021 - -#define FUNCTIONBLOCK 0x010 -#define FUNCTIONBLOCK_INFO_NOTFICATION 0x011 -#define FUNCTIONBLOCK_NAME_NOTIFICATION 0x012 - -#ifndef S7_BUFFERLEN -#define S7_BUFFERLEN 36 -#endif -#define S7UNIVERSAL_NRT 0x7E -#define S7UNIVERSAL_RT 0x7F -#define S7MIDICI 0x0D - -#define MIDICI_DISCOVERY 0x70 -#define MIDICI_DISCOVERYREPLY 0x71 -#define MIDICI_ENDPOINTINFO 0x72 -#define MIDICI_ENDPOINTINFO_REPLY 0x73 -#define MIDICI_INVALIDATEMUID 0x7E -#define MIDICI_ACK 0x7D -#define MIDICI_NAK 0x7F - -#define MIDICI_PROTOCOL_NEGOTIATION 0x10 -#define MIDICI_PROTOCOL_NEGOTIATION_REPLY 0x11 -#define MIDICI_PROTOCOL_SET 0x12 -#define MIDICI_PROTOCOL_TEST 0x13 -#define MIDICI_PROTOCOL_TEST_RESPONDER 0x14 -#define MIDICI_PROTOCOL_CONFIRM 0x15 - -#define MIDICI_PROFILE_INQUIRY 0x20 -#define MIDICI_PROFILE_INQUIRYREPLY 0x21 -#define MIDICI_PROFILE_SETON 0x22 -#define MIDICI_PROFILE_SETOFF 0x23 -#define MIDICI_PROFILE_ENABLED 0x24 -#define MIDICI_PROFILE_DISABLED 0x25 -#define MIDICI_PROFILE_ADD 0x26 -#define MIDICI_PROFILE_REMOVE 0x27 -#define MIDICI_PROFILE_DETAILS_INQUIRY 0x28 -#define MIDICI_PROFILE_DETAILS_REPLY 0x29 -#define MIDICI_PROFILE_SPECIFIC_DATA 0x2F - -#define MIDICI_PE_CAPABILITY 0x30 -#define MIDICI_PE_CAPABILITYREPLY 0x31 -#define MIDICI_PE_GET 0x34 -#define MIDICI_PE_GETREPLY 0x35 -#define MIDICI_PE_SET 0x36 -#define MIDICI_PE_SETREPLY 0x37 -#define MIDICI_PE_SUB 0x38 -#define MIDICI_PE_SUBREPLY 0x39 -#define MIDICI_PE_NOTIFY 0x3F - -#define MIDICI_PI_CAPABILITY 0x40 -#define MIDICI_PI_CAPABILITYREPLY 0x41 -#define MIDICI_PI_MM_REPORT 0x42 -#define MIDICI_PI_MM_REPORT_REPLY 0x43 -#define MIDICI_PI_MM_REPORT_END 0x44 - -#define MIDICI_PE_COMMAND_START 1 -#define MIDICI_PE_COMMAND_END 2 -#define MIDICI_PE_COMMAND_PARTIAL 3 -#define MIDICI_PE_COMMAND_FULL 4 -#define MIDICI_PE_COMMAND_NOTIFY 5 - -#define MIDICI_PE_ACTION_COPY 1 -#define MIDICI_PE_ACTION_MOVE 2 -#define MIDICI_PE_ACTION_DELETE 3 -#define MIDICI_PE_ACTION_CREATE_DIR 4 - -#define MIDICI_PE_ASCII 1 -#define MIDICI_PE_MCODED7 2 -#define MIDICI_PE_MCODED7ZLIB 3 - -#define FUNCTION_BLOCK 0x7F -#define M2_CI_BROADCAST 0xFFFFFFF - -#define UMP_VER_MAJOR 1 -#define UMP_VER_MINOR 1 - -#ifndef EXP_MIDICI_PE_EXPERIMENTAL_PATH -#define EXP_MIDICI_PE_EXPERIMENTAL_PATH 1 -#endif - -#define UMP_UTILITY 0x0 -#define UMP_SYSTEM 0x1 -#define UMP_M1CVM 0x2 -#define UMP_SYSEX7 0x3 -#define UMP_M2CVM 0x4 -#define UMP_DATA 0x5 -#define UMP_FLEX_DATA 0xD -#define UMP_MIDI_ENDPOINT 0xF - -namespace M2Utils { -uint32_t scaleUp(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -uint32_t scaleDown(uint32_t srcVal, uint8_t srcBits, uint8_t dstBits); - -} -#endif diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib deleted file mode 100644 index 1b3dee0e8..000000000 Binary files a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/lib/libmidi2.lib and /dev/null differ diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/copyright deleted file mode 100644 index 71e49ad38..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/copyright +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Andrew Mee - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config-debug.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config-debug.cmake deleted file mode 100644 index 6fe525151..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config-debug.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Debug". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Debug" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/debug/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config-release.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config-release.cmake deleted file mode 100644 index 5d995b0ed..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config-release.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#---------------------------------------------------------------- -# Generated CMake target import file for configuration "Release". -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Import target "libmidi2::libmidi2" for configuration "Release" -set_property(TARGET libmidi2::libmidi2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) -set_target_properties(libmidi2::libmidi2 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" - IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libmidi2.lib" - ) - -list(APPEND _cmake_import_check_targets libmidi2::libmidi2 ) -list(APPEND _cmake_import_check_files_for_libmidi2::libmidi2 "${_IMPORT_PREFIX}/lib/libmidi2.lib" ) - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config.cmake deleted file mode 100644 index 9a506956d..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/libmidi2-config.cmake +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by CMake - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) - message(FATAL_ERROR "CMake >= 2.8.0 required") -endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_cmake_targets_defined "") -set(_cmake_targets_not_defined "") -set(_cmake_expected_targets "") -foreach(_cmake_expected_target IN ITEMS libmidi2::libmidi2) - list(APPEND _cmake_expected_targets "${_cmake_expected_target}") - if(TARGET "${_cmake_expected_target}") - list(APPEND _cmake_targets_defined "${_cmake_expected_target}") - else() - list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") - endif() -endforeach() -unset(_cmake_expected_target) -if(_cmake_targets_defined STREQUAL _cmake_expected_targets) - unset(_cmake_targets_defined) - unset(_cmake_targets_not_defined) - unset(_cmake_expected_targets) - unset(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT _cmake_targets_defined STREQUAL "") - string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") - string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") -endif() -unset(_cmake_targets_defined) -unset(_cmake_targets_not_defined) -unset(_cmake_expected_targets) - - -# Compute the installation prefix relative to this file. -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -if(_IMPORT_PREFIX STREQUAL "/") - set(_IMPORT_PREFIX "") -endif() - -# Create imported target libmidi2::libmidi2 -add_library(libmidi2::libmidi2 STATIC IMPORTED) - -set_target_properties(libmidi2::libmidi2 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" -) - -# Load information for each installed configuration. -file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libmidi2-config-*.cmake") -foreach(_cmake_config_file IN LISTS _cmake_config_files) - include("${_cmake_config_file}") -endforeach() -unset(_cmake_config_file) -unset(_cmake_config_files) - -# Cleanup temporary variables. -set(_IMPORT_PREFIX) - -# Loop over all imported files and verify that they actually exist -foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file - \"${_cmake_file}\" -but this file does not exist. Possible reasons include: -* The file was deleted, renamed, or moved to another location. -* An install or uninstall procedure did not complete successfully. -* The installation package was faulty and contained - \"${CMAKE_CURRENT_LIST_FILE}\" -but not all the files it references. -") - endif() - endforeach() - unset(_cmake_file) - unset("_cmake_import_check_files_for_${_cmake_target}") -endforeach() -unset(_cmake_target) -unset(_cmake_import_check_targets) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json deleted file mode 100644 index da04a66a8..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg.spdx.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:34:03Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "libmidi2", - "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", - "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "description": "General purpose Midi 2 library for bytestream conversions and midi-ci", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "libmidi2:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - }, - { - "SPDXID": "SPDXRef-resource-1", - "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", - "licenseConcluded": "NOASSERTION", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "checksums": [ - { - "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" - } - ] - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt deleted file mode 100644 index 29347d5f0..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ /dev/null @@ -1,15 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 -vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 -vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 -vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f -vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/copyright deleted file mode 100644 index 2e4eac826..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) Microsoft Corporation - -All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake deleted file mode 100644 index 980d41131..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_config_fixup.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json deleted file mode 100644 index f754aa3ac..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:57Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake-config", - "SPDXID": "SPDXRef-port", - "versionInfo": "2022-02-06#1", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@8d54cc4f487d51b655abec5f9c9c3f86ca83311f", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake-config:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt deleted file mode 100644 index 69b9c738f..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ /dev/null @@ -1,13 +0,0 @@ -cmake 3.27.1 -copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 -features core -portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e -vcpkg.json 4ffbabc2feab69abd21267f57669ef5e404bcbfa5ab6d93234374d98f5ff1864 -vcpkg_cmake_config_fixup.cmake f92905382d90e37fa2addd96becce31f5075175196b117de6dd997a4ac1d6d06 -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake deleted file mode 100644 index 368e5809a..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake +++ /dev/null @@ -1,258 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_config_fixup) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DO_NOT_DELETE_PARENT_CONFIG_PATH;NO_PREFIX_CORRECTION" "PACKAGE_NAME;CONFIG_PATH;TOOLS_PATH" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_config_fixup was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT arg_PACKAGE_NAME) - set(arg_PACKAGE_NAME "${PORT}") - endif() - if(NOT arg_CONFIG_PATH) - set(arg_CONFIG_PATH "share/${arg_PACKAGE_NAME}") - endif() - if(NOT arg_TOOLS_PATH) - set(arg_TOOLS_PATH "tools/${PORT}") - endif() - set(target_path "share/${arg_PACKAGE_NAME}") - - string(REPLACE "." "\\." EXECUTABLE_SUFFIX "${VCPKG_TARGET_EXECUTABLE_SUFFIX}") - - set(debug_share "${CURRENT_PACKAGES_DIR}/debug/${target_path}") - set(release_share "${CURRENT_PACKAGES_DIR}/${target_path}") - - if(NOT arg_CONFIG_PATH STREQUAL "share/${arg_PACKAGE_NAME}") - if(arg_CONFIG_PATH STREQUAL "share") - set(arg_CONFIG_PATH z_vcpkg_share) - file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share" "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - file(RENAME "${CURRENT_PACKAGES_DIR}/share" "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - endif() - - set(debug_config "${CURRENT_PACKAGES_DIR}/debug/${arg_CONFIG_PATH}") - set(release_config "${CURRENT_PACKAGES_DIR}/${arg_CONFIG_PATH}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_config}") - message(FATAL_ERROR "'${debug_config}' does not exist.") - endif() - - # This roundabout handling enables CONFIG_PATH = share - file(MAKE_DIRECTORY "${debug_share}") - file(GLOB files "${debug_config}/*") - file(COPY ${files} DESTINATION "${debug_share}") - file(REMOVE_RECURSE "${debug_config}") - endif() - - file(GLOB files "${release_config}/*") - file(COPY ${files} DESTINATION "${release_share}") - file(REMOVE_RECURSE "${release_config}") - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - get_filename_component(debug_config_dir_name "${debug_config}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config}") - else() - get_filename_component(debug_config_parent_dir "${debug_config}" DIRECTORY) - get_filename_component(debug_config_dir_name "${debug_config_parent_dir}" NAME) - string(TOLOWER "${debug_config_dir_name}" debug_config_dir_name) - if(debug_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${debug_config_parent_dir}") - endif() - endif() - endif() - - get_filename_component(release_config_dir_name "${release_config}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config}") - else() - get_filename_component(release_config_parent_dir "${release_config}" DIRECTORY) - get_filename_component(release_config_dir_name "${release_config_parent_dir}" NAME) - string(TOLOWER "${release_config_dir_name}" release_config_dir_name) - if(release_config_dir_name STREQUAL "cmake" AND NOT arg_DO_NOT_DELETE_PARENT_CONFIG_PATH) - file(REMOVE_RECURSE "${release_config_parent_dir}") - endif() - endif() - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - if(NOT EXISTS "${debug_share}") - message(FATAL_ERROR "'${debug_share}' does not exist.") - endif() - endif() - - file(GLOB_RECURSE release_targets - "${release_share}/*-release.cmake" - ) - foreach(release_target IN LISTS release_targets) - file(READ "${release_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \"]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - file(WRITE "${release_target}" "${contents}") - endforeach() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(GLOB_RECURSE debug_targets - "${debug_share}/*-debug.cmake" - ) - foreach(debug_target IN LISTS debug_targets) - file(RELATIVE_PATH debug_target_rel "${debug_share}" "${debug_target}") - - file(READ "${debug_target}" contents) - string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}") - string(REGEX REPLACE "\\\${_IMPORT_PREFIX}/bin/([^ \";]+${EXECUTABLE_SUFFIX})" "\${_IMPORT_PREFIX}/${arg_TOOLS_PATH}/\\1" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/lib" "\${_IMPORT_PREFIX}/debug/lib" contents "${contents}") - string(REPLACE "\${_IMPORT_PREFIX}/bin" "\${_IMPORT_PREFIX}/debug/bin" contents "${contents}") - file(WRITE "${release_share}/${debug_target_rel}" "${contents}") - - file(REMOVE "${debug_target}") - endforeach() - endif() - - #Fix ${_IMPORT_PREFIX} and absolute paths in cmake generated targets and configs; - #Since those can be renamed we have to check in every *.cmake, but only once. - file(GLOB_RECURSE main_cmakes "${release_share}/*.cmake") - if(NOT DEFINED Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(SET Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - endif() - foreach(already_fixed_up IN LISTS Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP) - vcpkg_list(REMOVE_ITEM main_cmakes "${already_fixed_up}") - endforeach() - vcpkg_list(APPEND Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP ${main_cmakes}) - set(Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP "${Z_VCPKG_CMAKE_CONFIG_ALREADY_FIXED_UP}" CACHE INTERNAL "") - - foreach(main_cmake IN LISTS main_cmakes) - file(READ "${main_cmake}" contents) - # Note: I think the following comment is no longer true, since we now require the path to be `share/blah` - # however, I don't know it for sure. - # - nimazzuc - - #This correction is not correct for all cases. To make it correct for all cases it needs to consider - #original folder deepness to CURRENT_PACKAGES_DIR in comparison to the moved to folder deepness which - #is always at least (>=) 2, e.g. share/${PORT}. Currently the code assumes it is always 2 although - #this requirement is only true for the *Config.cmake. The targets are not required to be in the same - #folder as the *Config.cmake! - if(NOT arg_NO_PREFIX_CORRECTION) - string(REGEX REPLACE -[[get_filename_component\(_IMPORT_PREFIX "\${CMAKE_CURRENT_LIST_FILE}" PATH\)( -get_filename_component\(_IMPORT_PREFIX "\${_IMPORT_PREFIX}" PATH\))*]] -[[get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) -get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)]] - contents "${contents}") # see #1044 for details why this replacement is necessary. See #4782 why it must be a regex. - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\./(\.\./)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") - string(REGEX REPLACE -[[get_filename_component\(PACKAGE_PREFIX_DIR "\${CMAKE_CURRENT_LIST_DIR}/\.\.((\\|/)\.\.)*" ABSOLUTE\)]] -[[get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)]] - contents "${contents}") # This is a meson-related workaround, see https://github.com/mesonbuild/meson/issues/6955 - endif() - - # Merge release and debug configurations of target property INTERFACE_LINK_LIBRARIES. - string(REPLACE "${release_share}/" "${debug_share}/" debug_cmake "${main_cmake}") - if(DEFINED VCPKG_BUILD_TYPE) - # Skip. Warning: A release-only port in a dual-config installation - # may pull release dependencies into the debug configuration. - elseif(NOT contents MATCHES "INTERFACE_LINK_LIBRARIES") - # Skip. No relevant properties. - elseif(NOT contents MATCHES "# Generated CMake target import file\\.") - # Skip. No safe assumptions about a matching debug import file. - elseif(NOT EXISTS "${debug_cmake}") - message(SEND_ERROR "Did not find a debug import file matching '${main_cmake}'") - else() - file(READ "${debug_cmake}" debug_contents) - while(contents MATCHES "set_target_properties\\(([^ \$]*) PROPERTIES[^)]*\\)") - set(matched_command "${CMAKE_MATCH_0}") - string(REPLACE "+" "\\+" target "${CMAKE_MATCH_1}") - if(NOT debug_contents MATCHES "set_target_properties\\(${target} PROPERTIES[^)]*\\)") - message(SEND_ERROR "Did not find a debug configuration for target '${target}'.") - endif() - set(debug_command "${CMAKE_MATCH_0}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" release_line "${matched_command}") - set(release_libs "${CMAKE_MATCH_1}") - string(REGEX MATCH " INTERFACE_LINK_LIBRARIES \"([^\"]*)\"" debug_line "${debug_command}") - set(debug_libs "${CMAKE_MATCH_1}") - z_vcpkg_cmake_config_fixup_merge(merged_libs release_libs debug_libs) - string(REPLACE "${release_line}" " INTERFACE_LINK_LIBRARIES \"${merged_libs}\"" updated_command "${matched_command}") - string(REPLACE "set_target_properties" "set_target_properties::done" updated_command "${updated_command}") # Prevend 2nd match - string(REPLACE "${matched_command}" "${updated_command}" contents "${contents}") - endwhile() - string(REPLACE "set_target_properties::done" "set_target_properties" contents "${contents}") # Restore original command - endif() - - #Fix absolute paths to installed dir with ones relative to ${CMAKE_CURRENT_LIST_DIR} - #This happens if vcpkg built libraries are directly linked to a target instead of using - #an imported target. - string(REPLACE "${CURRENT_INSTALLED_DIR}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}" cmake_current_packages_dir) - string(REPLACE "${cmake_current_packages_dir}" [[${VCPKG_IMPORT_PREFIX}]] contents "${contents}") - # If ${VCPKG_IMPORT_PREFIX} was actually used, inject a definition of it: - string(FIND "${contents}" [[${VCPKG_IMPORT_PREFIX}]] index) - if (NOT index STREQUAL "-1") - get_filename_component(main_cmake_dir "${main_cmake}" DIRECTORY) - # Calculate relative to be a sequence of "../" - file(RELATIVE_PATH relative "${main_cmake_dir}" "${cmake_current_packages_dir}") - string(PREPEND contents "get_filename_component(VCPKG_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_DIR}\/${relative}\" ABSOLUTE)\n") - endif() - - file(WRITE "${main_cmake}" "${contents}") - endforeach() - - file(GLOB_RECURSE unused_files - "${debug_share}/*[Tt]argets.cmake" - "${debug_share}/*[Cc]onfig.cmake" - "${debug_share}/*[Cc]onfigVersion.cmake" - "${debug_share}/*[Cc]onfig-version.cmake" - ) - foreach(unused_file IN LISTS unused_files) - file(REMOVE "${unused_file}") - endforeach() - - # Remove /debug// if it's empty. - file(GLOB_RECURSE remaining_files "${debug_share}/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${debug_share}") - endif() - - # Remove /debug/share/ if it's empty. - file(GLOB_RECURSE remaining_files "${CURRENT_PACKAGES_DIR}/debug/share/*") - if(remaining_files STREQUAL "") - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") - endif() -endfunction() - -# Merges link interface library lists for release and debug -# into a single expression which use generator expression as necessary. -function(z_vcpkg_cmake_config_fixup_merge out_var release_var debug_var) - set(release_libs "VCPKG;${${release_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";\\1" release_libs "${release_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";" release_libs "${release_libs}") - list(REMOVE_AT release_libs 0) - list(FILTER release_libs EXCLUDE REGEX [[^\\[$]<\\[$]:]]) - list(TRANSFORM release_libs REPLACE [[^\\[$]<\\[$]>:(.*)>$]] "\\1") - - set(debug_libs "VCPKG;${${debug_var}}") - string(REGEX REPLACE ";optimized;([^;]*)" ";" debug_libs "${debug_libs}") - string(REGEX REPLACE ";debug;([^;]*)" ";\\1" debug_libs "${debug_libs}") - list(REMOVE_AT debug_libs 0) - list(FILTER debug_libs EXCLUDE REGEX [[^\\[$]<\\[$]>:]]) - list(TRANSFORM debug_libs REPLACE [[^\\[$]<\\[$]:(.*)>$]] "\\1") - - set(merged_libs "") - foreach(release_lib debug_lib IN ZIP_LISTS release_libs debug_libs) - if(release_lib STREQUAL debug_lib) - list(APPEND merged_libs "${release_lib}") - else() - if(release_lib) - list(APPEND merged_libs "\\\$<\\\$>:${release_lib}>") - endif() - if(debug_lib) - list(APPEND merged_libs "\\\$<\\\$:${debug_lib}>") - endif() - endif() - endforeach() - set("${out_var}" "${merged_libs}" PARENT_SCOPE) -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/copyright b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/copyright deleted file mode 100644 index 4d23e0e39..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/copyright +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) Microsoft Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake deleted file mode 100644 index f2a973d4e..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake +++ /dev/null @@ -1,3 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_configure.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_build.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_install.cmake") diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json deleted file mode 100644 index 3b590911c..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", - "spdxVersion": "SPDX-2.2", - "dataLicense": "CC0-1.0", - "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "creationInfo": { - "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" - ], - "created": "2024-05-05T19:33:58Z" - }, - "relationships": [ - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "GENERATES", - "relatedSpdxElement": "SPDXRef-binary" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-0" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-1" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-2" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-3" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-4" - }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-5" - }, - { - "spdxElementId": "SPDXRef-binary", - "relationshipType": "GENERATED_FROM", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-0", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-1", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-2", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-3", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-4", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-5", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" - } - ], - "packages": [ - { - "name": "vcpkg-cmake", - "SPDXID": "SPDXRef-port", - "versionInfo": "2024-04-18", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is the port (recipe) consumed by vcpkg." - }, - { - "name": "vcpkg-cmake:x64-windows", - "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", - "downloadLocation": "NONE", - "licenseConcluded": "MIT", - "licenseDeclared": "NOASSERTION", - "copyrightText": "NOASSERTION", - "comment": "This is a binary package built by vcpkg." - } - ], - "files": [ - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", - "SPDXID": "SPDXRef-file-0", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", - "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", - "SPDXID": "SPDXRef-file-4", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", - "SPDXID": "SPDXRef-file-5", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - } - ] -} diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt deleted file mode 100644 index 410aff1d5..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake 3.27.1 -features core -portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa -ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a -post_build_checks 2 -powershell 7.4.2 -triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 -vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 -vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe -vcpkg_cmake_build.cmake 6d1c27080fe3e768b5e7b968d6a28a37db154ebcb214297de25f10b6713511e1 -vcpkg_cmake_configure.cmake f9cdeb9a51a415bfeb22573b20fe832b66e8c297a1c70a06d74c621f5812757e -vcpkg_cmake_install.cmake 3ae7886dc8434fac6f1e61190cc355fdec5fbd4f60758e2de20423cf49c91369 -vcpkg_configure_cmake 9dfd362bd20613eaa83af55eb0f98c8cb50fd4826a65da74a0f1641da73497c2 -vcpkg_execute_build_process 4976d00fc7d25ad07984f282490121a09aa44a49c5dae627ca68355affd929d0 -vcpkg_execute_required_process 0c6f52ca848715efd88acfec9bdb2ed3b5f38a650baa6a614bf23ccc3eec150a -vcpkg_find_acquire_program 96d9ee675798a3bddb54340d404b814be45a35c624b2eab5465cd45eaf18b6d3 -vcpkg_find_acquire_program(NINJA) 8692aff2f893a8afcabbb4395a8b91ad4f6dd228f410fa4fd050d99c2ec0f52c -vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake deleted file mode 100644 index 47933b3fe..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake +++ /dev/null @@ -1,91 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_build) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "TARGET;LOGFILE_BASE" "") - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_build was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "build") - endif() - vcpkg_list(SET build_param) - vcpkg_list(SET parallel_param) - vcpkg_list(SET no_parallel_param) - - if("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "Ninja") - vcpkg_list(SET build_param "-v") # verbose output - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "-j1") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" MATCHES "^Visual Studio") - vcpkg_list(SET build_param - "/p:VCPkgLocalAppDataDisabled=true" - "/p:UseIntelMKL=No" - ) - vcpkg_list(SET parallel_param "/m") - elseif("${Z_VCPKG_CMAKE_GENERATOR}" STREQUAL "NMake Makefiles") - # No options are currently added for nmake builds - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Unix Makefiles") - vcpkg_list(SET build_param "VERBOSE=1") - vcpkg_list(SET parallel_param "-j${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param "") - elseif(Z_VCPKG_CMAKE_GENERATOR STREQUAL "Xcode") - vcpkg_list(SET parallel_param -jobs "${VCPKG_CONCURRENCY}") - vcpkg_list(SET no_parallel_param -jobs 1) - else() - message(WARNING "Unrecognized GENERATOR setting from vcpkg_cmake_configure().") - endif() - - vcpkg_list(SET target_param) - if(arg_TARGET) - vcpkg_list(SET target_param "--target" "${arg_TARGET}") - endif() - - foreach(build_type IN ITEMS debug release) - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "${build_type}") - if("${build_type}" STREQUAL "debug") - set(short_build_type "dbg") - set(config "Debug") - else() - set(short_build_type "rel") - set(config "Release") - endif() - - message(STATUS "Building ${TARGET_TRIPLET}-${short_build_type}") - - if(arg_ADD_BIN_TO_PATH) - vcpkg_backup_env_variables(VARS PATH) - if("${build_type}" STREQUAL "debug") - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/debug/bin") - else() - vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/bin") - endif() - endif() - - if(arg_DISABLE_PARALLEL) - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - else() - vcpkg_execute_build_process( - COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${parallel_param} - NO_PARALLEL_COMMAND - "${CMAKE_COMMAND}" --build . --config "${config}" ${target_param} - -- ${build_param} ${no_parallel_param} - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-${short_build_type}" - LOGNAME "${arg_LOGFILE_BASE}-${TARGET_TRIPLET}-${short_build_type}" - ) - endif() - - if(arg_ADD_BIN_TO_PATH) - vcpkg_restore_env_variables(VARS PATH) - endif() - endif() - endforeach() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake deleted file mode 100644 index c8415c712..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake +++ /dev/null @@ -1,336 +0,0 @@ -include_guard(GLOBAL) - -macro(z_vcpkg_cmake_configure_both_set_or_unset var1 var2) - if(DEFINED ${var1} AND NOT DEFINED ${var2}) - message(FATAL_ERROR "If ${var1} is set, then ${var2} must be set.") - elseif(NOT DEFINED ${var1} AND DEFINED ${var2}) - message(FATAL_ERROR "If ${var2} is set, then ${var1} must be set.") - endif() -endmacro() - -function(vcpkg_cmake_configure) - cmake_parse_arguments(PARSE_ARGV 0 "arg" - "PREFER_NINJA;DISABLE_PARALLEL_CONFIGURE;WINDOWS_USE_MSBUILD;NO_CHARSET_FLAG;Z_CMAKE_GET_VARS_USAGE" - "SOURCE_PATH;GENERATOR;LOGFILE_BASE" - "OPTIONS;OPTIONS_DEBUG;OPTIONS_RELEASE;MAYBE_UNUSED_VARIABLES" - ) - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE AND DEFINED CACHE{Z_VCPKG_CMAKE_GENERATOR}) - message(WARNING "${CMAKE_CURRENT_FUNCTION} already called; this function should only be called once.") - endif() - if(arg_PREFER_NINJA) - message(WARNING "PREFER_NINJA has been deprecated in ${CMAKE_CURRENT_FUNCTION}. Please remove it from the portfile!") - endif() - - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "${CMAKE_CURRENT_FUNCTION} was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - if(NOT DEFINED arg_SOURCE_PATH) - message(FATAL_ERROR "SOURCE_PATH must be set") - endif() - if(NOT DEFINED arg_LOGFILE_BASE) - set(arg_LOGFILE_BASE "config-${TARGET_TRIPLET}") - endif() - - set(invalid_maybe_unused_vars "${arg_MAYBE_UNUSED_VARIABLES}") - list(FILTER invalid_maybe_unused_vars INCLUDE REGEX "^-D") - if(NOT invalid_maybe_unused_vars STREQUAL "") - list(JOIN invalid_maybe_unused_vars " " bad_items) - message(${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL} - "Option MAYBE_UNUSED_VARIABLES must be used with variables names. " - "The following items are invalid: ${bad_items}") - endif() - - set(manually_specified_variables "") - - if(arg_Z_CMAKE_GET_VARS_USAGE) - set(configuring_message "Getting CMake variables for ${TARGET_TRIPLET}") - else() - set(configuring_message "Configuring ${TARGET_TRIPLET}") - - foreach(option IN LISTS arg_OPTIONS arg_OPTIONS_RELEASE arg_OPTIONS_DEBUG) - if("${option}" MATCHES "^-D([^:=]*)[:=]") - vcpkg_list(APPEND manually_specified_variables "${CMAKE_MATCH_1}") - endif() - endforeach() - vcpkg_list(REMOVE_DUPLICATES manually_specified_variables) - foreach(maybe_unused_var IN LISTS arg_MAYBE_UNUSED_VARIABLES) - vcpkg_list(REMOVE_ITEM manually_specified_variables "${maybe_unused_var}") - endforeach() - debug_message("manually specified variables: ${manually_specified_variables}") - endif() - - if(CMAKE_HOST_WIN32) - if(DEFINED ENV{PROCESSOR_ARCHITEW6432}) - set(host_architecture "$ENV{PROCESSOR_ARCHITEW6432}") - else() - set(host_architecture "$ENV{PROCESSOR_ARCHITECTURE}") - endif() - endif() - - set(ninja_host ON) # Ninja availability - if(host_architecture STREQUAL "x86" OR DEFINED ENV{VCPKG_FORCE_SYSTEM_BINARIES}) - # Prebuilt ninja binaries are only provided for x64 hosts - find_program(NINJA NAMES ninja ninja-build) - if(NOT NINJA) - set(ninja_host OFF) - set(arg_DISABLE_PARALLEL_CONFIGURE ON) - set(arg_WINDOWS_USE_MSBUILD ON) - endif() - endif() - - set(generator "") - set(architecture_options "") - if(arg_WINDOWS_USE_MSBUILD AND VCPKG_HOST_IS_WINDOWS AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) - z_vcpkg_get_visual_studio_generator(OUT_GENERATOR generator OUT_ARCH arch) - vcpkg_list(APPEND architecture_options "-A${arch}") - if(DEFINED VCPKG_PLATFORM_TOOLSET) - vcpkg_list(APPEND arg_OPTIONS "-T${VCPKG_PLATFORM_TOOLSET}") - endif() - if(NOT generator) - message(FATAL_ERROR "Unable to determine appropriate Visual Studio generator for triplet ${TARGET_TRIPLET}: - ENV{VisualStudioVersion} : $ENV{VisualStudioVersion} - VCPKG_TARGET_ARCHITECTURE: ${VCPKG_TARGET_ARCHITECTURE}") - endif() - elseif(DEFINED arg_GENERATOR) - set(generator "${arg_GENERATOR}") - elseif(ninja_host) - set(generator "Ninja") - elseif(NOT VCPKG_HOST_IS_WINDOWS) - set(generator "Unix Makefiles") - endif() - - if(NOT generator) - if(NOT VCPKG_CMAKE_SYSTEM_NAME) - set(VCPKG_CMAKE_SYSTEM_NAME "Windows") - endif() - message(FATAL_ERROR "Unable to determine appropriate generator for: " - "${VCPKG_CMAKE_SYSTEM_NAME}-${VCPKG_TARGET_ARCHITECTURE}-${VCPKG_PLATFORM_TOOLSET}") - endif() - - if(generator STREQUAL "Ninja") - vcpkg_find_acquire_program(NINJA) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_MAKE_PROGRAM=${NINJA}") - # If we use Ninja, it must be on PATH for CMake's ExternalProject, - # cf. https://gitlab.kitware.com/cmake/cmake/-/issues/23355. - get_filename_component(ninja_path "${NINJA}" DIRECTORY) - vcpkg_add_to_path("${ninja_path}") - endif() - - set(build_dir_release "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel") - set(build_dir_debug "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg") - file(REMOVE_RECURSE - "${build_dir_release}" - "${build_dir_debug}") - file(MAKE_DIRECTORY "${build_dir_release}") - if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") - file(MAKE_DIRECTORY "${build_dir_debug}") - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_NAME) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_NAME=${VCPKG_CMAKE_SYSTEM_NAME}") - if(VCPKG_TARGET_IS_UWP AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 10.0) - elseif(VCPKG_TARGET_IS_ANDROID AND NOT DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - set(VCPKG_CMAKE_SYSTEM_VERSION 21) - endif() - endif() - - if(DEFINED VCPKG_CMAKE_SYSTEM_VERSION) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_SYSTEM_VERSION=${VCPKG_CMAKE_SYSTEM_VERSION}") - endif() - - if(DEFINED VCPKG_XBOX_CONSOLE_TARGET) - vcpkg_list(APPEND arg_OPTIONS "-DXBOX_CONSOLE_TARGET=${VCPKG_XBOX_CONSOLE_TARGET}") - endif() - - if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=ON") - elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - vcpkg_list(APPEND arg_OPTIONS "-DBUILD_SHARED_LIBS=OFF") - else() - message(FATAL_ERROR - "Invalid setting for VCPKG_LIBRARY_LINKAGE: \"${VCPKG_LIBRARY_LINKAGE}\". " - "It must be \"static\" or \"dynamic\"") - endif() - - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_DEBUG VCPKG_C_FLAGS_DEBUG) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS_RELEASE VCPKG_C_FLAGS_RELEASE) - z_vcpkg_cmake_configure_both_set_or_unset(VCPKG_CXX_FLAGS VCPKG_C_FLAGS) - - set(VCPKG_SET_CHARSET_FLAG ON) - if(arg_NO_CHARSET_FLAG) - set(VCPKG_SET_CHARSET_FLAG OFF) - endif() - - if(NOT DEFINED VCPKG_CHAINLOAD_TOOLCHAIN_FILE) - z_vcpkg_select_default_vcpkg_chainload_toolchain() - endif() - - list(JOIN VCPKG_TARGET_ARCHITECTURE "\;" target_architecture_string) - vcpkg_list(APPEND arg_OPTIONS - "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" - "-DVCPKG_TARGET_TRIPLET=${TARGET_TRIPLET}" - "-DVCPKG_SET_CHARSET_FLAG=${VCPKG_SET_CHARSET_FLAG}" - "-DVCPKG_PLATFORM_TOOLSET=${VCPKG_PLATFORM_TOOLSET}" - "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" - "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" - "-DCMAKE_VERBOSE_MAKEFILE=ON" - "-DVCPKG_APPLOCAL_DEPS=OFF" - "-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS}/buildsystems/vcpkg.cmake" - "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" - "-DVCPKG_CXX_FLAGS=${VCPKG_CXX_FLAGS}" - "-DVCPKG_CXX_FLAGS_RELEASE=${VCPKG_CXX_FLAGS_RELEASE}" - "-DVCPKG_CXX_FLAGS_DEBUG=${VCPKG_CXX_FLAGS_DEBUG}" - "-DVCPKG_C_FLAGS=${VCPKG_C_FLAGS}" - "-DVCPKG_C_FLAGS_RELEASE=${VCPKG_C_FLAGS_RELEASE}" - "-DVCPKG_C_FLAGS_DEBUG=${VCPKG_C_FLAGS_DEBUG}" - "-DVCPKG_CRT_LINKAGE=${VCPKG_CRT_LINKAGE}" - "-DVCPKG_LINKER_FLAGS=${VCPKG_LINKER_FLAGS}" - "-DVCPKG_LINKER_FLAGS_RELEASE=${VCPKG_LINKER_FLAGS_RELEASE}" - "-DVCPKG_LINKER_FLAGS_DEBUG=${VCPKG_LINKER_FLAGS_DEBUG}" - "-DVCPKG_TARGET_ARCHITECTURE=${target_architecture_string}" - "-DCMAKE_INSTALL_LIBDIR:STRING=lib" - "-DCMAKE_INSTALL_BINDIR:STRING=bin" - "-D_VCPKG_ROOT_DIR=${VCPKG_ROOT_DIR}" - "-D_VCPKG_INSTALLED_DIR=${_VCPKG_INSTALLED_DIR}" - "-DVCPKG_MANIFEST_INSTALL=OFF" - ) - - # Sets configuration variables for macOS builds - foreach(config_var IN ITEMS INSTALL_NAME_DIR OSX_DEPLOYMENT_TARGET OSX_SYSROOT OSX_ARCHITECTURES) - if(DEFINED VCPKG_${config_var}) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_${config_var}=${VCPKG_${config_var}}") - endif() - endforeach() - - vcpkg_list(PREPEND arg_OPTIONS "-DFETCHCONTENT_FULLY_DISCONNECTED=ON") - - # Allow overrides / additional configuration variables from triplets - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS) - vcpkg_list(APPEND arg_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE) - vcpkg_list(APPEND arg_OPTIONS_RELEASE ${VCPKG_CMAKE_CONFIGURE_OPTIONS_RELEASE}) - endif() - if(DEFINED VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG) - vcpkg_list(APPEND arg_OPTIONS_DEBUG ${VCPKG_CMAKE_CONFIGURE_OPTIONS_DEBUG}) - endif() - - vcpkg_list(SET rel_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}" - ${arg_OPTIONS} ${arg_OPTIONS_RELEASE}) - vcpkg_list(SET dbg_command - "${CMAKE_COMMAND}" "${arg_SOURCE_PATH}" - -G "${generator}" - ${architecture_options} - "-DCMAKE_BUILD_TYPE=Debug" - "-DCMAKE_INSTALL_PREFIX=${CURRENT_PACKAGES_DIR}/debug" - ${arg_OPTIONS} ${arg_OPTIONS_DEBUG}) - - if(NOT arg_DISABLE_PARALLEL_CONFIGURE) - vcpkg_list(APPEND arg_OPTIONS "-DCMAKE_DISABLE_SOURCE_CHANGES=ON") - - vcpkg_find_acquire_program(NINJA) - - #parallelize the configure step - set(ninja_configure_contents - "rule CreateProcess\n command = \$process\n\n" - ) - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents ".." "rel") - endif() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - z_vcpkg_configure_cmake_build_cmakecache(ninja_configure_contents "../../${TARGET_TRIPLET}-dbg" "dbg") - endif() - - file(MAKE_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure") - file(WRITE - "${build_dir_release}/vcpkg-parallel-configure/build.ninja" - "${ninja_configure_contents}") - - message(STATUS "${configuring_message}") - vcpkg_execute_required_process( - COMMAND "${NINJA}" -v - WORKING_DIRECTORY "${build_dir_release}/vcpkg-parallel-configure" - LOGNAME "${arg_LOGFILE_BASE}" - SAVE_LOG_FILES - "../../${TARGET_TRIPLET}-dbg/CMakeCache.txt" ALIAS "dbg-CMakeCache.txt.log" - "../CMakeCache.txt" ALIAS "rel-CMakeCache.txt.log" - ) - - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-err.log") - else() - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "debug") - message(STATUS "${configuring_message}-dbg") - vcpkg_execute_required_process( - COMMAND ${dbg_command} - WORKING_DIRECTORY "${build_dir_debug}" - LOGNAME "${arg_LOGFILE_BASE}-dbg" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-dbg-err.log") - endif() - - if(NOT DEFINED VCPKG_BUILD_TYPE OR "${VCPKG_BUILD_TYPE}" STREQUAL "release") - message(STATUS "${configuring_message}-rel") - vcpkg_execute_required_process( - COMMAND ${rel_command} - WORKING_DIRECTORY "${build_dir_release}" - LOGNAME "${arg_LOGFILE_BASE}-rel" - SAVE_LOG_FILES CMakeCache.txt - ) - vcpkg_list(APPEND config_logs - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-out.log" - "${CURRENT_BUILDTREES_DIR}/${arg_LOGFILE_BASE}-rel-err.log") - endif() - endif() - - set(all_unused_variables) - foreach(config_log IN LISTS config_logs) - if(NOT EXISTS "${config_log}") - continue() - endif() - file(READ "${config_log}" log_contents) - debug_message("Reading configure log ${config_log}...") - if(NOT log_contents MATCHES "Manually-specified variables were not used by the project:\n\n(( [^\n]*\n)*)") - continue() - endif() - string(STRIP "${CMAKE_MATCH_1}" unused_variables) # remove leading ` ` and trailing `\n` - string(REPLACE "\n " ";" unused_variables "${unused_variables}") - debug_message("unused variables: ${unused_variables}") - foreach(unused_variable IN LISTS unused_variables) - if(unused_variable IN_LIST manually_specified_variables) - debug_message("manually specified unused variable: ${unused_variable}") - vcpkg_list(APPEND all_unused_variables "${unused_variable}") - else() - debug_message("unused variable (not manually specified): ${unused_variable}") - endif() - endforeach() - endforeach() - - if(DEFINED all_unused_variables) - vcpkg_list(REMOVE_DUPLICATES all_unused_variables) - vcpkg_list(JOIN all_unused_variables "\n " all_unused_variables) - message(WARNING "The following variables are not used in CMakeLists.txt: - ${all_unused_variables} -Please recheck them and remove the unnecessary options from the `vcpkg_cmake_configure` call. -If these options should still be passed for whatever reason, please use the `MAYBE_UNUSED_VARIABLES` argument.") - endif() - - if(NOT arg_Z_CMAKE_GET_VARS_USAGE) - set(Z_VCPKG_CMAKE_GENERATOR "${generator}" CACHE INTERNAL "The generator which was used to configure CMake.") - endif() -endfunction() diff --git a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake b/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake deleted file mode 100644 index 2bd8b4ea7..000000000 --- a/src/api/Abstraction/KSAggregateAbstraction/vcpkg_installed/x64-windows/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake +++ /dev/null @@ -1,21 +0,0 @@ -include_guard(GLOBAL) - -function(vcpkg_cmake_install) - cmake_parse_arguments(PARSE_ARGV 0 "arg" "DISABLE_PARALLEL;ADD_BIN_TO_PATH" "" "") - if(DEFINED arg_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "vcpkg_cmake_install was passed extra arguments: ${arg_UNPARSED_ARGUMENTS}") - endif() - - set(args) - foreach(arg IN ITEMS DISABLE_PARALLEL ADD_BIN_TO_PATH) - if(arg_${arg}) - list(APPEND args "${arg}") - endif() - endforeach() - - vcpkg_cmake_build( - ${args} - LOGFILE_BASE install - TARGET install - ) -endfunction() diff --git a/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvAbstraction.vcxproj b/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvAbstraction.vcxproj index 2271d3de0..f70315920 100644 --- a/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvAbstraction.vcxproj +++ b/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvAbstraction.vcxproj @@ -153,7 +153,7 @@ $(SolutionDir)\idl;%(AdditionalIncludeDirectories) %(Filename).h - $(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ @@ -171,7 +171,7 @@ $(SolutionDir)\idl;%(AdditionalIncludeDirectories) %(Filename).h - $(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ @@ -189,7 +189,7 @@ $(SolutionDir)\idl;%(AdditionalIncludeDirectories) %(Filename).h - $(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ @@ -222,7 +222,7 @@ $(SolutionDir)\idl;%(AdditionalIncludeDirectories) %(Filename).h - $(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ @@ -240,7 +240,7 @@ $(SolutionDir)\idl;%(AdditionalIncludeDirectories) %(Filename).h - $(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ @@ -258,7 +258,7 @@ $(SolutionDir)\idl;%(AdditionalIncludeDirectories) %(Filename).h - $(SolutionDir)VSFiles\intermediate\midi2.midisrvabstraction\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ diff --git a/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.cpp b/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.cpp index 63329f50f..95ce0bc02 100644 --- a/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.cpp +++ b/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.cpp @@ -226,31 +226,31 @@ CMidi2MidiSrvSessionTracker::RemoveClientSession( //} -_Use_decl_annotations_ -HRESULT -CMidi2MidiSrvSessionTracker::GetSessionList( - LPSAFEARRAY* SessionDetailsList -) -{ - TraceLoggingWrite( - MidiSrvAbstractionTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this") - ); - - // TODO - SessionDetailsList = nullptr; - - return S_OK; - -} +//_Use_decl_annotations_ +//HRESULT +//CMidi2MidiSrvSessionTracker::GetSessionList( +// LPSAFEARRAY* SessionDetailsList +//) +//{ +// TraceLoggingWrite( +// MidiSrvAbstractionTelemetryProvider::Provider(), +// MIDI_TRACE_EVENT_INFO, +// TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), +// TraceLoggingLevel(WINEVENT_LEVEL_INFO), +// TraceLoggingPointer(this, "this") +// ); +// +// // TODO +// SessionDetailsList = nullptr; +// +// return S_OK; +// +//} _Use_decl_annotations_ HRESULT -CMidi2MidiSrvSessionTracker::GetSessionListJson( +CMidi2MidiSrvSessionTracker::GetSessionList( BSTR* SessionList ) { diff --git a/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.h b/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.h index 73561c65b..94e5d0420 100644 --- a/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.h +++ b/src/api/Abstraction/MidiSrvAbstraction/Midi2.MidiSrvSessionTracker.h @@ -25,9 +25,9 @@ class CMidi2MidiSrvSessionTracker : //STDMETHOD(AddClientEndpointConnection(_In_ GUID SessionId, _In_ LPCWSTR ConnectionEndpointInterfaceId)); //STDMETHOD(RemoveClientEndpointConnection(_In_ GUID SessionId, _In_ LPCWSTR ConnectionEndpointInterfaceId)); - // This is called from the API - STDMETHOD(GetSessionListJson(_Out_ BSTR* SessionList)); - STDMETHOD(GetSessionList)(_Out_ LPSAFEARRAY* SessionDetailsList); + // This is called from the SDK + STDMETHOD(GetSessionList(_Out_ BSTR* SessionList)); + //STDMETHOD(GetSessionList)(_Out_ LPSAFEARRAY* SessionDetailsList); STDMETHOD(VerifyConnectivity)(); diff --git a/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiEndpointManager.cpp b/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiEndpointManager.cpp index 64e86ec11..96208a4a4 100644 --- a/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiEndpointManager.cpp +++ b/src/api/Abstraction/VirtualMidiAbstraction/Midi2.VirtualMidiEndpointManager.cpp @@ -213,6 +213,7 @@ CMidi2VirtualMidiEndpointManager::NegotiateAndRequestMetadata(std::wstring endpo PENDPOINTPROTOCOLNEGOTIATIONRESULTS negotiationResults; RETURN_IF_FAILED(m_MidiProtocolManager->NegotiateAndRequestMetadata( + AbstractionLayerGUID, endpointId.c_str(), preferToSendJRToEndpoint, preferToReceiveJRFromEndpoint, diff --git a/src/api/Midi2.sln b/src/api/Midi2.sln index fb5df5cd0..2a343c140 100644 --- a/src/api/Midi2.sln +++ b/src/api/Midi2.sln @@ -72,7 +72,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MidiSrv", "Service\Exe\Midi ProjectSection(ProjectDependencies) = postProject {03009B2B-E3E8-49DC-A0D6-0FA90AE3B15B} = {03009B2B-E3E8-49DC-A0D6-0FA90AE3B15B} {093852BE-32B8-4EB8-814E-91410FFDB4F6} = {093852BE-32B8-4EB8-814E-91410FFDB4F6} - {0DDD9961-7959-46B1-A11D-05BA8AF65297} = {0DDD9961-7959-46B1-A11D-05BA8AF65297} {0E739771-0C0B-42EE-AADB-95E7E1E5A5ED} = {0E739771-0C0B-42EE-AADB-95E7E1E5A5ED} {0F94A751-9159-4A88-8A71-347151124548} = {0F94A751-9159-4A88-8A71-347151124548} {206CEDBF-6343-4171-87A8-1DDDE6E2ED60} = {206CEDBF-6343-4171-87A8-1DDDE6E2ED60} @@ -142,11 +141,6 @@ Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Midi2", "Midi2Setup\Midi2Se EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Message Transforms and Processing", "Message Transforms and Processing", "{23C1D0EF-10F0-464B-86C3-1FCD3F6BA20E}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.EndpointMetadataListenerTransform", "Transform\EndpointMetadataListenerTransform\Midi2.EndpointMetadataListenerTransform.vcxproj", "{0DDD9961-7959-46B1-A11D-05BA8AF65297}" - ProjectSection(ProjectDependencies) = postProject - {EFB7CF90-7DEF-44CF-868A-191CA30E0FCF} = {EFB7CF90-7DEF-44CF-868A-191CA30E0FCF} - EndProjectSection -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "USBMidi2", "Drivers\USBMIDI2\Driver\USBMidi2.vcxproj", "{1B5A1991-AD62-494F-AE3A-1A681914898D}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.BS2UMPTransform", "Transform\ByteStreamToUMP\Midi2.BS2UMPTransform.vcxproj", "{206CEDBF-6343-4171-87A8-1DDDE6E2ED60}" @@ -166,7 +160,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.SchedulerTransform", EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Transform.unittests", "Test\Midi2.Transform.unittests\Midi2.Transform.unittests.vcxproj", "{1425218C-E6E6-40BB-B99B-052156749E2C}" ProjectSection(ProjectDependencies) = postProject - {0DDD9961-7959-46B1-A11D-05BA8AF65297} = {0DDD9961-7959-46B1-A11D-05BA8AF65297} {0E739771-0C0B-42EE-AADB-95E7E1E5A5ED} = {0E739771-0C0B-42EE-AADB-95E7E1E5A5ED} {206CEDBF-6343-4171-87A8-1DDDE6E2ED60} = {206CEDBF-6343-4171-87A8-1DDDE6E2ED60} {366FA284-D8C0-4CC5-B9A3-917EAB967173} = {366FA284-D8C0-4CC5-B9A3-917EAB967173} @@ -346,14 +339,6 @@ Global {38A9F27A-13E3-49DF-920B-630B09C68105}.Release|ARM64.Build.0 = Release {38A9F27A-13E3-49DF-920B-630B09C68105}.Release|x64.ActiveCfg = Release {38A9F27A-13E3-49DF-920B-630B09C68105}.Release|x64.Build.0 = Release - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Debug|ARM64.Build.0 = Debug|ARM64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Debug|x64.ActiveCfg = Debug|x64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Debug|x64.Build.0 = Debug|x64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Release|ARM64.ActiveCfg = Release|ARM64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Release|ARM64.Build.0 = Release|ARM64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Release|x64.ActiveCfg = Release|x64 - {0DDD9961-7959-46B1-A11D-05BA8AF65297}.Release|x64.Build.0 = Release|x64 {1B5A1991-AD62-494F-AE3A-1A681914898D}.Debug|ARM64.ActiveCfg = Debug|ARM64 {1B5A1991-AD62-494F-AE3A-1A681914898D}.Debug|ARM64.Build.0 = Debug|ARM64 {1B5A1991-AD62-494F-AE3A-1A681914898D}.Debug|x64.ActiveCfg = Debug|x64 @@ -444,7 +429,6 @@ Global {093852BE-32B8-4EB8-814E-91410FFDB4F6} = {69CC5CD9-47DC-4118-A3C7-E0D071407185} {2AD0622B-D47A-4CC1-9493-459730F442BE} = {DDB8BEE6-BEDC-4AE8-8E61-67EE655E35EF} {23C1D0EF-10F0-464B-86C3-1FCD3F6BA20E} = {6649A563-9D84-4040-9CDF-D005B4C99A9C} - {0DDD9961-7959-46B1-A11D-05BA8AF65297} = {23C1D0EF-10F0-464B-86C3-1FCD3F6BA20E} {1B5A1991-AD62-494F-AE3A-1A681914898D} = {DDB8BEE6-BEDC-4AE8-8E61-67EE655E35EF} {206CEDBF-6343-4171-87A8-1DDDE6E2ED60} = {23C1D0EF-10F0-464B-86C3-1FCD3F6BA20E} {0E739771-0C0B-42EE-AADB-95E7E1E5A5ED} = {23C1D0EF-10F0-464B-86C3-1FCD3F6BA20E} diff --git a/src/api/Midi2Setup/Midi2Setup.vdproj b/src/api/Midi2Setup/Midi2Setup.vdproj index df8d2235c..adb2c5afc 100644 --- a/src/api/Midi2Setup/Midi2Setup.vdproj +++ b/src/api/Midi2Setup/Midi2Setup.vdproj @@ -22,37 +22,37 @@ "Entry" { "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" + "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_D0D96875B57D4EBEA944BD965D96E49F" + "OwnerKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_C6A35D2DD48E420BB1F3FCA3D80AC851" + "OwnerKey" = "8:_D0D96875B57D4EBEA944BD965D96E49F" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_BEC36957B0E941E2B1B4D6498BD81706" + "OwnerKey" = "8:_C6A35D2DD48E420BB1F3FCA3D80AC851" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_A3DE8E463AFE466BB9AF6E4875B67114" + "OwnerKey" = "8:_BEC36957B0E941E2B1B4D6498BD81706" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" + "OwnerKey" = "8:_A3DE8E463AFE466BB9AF6E4875B67114" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -87,14 +87,14 @@ } "Entry" { - "MsmKey" = "8:_233E143DE3B73E4453F74EDD5B3ABEEC" - "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" + "MsmKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" + "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" - "OwnerKey" = "8:_UNDEFINED" + "MsmKey" = "8:_276951EB6BDD2CD6AB8AE7556C7D8689" + "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -130,12 +130,6 @@ "Entry" { "MsmKey" = "8:_276951EB6BDD2CD6AB8AE7556C7D8689" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_276951EB6BDD2CD6AB8AE7556C7D8689" "OwnerKey" = "8:_68E0B9A947AF439D85CA3BDFF2BBD167" "MsmSig" = "8:_UNDEFINED" } @@ -165,14 +159,14 @@ } "Entry" { - "MsmKey" = "8:_276951EB6BDD2CD6AB8AE7556C7D8689" - "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" + "MsmKey" = "8:_2A289A46DDDCDB3C03EF153AF3B20740" + "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_2A289A46DDDCDB3C03EF153AF3B20740" - "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" + "MsmKey" = "8:_2C0A596B30D1A4DE8AC76BEFC0BF3415" + "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -208,12 +202,6 @@ "Entry" { "MsmKey" = "8:_2C0A596B30D1A4DE8AC76BEFC0BF3415" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2C0A596B30D1A4DE8AC76BEFC0BF3415" "OwnerKey" = "8:_68E0B9A947AF439D85CA3BDFF2BBD167" "MsmSig" = "8:_UNDEFINED" } @@ -243,18 +231,6 @@ } "Entry" { - "MsmKey" = "8:_2C0A596B30D1A4DE8AC76BEFC0BF3415" - "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2F5C424CFDE592C6779DC96C50DE92D5" - "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_2FB0002CB3E5E8633B51E11818EB5AC4" "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" "MsmSig" = "8:_UNDEFINED" @@ -273,12 +249,6 @@ } "Entry" { - "MsmKey" = "8:_4A8575366038813B2621B79F6A0DE09D" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_4C05A796E0EA1385250413DDDB39A8A0" "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" "MsmSig" = "8:_UNDEFINED" @@ -310,37 +280,37 @@ "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" - "OwnerKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" + "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" - "OwnerKey" = "8:_D0D96875B57D4EBEA944BD965D96E49F" + "OwnerKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" - "OwnerKey" = "8:_C6A35D2DD48E420BB1F3FCA3D80AC851" + "OwnerKey" = "8:_D0D96875B57D4EBEA944BD965D96E49F" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" - "OwnerKey" = "8:_BEC36957B0E941E2B1B4D6498BD81706" + "OwnerKey" = "8:_C6A35D2DD48E420BB1F3FCA3D80AC851" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" - "OwnerKey" = "8:_A3DE8E463AFE466BB9AF6E4875B67114" + "OwnerKey" = "8:_BEC36957B0E941E2B1B4D6498BD81706" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" + "OwnerKey" = "8:_A3DE8E463AFE466BB9AF6E4875B67114" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -370,6 +340,12 @@ "Entry" { "MsmKey" = "8:_4F91EF9506038C6EEBA69C5DDE51BF29" + "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_50D875E42CEF6E0475EAB4384E4C79E1" "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } @@ -406,12 +382,6 @@ "Entry" { "MsmKey" = "8:_50D875E42CEF6E0475EAB4384E4C79E1" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_50D875E42CEF6E0475EAB4384E4C79E1" "OwnerKey" = "8:_68E0B9A947AF439D85CA3BDFF2BBD167" "MsmSig" = "8:_UNDEFINED" } @@ -441,12 +411,6 @@ } "Entry" { - "MsmKey" = "8:_50D875E42CEF6E0475EAB4384E4C79E1" - "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_52D7284C08974CD7BCE0BD610635A9EF" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -459,8 +423,8 @@ } "Entry" { - "MsmKey" = "8:_693A1D6836AF48149FB14FEAC557010F" - "OwnerKey" = "8:_UNDEFINED" + "MsmKey" = "8:_95A010555EE939A8528D490FA44410C9" + "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -496,12 +460,6 @@ "Entry" { "MsmKey" = "8:_95A010555EE939A8528D490FA44410C9" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_95A010555EE939A8528D490FA44410C9" "OwnerKey" = "8:_68E0B9A947AF439D85CA3BDFF2BBD167" "MsmSig" = "8:_UNDEFINED" } @@ -531,12 +489,6 @@ } "Entry" { - "MsmKey" = "8:_95A010555EE939A8528D490FA44410C9" - "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_9D159DB4D8B2DBC39225922575C0F718" "OwnerKey" = "8:_254D9D387B8B48048714FDBA6F6E7E9C" "MsmSig" = "8:_UNDEFINED" @@ -586,37 +538,37 @@ "Entry" { "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" + "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_D0D96875B57D4EBEA944BD965D96E49F" + "OwnerKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_C6A35D2DD48E420BB1F3FCA3D80AC851" + "OwnerKey" = "8:_D0D96875B57D4EBEA944BD965D96E49F" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_BEC36957B0E941E2B1B4D6498BD81706" + "OwnerKey" = "8:_C6A35D2DD48E420BB1F3FCA3D80AC851" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_A3DE8E463AFE466BB9AF6E4875B67114" + "OwnerKey" = "8:_BEC36957B0E941E2B1B4D6498BD81706" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_693A1D6836AF48149FB14FEAC557010F" + "OwnerKey" = "8:_A3DE8E463AFE466BB9AF6E4875B67114" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -651,12 +603,6 @@ } "Entry" { - "MsmKey" = "8:_E386CA0AE72FBD122562EAE2A9B23CC9" - "OwnerKey" = "8:_1D3C83321B67411EA0904B305816D102" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_FD5D2644595C450D8F22EE4474811BF1" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -866,26 +812,6 @@ "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2F5C424CFDE592C6779DC96C50DE92D5" - { - "SourcePath" = "8:api-ms-win-crt-heap-l1-1-0.dll" - "TargetName" = "8:api-ms-win-crt-heap-l1-1-0.dll" - "Tag" = "8:" - "Folder" = "8:_1DC960FE630C406E9A1F93C99C1E099A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2FB0002CB3E5E8633B51E11818EB5AC4" { "SourcePath" = "8:api-ms-win-crt-math-l1-1-0.dll" @@ -1123,7 +1049,7 @@ "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Midi 2.0" "ProductCode" = "8:{66FE638B-F86B-4592-B5A0-21701F9D3D6B}" - "PackageCode" = "8:{2E2F9571-3538-4288-B146-78B61237E9D7}" + "PackageCode" = "8:{2A034027-BB33-4159-BCFF-057298C3CED3}" "UpgradeCode" = "8:{05A49F02-230E-4CCE-AEE5-4179B0172736}" "AspNetVersion" = "8:" "RestartWWWService" = "11:FALSE" @@ -1926,34 +1852,6 @@ { } } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_693A1D6836AF48149FB14FEAC557010F" - { - "SourcePath" = "8:..\\VSFiles\\x64\\Release\\Midi2.EndpointMetadataListenerTransform.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1DC960FE630C406E9A1F93C99C1E099A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:4" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{0DDD9961-7959-46B1-A11D-05BA8AF65297}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_A3DE8E463AFE466BB9AF6E4875B67114" { "SourcePath" = "8:..\\VSFiles\\x64\\Release\\Midi2.LoopbackMidiAbstraction.dll" diff --git a/src/api/Service/Exe/MidiClientManager.cpp b/src/api/Service/Exe/MidiClientManager.cpp index f801e6e7f..1a7a6359b 100644 --- a/src/api/Service/Exe/MidiClientManager.cpp +++ b/src/api/Service/Exe/MidiClientManager.cpp @@ -702,82 +702,82 @@ CMidiClientManager::GetMidiScheduler( return S_OK; } -_Use_decl_annotations_ -HRESULT -CMidiClientManager::GetMidiEndpointMetadataHandler( - handle_t BindingHandle, - MidiFlow Flow, - wil::com_ptr_nothrow& DevicePipe, - wil::com_ptr_nothrow& NextDeviceSidePipe, - wil::com_ptr_nothrow& ClientConnectionPipe -) -{ - RETURN_HR_IF_NULL(E_INVALIDARG, DevicePipe); - - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(DevicePipe->MidiDevice().c_str(), "Device Id") - ); - - wil::com_ptr_nothrow transformPipe{ nullptr }; - - // we only handle metadata on incoming messages - RETURN_HR_IF(E_UNEXPECTED, Flow != MidiFlow::MidiFlowIn); - - - auto transforms = m_TransformPipes.equal_range(DevicePipe->MidiDevice()); - for (auto& transform = transforms.first; transform != transforms.second; ++transform) - { - //wil::com_ptr_nothrow pipe = transform->second.get(); - - if (transform->second->TransformGuid() == __uuidof(Midi2EndpointMetadataListenerTransform)) - { - transformPipe = transform->second; - break; - } - } - - // not found, instantiate the transform that is needed. - if (!transformPipe) - { - MIDISRV_TRANSFORMCREATION_PARAMS creationParams{ 0 }; - - creationParams.Flow = Flow; - creationParams.DataFormatIn = MidiDataFormat::MidiDataFormat_UMP; - creationParams.DataFormatOut = MidiDataFormat::MidiDataFormat_UMP; - - creationParams.TransformGuid = __uuidof(Midi2EndpointMetadataListenerTransform); - - // create the transform - wil::com_ptr_nothrow transform; - RETURN_IF_FAILED(Microsoft::WRL::MakeAndInitialize(&transform)); - - RETURN_IF_FAILED(transform->Initialize(BindingHandle, DevicePipe->MidiDevice().c_str(), &creationParams, &m_MmcssTaskId, (IUnknown*)m_DeviceManager.get())); - - transformPipe = transform.get(); - - // connect the transform to the device - - if (Flow == MidiFlowIn) - { - RETURN_IF_FAILED(NextDeviceSidePipe->AddConnectedPipe(transformPipe)); - } - else - { - RETURN_IF_FAILED(transformPipe->AddConnectedPipe(NextDeviceSidePipe)); - } - - m_TransformPipes.emplace(DevicePipe->MidiDevice(), transform); - } - - ClientConnectionPipe = transformPipe; - - return S_OK; -} +//_Use_decl_annotations_ +//HRESULT +//CMidiClientManager::GetMidiEndpointMetadataHandler( +// handle_t BindingHandle, +// MidiFlow Flow, +// wil::com_ptr_nothrow& DevicePipe, +// wil::com_ptr_nothrow& NextDeviceSidePipe, +// wil::com_ptr_nothrow& ClientConnectionPipe +//) +//{ +// RETURN_HR_IF_NULL(E_INVALIDARG, DevicePipe); +// +// TraceLoggingWrite( +// MidiSrvTelemetryProvider::Provider(), +// MIDI_TRACE_EVENT_INFO, +// TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), +// TraceLoggingLevel(WINEVENT_LEVEL_INFO), +// TraceLoggingPointer(this, "this"), +// TraceLoggingWideString(DevicePipe->MidiDevice().c_str(), "Device Id") +// ); +// +// wil::com_ptr_nothrow transformPipe{ nullptr }; +// +// // we only handle metadata on incoming messages +// RETURN_HR_IF(E_UNEXPECTED, Flow != MidiFlow::MidiFlowIn); +// +// +// auto transforms = m_TransformPipes.equal_range(DevicePipe->MidiDevice()); +// for (auto& transform = transforms.first; transform != transforms.second; ++transform) +// { +// //wil::com_ptr_nothrow pipe = transform->second.get(); +// +// if (transform->second->TransformGuid() == __uuidof(Midi2EndpointMetadataListenerTransform)) +// { +// transformPipe = transform->second; +// break; +// } +// } +// +// // not found, instantiate the transform that is needed. +// if (!transformPipe) +// { +// MIDISRV_TRANSFORMCREATION_PARAMS creationParams{ 0 }; +// +// creationParams.Flow = Flow; +// creationParams.DataFormatIn = MidiDataFormat::MidiDataFormat_UMP; +// creationParams.DataFormatOut = MidiDataFormat::MidiDataFormat_UMP; +// +// creationParams.TransformGuid = __uuidof(Midi2EndpointMetadataListenerTransform); +// +// // create the transform +// wil::com_ptr_nothrow transform; +// RETURN_IF_FAILED(Microsoft::WRL::MakeAndInitialize(&transform)); +// +// RETURN_IF_FAILED(transform->Initialize(BindingHandle, DevicePipe->MidiDevice().c_str(), &creationParams, &m_MmcssTaskId, (IUnknown*)m_DeviceManager.get())); +// +// transformPipe = transform.get(); +// +// // connect the transform to the device +// +// if (Flow == MidiFlowIn) +// { +// RETURN_IF_FAILED(NextDeviceSidePipe->AddConnectedPipe(transformPipe)); +// } +// else +// { +// RETURN_IF_FAILED(transformPipe->AddConnectedPipe(NextDeviceSidePipe)); +// } +// +// m_TransformPipes.emplace(DevicePipe->MidiDevice(), transform); +// } +// +// ClientConnectionPipe = transformPipe; +// +// return S_OK; +//} @@ -807,21 +807,21 @@ CMidiClientManager::CreateMidiClient( RETURN_IF_FAILED(m_SessionTracker->IsValidSession(SessionId, ClientProcessId)); - if (InternalProtocolNegotiationUseOnly && Client->DataFormat != MidiDataFormat::MidiDataFormat_UMP) - { - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_ERROR, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_ERROR), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(MidiDevice), - TraceLoggingGuid(SessionId), - TraceLoggingWideString(L"Called for internal protocol negotiation, but client dataformat is not UMP", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - return E_UNEXPECTED; - } + //if (InternalProtocolNegotiationUseOnly && Client->DataFormat != MidiDataFormat::MidiDataFormat_UMP) + //{ + // TraceLoggingWrite( + // MidiSrvTelemetryProvider::Provider(), + // MIDI_TRACE_EVENT_ERROR, + // TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + // TraceLoggingLevel(WINEVENT_LEVEL_ERROR), + // TraceLoggingPointer(this, "this"), + // TraceLoggingWideString(MidiDevice), + // TraceLoggingGuid(SessionId), + // TraceLoggingWideString(L"Called for internal protocol negotiation, but client dataformat is not UMP", MIDI_TRACE_EVENT_MESSAGE_FIELD) + // ); + // + // return E_UNEXPECTED; + //} if (InternalProtocolNegotiationUseOnly && CreationParams->DataFormat != MidiDataFormat::MidiDataFormat_UMP) { diff --git a/src/api/Service/Exe/MidiEndpointProtocolManager.cpp b/src/api/Service/Exe/MidiEndpointProtocolManager.cpp index cc5fe852a..aceefb4f1 100644 --- a/src/api/Service/Exe/MidiEndpointProtocolManager.cpp +++ b/src/api/Service/Exe/MidiEndpointProtocolManager.cpp @@ -62,11 +62,12 @@ CMidiEndpointProtocolManager::Initialize( _Use_decl_annotations_ HRESULT CMidiEndpointProtocolManager::NegotiateAndRequestMetadata( + GUID AbstractionGuid, LPCWSTR DeviceInterfaceId, BOOL PreferToSendJRTimestampsToEndpoint, BOOL PreferToReceiveJRTimestampsFromEndpoint, BYTE PreferredMidiProtocol, - WORD TimeoutMS, + WORD TimeoutMilliseconds, PENDPOINTPROTOCOLNEGOTIATIONRESULTS* NegotiationResults ) noexcept { @@ -79,316 +80,53 @@ CMidiEndpointProtocolManager::NegotiateAndRequestMetadata( TraceLoggingWideString(DeviceInterfaceId) ); - // TEMP! - NegotiationResults = nullptr; + auto cleanDeviceInterfaceId = internal::NormalizeDeviceInstanceIdWStringCopy(DeviceInterfaceId); - ProtocolManagerWork work; + std::shared_ptr worker{ nullptr }; - //// DEBUG - ////TimeoutMS = 25000; - - work.EndpointInstanceId = DeviceInterfaceId; - work.PreferToSendJRTimestampsToEndpoint = PreferToSendJRTimestampsToEndpoint; - work.PreferToReceiveJRTimestampsFromEndpoint = PreferToReceiveJRTimestampsFromEndpoint; - work.PreferredMidiProtocol = PreferredMidiProtocol; - work.TimeoutMS = TimeoutMS; - - //m_queueMutex.lock(); - //m_workQueue.push(std::move(work)); - //m_queueMutex.unlock(); - - //// todo: signal event that there's new work - //m_queueWorkerThreadWakeup.SetEvent(); - - - return S_OK; -} - - -HRESULT -CMidiEndpointProtocolManager::Cleanup() -{ - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this") - ); - - - m_sessionTracker->RemoveClientSession(m_sessionId); - - // TODO terminate any open threads and ensure they close up - - m_clientManager.reset(); - m_deviceManager.reset(); - m_sessionTracker.reset(); - - // clear the queue - while (m_workQueue.size() > 0) m_workQueue.pop(); - - m_shutdown = true; -// m_queueWorkerThreadWakeup.SetEvent(); - -// if (m_queueWorkerThread.joinable()) -// m_queueWorkerThread.join(); - - return S_OK; -} - - - - - - - - - -_Use_decl_annotations_ -HRESULT -CMidiEndpointProtocolManager::Callback(PVOID Data, UINT Size, LONGLONG Position, LONGLONG Context) -{ - UNREFERENCED_PARAMETER(Position); - UNREFERENCED_PARAMETER(Context); - - if (Data != nullptr && Size == UMP128_BYTE_COUNT) + if (m_endpointWorkers.find(cleanDeviceInterfaceId) != m_endpointWorkers.end()) { - internal::PackedUmp128 ump; - - if (internal::FillPackedUmp128FromBytePointer((byte*)Data, (uint8_t)Size, ump)) - { - // if type F, process it. - - if (internal::GetUmpMessageTypeFromFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_UMP_MESSAGE_TYPE) - { - auto messageStatus = internal::GetStatusFromStreamMessageFirstWord(ump.word0); - - switch (messageStatus) - { - case MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_INFO_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Endpoint Info Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - m_currentWorkItem.TaskEndpointInfoReceived = true; - m_currentWorkItem.DeclaredFunctionBlockCount = internal::GetEndpointInfoNotificationNumberOfFunctionBlocksFromSecondWord(ump.word1); - - RequestAllFunctionBlocks(); - break; - - case MIDI_STREAM_MESSAGE_STATUS_DEVICE_IDENTITY_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Device Identity Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - m_currentWorkItem.TaskDeviceIdentityReceived = true; - break; - - case MIDI_STREAM_MESSAGE_STATUS_STREAM_CONFIGURATION_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Stream Configuration Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - ProcessStreamConfigurationRequest(ump); - break; - - case MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_INFO_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Function Block Info Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - m_currentWorkItem.CountFunctionBlocksReceived += 1; - break; - - case MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Function Block Name Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - if (internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_COMPLETE || - internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_END) - { - m_currentWorkItem.CountFunctionBlockNamesReceived += 1; - } - break; - - case MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_PRODUCT_INSTANCE_ID_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Product Instance Id Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - if (internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_COMPLETE || - internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_END) - { - m_currentWorkItem.TaskEndpointProductInstanceIdReceived = true; - } - break; - - case MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION: - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Received Endpoint Name Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - if (internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_COMPLETE || - internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_END) - { - m_currentWorkItem.TaskEndpointNameReceived = true; - } - break; - - default: - break; - } - } - else - { - // not a stream message. Ignore and move on - } - } - else - { - // couldn't fill the UMP. Shouldn't happen since we pre-validate - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_ERROR, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_ERROR), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Couldn't fill the UMP", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - return E_FAIL; - } + // already exists. We can re-request negotiation from the worker + worker = m_endpointWorkers[cleanDeviceInterfaceId]; } - else - { - // Either null (hopefully not) or not a UMP128 so can't be a stream message. Fall out quickly - } - - - // check flags. If we've received everything, signal - - if (m_currentWorkItem.TaskEndpointInfoReceived && - m_currentWorkItem.TaskEndpointNameReceived && - m_currentWorkItem.TaskEndpointProductInstanceIdReceived && - m_currentWorkItem.TaskDeviceIdentityReceived && - m_currentWorkItem.CountFunctionBlockNamesReceived == m_currentWorkItem.DeclaredFunctionBlockCount && - m_currentWorkItem.CountFunctionBlocksReceived == m_currentWorkItem.DeclaredFunctionBlockCount && - m_currentWorkItem.TaskFinalStreamNegotiationResponseReceived) - { -// m_allMessagesReceived.SetEvent(); - } - - return S_OK; -} - -HRESULT -CMidiEndpointProtocolManager::RequestAllFunctionBlocks() -{ - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this") - ); - - internal::PackedUmp128 ump{}; - if (m_currentWorkItem.Endpoint) + if (worker == nullptr) { - // first word - ump.word0 = internal::BuildFunctionBlockDiscoveryRequestFirstWord( - MIDI_STREAM_MESSAGE_FUNCTION_BLOCK_REQUEST_ALL_FUNCTION_BLOCKS, - MIDI_STREAM_MESSAGE_FUNCTION_BLOCK_REQUEST_MESSAGE_ALL_FILTER_FLAGS); + // allocate a new worker + worker = std::make_shared(); + + RETURN_IF_NULL_ALLOC(worker); + RETURN_IF_FAILED(worker->Initialize( + m_sessionId, + AbstractionGuid, + cleanDeviceInterfaceId.c_str(), + m_clientManager, + m_deviceManager, + m_sessionTracker + ) + ); - // send it immediately - return m_currentWorkItem.Endpoint->SendMidiMessage((byte*)&ump, (UINT)sizeof(ump), 0); + // add it to the map + m_endpointWorkers[cleanDeviceInterfaceId] = worker; } - return E_FAIL; -} + // now that we have the worker created, actually start the work. This function blocks for up to TimeoutMilliseconds. - -HRESULT -CMidiEndpointProtocolManager::RequestAllEndpointDiscoveryInformation() -{ - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this") + RETURN_IF_FAILED(worker->NegotiateAndRequestMetadata( + PreferToSendJRTimestampsToEndpoint, + PreferToReceiveJRTimestampsFromEndpoint, + PreferredMidiProtocol, + TimeoutMilliseconds, + NegotiationResults + ) ); - internal::PackedUmp128 ump{}; - - if (m_currentWorkItem.Endpoint) - { - // first word - ump.word0 = internal::BuildEndpointDiscoveryRequestFirstWord(MIDI_PREFERRED_UMP_VERSION_MAJOR, MIDI_PREFERRED_UMP_VERSION_MINOR); - - // second word - uint8_t filterBitmap = MIDI_ENDPOINT_DISCOVERY_MESSAGE_ALL_FILTER_FLAGS; - internal::SetMidiWordMostSignificantByte4(ump.word1, filterBitmap); - - // send it immediately - return m_currentWorkItem.Endpoint->SendMidiMessage((byte*)&ump, (UINT)sizeof(ump), 0); - } - else - { - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_ERROR), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Endpoint is null", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - } - - return E_FAIL; + return S_OK; } -_Use_decl_annotations_ + HRESULT -CMidiEndpointProtocolManager::ProcessStreamConfigurationRequest(internal::PackedUmp128 ump) +CMidiEndpointProtocolManager::Cleanup() { TraceLoggingWrite( MidiSrvTelemetryProvider::Provider(), @@ -398,167 +136,138 @@ CMidiEndpointProtocolManager::ProcessStreamConfigurationRequest(internal::Packed TraceLoggingPointer(this, "this") ); - // see if all is what we want. If not, we'll send a request to change configuration. + m_sessionTracker->RemoveClientSession(m_sessionId); - if (m_currentWorkItem.Endpoint) + for (auto& [key, val] : m_endpointWorkers) { - auto protocol = internal::GetStreamConfigurationNotificationProtocolFromFirstWord(ump.word0); - auto endpointRxJR = internal::GetStreamConfigurationNotificationReceiveJRFromFirstWord(ump.word0); - auto endpointTxJR = internal::GetStreamConfigurationNotificationTransmitJRFromFirstWord(ump.word0); - - if (protocol != m_currentWorkItem.PreferredMidiProtocol || - endpointRxJR != m_currentWorkItem.PreferToSendJRTimestampsToEndpoint || - endpointTxJR != m_currentWorkItem.PreferToReceiveJRTimestampsFromEndpoint) - { - if (!m_currentWorkItem.AlreadyTriedToNegotiationOnce) - { - internal::PackedUmp128 configurationRequestUmp{}; - - ump.word0 = internal::BuildStreamConfigurationRequestFirstWord( - m_currentWorkItem.PreferredMidiProtocol, - m_currentWorkItem.PreferToSendJRTimestampsToEndpoint, - m_currentWorkItem.PreferToReceiveJRTimestampsFromEndpoint); - - m_currentWorkItem.AlreadyTriedToNegotiationOnce = true; - - // send it immediately - return m_currentWorkItem.Endpoint->SendMidiMessage((byte*)&configurationRequestUmp, (UINT)sizeof(configurationRequestUmp), 0); - } - else - { - // we've already tried negotiating once. Don't do it again - m_currentWorkItem.TaskFinalStreamNegotiationResponseReceived = true; - return S_OK; - } - } - else - { - // all good on this try - m_currentWorkItem.TaskFinalStreamNegotiationResponseReceived = true; - return S_OK; - } - + LOG_IF_FAILED(val->Cleanup()); + val.reset(); } - return E_FAIL; -} - - - -HRESULT -CMidiEndpointProtocolManager::ProcessCurrentWorkEntry() -{ - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this") - ); - - - // by using the existing abstractions and activation methods just - // like any other client, we will get the transforms, including - // the metadata listener, for free. So we don't need to duplicate - // metadata capture code here, and we don't need to make any - // explicit call to the metadata capture transform plugin - - RETURN_HR_IF_NULL(E_FAIL, m_serviceAbstraction); + m_endpointWorkers.clear(); - RETURN_IF_FAILED(m_serviceAbstraction->Activate(__uuidof(IMidiBiDi), (void**)&(m_currentWorkItem.Endpoint))); - - // Create and open a connection to the endpoint, complete with metadata listeners - - DWORD mmcssTaskId{}; - ABSTRACTIONCREATIONPARAMS abstractionCreationParams{ MidiDataFormat_UMP, nullptr }; - - RETURN_IF_FAILED(m_currentWorkItem.Endpoint->Initialize( - m_currentWorkItem.EndpointInstanceId.c_str(), - &abstractionCreationParams, - &mmcssTaskId, - (IMidiCallback*)this, - MIDI_PROTOCOL_MANAGER_ENDPOINT_CREATION_CONTEXT, - m_sessionId - )); - - -// if (m_allMessagesReceived.is_signaled()) m_allMessagesReceived.ResetEvent(); - - HRESULT hr = S_OK; - - //// Send initial discovery request - //// the rest happens in response to messages in the callback - //LOG_IF_FAILED(hr = RequestAllEndpointDiscoveryInformation()); - - //if (SUCCEEDED(hr)) - //{ - // OutputDebugString(__FUNCTION__ L" - Requested discovery information"); - //} - //else - //{ - // TraceLoggingWrite( - // MidiSrvTelemetryProvider::Provider(), - // __FUNCTION__, - // TraceLoggingLevel(WINEVENT_LEVEL_ERROR), - // TraceLoggingPointer(this, "this"), - // TraceLoggingWideString(L"Failed to request discovery information") - // ); - //} - - //if (SUCCEEDED(hr)) - //{ - // // Wait until all metadata arrives or we timeout - // if (!m_allMessagesReceived.wait(m_currentWorkItem.TimeoutMS)) - // { - // // we didn't receive everything, but that's not a failure condition for this. - // } - //} - - //if (m_allMessagesReceived.is_signaled()) m_allMessagesReceived.ResetEvent(); - - //m_currentWorkItem.Endpoint->Cleanup(); - //m_currentWorkItem.Endpoint = nullptr; + m_clientManager.reset(); + m_deviceManager.reset(); + m_sessionTracker.reset(); - return hr; + return S_OK; } -void CMidiEndpointProtocolManager::ThreadWorker() -{ - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Thread worker enter", MIDI_TRACE_EVENT_MESSAGE_FIELD) - ); - - while (!m_shutdown) - { - if (m_workQueue.size() > 0) - { - m_queueMutex.lock(); - m_currentWorkItem = std::move(m_workQueue.front()); - m_workQueue.pop(); - m_queueMutex.unlock(); - - // this will block until completed - LOG_IF_FAILED(ProcessCurrentWorkEntry()); - } - - // todo: how often do we want to process messages? - Sleep(300); - } - - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this"), - TraceLoggingWideString(L"Thread worker exit") - ); - -} +//HRESULT +//CMidiEndpointProtocolManager::ProcessCurrentWorkEntry() +//{ +// TraceLoggingWrite( +// MidiSrvTelemetryProvider::Provider(), +// MIDI_TRACE_EVENT_INFO, +// TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), +// TraceLoggingLevel(WINEVENT_LEVEL_INFO), +// TraceLoggingPointer(this, "this") +// ); +// +// +// // by using the existing abstractions and activation methods just +// // like any other client, we will get the transforms, including +// // the metadata listener, for free. So we don't need to duplicate +// // metadata capture code here, and we don't need to make any +// // explicit call to the metadata capture transform plugin +// +// RETURN_HR_IF_NULL(E_FAIL, m_serviceAbstraction); +// +// RETURN_IF_FAILED(m_serviceAbstraction->Activate(__uuidof(IMidiBiDi), (void**)&(m_currentWorkItem.Endpoint))); +// +// // Create and open a connection to the endpoint, complete with metadata listeners +// +// DWORD mmcssTaskId{}; +// ABSTRACTIONCREATIONPARAMS abstractionCreationParams{ MidiDataFormat_UMP, nullptr }; +// +// RETURN_IF_FAILED(m_currentWorkItem.Endpoint->Initialize( +// m_currentWorkItem.EndpointInstanceId.c_str(), +// &abstractionCreationParams, +// &mmcssTaskId, +// (IMidiCallback*)this, +// MIDI_PROTOCOL_MANAGER_ENDPOINT_CREATION_CONTEXT, +// m_sessionId +// )); +// +// +//// if (m_allMessagesReceived.is_signaled()) m_allMessagesReceived.ResetEvent(); +// +// HRESULT hr = S_OK; +// +// //// Send initial discovery request +// //// the rest happens in response to messages in the callback +// //LOG_IF_FAILED(hr = RequestAllEndpointDiscoveryInformation()); +// +// //if (SUCCEEDED(hr)) +// //{ +// // OutputDebugString(__FUNCTION__ L" - Requested discovery information"); +// //} +// //else +// //{ +// // TraceLoggingWrite( +// // MidiSrvTelemetryProvider::Provider(), +// // __FUNCTION__, +// // TraceLoggingLevel(WINEVENT_LEVEL_ERROR), +// // TraceLoggingPointer(this, "this"), +// // TraceLoggingWideString(L"Failed to request discovery information") +// // ); +// //} +// +// //if (SUCCEEDED(hr)) +// //{ +// // // Wait until all metadata arrives or we timeout +// // if (!m_allMessagesReceived.wait(m_currentWorkItem.TimeoutMS)) +// // { +// // // we didn't receive everything, but that's not a failure condition for this. +// // } +// //} +// +// //if (m_allMessagesReceived.is_signaled()) m_allMessagesReceived.ResetEvent(); +// +// //m_currentWorkItem.Endpoint->Cleanup(); +// //m_currentWorkItem.Endpoint = nullptr; +// +// return hr; +//} + + +//void CMidiEndpointProtocolManager::ThreadWorker() +//{ +// TraceLoggingWrite( +// MidiSrvTelemetryProvider::Provider(), +// MIDI_TRACE_EVENT_INFO, +// TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), +// TraceLoggingLevel(WINEVENT_LEVEL_INFO), +// TraceLoggingPointer(this, "this"), +// TraceLoggingWideString(L"Thread worker enter", MIDI_TRACE_EVENT_MESSAGE_FIELD) +// ); +// +// while (!m_shutdown) +// { +// if (m_workQueue.size() > 0) +// { +// m_queueMutex.lock(); +// m_currentWorkItem = std::move(m_workQueue.front()); +// m_workQueue.pop(); +// m_queueMutex.unlock(); +// +// // this will block until completed +// LOG_IF_FAILED(ProcessCurrentWorkEntry()); +// } +// +// // todo: how often do we want to process messages? +// Sleep(300); +// } +// +// TraceLoggingWrite( +// MidiSrvTelemetryProvider::Provider(), +// MIDI_TRACE_EVENT_INFO, +// TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), +// TraceLoggingLevel(WINEVENT_LEVEL_INFO), +// TraceLoggingPointer(this, "this"), +// TraceLoggingWideString(L"Thread worker exit") +// ); +// +//} diff --git a/src/api/Service/Exe/MidiEndpointProtocolManager.h b/src/api/Service/Exe/MidiEndpointProtocolManager.h index f1c5c0209..8f9d13001 100644 --- a/src/api/Service/Exe/MidiEndpointProtocolManager.h +++ b/src/api/Service/Exe/MidiEndpointProtocolManager.h @@ -8,41 +8,9 @@ #pragma once -#include -#include - -struct ProtocolManagerWork -{ - std::wstring EndpointInstanceId{}; - bool PreferToSendJRTimestampsToEndpoint{ false }; - bool PreferToReceiveJRTimestampsFromEndpoint{ false }; - uint8_t PreferredMidiProtocol{}; - uint16_t TimeoutMS{ 5000 }; - - wil::com_ptr_nothrow Endpoint; - - bool AlreadyTriedToNegotiationOnce{ false }; - - bool TaskEndpointInfoReceived{ false }; - bool TaskFinalStreamNegotiationResponseReceived{ false }; - bool TaskEndpointNameReceived{ false }; - bool TaskEndpointProductInstanceIdReceived{ false }; - bool TaskDeviceIdentityReceived{ false }; - - uint8_t DeclaredFunctionBlockCount{ 0 }; - - uint8_t CountFunctionBlocksReceived{ 0 }; - uint8_t CountFunctionBlockNamesReceived{ 0 }; -}; - - - - - class CMidiEndpointProtocolManager : public Microsoft::WRL::RuntimeClass< Microsoft::WRL::RuntimeClassFlags, - IMidiEndpointProtocolManagerInterface, - IMidiCallback> + IMidiEndpointProtocolManagerInterface> { public: CMidiEndpointProtocolManager() = default; @@ -55,44 +23,23 @@ class CMidiEndpointProtocolManager : public Microsoft::WRL::RuntimeClass< ); STDMETHOD(NegotiateAndRequestMetadata)( - _In_ LPCWSTR DeviceInterfaceId, - _In_ BOOL PreferToSendJRTimestampsToEndpoint, - _In_ BOOL PreferToReceiveJRTimestampsFromEndpoint, - _In_ BYTE PreferredMidiProtocol, - _In_ WORD TimeoutMS, - _Out_ PENDPOINTPROTOCOLNEGOTIATIONRESULTS* NegotiationResults + _In_ GUID AbstractionGuid, + _In_ LPCWSTR DeviceInterfaceId, + _In_ BOOL PreferToSendJRTimestampsToEndpoint, + _In_ BOOL PreferToReceiveJRTimestampsFromEndpoint, + _In_ BYTE PreferredMidiProtocol, + _In_ WORD TimeoutMilliseconds, + _Out_ PENDPOINTPROTOCOLNEGOTIATIONRESULTS* NegotiationResults ); - STDMETHOD(Callback)(_In_ PVOID Data, _In_ UINT Size, _In_ LONGLONG Position, _In_ LONGLONG Context); - HRESULT Cleanup(); private: - void ThreadWorker(); - GUID m_sessionId; - HRESULT ProcessCurrentWorkEntry(); - - - HRESULT RequestAllFunctionBlocks(); - HRESULT RequestAllEndpointDiscoveryInformation(); - HRESULT ProcessStreamConfigurationRequest(_In_ internal::PackedUmp128 ump); - std::shared_ptr m_clientManager; std::shared_ptr m_deviceManager; std::shared_ptr m_sessionTracker; - - wil::com_ptr_nothrow m_serviceAbstraction; - - std::mutex m_queueMutex; - std::queue m_workQueue; - - std::thread m_queueWorkerThread; - - ProtocolManagerWork m_currentWorkItem; - - // true if we're closing down - bool m_shutdown{ false }; + std::map> m_endpointWorkers; }; diff --git a/src/api/Service/Exe/MidiEndpointProtocolWorker.cpp b/src/api/Service/Exe/MidiEndpointProtocolWorker.cpp index 7c3b867e7..5a8617fa9 100644 --- a/src/api/Service/Exe/MidiEndpointProtocolWorker.cpp +++ b/src/api/Service/Exe/MidiEndpointProtocolWorker.cpp @@ -9,6 +9,58 @@ #include "stdafx.h" +_Use_decl_annotations_ +HRESULT +CMidiEndpointProtocolWorker::Initialize( + GUID SessionId, + GUID AbstractionGuid, + LPCWSTR DeviceInterfaceId, + std::shared_ptr& ClientManager, + std::shared_ptr& DeviceManager, + std::shared_ptr& SessionTracker +) +{ + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this") + ); + + m_abstractionGuid = AbstractionGuid; + m_sessionId = SessionId; + m_deviceInterfaceId = DeviceInterfaceId; + + m_clientManager = ClientManager; + m_deviceManager = DeviceManager; + m_sessionTracker = SessionTracker; + + wil::com_ptr_nothrow midiAbstraction; + + // we only support UMP data format for protocol negotiation + ABSTRACTIONCREATIONPARAMS abstractionCreationParams; + abstractionCreationParams.DataFormat = MidiDataFormat::MidiDataFormat_UMP; + + DWORD mmcssTaskId{ 0 }; + LONGLONG context{ 0 }; + + + // This approach ONLY works because all UMP endpoints are required to be multi-client + RETURN_IF_FAILED(CoCreateInstance(m_abstractionGuid, nullptr, CLSCTX_ALL, IID_PPV_ARGS(&midiAbstraction))); + RETURN_IF_FAILED(midiAbstraction->Activate(__uuidof(IMidiBiDi), (void**)&m_midiBiDiDevice)); + RETURN_IF_FAILED(m_midiBiDiDevice->Initialize(m_deviceInterfaceId.c_str(), &abstractionCreationParams, &mmcssTaskId, this, context, m_sessionId)); + + // todo: add this connection to the session tracker + + + + + return S_OK; +} + + + _Use_decl_annotations_ DEVPROPKEY @@ -81,15 +133,15 @@ CMidiEndpointProtocolWorker::FunctionBlockNamePropertyKeyFromNumber( + _Use_decl_annotations_ HRESULT -CMidiEndpointProtocolWorker::Initialize( - GUID SessionId, - GUID AbstractionGuid, - LPCWSTR DeviceInterfaceId, - std::shared_ptr& ClientManager, - std::shared_ptr& DeviceManager, - std::shared_ptr& SessionTracker +CMidiEndpointProtocolWorker::NegotiateAndRequestMetadata( + BOOL PreferToSendJRTimestampsToEndpoint, + BOOL PreferToReceiveJRTimestampsFromEndpoint, + BYTE PreferredMidiProtocol, + WORD TimeoutMilliseconds, + PENDPOINTPROTOCOLNEGOTIATIONRESULTS* NegotiationResults ) { TraceLoggingWrite( @@ -100,62 +152,90 @@ CMidiEndpointProtocolWorker::Initialize( TraceLoggingPointer(this, "this") ); - m_abstractionGuid = AbstractionGuid; - m_sessionId = SessionId; - m_deviceInterfaceId = DeviceInterfaceId; - m_clientManager = ClientManager; - m_deviceManager = DeviceManager; - m_sessionTracker = SessionTracker; + m_preferToSendJRTimestampsToEndpoint = PreferToSendJRTimestampsToEndpoint; + m_preferToReceiveJRTimestampsFromEndpoint = PreferToReceiveJRTimestampsFromEndpoint; + m_preferredMidiProtocol = PreferredMidiProtocol; - wil::com_ptr_nothrow midiAbstraction; + // We continue listening for and updating metadata even after we return. + // We don't raise any changed events here. Instead, anyone interested in getting + // changes after the initial negotiation can use a device watcher on that device + // and react to our stored property changes. This also helps prevent any races. - // we only support UMP data format for protocol negotiation - ABSTRACTIONCREATIONPARAMS abstractionCreationParams; - abstractionCreationParams.DataFormat = MidiDataFormat::MidiDataFormat_UMP; + try + { + // TODO: For now, we're keeping the initial negotiation all in-line, in the same thread. + // will evaluate a separate worker thread after the implementation is tested and working. - DWORD mmcssTaskId{ 0 }; - LONGLONG context{ 0 }; + // The lifetime of this object (CMidiEndpointProtocolWorker instance for the SWD) is controlled by the CMidiEndpointProtocolManager. - RETURN_IF_FAILED(CoCreateInstance(m_abstractionGuid, nullptr, CLSCTX_ALL, IID_PPV_ARGS(&midiAbstraction))); - RETURN_IF_FAILED(midiAbstraction->Activate(__uuidof(IMidiBiDi), (void**)&m_midiBiDiDevice)); - RETURN_IF_FAILED(m_midiBiDiDevice->Initialize(m_deviceInterfaceId.c_str(), &abstractionCreationParams, &mmcssTaskId, this, context, m_sessionId)); - try - { - // start background processing thread + // reset all the data collection fields in case negotiation was + // called more than once (an allowed scenario) + m_countFunctionBlocksReceived = 0; + m_countFunctionBlockNamesReceived = 0; + m_declaredFunctionBlockCount = 0; + m_discoveredFunctionBlocks.clear(); + m_functionBlockNames.clear(); + m_endpointName.clear(); + m_productInstanceId.clear(); - //std::thread workerThread( - // &CMidiEndpointProtocolManager::ThreadWorker, - // this); + m_allNegotiationMessagesReceived.reset(); + m_alreadyTriedToNegotiationOnce = false; - //m_queueWorkerThread = std::move(workerThread); + m_taskDeviceIdentityReceived = false; + m_taskEndpointInfoReceived = false; + m_taskEndpointNameReceived = false; + m_taskEndpointProductInstanceIdReceived = false; + m_taskFinalStreamNegotiationResponseReceived = false; - //// start up the worker thread - //m_queueWorkerThread.detach(); + // start initial negotiation. Return when timed out or when we have all the requested info. + LOG_IF_FAILED(RequestAllEndpointDiscoveryInformation()); - } - CATCH_RETURN(); + m_allNegotiationMessagesReceived.wait(TimeoutMilliseconds); + + if (m_allNegotiationMessagesReceived.is_signaled()) + { + // provide all the negotiation results - return S_OK; -} + m_mostRecentResults.AllEndpointInformationReceived = true; + } + else + { + // we only received partial results -HRESULT -CMidiEndpointProtocolWorker::ListenForMetadata() -{ - TraceLoggingWrite( - MidiSrvTelemetryProvider::Provider(), - MIDI_TRACE_EVENT_INFO, - TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), - TraceLoggingLevel(WINEVENT_LEVEL_INFO), - TraceLoggingPointer(this, "this") - ); + m_mostRecentResults.AllEndpointInformationReceived = false; + } - // TODO: Connect to the endpoint and listen + // copy the data over into the results structure. We do this because the endpoint + // deals only with the manager. It doesn't work with this worker at all. Important + // because in the future, this worker may be on another thread etc. It's an internal + // implementation detail, not a public contract. + m_mostRecentResults.EndpointSuppliedName = m_endpointName.c_str(); + m_mostRecentResults.EndpointSuppliedProductInstanceId = m_productInstanceId.c_str(); + //results->FunctionBlocksAreStatic = + m_mostRecentResults.NumberOfFunctionBlocksReceived = m_countFunctionBlocksReceived; + m_mostRecentResults.NumberOfFunctionBlocksDeclared = m_declaredFunctionBlockCount; - return S_OK; + // TODO: Loop through function blocks and copy the name pointers over + // into the structure before returning it. Seems extra, but we need a friendly + // place to work on names before they are finished, and the structure only + // knows about the LPCWSTR, not std::wstring + + // MISSING NAME FUNCTIONALITY + + + // add the function blocks now they are fully valid + m_mostRecentResults.DiscoveredFunctionBlocks = m_discoveredFunctionBlocks.data(); + + + *NegotiationResults = &m_mostRecentResults; + + return S_OK; + } + CATCH_RETURN(); } _Use_decl_annotations_ @@ -169,7 +249,7 @@ CMidiEndpointProtocolWorker::Callback( UNREFERENCED_PARAMETER(Position); UNREFERENCED_PARAMETER(Context); - if (Size == UMP128_BYTE_COUNT) + if (Data != nullptr && Size == UMP128_BYTE_COUNT) { internal::PackedUmp128 ump; @@ -177,10 +257,121 @@ CMidiEndpointProtocolWorker::Callback( { // if type F, process it. - if (internal::GetUmpMessageTypeFromFirstWord(ump.word0) == 0xF) + if (internal::GetUmpMessageTypeFromFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_UMP_MESSAGE_TYPE) { - // process the metadata - LOG_IF_FAILED(ProcessStreamMessage(ump)); + auto messageStatus = internal::GetStatusFromStreamMessageFirstWord(ump.word0); + + switch (messageStatus) + { + case MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_INFO_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Endpoint Info Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + m_taskEndpointInfoReceived = true; + m_declaredFunctionBlockCount = internal::GetEndpointInfoNotificationNumberOfFunctionBlocksFromSecondWord(ump.word1); + + RequestAllFunctionBlocks(); + break; + + case MIDI_STREAM_MESSAGE_STATUS_DEVICE_IDENTITY_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Device Identity Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + m_taskDeviceIdentityReceived = true; + break; + + case MIDI_STREAM_MESSAGE_STATUS_STREAM_CONFIGURATION_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Stream Configuration Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + ProcessStreamConfigurationRequest(ump); + break; + + case MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_INFO_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Function Block Info Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + m_countFunctionBlocksReceived += 1; + break; + + case MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Function Block Name Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + if (internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_COMPLETE || + internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_END) + { + m_countFunctionBlockNamesReceived += 1; + } + break; + + case MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_PRODUCT_INSTANCE_ID_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Product Instance Id Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + if (internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_COMPLETE || + internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_END) + { + m_taskEndpointProductInstanceIdReceived = true; + } + break; + + case MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION: + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Received Endpoint Name Notification", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + if (internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_COMPLETE || + internal::GetFormFromStreamMessageFirstWord(ump.word0) == MIDI_STREAM_MESSAGE_MULTI_FORM_END) + { + m_taskEndpointNameReceived = true; + } + break; + + default: + break; + } } else { @@ -189,19 +380,167 @@ CMidiEndpointProtocolWorker::Callback( } else { - // couldn't fill the UMP. Shouldn't happen since we pre-validate. Just ignore. - //return E_FAIL; + // couldn't fill the UMP. Shouldn't happen since we pre-validate + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_ERROR, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_ERROR), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Couldn't fill the UMP", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + + return E_FAIL; } } else { - // Not a UMP128 so can't be a stream message. Fall out quickly + // Either null (hopefully not) or not a UMP128 so can't be a stream message. Fall out quickly } + // check flags. If we've received everything, signal + + if (m_taskEndpointInfoReceived && + m_taskEndpointNameReceived && + m_taskEndpointProductInstanceIdReceived && + m_taskDeviceIdentityReceived && + m_countFunctionBlockNamesReceived == m_declaredFunctionBlockCount && + m_countFunctionBlocksReceived == m_declaredFunctionBlockCount && + m_taskFinalStreamNegotiationResponseReceived) + { + // m_allMessagesReceived.SetEvent(); + } + return S_OK; } + +HRESULT +CMidiEndpointProtocolWorker::RequestAllFunctionBlocks() +{ + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this") + ); + + internal::PackedUmp128 ump{}; + + if (m_midiBiDiDevice) + { + // first word + ump.word0 = internal::BuildFunctionBlockDiscoveryRequestFirstWord( + MIDI_STREAM_MESSAGE_FUNCTION_BLOCK_REQUEST_ALL_FUNCTION_BLOCKS, + MIDI_STREAM_MESSAGE_FUNCTION_BLOCK_REQUEST_MESSAGE_ALL_FILTER_FLAGS); + + // send it immediately + return m_midiBiDiDevice->SendMidiMessage((byte*)&ump, (UINT)sizeof(ump), 0); + } + + return E_FAIL; +} + +HRESULT +CMidiEndpointProtocolWorker::RequestAllEndpointDiscoveryInformation() +{ + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this") + ); + + internal::PackedUmp128 ump{}; + + if (m_midiBiDiDevice) + { + // first word + ump.word0 = internal::BuildEndpointDiscoveryRequestFirstWord(MIDI_PREFERRED_UMP_VERSION_MAJOR, MIDI_PREFERRED_UMP_VERSION_MINOR); + + // second word + uint8_t filterBitmap = MIDI_ENDPOINT_DISCOVERY_MESSAGE_ALL_FILTER_FLAGS; + internal::SetMidiWordMostSignificantByte4(ump.word1, filterBitmap); + + // send it immediately + return m_midiBiDiDevice->SendMidiMessage((byte*)&ump, (UINT)sizeof(ump), 0); + } + else + { + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_ERROR), + TraceLoggingPointer(this, "this"), + TraceLoggingWideString(L"Endpoint is null", MIDI_TRACE_EVENT_MESSAGE_FIELD) + ); + } + + return E_FAIL; +} + +_Use_decl_annotations_ +HRESULT +CMidiEndpointProtocolWorker::ProcessStreamConfigurationRequest(internal::PackedUmp128 ump) +{ + TraceLoggingWrite( + MidiSrvTelemetryProvider::Provider(), + MIDI_TRACE_EVENT_INFO, + TraceLoggingString(__FUNCTION__, MIDI_TRACE_EVENT_LOCATION_FIELD), + TraceLoggingLevel(WINEVENT_LEVEL_INFO), + TraceLoggingPointer(this, "this") + ); + + // see if all is what we want. If not, we'll send a request to change configuration. + + if (m_midiBiDiDevice) + { + auto protocol = internal::GetStreamConfigurationNotificationProtocolFromFirstWord(ump.word0); + auto endpointRxJR = internal::GetStreamConfigurationNotificationReceiveJRFromFirstWord(ump.word0); + auto endpointTxJR = internal::GetStreamConfigurationNotificationTransmitJRFromFirstWord(ump.word0); + + if (protocol !=m_preferredMidiProtocol || + endpointRxJR != m_preferToSendJRTimestampsToEndpoint || + endpointTxJR != m_preferToReceiveJRTimestampsFromEndpoint) + { + if (!m_alreadyTriedToNegotiationOnce) + { + internal::PackedUmp128 configurationRequestUmp{}; + + ump.word0 = internal::BuildStreamConfigurationRequestFirstWord( + m_preferredMidiProtocol, + m_preferToSendJRTimestampsToEndpoint, + m_preferToReceiveJRTimestampsFromEndpoint); + + m_alreadyTriedToNegotiationOnce = true; + + // send it immediately + return m_midiBiDiDevice->SendMidiMessage((byte*)&configurationRequestUmp, (UINT)sizeof(configurationRequestUmp), 0); + } + else + { + // we've already tried negotiating once. Don't do it again + m_taskFinalStreamNegotiationResponseReceived = true; + return S_OK; + } + } + else + { + // all good on this try + m_taskFinalStreamNegotiationResponseReceived = true; + return S_OK; + } + + } + + return E_FAIL; +} + + HRESULT CMidiEndpointProtocolWorker::Cleanup() { @@ -214,6 +553,13 @@ CMidiEndpointProtocolWorker::Cleanup() ); + // stop worker thread + + m_shutdown = true; + // m_queueWorkerThreadWakeup.SetEvent(); + + // if (m_queueWorkerThread.joinable()) + // m_queueWorkerThread.join(); return S_OK; @@ -620,7 +966,7 @@ CMidiEndpointProtocolWorker::ParseStreamTextMessage(internal::PackedUmp128& mess // preallocate a wstring to the maximum length for a single message to avoid reallocation. Fill with zero - uint8_t maxCharsThisMessage{ 14 }; // TODO + uint8_t maxCharsThisMessage{ }; uint16_t messageStatus = internal::GetStatusFromStreamMessageFirstWord(message.word0); @@ -629,10 +975,17 @@ CMidiEndpointProtocolWorker::ParseStreamTextMessage(internal::PackedUmp128& mess // function block name messages have 13 character bytes instead of 14 due to having the FB number in the message maxCharsThisMessage = 13; } - else + else if ((messageStatus == MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION) || + (messageStatus == MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_PRODUCT_INSTANCE_ID_NOTIFICATION)) { maxCharsThisMessage = 14; } + else + { + // we don't recognize this type of text message. Bail + + return std::wstring{}; + } std::wstring text; text.reserve(maxCharsThisMessage + 1); // try to avoid reallocations diff --git a/src/api/Service/Exe/MidiEndpointProtocolWorker.h b/src/api/Service/Exe/MidiEndpointProtocolWorker.h index 453d2b82c..11f1de2d7 100644 --- a/src/api/Service/Exe/MidiEndpointProtocolWorker.h +++ b/src/api/Service/Exe/MidiEndpointProtocolWorker.h @@ -28,7 +28,13 @@ class CMidiEndpointProtocolWorker : public Microsoft::WRL::RuntimeClass< _In_ std::shared_ptr& SessionTracker ); - STDMETHOD(ListenForMetadata)(); + STDMETHOD(NegotiateAndRequestMetadata)( + _In_ BOOL PreferToSendJRTimestampsToEndpoint, + _In_ BOOL PreferToReceiveJRTimestampsFromEndpoint, + _In_ BYTE PreferredMidiProtocol, + _In_ WORD TimeoutMilliseconds, + _Out_ PENDPOINTPROTOCOLNEGOTIATIONRESULTS* NegotiationResults + ); STDMETHOD(Callback)(_In_ PVOID Data, _In_ UINT Size, _In_ LONGLONG Position, _In_ LONGLONG Context); @@ -43,7 +49,7 @@ class CMidiEndpointProtocolWorker : public Microsoft::WRL::RuntimeClass< LONGLONG m_context{ 0 }; wil::unique_event_nothrow m_allNegotiationMessagesReceived; - wil::unique_event_nothrow m_queueWorkerThreadWakeup; + //wil::unique_event_nothrow m_queueWorkerThreadWakeup; // true if we're closing down bool m_shutdown{ false }; @@ -53,6 +59,9 @@ class CMidiEndpointProtocolWorker : public Microsoft::WRL::RuntimeClass< std::shared_ptr m_deviceManager; std::shared_ptr m_sessionTracker; + //MIDISRV_CLIENT m_midiClient{ }; + + //std::shared_ptr m_clientPipe{ nullptr }; wil::com_ptr_nothrow m_midiBiDiDevice; @@ -62,6 +71,41 @@ class CMidiEndpointProtocolWorker : public Microsoft::WRL::RuntimeClass< std::map m_functionBlockNames; + + bool m_preferToSendJRTimestampsToEndpoint{ false }; + bool m_preferToReceiveJRTimestampsFromEndpoint{ false }; + uint8_t m_preferredMidiProtocol{}; + + bool m_alreadyTriedToNegotiationOnce{ false }; + + bool m_taskEndpointInfoReceived{ false }; + bool m_taskFinalStreamNegotiationResponseReceived{ false }; + bool m_taskEndpointNameReceived{ false }; + bool m_taskEndpointProductInstanceIdReceived{ false }; + bool m_taskDeviceIdentityReceived{ false }; + + uint8_t m_declaredFunctionBlockCount{ 0 }; + + uint8_t m_countFunctionBlocksReceived{ 0 }; + uint8_t m_countFunctionBlockNamesReceived{ 0 }; + + + //we keep these here so the pointer stays valid + ENDPOINTPROTOCOLNEGOTIATIONRESULTS m_mostRecentResults{ }; + std::vector m_discoveredFunctionBlocks{ }; + + + HRESULT RequestAllFunctionBlocks(); + HRESULT RequestAllEndpointDiscoveryInformation(); + + HRESULT HandleFunctionBlockNameMessage(_In_ internal::PackedUmp128& functionBlockNameMessage); + HRESULT HandleEndpointNameMessage(_In_ internal::PackedUmp128& endpointNameMessage); + HRESULT HandleProductInstanceIdMessage(_In_ internal::PackedUmp128& productInstanceIdMessage); + + HRESULT ProcessStreamConfigurationRequest(_In_ internal::PackedUmp128 ump); + HRESULT ProcessStreamMessage(_In_ internal::PackedUmp128 ump); + + std::wstring ParseStreamTextMessage(_In_ internal::PackedUmp128& message); DEVPROPKEY FunctionBlockPropertyKeyFromNumber(_In_ uint8_t functionBlockNumber); @@ -76,11 +120,6 @@ class CMidiEndpointProtocolWorker : public Microsoft::WRL::RuntimeClass< HRESULT UpdateStreamConfigurationProperties(_In_ internal::PackedUmp128& endpointStreamConfigurationNotificationMessage); HRESULT UpdateFunctionBlockProperty(_In_ internal::PackedUmp128& functionBlockInfoNotificationMessage); - HRESULT HandleFunctionBlockNameMessage(_In_ internal::PackedUmp128& functionBlockNameMessage); - HRESULT HandleEndpointNameMessage(_In_ internal::PackedUmp128& endpointNameMessage); - HRESULT HandleProductInstanceIdMessage(_In_ internal::PackedUmp128& productInstanceIdMessage); - - HRESULT ProcessStreamMessage(_In_ internal::PackedUmp128 ump); }; diff --git a/src/api/Service/Exe/MidiSessionTracker.cpp b/src/api/Service/Exe/MidiSessionTracker.cpp index ae215b468..c2d7e2c17 100644 --- a/src/api/Service/Exe/MidiSessionTracker.cpp +++ b/src/api/Service/Exe/MidiSessionTracker.cpp @@ -391,25 +391,25 @@ CMidiSessionTracker::RemoveClientEndpointConnection( } - -_Use_decl_annotations_ -HRESULT -CMidiSessionTracker::GetSessionList( - LPSAFEARRAY* SessionDetailsList -) -{ - // TODO - SessionDetailsList = nullptr; - - return S_OK; - -} +// +//_Use_decl_annotations_ +//HRESULT +//CMidiSessionTracker::GetSessionList( +// LPSAFEARRAY* SessionDetailsList +//) +//{ +// // TODO +// SessionDetailsList = nullptr; +// +// return S_OK; +// +//} _Use_decl_annotations_ HRESULT -CMidiSessionTracker::GetSessionListJson( +CMidiSessionTracker::GetSessionList( BSTR* SessionList ) { diff --git a/src/api/Service/Exe/MidiSessionTracker.h b/src/api/Service/Exe/MidiSessionTracker.h index fbc15a89a..1f9ceb1e4 100644 --- a/src/api/Service/Exe/MidiSessionTracker.h +++ b/src/api/Service/Exe/MidiSessionTracker.h @@ -66,9 +66,9 @@ class CMidiSessionTracker : public Microsoft::WRL::RuntimeClass< STDMETHOD(RemoveClientSessionInternal)(_In_ PVOID ContextHandle); - // This is called from the API - STDMETHOD(GetSessionListJson)(_Out_ BSTR* SessionList); - STDMETHOD(GetSessionList)(_Out_ LPSAFEARRAY* SessionDetailsList); + // This is called from the SDK + STDMETHOD(GetSessionList)(_Out_ BSTR* SessionList); + //STDMETHOD(GetSessionList)(_Out_ LPSAFEARRAY* SessionDetailsList); STDMETHOD(VerifyConnectivity)(); diff --git a/src/api/Service/Exe/MidiSrvRpc.cpp b/src/api/Service/Exe/MidiSrvRpc.cpp index 1a1917c84..a7e1c92e0 100644 --- a/src/api/Service/Exe/MidiSrvRpc.cpp +++ b/src/api/Service/Exe/MidiSrvRpc.cpp @@ -422,7 +422,7 @@ MidiSrvGetSessionList( CComBSTR sessionList; sessionList.Empty(); - RETURN_IF_FAILED(sessionTracker->GetSessionListJson(&sessionList)); + RETURN_IF_FAILED(sessionTracker->GetSessionList(&sessionList)); RETURN_IF_FAILED(sessionList.CopyTo(SessionListJson)); diff --git a/src/api/Service/Inc/MidiClientManager.h b/src/api/Service/Inc/MidiClientManager.h index 8af2afa7d..96b2b69d9 100644 --- a/src/api/Service/Inc/MidiClientManager.h +++ b/src/api/Service/Inc/MidiClientManager.h @@ -22,7 +22,7 @@ class CMidiClientManager _In_ std::shared_ptr& sessionTracker); HRESULT CreateMidiClient( - _In_ handle_t, + _In_opt_ handle_t, _In_ LPCWSTR, _In_ GUID, _In_ DWORD, @@ -83,13 +83,13 @@ class CMidiClientManager _In_ wil::com_ptr_nothrow&, _In_ wil::com_ptr_nothrow&); - HRESULT - GetMidiEndpointMetadataHandler( - _In_ handle_t, - _In_ MidiFlow, - _In_ wil::com_ptr_nothrow&, - _In_ wil::com_ptr_nothrow&, - _In_ wil::com_ptr_nothrow&); + //HRESULT + //GetMidiEndpointMetadataHandler( + // _In_ handle_t, + // _In_ MidiFlow, + // _In_ wil::com_ptr_nothrow&, + // _In_ wil::com_ptr_nothrow&, + // _In_ wil::com_ptr_nothrow&); wil::critical_section m_ClientManagerLock; diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg-configuration.json b/src/api/Transform/ByteStreamToUMP/vcpkg-configuration.json index 6d1dded02..4cd4fdd2a 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg-configuration.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg-configuration.json @@ -1,7 +1,7 @@ { "default-registry": { "kind": "git", - "baseline": "326d8b43e365352ba3ccadf388d989082fe0f2a6", + "baseline": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774", "repository": "https://github.com/microsoft/vcpkg" }, "registries": [ 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 65f8c9df7..aee7a924f 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 211bb6b2c..6b843d381 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.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", + "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:54Z" + "created": "2024-06-10T01:01:05Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 f4423e72b..4ad9308ab 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/arm64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/arm64/cl.exe +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_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.40.33807/bin/Hostx64/arm64/cl.exe +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_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.40.33807/bin/Hostx64/arm64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26227 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -338,15 +338,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStre //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -376,7 +376,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -438,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 8882cc9c9..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_C_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6be331e77..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_CXX_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index 75a155568..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "ARM64") - -set(CMAKE_CROSSCOMPILING "TRUE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 74bd79041..000000000 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index dd2fe9907..000000000 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 243e84faf..9b0ec6528 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 @@ -4,21 +4,21 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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.26200 - ARM64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26227 - ARM64 + The host system is: Windows - 10.0.26227 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +32,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +50,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +70,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 eb920cd96..34552ec58 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 -0 969 7366409055617820 ../CMakeCache.txt 56086932db7a3594 +1 1467 7396844593007150 ../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 8e7a03e0b..1ec1578a2 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26227 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -340,15 +340,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStre //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -378,7 +378,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +440,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 1ec5b1460..000000000 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index e9ef7b187..000000000 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 7abebf219..eaf890bd5 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 @@ -4,21 +4,20 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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 target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The system is: Windows - 10.0.26227 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +31,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +49,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +69,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 24f6ea93b..22fffd463 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 -1 962 7366409019553915 ../CMakeCache.txt d1dfeb606e3d272c +3 1968 7396844539259693 ../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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 80edeb355..bb8aaa3ee 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 @@ -1,7 +1,7 @@ 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 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 65f8c9df7..aee7a924f 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 211bb6b2c..6b843d381 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.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", + "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:54Z" + "created": "2024-06-10T01:01:05Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 c895479e5..6fff4cf98 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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 f66e8764d..25eb6ee2a 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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 80afa8e29..7ab86bfb2 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.7 +Version: 0.9 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d +Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb 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 33400dfd4..da3998465 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.7 +Version: 0.9 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d +Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb 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 47264ad41..7d886f477 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 068463e0b..605fd8bf4 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 7d4d2310d..b591edcf4 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 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 0bb5040a6..11599923a 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json index f65eb46bd..38885ee32 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "ad25766aefb5313b6bc4e2a4b78a2946f84fbf66" } } 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index 8a368606f..beb2f3d8e 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -1,6 +1,6 @@ # This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# For build in directory: c:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -92,7 +92,7 @@ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin @@ -101,7 +101,7 @@ CMAKE_INSTALL_BINDIR:STRING=bin CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows +CMAKE_INSTALL_PREFIX:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -251,7 +251,7 @@ VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed +VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= @@ -314,13 +314,13 @@ Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Pre //The directory which contains the installed libraries for each // triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed +_VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg //Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +detect_compiler_BINARY_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Value Computed by CMake detect_compiler_IS_TOP_LEVEL:STATIC=ON @@ -336,19 +336,19 @@ detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/ //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +CMAKE_CACHEFILE_DIR:INTERNAL=c:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=28 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -377,8 +377,6 @@ CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index d0e03664e..1db0904f9 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -4,17 +4,17 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:228 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26217 - AMD64 + The host system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. @@ -32,27 +32,27 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. @@ -70,19 +70,19 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Transform\\ByteStreamToUMP\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " ... diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja index 2972f412e..68e5b915e 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/rules.ninja @@ -1,5 +1,5 @@ # CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 +# Generated by "Ninja" Generator, CMake Version 3.28 # This file contains all the rules used to get the outputs files # built from the input files. @@ -29,7 +29,7 @@ rule CUSTOM_COMMAND # Rule for re-running cmake. rule RERUN_CMAKE - command = C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel + command = "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BC:\GitHub\Microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel description = Re-running CMake... generator = 1 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja index 972184496..16b563856 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/build.ninja @@ -1,5 +1,5 @@ # CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.27 +# Generated by "Ninja" Generator, CMake Version 3.28 # This file contains all the build statements describing the # compilation DAG. @@ -39,15 +39,14 @@ include CMakeFiles\rules.ninja ############################################# # Logical path to working directory; prefix for absolute paths. -cmake_ninja_workdir = G$:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel\ +cmake_ninja_workdir = C$:\GitHub\Microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel\ ############################################# # Utility command for edit_cache build CMakeFiles\edit_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake-gui.exe -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel" - DESC = Running CMake cache editor... - pool = console + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."" + DESC = No interactive CMake dialog available... restat = 1 build edit_cache: phony CMakeFiles\edit_cache.util @@ -57,7 +56,7 @@ build edit_cache: phony CMakeFiles\edit_cache.util # Utility command for rebuild_cache build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cmd.exe /C "cd /D G:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && C:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BG:\GitHub\microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel" + COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D C:\GitHub\Microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel && "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler" -BC:\GitHub\Microsoft\midi\src\api\Transform\ByteStreamToUMP\vcpkg_installed\vcpkg\blds\detect_compiler\x64-windows-rel" DESC = Running CMake to regenerate build system... pool = console restat = 1 @@ -73,7 +72,7 @@ build rebuild_cache: phony CMakeFiles\rebuild_cache.util # ============================================================================= ############################################# -# Folder: G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +# Folder: C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel build all: phony @@ -84,14 +83,14 @@ build all: phony ############################################# # Re-run CMake if any of its inputs changed. -build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake +build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake pool = console ############################################# # A missing CMake input file is not an error. -build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCXXInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeCompilerIdDetection.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDependentOption.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineCompilerId.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeDetermineSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeFindBinUtils.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeGenericSystem.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeInitializeConfigs.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeLanguageInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCCompiler.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeRCInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystem.cmake.in C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestCXXCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\CMakeTestRCCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-Initialize.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows-MSVC.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\Windows.cmake C$:\Users\peteb\AppData\Local\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\share\cmake-3.27\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.27.1\CMakeCCompiler.cmake CMakeFiles\3.27.1\CMakeCXXCompiler.cmake CMakeFiles\3.27.1\CMakeRCCompiler.cmake CMakeFiles\3.27.1\CMakeSystem.cmake: phony +build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCompilerIdDetection.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDependentOption.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineCompilerId.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeDetermineSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeFindBinUtils.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCCompiler.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystem.cmake.in C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestCXXCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeTestRCCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CrayClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\OrangeC-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Determine-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\buildsystems\vcpkg.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\detect_compiler\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Preview\VC\vcpkg\scripts\toolchains\windows.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake: phony ############################################# diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index cf0dd58ae..6072917e4 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 932 7366412057482697 ../CMakeCache.txt a584f92e40233454 +2 1227 7377656824506624 ../CMakeCache.txt f27ee547401b1054 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja index e0d9a94ca..c1f0a692e 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/build.ninja @@ -2,5 +2,5 @@ rule CreateProcess command = $process build ../CMakeCache.txt: CreateProcess - process = "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" + process = "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-DZ_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/GitHub/Microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index 5b8294dad..dc1f6d44b 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -1,7 +1,7 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake index 9a506956d..ccec60b03 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/libmidi2-config.cmake @@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "2.8.3") message(FATAL_ERROR "CMake >= 2.8.3 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.3...3.26) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index c895479e5..ce9be0b09 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index f66e8764d..c353f5b58 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000000 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000000 index 8215bb8e6..a208e593a 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000000 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000000 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 4dc0cd651e0c67822778f2bb4799ec8dc3d0f5177cb955f4f296438d0d62d72e -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok half-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000001 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000001 index ab403462a..3e87c2b02 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000001 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000001 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: 4dc0cd651e0c67822778f2bb4799ec8dc3d0f5177cb955f4f296438d0d62d72e -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok not-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000002 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000002 index 4e7db2362..f4e425e7d 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000002 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000002 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 19bca33feedc30de5c7b6d2ccdf1a7addbadc017f3f16d344142deebb45511fa -Status: purge ok half-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000003 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000003 index 8cada53d0..54c72c657 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000003 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000003 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 19bca33feedc30de5c7b6d2ccdf1a7addbadc017f3f16d344142deebb45511fa -Status: purge ok not-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000004 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000004 index c37ff5e54..cc932f315 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000004 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000004 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 9515414998007bc5614840c34e705f7f1407aeb4711c7e7fa3b7515f4bbc92a1 -Status: purge ok half-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok half-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000005 b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000005 index f1e809d8e..04d12436c 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000005 +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/updates/0000000005 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 9515414998007bc5614840c34e705f7f1407aeb4711c7e7fa3b7515f4bbc92a1 -Status: purge ok not-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/vcpkg-lock.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/vcpkg-lock.json index f65eb46bd..f5ffd43b5 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774" } } diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/lib/libmidi2.lib b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/lib/libmidi2.lib and b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake index 9a506956d..ccec60b03 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/libmidi2-config.cmake @@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "2.8.3") message(FATAL_ERROR "CMake >= 2.8.3 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.3...3.26) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 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 590a330a8..f6f64fa84 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -340,15 +340,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/ByteStre //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -378,7 +378,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +440,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 46f920c83..000000000 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 08869c148..000000000 Binary files a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 4aa5247c2..b26a9dbac 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 @@ -4,21 +4,20 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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 target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +31,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +49,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +69,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 66fb63261..1b41f19e4 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 915 7366408586550980 ../CMakeCache.txt e70e6ebba6da5755 +1 1502 7387308163123112 ../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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 5b8294dad..a7fa9f55d 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 @@ -1,7 +1,7 @@ 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 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 1b3dee0e8..6f204f3fa 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 da04a66a8..d87f6696b 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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", + "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-30T00:06:34Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 c895479e5..6fff4cf98 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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 f66e8764d..25eb6ee2a 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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3305403dd..02aa40de4 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.7 +Version: 0.9 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 +Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 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 cf5c9fa04..c5cefa3e4 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.7 +Version: 0.9 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 +Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 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 47264ad41..7d886f477 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 068463e0b..605fd8bf4 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 7d4d2310d..b591edcf4 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 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 0bb5040a6..11599923a 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 Status: purge ok not-installed diff --git a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json index f65eb46bd..04d338784 100644 --- a/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/ByteStreamToUMP/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "fc6345e114c2e2c4f9714037340ccb08326b3e8c" } } 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 1b3dee0e8..6f204f3fa 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 da04a66a8..d87f6696b 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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", + "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-30T00:06:34Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg-configuration.json b/src/api/Transform/UMPToByteStream/vcpkg-configuration.json index 6d1dded02..4cd4fdd2a 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg-configuration.json +++ b/src/api/Transform/UMPToByteStream/vcpkg-configuration.json @@ -1,7 +1,7 @@ { "default-registry": { "kind": "git", - "baseline": "326d8b43e365352ba3ccadf388d989082fe0f2a6", + "baseline": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774", "repository": "https://github.com/microsoft/vcpkg" }, "registries": [ 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 65f8c9df7..aee7a924f 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 211bb6b2c..6b843d381 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.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", + "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:54Z" + "created": "2024-06-10T01:01:05Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 710e1744f..aca35460c 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/arm64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/arm64/cl.exe +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_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.40.33807/bin/Hostx64/arm64/cl.exe +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_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.40.33807/bin/Hostx64/arm64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26227 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -338,15 +338,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UMPToByt //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -376,7 +376,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -438,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 8882cc9c9..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_C_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6be331e77..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_CXX_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index 75a155568..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "ARM64") - -set(CMAKE_CROSSCOMPILING "TRUE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index d9f762d33..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 4a3516c49..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 164569f46..1f966e78f 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 @@ -4,21 +4,21 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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.26200 - ARM64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26227 - ARM64 + The host system is: Windows - 10.0.26227 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +32,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +50,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +70,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 4f0bf4923..9a310b10e 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 -1 918 7366409402917985 ../CMakeCache.txt 62e80b14fed7e65 +0 1302 7396846235926612 ../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 497badbe6..038510225 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26227 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -340,15 +340,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UMPToByt //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -378,7 +378,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +440,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 025c0ad9c..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 6be019966..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 9a78cba71..7fd37628f 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 @@ -4,21 +4,20 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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 target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The system is: Windows - 10.0.26227 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +31,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +49,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +69,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 a13a89474..b2fcfaf11 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 1050 7366409367203990 ../CMakeCache.txt 6bb7ddf42b0c2eee +1 1030 7396846183434429 ../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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 80edeb355..bb8aaa3ee 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 @@ -1,7 +1,7 @@ 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 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 65f8c9df7..aee7a924f 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 211bb6b2c..6b843d381 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.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", + "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:54Z" + "created": "2024-06-10T01:01:05Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 c895479e5..6fff4cf98 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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 f66e8764d..25eb6ee2a 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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 80afa8e29..7ab86bfb2 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.7 +Version: 0.9 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d +Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb 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 33400dfd4..da3998465 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.7 +Version: 0.9 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d +Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb 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 47264ad41..7d886f477 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 068463e0b..605fd8bf4 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 7d4d2310d..b591edcf4 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 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 0bb5040a6..11599923a 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json index f65eb46bd..38885ee32 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "ad25766aefb5313b6bc4e2a4b78a2946f84fbf66" } } 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index 59ec18916..968c8d1ac 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -1,6 +1,6 @@ # This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# For build in directory: c:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -92,7 +92,7 @@ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin @@ -101,7 +101,7 @@ CMAKE_INSTALL_BINDIR:STRING=bin CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows +CMAKE_INSTALL_PREFIX:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -251,7 +251,7 @@ VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed +VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= @@ -314,13 +314,13 @@ Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Pre //The directory which contains the installed libraries for each // triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed +_VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg //Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +detect_compiler_BINARY_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Value Computed by CMake detect_compiler_IS_TOP_LEVEL:STATIC=ON @@ -336,19 +336,19 @@ detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/ //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +CMAKE_CACHEFILE_DIR:INTERNAL=c:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=28 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -377,8 +377,6 @@ CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index f9b62c78d..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 9e8182ad1..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index eb3fe2dd5..7420dcf5e 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -4,17 +4,17 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:228 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26217 - AMD64 + The host system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. @@ -32,27 +32,27 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\UMPToByteStream\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Transform\\UMPToByteStream\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. @@ -70,19 +70,19 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\UMPToByteStream\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Transform\\UMPToByteStream\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " ... diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index 273116acf..0b0f50b62 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -0 946 7366412220001226 ../CMakeCache.txt ff90830748991ae0 +2 1331 7377657309343978 ../CMakeCache.txt be5fce348589d86c diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index 5b8294dad..dc1f6d44b 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -1,7 +1,7 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index c895479e5..ce9be0b09 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index f66e8764d..c353f5b58 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000000 b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000000 index 3305403dd..a208e593a 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000000 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000000 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok half-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000001 b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000001 index cf5c9fa04..3e87c2b02 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000001 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000001 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok not-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000002 b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000002 index 47264ad41..f4e425e7d 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000002 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000002 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok half-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000003 b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000003 index 068463e0b..54c72c657 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000003 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000003 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok not-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000004 b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000004 index 7d4d2310d..cc932f315 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000004 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000004 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok half-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok half-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000005 b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000005 index 0bb5040a6..04d12436c 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000005 +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/updates/0000000005 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok not-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/vcpkg-lock.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/vcpkg-lock.json index f65eb46bd..f5ffd43b5 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774" } } diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/lib/libmidi2.lib b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/lib/libmidi2.lib and b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 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 9fed44292..e66c4fe20 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -340,15 +340,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UMPToByt //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -378,7 +378,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +440,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index cd67fbd0d..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 045666263..000000000 Binary files a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 45b555d7c..3126ec15a 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 @@ -4,21 +4,20 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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 target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +31,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +49,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +69,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 ea9aec024..6b348cdd1 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 -1 923 7366408512855477 ../CMakeCache.txt b4c150879d50022e +0 1221 7387308048815536 ../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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 5b8294dad..a7fa9f55d 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 @@ -1,7 +1,7 @@ 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 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 1b3dee0e8..6f204f3fa 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 da04a66a8..d87f6696b 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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", + "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-30T00:06:34Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 c895479e5..6fff4cf98 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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 f66e8764d..25eb6ee2a 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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3305403dd..02aa40de4 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.7 +Version: 0.9 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 +Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 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 cf5c9fa04..c5cefa3e4 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.7 +Version: 0.9 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 +Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 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 47264ad41..7d886f477 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 068463e0b..605fd8bf4 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 7d4d2310d..b591edcf4 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 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 0bb5040a6..11599923a 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 Status: purge ok not-installed diff --git a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json index f65eb46bd..04d338784 100644 --- a/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/UMPToByteStream/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "fc6345e114c2e2c4f9714037340ccb08326b3e8c" } } 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 1b3dee0e8..6f204f3fa 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 da04a66a8..d87f6696b 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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", + "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-30T00:06:34Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg-configuration.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg-configuration.json index 6d1dded02..4cd4fdd2a 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg-configuration.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg-configuration.json @@ -1,7 +1,7 @@ { "default-registry": { "kind": "git", - "baseline": "326d8b43e365352ba3ccadf388d989082fe0f2a6", + "baseline": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774", "repository": "https://github.com/microsoft/vcpkg" }, "registries": [ 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 65f8c9df7..aee7a924f 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 211bb6b2c..6b843d381 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.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", + "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:54Z" + "created": "2024-06-10T01:01:05Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 3e2956cf5..64635b7a5 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/arm64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/arm64/cl.exe +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_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.40.33807/bin/Hostx64/arm64/cl.exe +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_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.40.33807/bin/Hostx64/arm64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26227 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -338,15 +338,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UmpProto //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -376,7 +376,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -438,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 8882cc9c9..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_C_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6be331e77..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID ARM64) - -set(MSVC_CXX_ARCHITECTURE_ID ARM64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/arm64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index 75a155568..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "ARM64") - -set(CMAKE_CROSSCOMPILING "TRUE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 490b62184..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index f140b0fb4..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 62b0f6ede..e2c5a7887 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 @@ -4,21 +4,21 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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.26200 - ARM64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26227 - ARM64 + The host system is: Windows - 10.0.26227 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +32,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +50,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/arm64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/arm64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +70,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/arm64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 f2af0b896..341757820 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 983 7366409288782266 ../CMakeCache.txt 6ec2d431def67ed6 +1 1032 7396845775828846 ../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 54227dcd9..f76ab9f7b 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26227 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -340,15 +340,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UmpProto //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -378,7 +378,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +440,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 4a75b1b79..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 7ee12e26a..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 b22558183..a3241b638 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 @@ -4,21 +4,20 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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 target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The system is: Windows - 10.0.26227 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +31,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +49,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +69,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 f5e03fcc5..f1bdb1df1 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 -1 995 7366409251312522 ../CMakeCache.txt 95e08697a8a492eb +0 1035 7396845729550351 ../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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 80edeb355..bb8aaa3ee 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 @@ -1,7 +1,7 @@ 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 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 65f8c9df7..aee7a924f 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 211bb6b2c..6b843d381 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.9-0f3d4ae4-a733-4518-aaf5-61cd75b45366", - "name": "libmidi2:arm64-windows@0.9 cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-arm64-windows-0.10-e66ba9f1-dde8-41c6-a934-03781bfadfbd", + "name": "libmidi2:arm64-windows@0.10 9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:54Z" + "created": "2024-06-10T01:01:05Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:arm64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb", + "versionInfo": "9bd2785bab2a8a362df78dfc49f67cb6f17476576a959f53e6098096c07d4a48", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 2e3a76c03..0f5370a02 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet arm64-windows -triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-d566e7fcbe2ef11e96e3ef21151101d494603889 -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi c09ec72a5edf0ffd790946be353f1dcdcc5c21e112250fde92567537a922e574-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-69b5bbd41273ef921c5940c2846d45795ff844e1 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 c895479e5..6fff4cf98 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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 f66e8764d..25eb6ee2a 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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 80afa8e29..7ab86bfb2 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.7 +Version: 0.9 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d +Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb 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 33400dfd4..da3998465 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.7 +Version: 0.9 Depends: vcpkg-cmake:x64-windows, vcpkg-cmake-config:x64-windows Architecture: arm64-windows Multi-Arch: same -Abi: 70ad0e632c9ac81e2ddb453a0ac3b223c520348af318886805939293c01fdd4d +Abi: cbe69352da1d350cb380dd27c40cd76f53f34203f1ee4c20e7e8f38a14d060bb 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 47264ad41..7d886f477 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 068463e0b..605fd8bf4 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 7d4d2310d..b591edcf4 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 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 0bb5040a6..11599923a 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json index f65eb46bd..38885ee32 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/ARM64-windows/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "ad25766aefb5313b6bc4e2a4b78a2946f84fbf66" } } 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt index 34f20c1cf..5c06402db 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeCache.txt @@ -1,6 +1,6 @@ # This is the CMakeCache file. -# For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# For build in directory: c:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -92,7 +92,7 @@ CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin @@ -101,7 +101,7 @@ CMAKE_INSTALL_BINDIR:STRING=bin CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows +CMAKE_INSTALL_PREFIX:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/detect_compiler_x64-windows //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE @@ -210,7 +210,7 @@ CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 -CMAKE_SYSTEM_VERSION:STRING=10.0.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -251,7 +251,7 @@ VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet -VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed +VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= @@ -314,13 +314,13 @@ Z_VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Pre //The directory which contains the installed libraries for each // triplet -_VCPKG_INSTALLED_DIR:PATH=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed +_VCPKG_INSTALLED_DIR:PATH=C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg //Value Computed by CMake -detect_compiler_BINARY_DIR:STATIC=G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +detect_compiler_BINARY_DIR:STATIC=C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Value Computed by CMake detect_compiler_IS_TOP_LEVEL:STATIC=ON @@ -336,19 +336,19 @@ detect_compiler_SOURCE_DIR:STATIC=C:/Program Files/Microsoft Visual Studio/2022/ //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel +CMAKE_CACHEFILE_DIR:INTERNAL=c:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=28 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -377,8 +377,6 @@ CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +438,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index e8b30a83c..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index ea2c9f86a..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml index 71fd8a757..41789ba28 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/CMakeConfigureLog.yaml @@ -4,17 +4,17 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:228 (message)" - "CMakeLists.txt:2 (project)" message: | - The target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The target system is: Windows - 10.0.26217 - AMD64 + The host system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. @@ -32,27 +32,27 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\UmpProtocolDownscaler\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Transform\\UmpProtocolDownscaler\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. @@ -70,19 +70,19 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + C:/GitHub/Microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Program Files/Microsoft Visual Studio/2022/Preview/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: main.c - Note: including file: G:\\GitHub\\microsoft\\midi\\src\\api\\Transform\\UmpProtocolDownscaler\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h + Note: including file: C:\\GitHub\\Microsoft\\midi\\src\\api\\Transform\\UmpProtocolDownscaler\\vcpkg_installed\\vcpkg\\blds\\detect_compiler\\x64-windows-rel\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " ... diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log index d8a36c0b7..d78a35528 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/detect_compiler/x64-windows-rel/vcpkg-parallel-configure/.ninja_log @@ -1,2 +1,2 @@ # ninja log v5 -1 1542 7366411829035995 ../CMakeCache.txt 2f0f825290a7f563 +1 1253 7377657588101596 ../CMakeCache.txt c887f36240247ad1 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/libmidi2/x64-windows.vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake-config/x64-windows.vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/blds/vcpkg-cmake/x64-windows.vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL index 5b8294dad..dc1f6d44b 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/CONTROL @@ -1,7 +1,7 @@ Package: libmidi2 -Version: 0.9 +Version: 0.10 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d Description: General purpose Midi 2 library for bytestream conversions and midi-ci diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib and b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/libmidi2_x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL index c895479e5..ce9be0b09 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL index f66e8764d..c353f5b58 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/CONTROL +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/pkgs/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000000 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000000 index 3305403dd..a208e593a 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000000 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000000 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok half-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000001 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000001 index cf5c9fa04..3e87c2b02 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000001 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000001 @@ -1,8 +1,7 @@ -Package: libmidi2 -Version: 0.7 -Depends: vcpkg-cmake, vcpkg-cmake-config +Package: vcpkg-cmake-config +Version: 2022-02-06 +Port-Version: 1 Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 -Description: General purpose Midi 2 library for bytestream conversions and midi-ci -Status: purge ok not-installed +Abi: 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +Status: install ok installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000002 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000002 index 47264ad41..f4e425e7d 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000002 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000002 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok half-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000003 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000003 index 068463e0b..54c72c657 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000003 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000003 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 -Status: purge ok not-installed +Abi: a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +Status: install ok installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000004 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000004 index 7d4d2310d..cc932f315 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000004 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000004 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok half-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok half-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000005 b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000005 index 0bb5040a6..04d12436c 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000005 +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/updates/0000000005 @@ -1,7 +1,8 @@ -Package: vcpkg-cmake-config -Version: 2022-02-06 -Port-Version: 1 +Package: libmidi2 +Version: 0.10 +Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 -Status: purge ok not-installed +Abi: 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d +Description: General purpose Midi 2 library for bytestream conversions and midi-ci +Status: install ok installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/vcpkg-lock.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/vcpkg-lock.json index f65eb46bd..f5ffd43b5 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "7eb700c9688daed6d8bdcdc571ebe3eedea6a774" } } diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/lib/libmidi2.lib b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/lib/libmidi2.lib index 1b3dee0e8..1e27f8096 100644 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/lib/libmidi2.lib and b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/lib/libmidi2.lib differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json index da04a66a8..4fd200bc9 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-62052a6a-380d-4eb7-bfce-8afec14506c1", + "name": "libmidi2:x64-windows@0.10 7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-18T20:00:42Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "7e27954df97c283b373ea004c663c781ed7c59ab81b57f1134b13b74e57d328d", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "NOASSERTION", diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt index 29347d5f0..7fbcea152 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/libmidi2/vcpkg_abi_info.txt @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +vcpkg-cmake a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe +vcpkg-cmake-config 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json index f754aa3ac..94f379b8c 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-config-x64-windows-2022-02-06#1-bd1ee489-5ed3-4391-9132-2a378de7d41b", + "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "13afa449001879ae27023b00c483a2c6d68340eecbfd2b0fa256c5f3caa4dc0e", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -97,7 +97,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/copyright", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -109,7 +109,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/portfile.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -121,7 +121,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -133,7 +133,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg.json", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -145,7 +145,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/8d54cc4f487d51b655abec5f9c9c3f86ca83311f/vcpkg_cmake_config_fixup.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt index 69b9c738f..dac0ec833 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake-config/vcpkg_abi_info.txt @@ -1,10 +1,10 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake 72bc3093337e633bdd19fe5d4dd1f38ca1918def49608d676a9c98c686d38b1e diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json index 3b590911c..8d40e3ba6 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg.spdx.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "documentNamespace": "https://spdx.org/spdxdocs/vcpkg-cmake-x64-windows-2024-04-18-c05842d9-e3a2-4861-be5b-8e51096e5646", + "name": "vcpkg-cmake:x64-windows@2024-04-18 a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "creationInfo": { "creators": [ "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-18T20:00:32Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "a7b7b9acab7b72ec715017c10667c3131c08478ee40b471862fca99b0249edfe", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,7 +107,7 @@ ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { @@ -119,7 +119,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg-port-config.cmake", "SPDXID": "SPDXRef-file-1", "checksums": [ { @@ -131,7 +131,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg.json", "SPDXID": "SPDXRef-file-2", "checksums": [ { @@ -143,7 +143,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_build.cmake", "SPDXID": "SPDXRef-file-3", "checksums": [ { @@ -155,7 +155,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_configure.cmake", "SPDXID": "SPDXRef-file-4", "checksums": [ { @@ -167,7 +167,7 @@ "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", + "fileName": "./C:/Users/pmbrown/AppData/Local/vcpkg/registries/git-trees/a10a94e8d0071ed4804d40d0f0f0c5e4e7180afd/vcpkg_cmake_install.cmake", "SPDXID": "SPDXRef-file-5", "checksums": [ { diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt index 410aff1d5..04a4db257 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_abi_info.txt @@ -1,9 +1,9 @@ -cmake 3.27.1 +cmake 3.28.3-msvc11 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 -powershell 7.4.2 +powershell 7.2.16 triplet x64-windows triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 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 11d6b9567..8f4b9315a 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 @@ -1,6 +1,6 @@ # This is the CMakeCache file. # For build in directory: g:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel -# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +# It was generated by CMake: C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. @@ -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.40.33807/bin/Hostx64/x64/lib.exe +CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/cl.exe +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_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.40.33807/bin/Hostx64/x64/link.exe +CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/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.26200 +CMAKE_SYSTEM_VERSION:STRING=10.0.26217 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -340,15 +340,15 @@ CMAKE_CACHEFILE_DIR:INTERNAL=g:/GitHub/microsoft/midi/src/api/Transform/UmpProto //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 +CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 //Path to CMake executable. -CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe +CMAKE_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe //Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cpack.exe +CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cpack.exe //Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/ctest.exe +CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS @@ -378,7 +378,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake-gui.exe +CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS @@ -440,7 +440,7 @@ CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. -CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27 +CMAKE_ROOT:INTERNAL=C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake deleted file mode 100644 index 4971aec27..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCCompiler.cmake +++ /dev/null @@ -1,74 +0,0 @@ -set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "MSVC") -set(CMAKE_C_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_C_COMPILE_FEATURES "") -set(CMAKE_C90_COMPILE_FEATURES "") -set(CMAKE_C99_COMPILE_FEATURES "") -set(CMAKE_C11_COMPILE_FEATURES "") -set(CMAKE_C17_COMPILE_FEATURES "") -set(CMAKE_C23_COMPILE_FEATURES "") - -set(CMAKE_C_PLATFORM_ID "Windows") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_C_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS 1) -set(CMAKE_C_ABI_COMPILED ) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) -set(CMAKE_C_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 6e417d89c..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,85 +0,0 @@ -set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "MSVC") -set(CMAKE_CXX_COMPILER_VERSION "19.40.33808.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") -set(CMAKE_CXX_COMPILE_FEATURES "") -set(CMAKE_CXX98_COMPILE_FEATURES "") -set(CMAKE_CXX11_COMPILE_FEATURES "") -set(CMAKE_CXX14_COMPILE_FEATURES "") -set(CMAKE_CXX17_COMPILE_FEATURES "") -set(CMAKE_CXX20_COMPILE_FEATURES "") -set(CMAKE_CXX23_COMPILE_FEATURES "") - -set(CMAKE_CXX_PLATFORM_ID "Windows") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC") -set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) - -set(MSVC_CXX_ARCHITECTURE_ID x64) - -set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe") -set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB ":") -set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe") -set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe") -set(CMAKE_TAPI "") -set(CMAKE_COMPILER_IS_GNUCXX ) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS 1) -set(CMAKE_CXX_ABI_COMPILED ) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) -set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED ) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "") -set(CMAKE_CXX_COMPILER_ABI "") -set(CMAKE_CXX_BYTE_ORDER "") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake deleted file mode 100644 index d6dea43c0..000000000 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Windows-10.0.26200") -set(CMAKE_HOST_SYSTEM_NAME "Windows") -set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200") -set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") - -include("C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/vcpkg/scripts/buildsystems/vcpkg.cmake") - -set(CMAKE_SYSTEM "Windows-10.0.26200") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_SYSTEM_VERSION "10.0.26200") -set(CMAKE_SYSTEM_PROCESSOR "AMD64") - -set(CMAKE_CROSSCOMPILING "OFF") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe deleted file mode 100644 index 41b1b4052..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe and /dev/null differ diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe deleted file mode 100644 index 64a794875..000000000 Binary files a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe and /dev/null differ 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 a9a798fba..9cabff853 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 @@ -4,21 +4,20 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:206 (message)" + - "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 target system is: Windows - 10.0.26200 - AMD64 - The host system is: Windows - 10.0.26200 - AMD64 + The system is: Windows - 10.0.26217 - AMD64 - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/MP Id flags: @@ -32,14 +31,14 @@ events: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdC/CMakeCCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:11 (enable_language)" message: | Detecting C compiler /showIncludes prefix: @@ -50,13 +49,13 @@ events: - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "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.40.33807/bin/Hostx64/x64/cl.exe + Compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.41.33901/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: @@ -70,14 +69,14 @@ events: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: - G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.27.1/CompilerIdCXX/CMakeCXXCompilerId.exe + G:/GitHub/microsoft/midi/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/blds/detect_compiler/x64-windows-rel/CMakeFiles/3.29.2/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:1158 (message)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/share/cmake-3.27/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" + - "C:/Users/peteb/AppData/Local/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:12 (enable_language)" message: | Detecting CXX compiler /showIncludes prefix: 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 36368aa17..e523068c6 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 1760 7366408371655548 ../CMakeCache.txt 1fd458d1debb47ed +1 2257 7387307844113861 ../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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 5b8294dad..a7fa9f55d 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 @@ -1,7 +1,7 @@ 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 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 1b3dee0e8..6f204f3fa 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 da04a66a8..d87f6696b 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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", + "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-30T00:06:34Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 c895479e5..6fff4cf98 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: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 +Abi: d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 f66e8764d..25eb6ee2a 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: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 +Abi: 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3305403dd..02aa40de4 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.7 +Version: 0.9 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 +Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 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 cf5c9fa04..c5cefa3e4 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.7 +Version: 0.9 Depends: vcpkg-cmake, vcpkg-cmake-config Architecture: x64-windows Multi-Arch: same -Abi: c93ba16b8cdb18638e325ea359814e3f154d7537c48e0714ca2a4b2d34da3997 +Abi: 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0 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 47264ad41..7d886f477 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 068463e0b..605fd8bf4 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 @@ -1,6 +1,6 @@ Package: vcpkg-cmake -Version: 2023-05-04 +Version: 2024-04-18 Architecture: x64-windows Multi-Arch: same -Abi: 3b7ca99d727e9ca572ebde0a0cba9369e40568d1c1b9d363b395bab88c09f782 +Abi: 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 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 7d4d2310d..b591edcf4 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 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 0bb5040a6..11599923a 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: d7684cbbcb0654d430fdad57f600504449927066d93e0f9366c7f432538337e0 +Abi: 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 Status: purge ok not-installed diff --git a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json index f65eb46bd..04d338784 100644 --- a/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json +++ b/src/api/Transform/UmpProtocolDownscaler/vcpkg_installed/x64-windows/vcpkg/vcpkg-lock.json @@ -1,5 +1,5 @@ { "https://github.com/microsoft/vcpkg": { - "HEAD": "326d8b43e365352ba3ccadf388d989082fe0f2a6" + "HEAD": "fc6345e114c2e2c4f9714037340ccb08326b3e8c" } } 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 1b3dee0e8..6f204f3fa 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 da04a66a8..d87f6696b 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.9-000f4486-b6d3-4fcc-8e40-2dc36339e61b", - "name": "libmidi2:x64-windows@0.9 1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "documentNamespace": "https://spdx.org/spdxdocs/libmidi2-x64-windows-0.10-e3646b00-d20e-430a-b012-3a6b95003fca", + "name": "libmidi2:x64-windows@0.10 c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:34:03Z" + "created": "2024-05-30T00:06:34Z" }, "relationships": [ { @@ -47,8 +47,8 @@ { "name": "libmidi2", "SPDXID": "SPDXRef-port", - "versionInfo": "0.9", - "downloadLocation": "git+https://github.com/microsoft/vcpkg@af3eb2c134351aee18dfa6ac507cb409544e136b", + "versionInfo": "0.10", + "downloadLocation": "git+https://github.com/microsoft/vcpkg@3a8e774a8ec628d02f193004a97f2b6b3b331825", "homepage": "https://github.com/midi2-dev/AM_MIDI2.0Lib", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -59,7 +59,7 @@ { "name": "libmidi2:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "1969abfd9ec70da117abb1e77bfce09b68741c3ec7909a9a8145ed311217d0c0", + "versionInfo": "c1dcc4e9eb756c27ba8fd2f4d6356959050364b5c0ef4de45d6b0b566fa4ba01", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -69,38 +69,38 @@ { "SPDXID": "SPDXRef-resource-1", "name": "midi2-dev/AM_MIDI2.0Lib", - "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.9", + "downloadLocation": "git+https://github.com/midi2-dev/AM_MIDI2.0Lib@v0.10", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "020aa895fbdb3824f86d377835209aacba59bf8f6de59144d6b6d4c90dafafb659a1b0b8f7df1fdb4a6ddd4ba5ce236618b8b5a390029efe829b5b3f6cf33d25" + "checksumValue": "ff925aff38adfbeff4bae6c211d18e6a59e97f11d11af7616f3386208d1a0d30e64b60ba74f604d75c8da50f57f320f86a4f09bf292bb587be837bdda91f7110" } ] } ], "files": [ { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/portfile.cmake", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/portfile.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463" + "checksumValue": "87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/af3eb2c134351aee18dfa6ac507cb409544e136b/vcpkg.json", + "fileName": "./C:/Users/peteb/AppData/Local/vcpkg/registries/git-trees/3a8e774a8ec628d02f193004a97f2b6b3b331825/vcpkg.json", "SPDXID": "SPDXRef-file-1", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21" + "checksumValue": "30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0" } ], "licenseConcluded": "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 29347d5f0..33d0df10b 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 @@ -1,14 +1,14 @@ -cmake 3.27.1 +cmake 3.29.2 features core -portfile.cmake cfce356ea1539ee787c691d512f8c6c4b3139f3f90afcc05025b38af73399463 +portfile.cmake 87d785552ed7b5e9246a61bb763946ba1ad6972f0ba4d4bae603b116c69852a2 ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c -vcpkg-cmake 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944 -vcpkg-cmake-config 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4 -vcpkg.json 5093b2bb6b6bdb9a2cbd3857751441a6f0229eddd0d25e16cc130d2b8a202d21 +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 +vcpkg-cmake 9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0 +vcpkg-cmake-config d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16 +vcpkg.json 30f3d4bd1d077e3281594b2d016c621db780386332a195362ee43cd35a9ce8c0 vcpkg_check_linkage 2236edfea13af20524c17d73214e0e5111bf1c13a2fc46c7f2912a46abd0c1a8 vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f 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 f754aa3ac..911a68419 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-9ea88663-6556-4287-bf92-c3ab85d4c7af", - "name": "vcpkg-cmake-config:x64-windows@2022-02-06#1 292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:57Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -87,7 +87,7 @@ { "name": "vcpkg-cmake-config:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "292573e5751523ef26c7711f9a05ab8f9a5340d869de4e307be05f5fce96f5e4", + "versionInfo": "d1fde4844be89d6c0ce7165a8b7cd7d8ab417d119826b4c7482bf823bd031d16", "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 69b9c738f..2db7df73c 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 @@ -1,4 +1,4 @@ -cmake 3.27.1 +cmake 3.29.2 copyright 04b60f99a43bfd7fefdc8364b24aac704a2160cef969b75ba6a38b62dc4c4b70 features core portfile.cmake 832b34e63f5af41ad1b2e4aa79c5bfa507a005b120b51548e674accc706837d7 @@ -6,7 +6,7 @@ ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 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 3b590911c..18ff19cec 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-b9cf7859-b556-430d-9a84-2c67d5b7f7ac", - "name": "vcpkg-cmake:x64-windows@2024-04-18 055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "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", "creationInfo": { "creators": [ - "Tool: vcpkg-7d353e869753e5609a1f1a057df3db8fd356e49d" + "Tool: vcpkg-d6945642ee5c3076addd1a42c331bbf4cfc97457" ], - "created": "2024-05-05T19:33:58Z" + "created": "2024-05-30T00:06:25Z" }, "relationships": [ { @@ -97,7 +97,7 @@ { "name": "vcpkg-cmake:x64-windows", "SPDXID": "SPDXRef-binary", - "versionInfo": "055ee5b67238e04949459fd60fb95992440c87d519cc1c3aaccd912cab320944", + "versionInfo": "9522efc99eb76b6e3883a432c8a7c78921a773b0222d517639d4d959b444dfa0", "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 410aff1d5..c0ec65782 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 @@ -1,11 +1,11 @@ -cmake 3.27.1 +cmake 3.29.2 features core portfile.cmake a711531b7f13b7da16fa1f25d7c5737a423d4a126465dc9e6689a0f043fcc1aa ports.cmake 0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a post_build_checks 2 powershell 7.4.2 triplet x64-windows -triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-98c4f28b95d7ebd2cb2f3e129515e1e5b4dd023c +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-dca42dd2b79fc07d9c3127e15f2637105e3f4bc6 vcpkg-port-config.cmake f0a30f77c8f5e3ac40436fe2518a61ad067f2955c7ef3be6d6a0ca4b81cd2a45 vcpkg.json 71bab009312d339cbde0ab593433dc52194d932acaab118b6309e2383db6c986 vcpkg_add_to_path 5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe diff --git a/src/api/idl/IDL.vcxproj b/src/api/idl/IDL.vcxproj index a957142e3..eb8ed3772 100644 --- a/src/api/idl/IDL.vcxproj +++ b/src/api/idl/IDL.vcxproj @@ -94,40 +94,40 @@ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(VC_ExecutablePath_ARM64);$(CommonExecutablePath) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64) $(CommonExcludePath);$(VC_ExecutablePath_ARM64);$(VC_LibraryPath_ARM64); $(VC_ReferencesPath_ARM64); - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(VC_ExecutablePath_ARM64);$(CommonExecutablePath) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64) $(CommonExcludePath);$(VC_ExecutablePath_ARM64);$(VC_LibraryPath_ARM64); $(VC_ReferencesPath_ARM64); - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ %(Filename).h @@ -136,7 +136,7 @@ - $(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ %(Filename).h @@ -145,7 +145,7 @@ - $(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ %(Filename).h @@ -154,7 +154,7 @@ - $(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ %(Filename).h @@ -163,7 +163,7 @@ - $(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ %(Filename).h @@ -172,7 +172,7 @@ - $(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ + $(SolutionDir)\VSFiles\intermediate\idl\$(Platform)\$(Configuration)\ %(Filename).h diff --git a/src/api/idl/WindowsMidiServices.idl b/src/api/idl/WindowsMidiServices.idl index 9bd5503ee..add7ba004 100644 --- a/src/api/idl/WindowsMidiServices.idl +++ b/src/api/idl/WindowsMidiServices.idl @@ -144,6 +144,10 @@ interface IMidiBiDi : IUnknown ); }; + + + + [ object, local, @@ -161,6 +165,10 @@ interface IMidiEndpointManager : IUnknown HRESULT Cleanup(); }; + + + + [ object, local, @@ -202,8 +210,11 @@ interface IMidiDataTransform : IUnknown }; + + + // If you change these, you should also update -// the WinRT MidiEndpointDevicePurpose enum, which is projected through the API +// the WinRT MidiEndpointDevicePurpose enum, which is projected through the WinRT SDK typedef enum { NormalMessageEndpoint = 0, @@ -483,18 +494,19 @@ interface IMidiServicePluginMetadataReporterInterface : IUnknown }; -typedef struct -{ - GUID SessionId; - DWORD ProcessId; - BSTR ProcessName; - BSTR SessionName; -} MIDI_SESSION_DETAIL, * PMIDI_SESSION_DETAIL; +//typedef struct +//{ +// GUID SessionId; +// DWORD ProcessId; +// BSTR ProcessName; +// BSTR SessionName; +//} MIDI_SESSION_DETAIL, *PMIDI_SESSION_DETAIL; // this is a bookkeeping class. It tracks only. It does // not own the lifetime of any of the items it tracks. +// [ object, local, @@ -521,13 +533,9 @@ interface IMidiSessionTracker : IUnknown ); HRESULT GetSessionList( - [in, out] LPSAFEARRAY* SessionDetailsList - ); - + [out] BSTR* SessionDetailsList); - - // TODO: May want to move this to an interface that deals with client and service disconnects - // and general connection health/tracking + // TODO: May want to move this to an interface that deals with connection health/tracking HRESULT VerifyConnectivity(); HRESULT Cleanup(); @@ -537,36 +545,37 @@ interface IMidiSessionTracker : IUnknown typedef struct { + BYTE Number; BYTE FirstGroup; BYTE NumberOfGroupsSpanned; BOOL IsActive; BOOL IsMIDIMessageDestination; // if clients can send messages TO this block. We should create a MIDI 1.0 output port BOOL IsMIDIMessageSource; // if clients can receive messages FROM this block. We should create a MIDI 1.0 input port - BSTR Name; - -} DISCOVEREDFUNCTIONBLOCK, * PDISCOVEREDFUNCTIONBLOCK; + LPCWSTR Name; // this type is only used within the service process, so string pointers are fine +} DISCOVEREDFUNCTIONBLOCK, *PDISCOVEREDFUNCTIONBLOCK; // this only contains key info required by the endpoint managers // so they can create compatible MIDI 1.0 ports from the results -// from MIDI 2.0 protocol negotiation +// from MIDI 2.0 protocol negotiation. This is not sent over RPC +// or otherwise used cross-process. In-service only. typedef struct { - BOOL EndpointInformationReceived; + BOOL AllEndpointInformationReceived; + + BOOL EndpointSupportsMIDI2Protocol; + BOOL EndpointSupportsMIDI1Protocol; - BSTR EndpointSuppliedName; - BSTR EndpointSuppliedProductInstanceId; + LPCWSTR EndpointSuppliedName; + LPCWSTR EndpointSuppliedProductInstanceId; BYTE NumberOfFunctionBlocksDeclared; BYTE NumberOfFunctionBlocksReceived; BOOL FunctionBlocksAreStatic; - BOOL EndpointSupportsMIDI2Protocol; - BOOL EndpointSupportsMIDI1Protocol; + PDISCOVEREDFUNCTIONBLOCK DiscoveredFunctionBlocks; // pointer to an array of discovered function blocks. - SAFEARRAY(DISCOVEREDFUNCTIONBLOCK) DiscoveredFunctionBlocks; - -} ENDPOINTPROTOCOLNEGOTIATIONRESULTS, * PENDPOINTPROTOCOLNEGOTIATIONRESULTS; +} ENDPOINTPROTOCOLNEGOTIATIONRESULTS, *PENDPOINTPROTOCOLNEGOTIATIONRESULTS; [ @@ -578,20 +587,15 @@ typedef struct interface IMidiEndpointProtocolManagerInterface : IUnknown { HRESULT NegotiateAndRequestMetadata( + [in] GUID AbstractionGuid, [in] LPCWSTR DeviceInterfaceId, [in] BOOL PreferToSendJRTimestampsToEndpoint, [in] BOOL PreferToReceiveJRTimestampsFromEndpoint, [in] BYTE PreferredMidiProtocol, - [in] WORD TimeoutMS, + [in] WORD TimeoutMilliseconds, [out, retval] PENDPOINTPROTOCOLNEGOTIATIONRESULTS* NegotiationResults ); }; - - - - - - diff --git a/src/app-sdk/app-sdk.sln b/src/app-sdk/app-sdk.sln index c369e2315..e973c931b 100644 --- a/src/app-sdk/app-sdk.sln +++ b/src/app-sdk/app-sdk.sln @@ -3,61 +3,52 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.10.34825.169 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2", "winrt-core\Microsoft.Devices.Midi2.vcxproj", "{9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2", "winrt-core\Microsoft.Windows.Devices.Midi2.vcxproj", "{9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Devices.Midi2.NET", "winrt-core-projection\Microsoft.Devices.Midi2.NET.csproj", "{509FB5AF-FE74-4947-8453-12A459830431}" - ProjectSection(ProjectDependencies) = postProject - {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4} = {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2.Diagnostics", "winrt-diagnostics\Microsoft.Devices.Midi2.Diagnostics.vcxproj", "{05796B3C-25FF-4AC2-999B-EDEFB773393C}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.Diagnostics", "winrt-diagnostics\Microsoft.Windows.Devices.Midi2.Diagnostics.vcxproj", "{05796B3C-25FF-4AC2-999B-EDEFB773393C}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2.ClientPlugins", "winrt-client-plugins\Microsoft.Devices.Midi2.Plugins.vcxproj", "{3D2BC934-CDC7-4DC7-B7FC-F34B755BF726}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.ClientPlugins", "winrt-client-plugins\Microsoft.Windows.Devices.Midi2.Plugins.vcxproj", "{3D2BC934-CDC7-4DC7-B7FC-F34B755BF726}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2.Messages", "winrt-messages\Microsoft.Devices.Midi2.Messages.vcxproj", "{001601DE-B7AB-41D1-81B7-40286B139841}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.Messages", "winrt-messages\Microsoft.Windows.Devices.Midi2.Messages.vcxproj", "{001601DE-B7AB-41D1-81B7-40286B139841}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2.Endpoints.Loopback", "winrt-endpoint-loopback\Microsoft.Devices.Midi2.Endpoints.Loopback.vcxproj", "{D3B84D5D-8BED-4CB7-B430-B0BF1E46F3A1}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.Endpoints.Loopback", "winrt-endpoint-loopback\Microsoft.Windows.Devices.Midi2.Endpoints.Loopback.vcxproj", "{D3B84D5D-8BED-4CB7-B430-B0BF1E46F3A1}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2.Endpoints.Virtual", "winrt-endpoint-virtual\Microsoft.Devices.Midi2.Endpoints.Virtual.vcxproj", "{9B93146C-4D9D-4915-BECB-5227DF2667E2}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.Endpoints.Virtual", "winrt-endpoint-virtual\Microsoft.Windows.Devices.Midi2.Endpoints.Virtual.vcxproj", "{9B93146C-4D9D-4915-BECB-5227DF2667E2}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "0 Shared", "0 Shared", "{78B3E981-FFD4-4C8D-9575-B288DED97905}" ProjectSection(SolutionItems) = preProject sdk-shared\SdkTraceLogging.h = sdk-shared\SdkTraceLogging.h EndProjectSection EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{D81BD2FC-F666-4082-8EEE-DD5CBC3B11D1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Service", "Service", "{0E4954A2-9131-4D04-98FA-AD6DCAC520F2}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Diagnostics", "Diagnostics", "{C8B31D71-0226-4D2D-AC78-53D5C84F472F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Transports", "Transports", "{B5B9A927-B94C-4ED5-BFAB-2477E0A08A65}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{C8B31D71-0226-4D2D-AC78-53D5C84F472F}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Messages", "Messages", "{F1DF0660-8BED-4050-A65E-24B2A43A20FA}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SDKs", "SDKs", "{C264A7FA-A710-4681-9732-796A4F9EAC81}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{766C9D55-3F16-4DD3-BA9B-347815BFF3BD}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.CapabilityInquiry", "winrt-ci\Microsoft.Windows.Devices.Midi2.CapabilityInquiry.vcxproj", "{38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Devices.Midi2.Diagnostics.NET", "winrt-diagnostics-projection\Microsoft.Devices.Midi2.Diagnostics.NET.csproj", "{61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "zz Tests", "zz Tests", "{BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mididiag", "mididiag\mididiag.vcxproj", "{5EC6D5EB-53D4-4731-891E-F746F0201429}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Sdk.ClientPlugins.unittests", "tests\Midi2.Sdk.ClientPlugins.unittests\Midi2.Sdk.ClientPlugins.unittests.vcxproj", "{DE00E7C0-314D-4B0E-80C9-75EBD2706760}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.ServiceConfig", "winrt-service-config\Microsoft.Windows.Devices.Midi2.ServiceConfig.vcxproj", "{72D1A831-0492-41CC-AA58-BDD05C1099F7}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Sdk.Core.benchmarks", "tests\Midi2.Sdk.Core.benchmarks\Midi2.Sdk.Core.benchmarks.vcxproj", "{4DABE157-7DD5-422A-8C77-B83EAC9987D0}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Packages", "Packages", "{FE75C8DD-3ECA-4B26-A5A2-07C1245DBFD3}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Sdk.Core.unittests", "tests\Midi2.Sdk.Core.unittests\Midi2.Sdk.Core.unittests.vcxproj", "{14F12F86-9BDE-4DA3-B295-7FD990080E57}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Windows.Devices.Midi2.NetProjection", "projections\dotnet-and-cpp\Microsoft.Windows.Devices.Midi2.NetProjection.csproj", "{25F09B3A-0D97-4245-8591-262A0DFF4320}" + ProjectSection(ProjectDependencies) = postProject + {5EC6D5EB-53D4-4731-891E-F746F0201429} = {5EC6D5EB-53D4-4731-891E-F746F0201429} + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0} = {B58C37D4-4E28-424F-93FA-5504C4A3B7A0} + EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Sdk.Messages.unittests", "tests\Midi2.Sdk.Messages.unittests\Midi2.Sdk.Messages.unittests.vcxproj", "{CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build Support", "Build Support", "{B35DD12B-68E2-4A8C-BF18-9072AD47C0AE}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Sdk.Endpoint.Loopback.unittests", "tests\Midi2.Sdk.Endpoint.Loopback.unittests\Midi2.Sdk.Endpoint.Loopback.unittests.vcxproj", "{E10B42B4-1485-4A9F-B44B-4E3E98614D8C}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "coalesce", "coalesce\coalesce.vcxproj", "{B58C37D4-4E28-424F-93FA-5504C4A3B7A0}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Midi2.Sdk.Endpoint.Virtual.unittests", "tests\Midi2.Sdk.Endpoint.Virtual.unittests\Midi2.Sdk.Endpoint.Virtual.unittests.vcxproj", "{EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WinRT SDK Support", "WinRT SDK Support", "{8E176635-B6CB-44A9-B711-AB28959E5D1B}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CI", "CI", "{C264A7FA-A710-4681-9732-796A4F9EAC81}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WinRT", "WinRT", "{F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Devices.Midi2.CapabilityInquiry", "winrt-ci\Microsoft.Devices.Midi2.CapabilityInquiry.vcxproj", "{38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core Implementation", "Core Implementation", "{F2CC4F2C-FD40-4E1D-BECE-74D9275F412B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mididiag", "mididiag\mididiag.vcxproj", "{5EC6D5EB-53D4-4731-891E-F746F0201429}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Windows.Devices.Midi2.Initialization", "winrt-initialization\Microsoft.Windows.Devices.Midi2.Initialization.vcxproj", "{0CA9273A-0BAE-4AC4-8290-A72A985DD264}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -87,22 +78,6 @@ Global {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4}.Release|ARM64EC.Build.0 = Release|ARM64EC {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4}.Release|x64.ActiveCfg = Release|x64 {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4}.Release|x64.Build.0 = Release|x64 - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|Any CPU.Build.0 = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|ARM64.ActiveCfg = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|ARM64.Build.0 = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|ARM64EC.ActiveCfg = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|ARM64EC.Build.0 = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|x64.ActiveCfg = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Debug|x64.Build.0 = Debug|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|Any CPU.ActiveCfg = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|Any CPU.Build.0 = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|ARM64.ActiveCfg = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|ARM64.Build.0 = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|ARM64EC.ActiveCfg = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|ARM64EC.Build.0 = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|x64.ActiveCfg = Release|Any CPU - {509FB5AF-FE74-4947-8453-12A459830431}.Release|x64.Build.0 = Release|Any CPU {05796B3C-25FF-4AC2-999B-EDEFB773393C}.Debug|Any CPU.ActiveCfg = Debug|x64 {05796B3C-25FF-4AC2-999B-EDEFB773393C}.Debug|Any CPU.Build.0 = Debug|x64 {05796B3C-25FF-4AC2-999B-EDEFB773393C}.Debug|ARM64.ActiveCfg = Debug|ARM64 @@ -183,118 +158,6 @@ Global {9B93146C-4D9D-4915-BECB-5227DF2667E2}.Release|ARM64EC.Build.0 = Release|ARM64EC {9B93146C-4D9D-4915-BECB-5227DF2667E2}.Release|x64.ActiveCfg = Release|x64 {9B93146C-4D9D-4915-BECB-5227DF2667E2}.Release|x64.Build.0 = Release|x64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|ARM64.Build.0 = Debug|ARM64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|ARM64EC.ActiveCfg = Debug|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|ARM64EC.Build.0 = Debug|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|x64.ActiveCfg = Debug|x64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Debug|x64.Build.0 = Debug|x64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|Any CPU.Build.0 = Release|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|ARM64.ActiveCfg = Release|ARM64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|ARM64.Build.0 = Release|ARM64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|ARM64EC.ActiveCfg = Release|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|ARM64EC.Build.0 = Release|Any CPU - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|x64.ActiveCfg = Release|x64 - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB}.Release|x64.Build.0 = Release|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|Any CPU.ActiveCfg = Debug|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|Any CPU.Build.0 = Debug|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|ARM64.Build.0 = Debug|ARM64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|ARM64EC.Build.0 = Debug|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|x64.ActiveCfg = Debug|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Debug|x64.Build.0 = Debug|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|Any CPU.ActiveCfg = Release|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|Any CPU.Build.0 = Release|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|ARM64.ActiveCfg = Release|ARM64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|ARM64.Build.0 = Release|ARM64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|ARM64EC.ActiveCfg = Release|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|ARM64EC.Build.0 = Release|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|x64.ActiveCfg = Release|x64 - {DE00E7C0-314D-4B0E-80C9-75EBD2706760}.Release|x64.Build.0 = Release|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|Any CPU.ActiveCfg = Debug|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|Any CPU.Build.0 = Debug|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|ARM64.Build.0 = Debug|ARM64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|ARM64EC.Build.0 = Debug|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|x64.ActiveCfg = Debug|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Debug|x64.Build.0 = Debug|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|Any CPU.ActiveCfg = Release|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|Any CPU.Build.0 = Release|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|ARM64.ActiveCfg = Release|ARM64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|ARM64.Build.0 = Release|ARM64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|ARM64EC.ActiveCfg = Release|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|ARM64EC.Build.0 = Release|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|x64.ActiveCfg = Release|x64 - {4DABE157-7DD5-422A-8C77-B83EAC9987D0}.Release|x64.Build.0 = Release|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|Any CPU.ActiveCfg = Debug|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|Any CPU.Build.0 = Debug|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|ARM64.Build.0 = Debug|ARM64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|ARM64EC.Build.0 = Debug|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|x64.ActiveCfg = Debug|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Debug|x64.Build.0 = Debug|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|Any CPU.ActiveCfg = Release|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|Any CPU.Build.0 = Release|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|ARM64.ActiveCfg = Release|ARM64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|ARM64.Build.0 = Release|ARM64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|ARM64EC.ActiveCfg = Release|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|ARM64EC.Build.0 = Release|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|x64.ActiveCfg = Release|x64 - {14F12F86-9BDE-4DA3-B295-7FD990080E57}.Release|x64.Build.0 = Release|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|Any CPU.ActiveCfg = Debug|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|Any CPU.Build.0 = Debug|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|ARM64.Build.0 = Debug|ARM64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|ARM64EC.Build.0 = Debug|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|x64.ActiveCfg = Debug|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Debug|x64.Build.0 = Debug|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|Any CPU.ActiveCfg = Release|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|Any CPU.Build.0 = Release|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|ARM64.ActiveCfg = Release|ARM64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|ARM64.Build.0 = Release|ARM64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|ARM64EC.ActiveCfg = Release|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|ARM64EC.Build.0 = Release|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|x64.ActiveCfg = Release|x64 - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8}.Release|x64.Build.0 = Release|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|Any CPU.ActiveCfg = Debug|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|Any CPU.Build.0 = Debug|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|ARM64.Build.0 = Debug|ARM64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|ARM64EC.Build.0 = Debug|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|x64.ActiveCfg = Debug|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Debug|x64.Build.0 = Debug|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|Any CPU.ActiveCfg = Release|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|Any CPU.Build.0 = Release|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|ARM64.ActiveCfg = Release|ARM64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|ARM64.Build.0 = Release|ARM64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|ARM64EC.ActiveCfg = Release|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|ARM64EC.Build.0 = Release|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|x64.ActiveCfg = Release|x64 - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C}.Release|x64.Build.0 = Release|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|Any CPU.ActiveCfg = Debug|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|Any CPU.Build.0 = Debug|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|ARM64.Build.0 = Debug|ARM64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|ARM64EC.ActiveCfg = Debug|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|ARM64EC.Build.0 = Debug|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|x64.ActiveCfg = Debug|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Debug|x64.Build.0 = Debug|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|Any CPU.ActiveCfg = Release|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|Any CPU.Build.0 = Release|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|ARM64.ActiveCfg = Release|ARM64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|ARM64.Build.0 = Release|ARM64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|ARM64EC.ActiveCfg = Release|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|ARM64EC.Build.0 = Release|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|x64.ActiveCfg = Release|x64 - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD}.Release|x64.Build.0 = Release|x64 {38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1}.Debug|Any CPU.ActiveCfg = Debug|x64 {38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1}.Debug|Any CPU.Build.0 = Debug|x64 {38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1}.Debug|ARM64.ActiveCfg = Debug|ARM64 @@ -323,31 +186,96 @@ Global {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|Any CPU.Build.0 = Release|x64 {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|ARM64.ActiveCfg = Release|ARM64 {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|ARM64.Build.0 = Release|ARM64 - {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|ARM64EC.ActiveCfg = Release|x64 - {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|ARM64EC.Build.0 = Release|x64 + {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|ARM64EC.ActiveCfg = Release|ARM64EC + {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|ARM64EC.Build.0 = Release|ARM64EC {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|x64.ActiveCfg = Release|x64 {5EC6D5EB-53D4-4731-891E-F746F0201429}.Release|x64.Build.0 = Release|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|Any CPU.ActiveCfg = Debug|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|Any CPU.Build.0 = Debug|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|ARM64.Build.0 = Debug|ARM64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|ARM64EC.Build.0 = Debug|ARM64EC + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|x64.ActiveCfg = Debug|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Debug|x64.Build.0 = Debug|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|Any CPU.ActiveCfg = Release|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|Any CPU.Build.0 = Release|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|ARM64.ActiveCfg = Release|ARM64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|ARM64.Build.0 = Release|ARM64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|ARM64EC.ActiveCfg = Release|ARM64EC + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|ARM64EC.Build.0 = Release|ARM64EC + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|x64.ActiveCfg = Release|x64 + {72D1A831-0492-41CC-AA58-BDD05C1099F7}.Release|x64.Build.0 = Release|x64 + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|Any CPU.Build.0 = Debug|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|ARM64.Build.0 = Debug|ARM64 + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|ARM64EC.ActiveCfg = Debug|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|ARM64EC.Build.0 = Debug|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|x64.ActiveCfg = Debug|x64 + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Debug|x64.Build.0 = Debug|x64 + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|Any CPU.ActiveCfg = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|Any CPU.Build.0 = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|ARM64.ActiveCfg = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|ARM64.Build.0 = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|ARM64EC.ActiveCfg = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|ARM64EC.Build.0 = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|x64.ActiveCfg = Release|Any CPU + {25F09B3A-0D97-4245-8591-262A0DFF4320}.Release|x64.Build.0 = Release|Any CPU + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|Any CPU.ActiveCfg = Debug|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|Any CPU.Build.0 = Debug|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|ARM64.Build.0 = Debug|ARM64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|ARM64EC.Build.0 = Debug|ARM64EC + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|x64.ActiveCfg = Debug|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Debug|x64.Build.0 = Debug|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|Any CPU.ActiveCfg = Release|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|Any CPU.Build.0 = Release|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|ARM64.ActiveCfg = Release|ARM64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|ARM64.Build.0 = Release|ARM64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|ARM64EC.ActiveCfg = Release|ARM64EC + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|ARM64EC.Build.0 = Release|ARM64EC + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|x64.ActiveCfg = Release|x64 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0}.Release|x64.Build.0 = Release|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|Any CPU.ActiveCfg = Debug|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|Any CPU.Build.0 = Debug|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|ARM64.Build.0 = Debug|ARM64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|ARM64EC.Build.0 = Debug|ARM64EC + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|x64.ActiveCfg = Debug|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Debug|x64.Build.0 = Debug|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|Any CPU.ActiveCfg = Release|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|Any CPU.Build.0 = Release|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|ARM64.ActiveCfg = Release|ARM64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|ARM64.Build.0 = Release|ARM64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|ARM64EC.ActiveCfg = Release|ARM64EC + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|ARM64EC.Build.0 = Release|ARM64EC + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|x64.ActiveCfg = Release|x64 + {0CA9273A-0BAE-4AC4-8290-A72A985DD264}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4} = {D81BD2FC-F666-4082-8EEE-DD5CBC3B11D1} - {509FB5AF-FE74-4947-8453-12A459830431} = {D81BD2FC-F666-4082-8EEE-DD5CBC3B11D1} - {05796B3C-25FF-4AC2-999B-EDEFB773393C} = {C8B31D71-0226-4D2D-AC78-53D5C84F472F} - {3D2BC934-CDC7-4DC7-B7FC-F34B755BF726} = {766C9D55-3F16-4DD3-BA9B-347815BFF3BD} - {001601DE-B7AB-41D1-81B7-40286B139841} = {F1DF0660-8BED-4050-A65E-24B2A43A20FA} - {D3B84D5D-8BED-4CB7-B430-B0BF1E46F3A1} = {B5B9A927-B94C-4ED5-BFAB-2477E0A08A65} - {9B93146C-4D9D-4915-BECB-5227DF2667E2} = {B5B9A927-B94C-4ED5-BFAB-2477E0A08A65} - {61D02B2D-26FA-4361-A562-CDB8E9C0DFBB} = {C8B31D71-0226-4D2D-AC78-53D5C84F472F} - {DE00E7C0-314D-4B0E-80C9-75EBD2706760} = {BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44} - {4DABE157-7DD5-422A-8C77-B83EAC9987D0} = {BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44} - {14F12F86-9BDE-4DA3-B295-7FD990080E57} = {BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44} - {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8} = {BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44} - {E10B42B4-1485-4A9F-B44B-4E3E98614D8C} = {BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44} - {EB6F4A41-AD23-447B-A0C0-64F8ED6933FD} = {BB2E7AA8-8DC6-4A9B-B49F-E20E98EEFE44} - {38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1} = {C264A7FA-A710-4681-9732-796A4F9EAC81} + {9EAA3AF3-7328-4F67-A011-E2DD8FBAA4C4} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {05796B3C-25FF-4AC2-999B-EDEFB773393C} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {3D2BC934-CDC7-4DC7-B7FC-F34B755BF726} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {001601DE-B7AB-41D1-81B7-40286B139841} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {D3B84D5D-8BED-4CB7-B430-B0BF1E46F3A1} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {9B93146C-4D9D-4915-BECB-5227DF2667E2} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {38E2CBFD-6C7A-45FB-B162-6BCC1734A0A1} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} {5EC6D5EB-53D4-4731-891E-F746F0201429} = {C8B31D71-0226-4D2D-AC78-53D5C84F472F} + {72D1A831-0492-41CC-AA58-BDD05C1099F7} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {FE75C8DD-3ECA-4B26-A5A2-07C1245DBFD3} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {25F09B3A-0D97-4245-8591-262A0DFF4320} = {FE75C8DD-3ECA-4B26-A5A2-07C1245DBFD3} + {B35DD12B-68E2-4A8C-BF18-9072AD47C0AE} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0} = {B35DD12B-68E2-4A8C-BF18-9072AD47C0AE} + {8E176635-B6CB-44A9-B711-AB28959E5D1B} = {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} + {F5AE94B4-47A7-4D35-A9EE-65FD4CF58C4B} = {C264A7FA-A710-4681-9732-796A4F9EAC81} + {F2CC4F2C-FD40-4E1D-BECE-74D9275F412B} = {C264A7FA-A710-4681-9732-796A4F9EAC81} + {0CA9273A-0BAE-4AC4-8290-A72A985DD264} = {8E176635-B6CB-44A9-B711-AB28959E5D1B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {AE1DF8B9-9FAB-4E20-8AC6-FF316882222F} diff --git a/src/app-sdk/coalesce/PropertySheet.props b/src/app-sdk/coalesce/PropertySheet.props new file mode 100644 index 000000000..b0c622690 --- /dev/null +++ b/src/app-sdk/coalesce/PropertySheet.props @@ -0,0 +1,16 @@ + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/coalesce/coalesce.vcxproj b/src/app-sdk/coalesce/coalesce.vcxproj new file mode 100644 index 000000000..d7ac4cf91 --- /dev/null +++ b/src/app-sdk/coalesce/coalesce.vcxproj @@ -0,0 +1,223 @@ + + + + + true + true + false + true + 15.0 + {B58C37D4-4E28-424F-93FA-5504C4A3B7A0} + Win32Proj + coalesce + 10.0 + 10.0.20348.0 + coalesce + + + + + 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\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(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)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + + + Console + false + %(AdditionalDependencies) + %(AdditionalDependencies) + %(AdditionalDependencies) + + + + + WIN32;%(PreprocessorDefinitions) + stdcpp20 + + + ntdll.lib;%(AdditionalDependencies) + + + + + MaxSpeed + true + true + NDEBUG;%(PreprocessorDefinitions) + stdcpp20 + stdcpp20 + stdcpp20 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + + + Console + true + true + false + %(AdditionalDependencies) + %(AdditionalDependencies) + %(AdditionalDependencies) + + + + + + + + + Create + + + + + + + + + {38e2cbfd-6c7a-45fb-b162-6bcc1734a0a1} + + + {3d2bc934-cdc7-4dc7-b7fc-f34b755bf726} + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + + {05796b3c-25ff-4ac2-999b-edefb773393c} + + + {d3b84d5d-8bed-4cb7-b430-b0bf1e46f3a1} + + + {9b93146c-4d9d-4915-becb-5227df2667e2} + + + {0ca9273a-0bae-4ac4-8290-a72a985dd264} + + + {001601de-b7ab-41d1-81b7-40286b139841} + + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} + + + + + + + + + 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/src/app-sdk/coalesce/coalesce.vcxproj.filters b/src/app-sdk/coalesce/coalesce.vcxproj.filters new file mode 100644 index 000000000..356bbba8e --- /dev/null +++ b/src/app-sdk/coalesce/coalesce.vcxproj.filters @@ -0,0 +1,34 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Header Files + + + + + Source Files + + + Source Files + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/coalesce/main.cpp b/src/app-sdk/coalesce/main.cpp new file mode 100644 index 000000000..a88426f5c --- /dev/null +++ b/src/app-sdk/coalesce/main.cpp @@ -0,0 +1,23 @@ +// 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 +// ============================================================================ + + +#pragma once + +#include "pch.h" + +int __cdecl main() +{ + winrt::init_apartment(); + + // this program does nothing. It's a convenience to gather all the generated header + // files for the C++ projection of the winrt SDKs. As such, this project must always + // reference the entire set of SDK projects. + + return 0; +} diff --git a/src/app-sdk/coalesce/packages.config b/src/app-sdk/coalesce/packages.config new file mode 100644 index 000000000..7a9561b2b --- /dev/null +++ b/src/app-sdk/coalesce/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/app-sdk/coalesce/pch.cpp b/src/app-sdk/coalesce/pch.cpp new file mode 100644 index 000000000..b437ca7e5 --- /dev/null +++ b/src/app-sdk/coalesce/pch.cpp @@ -0,0 +1,10 @@ +// 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 +// ============================================================================ + + +#include "pch.h" diff --git a/src/app-sdk/coalesce/pch.h b/src/app-sdk/coalesce/pch.h new file mode 100644 index 000000000..2e71eea6d --- /dev/null +++ b/src/app-sdk/coalesce/pch.h @@ -0,0 +1,34 @@ +// 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 +// ============================================================================ + + +#pragma once + +//#include +//#include + +#include +#include +#include +#include + +namespace foundation = winrt::Windows::Foundation; +namespace collections = winrt::Windows::Foundation::Collections; + + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//#include "combaseapi.h" diff --git a/src/app-sdk/mididiag/main.cpp b/src/app-sdk/mididiag/main.cpp index 70c0e6c7b..55b93f591 100644 --- a/src/app-sdk/mididiag/main.cpp +++ b/src/app-sdk/mididiag/main.cpp @@ -1,7 +1,7 @@ -// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License // ============================================================================ -// This is part of the Windows MIDI Services App API and should be used +// 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 // ============================================================================ @@ -11,9 +11,6 @@ #include "pch.h" -using namespace winrt; -using namespace winrt::Windows::Foundation; - const std::wstring fieldSeparator = MIDIDIAG_FIELD_SEPARATOR; void OutputBlankLine() @@ -22,7 +19,7 @@ void OutputBlankLine() << std::endl; } -void OutputSectionHeader(_In_ std::wstring headerText) +void OutputSectionHeader(_In_ std::wstring const& headerText) { const std::wstring sectionHeaderSeparator = std::wstring(MIDIDIAG_SEPARATOR_REPEATING_CHAR_COUNT_PER_LINE, MIDIDIAG_SECTION_HEADER_SEPARATOR_CHAR); @@ -46,14 +43,14 @@ void OutputItemSeparator() << std::endl; } -void OutputHeader(_In_ std::wstring headerText) +void OutputHeader(_In_ std::wstring const& headerText) { std::wcout << headerText << std::endl; } -void OutputFieldLabel(_In_ std::wstring fieldName) +void OutputFieldLabel(_In_ std::wstring const& fieldName) { std::wcout << std::setw(MIDIDIAG_MAX_FIELD_LABEL_WIDTH) @@ -61,7 +58,7 @@ void OutputFieldLabel(_In_ std::wstring fieldName) << fieldName; } -void OutputStringField(_In_ std::wstring fieldName, _In_ winrt::hstring value) +void OutputStringField(_In_ std::wstring const& fieldName, _In_ winrt::hstring const& value) { OutputFieldLabel(fieldName); @@ -71,7 +68,7 @@ void OutputStringField(_In_ std::wstring fieldName, _In_ winrt::hstring value) << std::endl; } -void OutputStringField(_In_ std::wstring fieldName, _In_ std::wstring value) +void OutputStringField(_In_ std::wstring const& fieldName, _In_ std::wstring const& value) { OutputFieldLabel(fieldName); @@ -81,7 +78,7 @@ void OutputStringField(_In_ std::wstring fieldName, _In_ std::wstring value) << std::endl; } -void OutputBooleanField(_In_ std::wstring fieldName, _In_ bool value) +void OutputBooleanField(_In_ std::wstring const& fieldName, _In_ bool const& value) { OutputFieldLabel(fieldName); @@ -92,24 +89,26 @@ void OutputBooleanField(_In_ std::wstring fieldName, _In_ bool value) << std::endl; } -void OutputGuidField(_In_ std::wstring fieldName, _In_ winrt::guid value) +void OutputGuidField(_In_ std::wstring const& fieldName, _In_ winrt::guid const& value) { OutputStringField(fieldName, internal::GuidToString(value)); } - void OutputCurrentTime() { - auto const time = std::chrono::current_zone()->to_local(std::chrono::system_clock::now()); + // At the time of this writing, C++ 20 consteval and format are broken in the MSVC + // std library so need to use vformat instead of format - OutputStringField(MIDIDIAG_FIELD_LABEL_CURRENT_TIME, std::format(L"{:%Y-%m-%d %X}", time)); + const auto time = std::time(nullptr); + auto formattedDateTime = std::vformat(L"{0:%F} {0:%X}", std::make_wformat_args(time)); + OutputStringField(MIDIDIAG_FIELD_LABEL_CURRENT_TIME, formattedDateTime); } -void OutputTimestampField(_In_ std::wstring fieldName, _In_ uint64_t value) +void OutputTimestampField(_In_ std::wstring const& fieldName, _In_ uint64_t const value) { OutputFieldLabel(fieldName); @@ -119,7 +118,7 @@ void OutputTimestampField(_In_ std::wstring fieldName, _In_ uint64_t value) << std::endl; } -void OutputNumericField(_In_ std::wstring fieldName, _In_ uint32_t value) +void OutputNumericField(_In_ std::wstring const& fieldName, _In_ uint32_t const value) { OutputFieldLabel(fieldName); @@ -130,7 +129,7 @@ void OutputNumericField(_In_ std::wstring fieldName, _In_ uint32_t value) << std::endl; } -void OutputHexNumericField(_In_ std::wstring fieldName, _In_ uint32_t value) +void OutputHexNumericField(_In_ std::wstring const& fieldName, _In_ uint32_t const value) { OutputFieldLabel(fieldName); @@ -143,7 +142,7 @@ void OutputHexNumericField(_In_ std::wstring fieldName, _In_ uint32_t value) } -void OutputError(_In_ std::wstring errorMessage) +void OutputError(_In_ std::wstring const& errorMessage) { const std::wstring errorLabel = L"ERROR"; @@ -159,7 +158,7 @@ void OutputError(_In_ std::wstring errorMessage) #define RETURN_FAIL return 1 -bool DoSectionTransports(_In_ bool verbose) +bool DoSectionTransports(_In_ bool const verbose) { UNREFERENCED_PARAMETER(verbose); @@ -175,7 +174,7 @@ bool DoSectionTransports(_In_ bool verbose) { OutputGuidField(MIDIDIAG_FIELD_LABEL_TRANSPORT_ID, transport.Id); OutputStringField(MIDIDIAG_FIELD_LABEL_TRANSPORT_NAME, transport.Name); - OutputStringField(MIDIDIAG_FIELD_LABEL_TRANSPORT_MNEMONIC, transport.Mnemonic); + OutputStringField(MIDIDIAG_FIELD_LABEL_TRANSPORT_MNEMONIC, transport.Abbreviation); OutputStringField(MIDIDIAG_FIELD_LABEL_TRANSPORT_VERSION, transport.Version); OutputStringField(MIDIDIAG_FIELD_LABEL_TRANSPORT_AUTHOR, transport.Author); OutputStringField(MIDIDIAG_FIELD_LABEL_TRANSPORT_DESCRIPTION, transport.Description); @@ -197,7 +196,7 @@ bool DoSectionTransports(_In_ bool verbose) return true; } -bool DoSectionMidi2ApiEndpoints(_In_ bool verbose) +bool DoSectionMidi2ApiEndpoints(_In_ bool const verbose) { OutputSectionHeader(MIDIDIAG_SECTION_LABEL_MIDI2_API_ENDPOINTS); @@ -210,8 +209,8 @@ bool DoSectionMidi2ApiEndpoints(_In_ bool verbose) // list all devices devices = midi2::MidiEndpointDeviceInformation::FindAll( midi2::MidiEndpointDeviceInformationSortOrder::Name, - midi2::MidiEndpointDeviceInformationFilters::IncludeClientByteStreamNative | - midi2::MidiEndpointDeviceInformationFilters::IncludeClientUmpNative | + midi2::MidiEndpointDeviceInformationFilters::IncludeClientByteFormatNative | + midi2::MidiEndpointDeviceInformationFilters::IncludeClientUmpFormatNative | midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticLoopback | midi2::MidiEndpointDeviceInformationFilters::IncludeDiagnosticPing | midi2::MidiEndpointDeviceInformationFilters::IncludeVirtualDeviceResponder @@ -237,7 +236,7 @@ bool DoSectionMidi2ApiEndpoints(_In_ bool verbose) OutputStringField(MIDIDIAG_FIELD_LABEL_MIDI2_ENDPOINT_ID, device.EndpointDeviceId()); OutputStringField(MIDIDIAG_FIELD_LABEL_MIDI2_ENDPOINT_NAME, device.Name()); - OutputStringField(MIDIDIAG_FIELD_LABEL_MIDI2_ENDPOINT_TRANSPORT_MNEMONIC, transportInfo.TransportMnemonic); + OutputStringField(MIDIDIAG_FIELD_LABEL_MIDI2_ENDPOINT_TRANSPORT_MNEMONIC, transportInfo.TransportAbbreviation); if (verbose) { @@ -275,7 +274,7 @@ bool DoSectionMidi2ApiEndpoints(_In_ bool verbose) return true; } -bool DoSectionMidi1ApiEndpoints(_In_ bool verbose) +bool DoSectionMidi1ApiEndpoints(_In_ bool const verbose) { UNREFERENCED_PARAMETER(verbose); @@ -337,7 +336,7 @@ bool DoSectionMidi1ApiEndpoints(_In_ bool verbose) return true; } -bool DoSectionPingTest(_In_ bool verbose, _In_ uint8_t pingCount) +bool DoSectionPingTest(_In_ bool const verbose, _In_ uint8_t const pingCount) { UNREFERENCED_PARAMETER(verbose); @@ -386,9 +385,12 @@ bool DoSectionPingTest(_In_ bool verbose, _In_ uint8_t pingCount) return false; } + + + return true; } -bool DoSectionClock(_In_ bool verbose) +bool DoSectionClock(_In_ bool const verbose) { UNREFERENCED_PARAMETER(verbose); @@ -400,16 +402,19 @@ bool DoSectionClock(_In_ bool verbose) return true; } -bool DoSectionServiceStatus(_In_ bool verbose) +bool DoSectionServiceStatus(_In_ bool const verbose) { UNREFERENCED_PARAMETER(verbose); OutputSectionHeader(MIDIDIAG_SECTION_LABEL_SERVICE_STATUS); // this needs to be done before any other service calls - OutputBooleanField(MIDIDIAG_FIELD_LABEL_SERVICE_AVAILABLE, midi2::MidiService::EnsureAvailable()); - return true; + bool available = init::MidiServicesInitializer::EnsureServiceAvailable(); + + OutputBooleanField(MIDIDIAG_FIELD_LABEL_SERVICE_AVAILABLE, available); + + return available; } @@ -460,7 +465,7 @@ std::wstring GetOSVersion() } -std::wstring GetProcessorArchitectureString(WORD arch) +std::wstring GetProcessorArchitectureString(WORD const arch) { switch (arch) { @@ -480,7 +485,7 @@ std::wstring GetProcessorArchitectureString(WORD arch) } -void OutputSystemInfo(_In_ SYSTEM_INFO& sysinfo) +void OutputSystemInfo(_In_ SYSTEM_INFO const& sysinfo) { // that sysinfo.dwNumberOfProcessors can return some strange results. @@ -494,15 +499,10 @@ void OutputSystemInfo(_In_ SYSTEM_INFO& sysinfo) bool DoSectionSystemInfo(_In_ bool verbose) { -<<<<<<< HEAD:src/api/InBoxApps/mididmp/main.cpp UNREFERENCED_PARAMETER(verbose); - OutputSectionHeader(MIDIDMP_SECTION_LABEL_OS); - OutputStringField(MIDIDMP_FIELD_LABEL_OS_VERSION, GetOSVersion()); -======= OutputSectionHeader(MIDIDIAG_SECTION_LABEL_OS); OutputStringField(MIDIDIAG_FIELD_LABEL_OS_VERSION, GetOSVersion()); ->>>>>>> pete-dev:src/app-sdk/mididiag/main.cpp // if running under emulation on Arm64, this is going to return the emulated sys info @@ -543,7 +543,7 @@ int __cdecl main() { DoSectionSystemInfo(verbose); - DoSectionServiceStatus(verbose); + if (!DoSectionServiceStatus(verbose)) RETURN_FAIL; auto transportsWorked = DoSectionTransports(verbose); diff --git a/src/app-sdk/mididiag/mididiag.exe.manifest b/src/app-sdk/mididiag/mididiag.exe.manifest new file mode 100644 index 000000000..9f9172930 --- /dev/null +++ b/src/app-sdk/mididiag/mididiag.exe.manifest @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/mididiag/mididiag.vcxproj b/src/app-sdk/mididiag/mididiag.vcxproj index 6834e38dd..e0b91aa39 100644 --- a/src/app-sdk/mididiag/mididiag.vcxproj +++ b/src/app-sdk/mididiag/mididiag.vcxproj @@ -223,6 +223,10 @@ Debug ARM64 + + Debug + ARM64EC + Release ARM64 @@ -231,6 +235,10 @@ Debug x64 + + Release + ARM64EC + Release x64 @@ -267,25 +275,37 @@ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ $(IncludePath) $(LibraryPath) $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ $(IncludePath) $(LibraryPath) $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ $(IncludePath) $(LibraryPath) $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ - $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(IncludePath) + $(LibraryPath) + + + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ $(IncludePath) $(LibraryPath) @@ -305,13 +325,16 @@ _DEBUG;%(PreprocessorDefinitions) stdcpp20 stdcpp20 - %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(IntDir);$(GeneratedFilesDir) - %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(IntDir);$(GeneratedFilesDir) + stdcpp20 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; Console false %(AdditionalDependencies) + %(AdditionalDependencies) %(AdditionalDependencies) @@ -332,8 +355,10 @@ NDEBUG;%(PreprocessorDefinitions) stdcpp20 stdcpp20 - %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(IntDir);$(GeneratedFilesDir) - %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(IntDir);$(GeneratedFilesDir) + stdcpp20 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc; Console @@ -341,6 +366,7 @@ true false %(AdditionalDependencies) + %(AdditionalDependencies) %(AdditionalDependencies) @@ -362,15 +388,23 @@ - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - + {05796b3c-25ff-4ac2-999b-edefb773393c} - - {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + {0ca9273a-0bae-4ac4-8290-a72a985dd264} + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} + + + + + true + diff --git a/src/app-sdk/mididiag/mididiag.vcxproj.filters b/src/app-sdk/mididiag/mididiag.vcxproj.filters index 942f9bc60..395f4036f 100644 --- a/src/app-sdk/mididiag/mididiag.vcxproj.filters +++ b/src/app-sdk/mididiag/mididiag.vcxproj.filters @@ -37,4 +37,7 @@ + + + \ No newline at end of file diff --git a/src/app-sdk/mididiag/mididiag_field_defs.h b/src/app-sdk/mididiag/mididiag_field_defs.h index d80131c2d..1d69ef817 100644 --- a/src/app-sdk/mididiag/mididiag_field_defs.h +++ b/src/app-sdk/mididiag/mididiag_field_defs.h @@ -1,7 +1,7 @@ -// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License // ============================================================================ -// This is part of the Windows MIDI Services App API and should be used +// 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 // ============================================================================ diff --git a/src/app-sdk/mididiag/pch.cpp b/src/app-sdk/mididiag/pch.cpp index 392e27c9b..b437ca7e5 100644 --- a/src/app-sdk/mididiag/pch.cpp +++ b/src/app-sdk/mididiag/pch.cpp @@ -1,7 +1,7 @@ -// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License // ============================================================================ -// This is part of the Windows MIDI Services App API and should be used +// 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 // ============================================================================ diff --git a/src/app-sdk/mididiag/pch.h b/src/app-sdk/mididiag/pch.h index 3222a644c..eb542e265 100644 --- a/src/app-sdk/mididiag/pch.h +++ b/src/app-sdk/mididiag/pch.h @@ -1,7 +1,7 @@ -// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License // ============================================================================ -// This is part of the Windows MIDI Services App API and should be used +// 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 // ============================================================================ @@ -11,7 +11,10 @@ #include #include + +//#pragma warning (disable: 4005) //#include +//#pragma warning (pop) #include @@ -24,16 +27,19 @@ #include #include -#include -#include - +namespace foundation = winrt::Windows::Foundation; +namespace collections = winrt::Windows::Foundation::Collections; -namespace midi2 = winrt::Microsoft::Devices::Midi2; -namespace diag = winrt::Microsoft::Devices::Midi2::Diagnostics; +#include +#include +#include +#include -namespace foundation = winrt::Windows::Foundation; -namespace collections = winrt::Windows::Foundation::Collections; +namespace midi2 = winrt::Microsoft::Windows::Devices::Midi2; +namespace init = winrt::Microsoft::Windows::Devices::Midi2::Initialization; +namespace diag = winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; +namespace svc = winrt::Microsoft::Windows::Devices::Midi2::ServiceConfig; #include "combaseapi.h" #include "wstring_util.h" 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 new file mode 100644 index 000000000..10b65b540 --- /dev/null +++ b/src/app-sdk/projections/dotnet-and-cpp/Microsoft.Windows.Devices.Midi2.NetProjection.csproj @@ -0,0 +1,61 @@ + + + + net6.0-windows10.0.20348.0 + enable + enable + x64 + AnyCPU;x64;ARM64 + + + + + Microsoft.Windows.Devices.Midi2 + Microsoft.Windows.Devices.Midi2.CapabilityInquiry + Microsoft.Windows.Devices.Midi2.ClientPlugins + Microsoft.Windows.Devices.Midi2.Diagnostics + Microsoft.Windows.Devices.Midi2.Endpoints.Loopback + Microsoft.Windows.Devices.Midi2.Endpoints.Virtual + Microsoft.Windows.Devices.Midi2.Messages + Microsoft.Windows.Devices.Midi2.ServiceConfig + Microsoft.Windows.Devices.Midi2.Initializer + + $(OutDir) + + + + .\nuget\ + $(GeneratedNugetDir)Microsoft.Windows.Devices.Midi2.nuspec + $(SolutionDir)vsfiles\out\$(AssemblyName)\$(Platform)\$(Configuration) + False + Microsoft.Windows.Devices.Midi2.NetProjection + $(SolutionDir)vsfiles\PublishedNuGet\ + 10.0.20348.0 + $(SolutionDir)vsfiles\NetProjections\ + + + + + None + + + + + + + + + + + + + + + + + + + + + + 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 new file mode 100644 index 000000000..74cd31ce0 --- /dev/null +++ b/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.nuspec @@ -0,0 +1,119 @@ + + + + $id$ + $version$ + Microsoft + Windows MIDI Services SDK. Minimum package necessary to use Windows MIDI Services from an app on a PC that has Windows MIDI Services installed. + MIT + https://aka.ms/midi + README.md + + false + midi midi2 windows music audio native + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.props b/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.props new file mode 100644 index 000000000..b77844b02 --- /dev/null +++ b/src/app-sdk/projections/dotnet-and-cpp/nuget/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/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.targets b/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.targets new file mode 100644 index 000000000..2cdea5d13 --- /dev/null +++ b/src/app-sdk/projections/dotnet-and-cpp/nuget/Microsoft.Windows.Devices.Midi2.targets @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app-sdk/projections/dotnet-and-cpp/nuget/README.md b/src/app-sdk/projections/dotnet-and-cpp/nuget/README.md new file mode 100644 index 000000000..112ed6921 --- /dev/null +++ b/src/app-sdk/projections/dotnet-and-cpp/nuget/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/src/app-sdk/sdk-runtime-installer/Directory.Build.props.zzold b/src/app-sdk/sdk-runtime-installer/Directory.Build.props.zzold new file mode 100644 index 000000000..c806db389 --- /dev/null +++ b/src/app-sdk/sdk-runtime-installer/Directory.Build.props.zzold @@ -0,0 +1,5 @@ + + + win10-x64 + + \ No newline at end of file diff --git a/src/app-sdk/sdk-runtime-installer/main-bundle/Bundle.wxs b/src/app-sdk/sdk-runtime-installer/main-bundle/Bundle.wxs new file mode 100644 index 000000000..5f627fd03 --- /dev/null +++ b/src/app-sdk/sdk-runtime-installer/main-bundle/Bundle.wxs @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app-sdk/sdk-runtime-installer/main-bundle/main-bundle.wixproj b/src/app-sdk/sdk-runtime-installer/main-bundle/main-bundle.wixproj new file mode 100644 index 000000000..863a19831 --- /dev/null +++ b/src/app-sdk/sdk-runtime-installer/main-bundle/main-bundle.wixproj @@ -0,0 +1,25 @@ + + + Bundle + WindowsMidiServicesSdkRuntimeSetup + $([System.DateTime]::Now.ToString("yyyyMMddhhmm")) + BuildDate=$(BuildDate) + + + true + + + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/sdk-runtime-installer/main-bundle/midi_installer_logo_square.png b/src/app-sdk/sdk-runtime-installer/main-bundle/midi_installer_logo_square.png new file mode 100644 index 000000000..b9de34302 Binary files /dev/null and b/src/app-sdk/sdk-runtime-installer/main-bundle/midi_installer_logo_square.png differ diff --git a/src/app-sdk/sdk-runtime-installer/midi-services-app-sdk-runtime-setup.sln b/src/app-sdk/sdk-runtime-installer/midi-services-app-sdk-runtime-setup.sln new file mode 100644 index 000000000..b035af50e --- /dev/null +++ b/src/app-sdk/sdk-runtime-installer/midi-services-app-sdk-runtime-setup.sln @@ -0,0 +1,41 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34004.107 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "sdk-redist-package", "sdk-package\sdk-redist-package.wixproj", "{E18CC5FC-F028-48A7-9343-E32A85CDF7B3}" +EndProject +Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "main-bundle", "main-bundle\main-bundle.wixproj", "{182F17E6-CF91-4D65-B767-6469D523F5AC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Debug|ARM64.Build.0 = Debug|ARM64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Debug|x64.ActiveCfg = Debug|x64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Debug|x64.Build.0 = Debug|x64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Release|ARM64.ActiveCfg = Release|ARM64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Release|ARM64.Build.0 = Release|ARM64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Release|x64.ActiveCfg = Release|x64 + {E18CC5FC-F028-48A7-9343-E32A85CDF7B3}.Release|x64.Build.0 = Release|x64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Debug|ARM64.Build.0 = Debug|ARM64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Debug|x64.ActiveCfg = Debug|x64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Debug|x64.Build.0 = Debug|x64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Release|ARM64.ActiveCfg = Release|ARM64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Release|ARM64.Build.0 = Release|ARM64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Release|x64.ActiveCfg = Release|x64 + {182F17E6-CF91-4D65-B767-6469D523F5AC}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7249E2CD-8B0D-4B7D-ACCA-FC66D43FB7ED} + EndGlobalSection +EndGlobal diff --git a/src/app-sdk/sdk-runtime-installer/sdk-package/WindowsMidiServices.wixpdb b/src/app-sdk/sdk-runtime-installer/sdk-package/WindowsMidiServices.wixpdb new file mode 100644 index 000000000..c33f849e4 Binary files /dev/null and b/src/app-sdk/sdk-runtime-installer/sdk-package/WindowsMidiServices.wixpdb differ diff --git a/src/app-sdk/sdk-runtime-installer/sdk-package/WindowsMidiServicesSdkRedist.wxs b/src/app-sdk/sdk-runtime-installer/sdk-package/WindowsMidiServicesSdkRedist.wxs new file mode 100644 index 000000000..1c5b7bd4f --- /dev/null +++ b/src/app-sdk/sdk-runtime-installer/sdk-package/WindowsMidiServicesSdkRedist.wxs @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app-sdk/sdk-runtime-installer/sdk-package/sdk-redist-package.wixproj b/src/app-sdk/sdk-runtime-installer/sdk-package/sdk-redist-package.wixproj new file mode 100644 index 000000000..be5d91761 --- /dev/null +++ b/src/app-sdk/sdk-runtime-installer/sdk-package/sdk-redist-package.wixproj @@ -0,0 +1,13 @@ + + + WindowsMIDIServicesSdkRedist + + + false + true + + + false + true + + \ No newline at end of file diff --git a/src/app-sdk/sdk-shared/SdkTraceLogging.h b/src/app-sdk/sdk-shared/SdkTraceLogging.h index 9581751d2..22fe3138d 100644 --- a/src/app-sdk/sdk-shared/SdkTraceLogging.h +++ b/src/app-sdk/sdk-shared/SdkTraceLogging.h @@ -1,7 +1,7 @@ -// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License // ============================================================================ -// This is part of the Windows MIDI Services App API and should be used +// 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 // ============================================================================ diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2.Sdk.CapabilityInquiry.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2.Sdk.CapabilityInquiry.unittests.vcxproj new file mode 100644 index 000000000..9bee3a101 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2.Sdk.CapabilityInquiry.unittests.vcxproj @@ -0,0 +1,194 @@ + + + + + + Debug + ARM64 + + + Release + ARM64 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + {0E23F520-94AA-4AEF-AE89-D4721EE59FA5} + Win32Proj + 10.0 + true + true + true + C++/WinRT + true + true + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + Disabled + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + + + + + + + + + + + + + + + {38e2cbfd-6c7a-45fb-b162-6bcc1734a0a1} + true + true + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + true + true + + + + + 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/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2.Sdk.CapabilityInquiry.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2.Sdk.CapabilityInquiry.unittests.vcxproj.filters new file mode 100644 index 000000000..11ea5ec60 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2.Sdk.CapabilityInquiry.unittests.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + + + Resource Files + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2ClientTests.rc b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2ClientTests.rc new file mode 100644 index 000000000..5bc1dcb73 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Midi2ClientTests.rc @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#include +#include + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT_UNKNOWN +#define VER_FILEDESCRIPTION_STR "Windows MIDI 2 client tests" +#define VER_INTERNALNAME_STR "Windows MIDI 2 client tests" +#define VER_ORIGINALFILENAME_STR "Midi2.Client.unittests.dll" + +#include diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/MidiUniqueIdTests.cpp b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/MidiUniqueIdTests.cpp new file mode 100644 index 000000000..ad4fed694 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/MidiUniqueIdTests.cpp @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +#define MIDI_MUID_BROADCAST (uint32_t)0x0FFFFFFF + +#define MIDI_MUID_RESERVED_START (uint32_t)0x0FFFFF00 +#define MIDI_MUID_RESERVED_END (uint32_t)0x0FFFFFFE + +#define MIDI_MUID_MIN_VALUE (uint32_t)0x00000000 +#define MIDI_MUID_MAX_VALUE (uint32_t)0x0FFFFFFF + +void MidiUniqueIdTests::TestCreateEmptyId() +{ + MidiUniqueId id; + + VERIFY_ARE_EQUAL(id.Byte1(), 0); + VERIFY_ARE_EQUAL(id.Byte2(), 0); + VERIFY_ARE_EQUAL(id.Byte3(), 0); + VERIFY_ARE_EQUAL(id.Byte4(), 0); +} + +void MidiUniqueIdTests::TestCreateRandomId() +{ + auto id = MidiUniqueId::CreateRandom(); + + auto combinedValue = id.AsCombined28BitValue(); + + LOG_OUTPUT(L"Combined: %x", combinedValue); + LOG_OUTPUT(L"Bytes: %x %x %x %x", id.Byte4(), id.Byte3(), id.Byte2(), id.Byte1()); + + // if we get a zero value, try again just to be sure + // it's not a fail unless it happens multiple times in a row + if (combinedValue == 0) + id = MidiUniqueId::CreateRandom(); + + VERIFY_IS_FALSE(combinedValue == 0); + + // check we're in the general range + VERIFY_IS_GREATER_THAN_OR_EQUAL(combinedValue, MIDI_MUID_MIN_VALUE); + VERIFY_IS_LESS_THAN_OR_EQUAL(combinedValue, MIDI_MUID_MAX_VALUE); + + // check that we're not in the reserved range + VERIFY_IS_FALSE(combinedValue >= MIDI_MUID_RESERVED_START && combinedValue <= MIDI_MUID_RESERVED_END); +} + +void MidiUniqueIdTests::TestCreateBroadcastId() +{ + auto id = MidiUniqueId::CreateBroadcast(); + + LOG_OUTPUT(L"Combined: %x", id.AsCombined28BitValue()); + LOG_OUTPUT(L"Bytes: %x %x %x %x", id.Byte4(), id.Byte3(), id.Byte2(), id.Byte1()); + + VERIFY_ARE_EQUAL(id.AsCombined28BitValue(), MIDI_MUID_BROADCAST); +} + +void MidiUniqueIdTests::TestCreateFrom28BitNumber() +{ + // the number is made up of 7-bit bytes shifted over to create a 28 bit number + // byte 1 is the LSB + + uint8_t byte1 = 0x7F; + uint8_t byte2 = 0x7E; + uint8_t byte3 = 0x7D; + uint8_t byte4 = 0x7C; + + uint32_t combinedVal = + (uint32_t)byte1 | + (uint32_t)(byte2 << 7) | + (uint32_t)(byte3 << 14) | + (uint32_t)(byte4 << 21); + + MidiUniqueId id(combinedVal); + + LOG_OUTPUT(L"Combined: %x", id.AsCombined28BitValue()); + LOG_OUTPUT(L"Bytes: %x %x %x %x", id.Byte4(), id.Byte3(), id.Byte2(), id.Byte1()); + + VERIFY_ARE_EQUAL(id.Byte1(), byte1); + VERIFY_ARE_EQUAL(id.Byte2(), byte2); + VERIFY_ARE_EQUAL(id.Byte3(), byte3); + VERIFY_ARE_EQUAL(id.Byte4(), byte4); + + VERIFY_ARE_EQUAL(id.AsCombined28BitValue(), combinedVal); +} + +void MidiUniqueIdTests::TestCreateFromBytes() +{ + uint8_t byte1 = 0x7F; + uint8_t byte2 = 0x7E; + uint8_t byte3 = 0x7D; + uint8_t byte4 = 0x7C; + + MidiUniqueId id(byte1, byte2, byte3, byte4); + + VERIFY_ARE_EQUAL(id.Byte1(), byte1); + VERIFY_ARE_EQUAL(id.Byte2(), byte2); + VERIFY_ARE_EQUAL(id.Byte3(), byte3); + VERIFY_ARE_EQUAL(id.Byte4(), byte4); +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/MidiUniqueIdTests.h b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/MidiUniqueIdTests.h new file mode 100644 index 000000000..a2c74cf87 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/MidiUniqueIdTests.h @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + + +class MidiUniqueIdTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiUniqueIdTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.CapabilityInquiry.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestCreateEmptyId); + TEST_METHOD(TestCreateRandomId); + TEST_METHOD(TestCreateBroadcastId); + TEST_METHOD(TestCreateFrom28BitNumber); + TEST_METHOD(TestCreateFromBytes); + +private: + + +}; + diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Module.cpp b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Module.cpp new file mode 100644 index 000000000..1e154fab7 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/Module.cpp @@ -0,0 +1,9 @@ +#include "stdafx.h" + +MODULE_SETUP(ModuleSetup); +bool ModuleSetup() +{ + winrt::init_apartment(); + return true; +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/packages.config b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/packages.config new file mode 100644 index 000000000..7b7f4f96c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/stdafx.h new file mode 100644 index 000000000..d75d2b3b3 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/stdafx.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#pragma once + +#ifndef STDAFX_H +#define STDAFX_H + +#include + +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2::CapabilityInquiry; + +#include + +#include +#include +#include +#include +#include +#include +#include "loopback_ids.h" +#include "MidiDefs.h" + + +#include "MidiUniqueIdTests.h" + +#ifndef LOG_OUTPUT +#define LOG_OUTPUT(fmt, ...) WEX::Logging::Log::Comment(WEX::Common::String().Format(fmt, __VA_ARGS__)) +#endif + +#endif \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/te.exe.manifest b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/te.exe.manifest new file mode 100644 index 000000000..817add1b2 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.CapabilityInquiry.unittests/te.exe.manifest @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/Midi2.Sdk.ClientPlugins.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/Midi2.Sdk.ClientPlugins.unittests.vcxproj index a9b390a58..5e7b814ac 100644 --- a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/Midi2.Sdk.ClientPlugins.unittests.vcxproj +++ b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/Midi2.Sdk.ClientPlugins.unittests.vcxproj @@ -76,28 +76,28 @@ - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) @@ -164,18 +164,21 @@ - + {3d2bc934-cdc7-4dc7-b7fc-f34b755bf726} - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - + {05796b3c-25ff-4ac2-999b-edefb773393c} - + {001601de-b7ab-41d1-81b7-40286b139841} + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} + diff --git a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.cpp b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.cpp index ea8ef9906..f9de56a9f 100644 --- a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.cpp @@ -22,15 +22,15 @@ void MidiEndpointListenerTests::TestMessageTypeListener() - auto session = MidiSession::TryCreate(L"Listener Session Test"); + auto session = MidiSession::Create(L"Listener Session Test"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); LOG_OUTPUT(L"Connecting to both Loopback A and Loopback B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -128,15 +128,15 @@ void MidiEndpointListenerTests::TestGroupListener() - auto session = MidiSession::TryCreate(L"Listener Session Test"); + auto session = MidiSession::Create(L"Listener Session Test"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); LOG_OUTPUT(L"Connecting to both Loopback A and Loopback B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -245,15 +245,15 @@ void MidiEndpointListenerTests::TestGroupAndChannelListener() - auto session = MidiSession::TryCreate(L"Listener Session Test"); + auto session = MidiSession::Create(L"Listener Session Test"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); LOG_OUTPUT(L"Connecting to both Loopback A and Loopback B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); diff --git a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.h b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.h index 564d94d5d..9c42fcff6 100644 --- a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/MidiEndpointListenerTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiEndpointListenerTests : public WEX::TestClass { diff --git a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/stdafx.h index 529134440..6189c065a 100644 --- a/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/stdafx.h +++ b/src/app-sdk/tests/Midi2.Sdk.ClientPlugins.unittests/stdafx.h @@ -10,15 +10,17 @@ #include #include -#include -#include -#include -#include - -using namespace winrt::Microsoft::Devices::Midi2; -using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; -using namespace winrt::Microsoft::Devices::Midi2::Messages; -using namespace winrt::Microsoft::Devices::Midi2::ClientPlugins; +#include +#include +#include +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::ClientPlugins; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Messages; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Service; #include diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2.Sdk.Core.OfflineOnly.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2.Sdk.Core.OfflineOnly.unittests.vcxproj new file mode 100644 index 000000000..4db1fe3ce --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2.Sdk.Core.OfflineOnly.unittests.vcxproj @@ -0,0 +1,201 @@ + + + + + + Debug + ARM64 + + + Release + ARM64 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + {F89472AD-0118-4F7E-A0E1-74CFC420E94D} + Win32Proj + 10.0 + true + true + true + C++/WinRT + true + true + Midi2.Sdk.Core.OfflineOnly.unittests + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + Disabled + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + true + 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/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2.Sdk.Core.OfflineOnly.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2.Sdk.Core.OfflineOnly.unittests.vcxproj.filters new file mode 100644 index 000000000..b36553b49 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2.Sdk.Core.OfflineOnly.unittests.vcxproj.filters @@ -0,0 +1,84 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2ClientTests.rc b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2ClientTests.rc new file mode 100644 index 000000000..5bc1dcb73 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Midi2ClientTests.rc @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#include +#include + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT_UNKNOWN +#define VER_FILEDESCRIPTION_STR "Windows MIDI 2 client tests" +#define VER_INTERNALNAME_STR "Windows MIDI 2 client tests" +#define VER_ORIGINALFILENAME_STR "Midi2.Client.unittests.dll" + +#include diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiChannelTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiChannelTests.cpp new file mode 100644 index 000000000..229b4c583 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiChannelTests.cpp @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + + +void MidiChannelTests::TestBasics() +{ + uint8_t index{ 0x08 }; + + MidiChannel ch(index); + + VERIFY_ARE_EQUAL(ch.Index(), index); + VERIFY_ARE_EQUAL(ch.DisplayValue(), index + 1); + +} + +void MidiChannelTests::TestLabels() +{ + VERIFY_IS_FALSE(MidiChannel::LongLabel().empty()); + VERIFY_IS_FALSE(MidiChannel::ShortLabel().empty()); + +} + +void MidiChannelTests::TestInvalidData() +{ + // The class is designed to ignore the most significant nibble because + // that allows for passing in a full status + channel byte without pre-cleaning + + MidiChannel ch(0xAC); + + VERIFY_ARE_EQUAL(ch.Index(), 0x0C); +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiChannelTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiChannelTests.h new file mode 100644 index 000000000..96bd88297 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiChannelTests.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + +class MidiChannelTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiChannelTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestBasics); + TEST_METHOD(TestInvalidData); + TEST_METHOD(TestLabels); + + +private: + + +}; \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiClockTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiClockTests.cpp similarity index 93% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiClockTests.cpp rename to src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiClockTests.cpp index dd5237bc3..28228eebf 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiClockTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiClockTests.cpp @@ -9,9 +9,6 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - - void MidiClockTests::TestMidiClockBasics() { for (int i = 0; i < 10; i++) diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiClockTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiClockTests.h similarity index 86% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiClockTests.h rename to src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiClockTests.h index 5dabe3e51..53fc71453 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiClockTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiClockTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiClockTests : public WEX::TestClass { @@ -18,7 +16,7 @@ class MidiClockTests BEGIN_TEST_CLASS(MidiClockTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiGroupTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiGroupTests.cpp new file mode 100644 index 000000000..0a9b5e149 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiGroupTests.cpp @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + + +void MidiGroupTests::TestBasics() +{ + uint8_t index{ 0x08 }; + + MidiGroup g(index); + + VERIFY_ARE_EQUAL(g.Index(), index); + VERIFY_ARE_EQUAL(g.DisplayValue(), index + 1); +} + +void MidiGroupTests::TestLabels() +{ + VERIFY_IS_FALSE(MidiGroup::LongLabel().empty()); + VERIFY_IS_FALSE(MidiGroup::ShortLabel().empty()); +} + +void MidiGroupTests::TestInvalidData() +{ + // The class is designed to ignore the most significant nibble because + // that allows for passing in a full status + channel byte without pre-cleaning + + MidiGroup g(0xAC); + + VERIFY_ARE_EQUAL(g.Index(), 0x0C); +} \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiGroupTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiGroupTests.h new file mode 100644 index 000000000..7c110e353 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiGroupTests.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + +class MidiGroupTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiGroupTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestBasics); + TEST_METHOD(TestInvalidData); + TEST_METHOD(TestLabels); + + +private: + + +}; \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage128Tests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage128Tests.cpp new file mode 100644 index 000000000..eb271ccbb --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage128Tests.cpp @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +void MidiMessage128Tests::TestCreateEmpty() +{ + MidiMessage128 ump; + + VERIFY_ARE_EQUAL(ump.MessageType(), MidiMessageType::UtilityMessage32); + VERIFY_ARE_EQUAL(ump.Word0(), 0x0u); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), 0x0u); +} + +void MidiMessage128Tests::TestMessageAndPacketType() +{ + auto mt = MidiMessageType::Stream128; + + MidiMessage128 ump; + ump.MessageType(mt); + + VERIFY_ARE_EQUAL(ump.MessageType(), mt); + VERIFY_ARE_EQUAL(ump.PacketType(), MidiPacketType::UniversalMidiPacket128); +} + +void MidiMessage128Tests::TestCreateFromWords() +{ + uint32_t word0{ 0xF8675309 }; + uint32_t word1{ 0x03263827 }; + uint32_t word2{ 0x01010101 }; + uint32_t word3{ 0x21212121 }; + uint64_t ts{ MidiClock::Now() }; + + MidiMessage128 originalUmp(ts, word0, word1, word2, word3); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + VERIFY_ARE_EQUAL(originalUmp.Word1(), word1); + VERIFY_ARE_EQUAL(originalUmp.Word2(), word2); + VERIFY_ARE_EQUAL(originalUmp.Word3(), word3); + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), MidiMessageType::Stream128); + +} + +void MidiMessage128Tests::TestCreateFromArray() +{ + uint32_t word0{ 0xF8675309 }; + uint32_t word1{ 0x03263827 }; + uint32_t word2{ 0x01010101 }; + uint32_t word3{ 0x21212121 }; + uint64_t ts{ MidiClock::Now() }; + + uint32_t arr[]{ word0, word1, word2, word3 }; + + MidiMessage128 originalUmp(ts, arr); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + VERIFY_ARE_EQUAL(originalUmp.Word1(), word1); + VERIFY_ARE_EQUAL(originalUmp.Word2(), word2); + VERIFY_ARE_EQUAL(originalUmp.Word3(), word3); +} + +void MidiMessage128Tests::TestCreateFromStruct() +{ + MidiMessageStruct s{ }; + uint64_t ts{ MidiClock::Now() }; + + s.Word0 = 0xF1234567; + s.Word1 = 0xF0F0F0F0; + s.Word2 = 0x03263727; + s.Word3 = 0xDEADBEEF; + + auto ump = MidiMessage128::CreateFromStruct(ts, s); + + VERIFY_ARE_EQUAL(ump.Timestamp(), ts); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), s.Word0); + VERIFY_ARE_EQUAL(ump.MessageType(), static_cast(0x0F)); + VERIFY_ARE_EQUAL(ump.Word0(), s.Word0); + VERIFY_ARE_EQUAL(ump.Word1(), s.Word1); + VERIFY_ARE_EQUAL(ump.Word2(), s.Word2); + VERIFY_ARE_EQUAL(ump.Word3(), s.Word3); +} + +void MidiMessage128Tests::TestInterfaceCasting() +{ + auto mt = MidiMessageType::FlexData128; + + MidiMessage128 originalUmp; + originalUmp.Word0(0x08675309); + originalUmp.Word1(0x12345678); + originalUmp.Word2(0xDEADBEEF); + originalUmp.Word2(0x03263827); + originalUmp.MessageType(mt); // set message type after the word because it changes Word0 + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(originalUmp.PacketType(), MidiPacketType::UniversalMidiPacket128); + + // cast as the interface + IMidiUniversalPacket iface = originalUmp.as(); + VERIFY_ARE_EQUAL(iface.MessageType(), mt); + VERIFY_ARE_EQUAL(iface.PacketType(), MidiPacketType::UniversalMidiPacket128); + + // recast from the interface back to the UMP type to validate data is still there + MidiMessage128 recastUmp = iface.as(); + VERIFY_ARE_EQUAL(recastUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(recastUmp.PacketType(), MidiPacketType::UniversalMidiPacket128); + VERIFY_ARE_EQUAL(recastUmp.Word0(), originalUmp.Word0()); +} diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage128Tests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage128Tests.h new file mode 100644 index 000000000..951fbdf34 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage128Tests.h @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + + +class MidiMessage128Tests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiMessage128Tests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestCreateEmpty); + TEST_METHOD(TestMessageAndPacketType); + TEST_METHOD(TestCreateFromWords); + TEST_METHOD(TestCreateFromArray); + TEST_METHOD(TestCreateFromStruct); + TEST_METHOD(TestInterfaceCasting); + + +private: + + +}; \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage32Tests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage32Tests.cpp new file mode 100644 index 000000000..7f3c05398 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage32Tests.cpp @@ -0,0 +1,92 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +void MidiMessage32Tests::TestCreateEmpty() +{ + MidiMessage32 ump; + + VERIFY_ARE_EQUAL(ump.MessageType(), static_cast(0x0)); + VERIFY_ARE_EQUAL(ump.Word0(), 0x0u); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), 0x0u); +} + +void MidiMessage32Tests::TestMessageAndPacketType() +{ + auto mt = MidiMessageType::Midi1ChannelVoice32; + + MidiMessage32 ump; + ump.MessageType(mt); + + VERIFY_ARE_EQUAL(ump.MessageType(), mt); + VERIFY_ARE_EQUAL(ump.PacketType(), MidiPacketType::UniversalMidiPacket32); +} + + +void MidiMessage32Tests::TestCreateFromWords() +{ + uint32_t word0{ 0x28675309u }; + uint64_t ts{ MidiClock::Now() }; + + MidiMessage32 originalUmp(ts, word0); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), static_cast(0x2)); + +} + +//void MidiMessage32Tests::TestCreateFromArray() +//{ +// +//} + +void MidiMessage32Tests::TestCreateFromStruct() +{ + MidiMessageStruct s{ }; + uint64_t ts{ MidiClock::Now() }; + + s.Word0 = 0x21234567u; + s.Word1 = 0xF0F0F0F0u; + s.Word2 = 0x03263727u; + s.Word3 = 0xDEADBEEFu; + + auto ump = MidiMessage32::CreateFromStruct(ts, s); + + VERIFY_ARE_EQUAL(ump.Timestamp(), ts); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), s.Word0); + VERIFY_ARE_EQUAL(ump.MessageType(), static_cast(0x02)); + VERIFY_ARE_EQUAL(ump.Word0(), s.Word0); +} + +void MidiMessage32Tests::TestInterfaceCasting() +{ + auto mt = MidiMessageType::Midi1ChannelVoice32; + + MidiMessage32 originalUmp; + originalUmp.Word0(0x08675309u); + originalUmp.MessageType(mt); // set message type after the word because it changes Word0 + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(originalUmp.PacketType(), MidiPacketType::UniversalMidiPacket32); + + // cast as the interface + IMidiUniversalPacket iface = originalUmp.as(); + VERIFY_ARE_EQUAL(iface.MessageType(), mt); + VERIFY_ARE_EQUAL(iface.PacketType(), MidiPacketType::UniversalMidiPacket32); + + // recast from the interface back to the UMP type to validate data is still there + MidiMessage32 recastUmp = iface.as(); + VERIFY_ARE_EQUAL(recastUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(recastUmp.PacketType(), MidiPacketType::UniversalMidiPacket32); + VERIFY_ARE_EQUAL(recastUmp.Word0(), originalUmp.Word0()); +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage32Tests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage32Tests.h new file mode 100644 index 000000000..473b774c0 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage32Tests.h @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + + +class MidiMessage32Tests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiMessage32Tests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestCreateEmpty); + TEST_METHOD(TestMessageAndPacketType); + TEST_METHOD(TestCreateFromWords); + //TEST_METHOD(TestCreateFromArray); + TEST_METHOD(TestCreateFromStruct); + TEST_METHOD(TestInterfaceCasting); + + +private: + + +}; diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage64Tests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage64Tests.cpp new file mode 100644 index 000000000..14ff8544c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage64Tests.cpp @@ -0,0 +1,104 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +void MidiMessage64Tests::TestCreateEmpty() +{ + MidiMessage64 ump; + + VERIFY_ARE_EQUAL(ump.MessageType(), MidiMessageType::UtilityMessage32); + VERIFY_ARE_EQUAL(ump.Word0(), 0x0u); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), 0x0u); +} + +void MidiMessage64Tests::TestMessageAndPacketType() +{ + auto mt = MidiMessageType::Midi2ChannelVoice64; + + MidiMessage64 ump; + ump.MessageType(mt); + + VERIFY_ARE_EQUAL(ump.MessageType(), mt); + VERIFY_ARE_EQUAL(ump.PacketType(), MidiPacketType::UniversalMidiPacket64); +} + +void MidiMessage64Tests::TestCreateFromWords() +{ + uint32_t word0{ 0x48675309 }; + uint32_t word1{ 0x03263827 }; + uint64_t ts{ MidiClock::Now() }; + + MidiMessage64 originalUmp(ts, word0, word1); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + VERIFY_ARE_EQUAL(originalUmp.Word1(), word1); + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), static_cast(0x4)); + +} + +void MidiMessage64Tests::TestCreateFromArray() +{ + uint32_t word0{ 0x48675309 }; + uint32_t word1{ 0x03263827 }; + uint64_t ts{ MidiClock::Now() }; + + uint32_t arr[]{ word0, word1 }; + + MidiMessage64 originalUmp(ts, arr); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + VERIFY_ARE_EQUAL(originalUmp.Word1(), word1); +} + +void MidiMessage64Tests::TestCreateFromStruct() +{ + MidiMessageStruct s{ }; + uint64_t ts{ MidiClock::Now() }; + + s.Word0 = 0x41234567; + s.Word1 = 0xF0F0F0F0; + s.Word2 = 0x03263727; + s.Word3 = 0xDEADBEEF; + + auto ump = MidiMessage64::CreateFromStruct(ts, s); + + VERIFY_ARE_EQUAL(ump.Timestamp(), ts); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), s.Word0); + VERIFY_ARE_EQUAL(ump.MessageType(), static_cast(0x04)); + VERIFY_ARE_EQUAL(ump.Word0(), s.Word0); + VERIFY_ARE_EQUAL(ump.Word1(), s.Word1); +} + +void MidiMessage64Tests::TestInterfaceCasting() +{ + auto mt = MidiMessageType::Midi2ChannelVoice64; + + MidiMessage64 originalUmp; + originalUmp.Word0(0x08675309); + originalUmp.Word1(0x12345678); + originalUmp.MessageType(mt); // set message type after the word because it changes Word0 + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(originalUmp.PacketType(), MidiPacketType::UniversalMidiPacket64); + + // cast as the interface + IMidiUniversalPacket iface = originalUmp.as(); + VERIFY_ARE_EQUAL(iface.MessageType(), mt); + VERIFY_ARE_EQUAL(iface.PacketType(), MidiPacketType::UniversalMidiPacket64); + + // recast from the interface back to the UMP type to validate data is still there + MidiMessage64 recastUmp = iface.as(); + VERIFY_ARE_EQUAL(recastUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(recastUmp.PacketType(), MidiPacketType::UniversalMidiPacket64); + VERIFY_ARE_EQUAL(recastUmp.Word0(), originalUmp.Word0()); +} diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage64Tests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage64Tests.h new file mode 100644 index 000000000..60bdf4b19 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage64Tests.h @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + + +class MidiMessage64Tests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiMessage64Tests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestCreateEmpty); + TEST_METHOD(TestMessageAndPacketType); + TEST_METHOD(TestCreateFromWords); + TEST_METHOD(TestCreateFromArray); + TEST_METHOD(TestCreateFromStruct); + TEST_METHOD(TestInterfaceCasting); + + +private: + + +}; \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage96Tests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage96Tests.cpp new file mode 100644 index 000000000..d9f9bf35a --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage96Tests.cpp @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +void MidiMessage96Tests::TestCreateEmpty() +{ + MidiMessage96 ump; + + VERIFY_ARE_EQUAL(ump.MessageType(), MidiMessageType::UtilityMessage32); + VERIFY_ARE_EQUAL(ump.Word0(), 0x0u); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), 0x0u); +} + +void MidiMessage96Tests::TestMessageAndPacketType() +{ + auto mt = MidiMessageType::FutureReservedB96; + + MidiMessage96 ump; + ump.MessageType(mt); + + VERIFY_ARE_EQUAL(ump.MessageType(), mt); + VERIFY_ARE_EQUAL(ump.PacketType(), MidiPacketType::UniversalMidiPacket96); +} + +void MidiMessage96Tests::TestCreateFromWords() +{ + uint32_t word0{ 0xB8675309 }; + uint32_t word1{ 0x03263827 }; + uint32_t word2{ 0x01010101 }; + uint64_t ts{ MidiClock::Now() }; + + MidiMessage96 originalUmp(ts, word0, word1, word2); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + VERIFY_ARE_EQUAL(originalUmp.Word1(), word1); + VERIFY_ARE_EQUAL(originalUmp.Word2(), word2); + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), static_cast(0xB)); +} + +void MidiMessage96Tests::TestCreateFromArray() +{ + uint32_t word0{ 0xB8675309 }; + uint32_t word1{ 0x03263827 }; + uint32_t word2{ 0x01010101 }; + uint64_t ts{ MidiClock::Now() }; + + uint32_t arr[]{ word0, word1, word2 }; + + MidiMessage96 originalUmp(ts, arr); + + VERIFY_ARE_EQUAL(originalUmp.Timestamp(), ts); + VERIFY_ARE_EQUAL(originalUmp.Word0(), word0); + VERIFY_ARE_EQUAL(originalUmp.Word1(), word1); + VERIFY_ARE_EQUAL(originalUmp.Word2(), word2); + +} + +void MidiMessage96Tests::TestCreateFromStruct() +{ + MidiMessageStruct s{ }; + uint64_t ts{ MidiClock::Now() }; + + s.Word0 = 0xB1234567; + s.Word1 = 0xF0F0F0F0; + s.Word2 = 0x03263727; + s.Word3 = 0xDEADBEEF; + + auto ump = MidiMessage96::CreateFromStruct(ts, s); + + VERIFY_ARE_EQUAL(ump.Timestamp(), ts); + VERIFY_ARE_EQUAL(ump.PeekFirstWord(), s.Word0); + VERIFY_ARE_EQUAL(ump.MessageType(), static_cast(0x0B)); + VERIFY_ARE_EQUAL(ump.Word0(), s.Word0); + VERIFY_ARE_EQUAL(ump.Word1(), s.Word1); + VERIFY_ARE_EQUAL(ump.Word2(), s.Word2); +} + +void MidiMessage96Tests::TestInterfaceCasting() +{ + auto mt = MidiMessageType::FutureReservedC96; + + MidiMessage96 originalUmp; + originalUmp.Word0(0x08675309); + originalUmp.Word1(0x12345678); + originalUmp.Word2(0xDEADBEEF); + originalUmp.MessageType(mt); // set message type after the word because it changes Word0 + + VERIFY_ARE_EQUAL(originalUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(originalUmp.PacketType(), MidiPacketType::UniversalMidiPacket96); + + // cast as the interface + IMidiUniversalPacket iface = originalUmp.as(); + VERIFY_ARE_EQUAL(iface.MessageType(), mt); + VERIFY_ARE_EQUAL(iface.PacketType(), MidiPacketType::UniversalMidiPacket96); + + // recast from the interface back to the UMP type to validate data is still there + MidiMessage96 recastUmp = iface.as(); + VERIFY_ARE_EQUAL(recastUmp.MessageType(), mt); + VERIFY_ARE_EQUAL(recastUmp.PacketType(), MidiPacketType::UniversalMidiPacket96); + VERIFY_ARE_EQUAL(recastUmp.Word0(), originalUmp.Word0()); +} diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage96Tests.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage96Tests.h new file mode 100644 index 000000000..eafd08507 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/MidiMessage96Tests.h @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + + +class MidiMessage96Tests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiMessage96Tests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestCreateEmpty); + TEST_METHOD(TestMessageAndPacketType); + TEST_METHOD(TestCreateFromWords); + TEST_METHOD(TestCreateFromArray); + TEST_METHOD(TestCreateFromStruct); + TEST_METHOD(TestInterfaceCasting); + + +private: + + +}; \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Module.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Module.cpp new file mode 100644 index 000000000..1e154fab7 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/Module.cpp @@ -0,0 +1,9 @@ +#include "stdafx.h" + +MODULE_SETUP(ModuleSetup); +bool ModuleSetup() +{ + winrt::init_apartment(); + return true; +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/packages.config b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/packages.config new file mode 100644 index 000000000..7b7f4f96c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/stdafx.h new file mode 100644 index 000000000..7a8e863b7 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/stdafx.h @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#pragma once + +#ifndef STDAFX_H +#define STDAFX_H + +#include + +#include +#include +#include + +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; + +#include + +#include +#include +#include +#include +#include +#include +#include "loopback_ids.h" +#include "MidiDefs.h" + + +#include "MidiClockTests.h" +#include "MidiGroupTests.h" +#include "MidiChannelTests.h" +#include "MidiMessage32Tests.h" +#include "MidiMessage64Tests.h" +#include "MidiMessage96Tests.h" +#include "MidiMessage128Tests.h" + + + +#ifndef LOG_OUTPUT +#define LOG_OUTPUT(fmt, ...) WEX::Logging::Log::Comment(WEX::Common::String().Format(fmt, __VA_ARGS__)) +#endif + +#endif \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/te.exe.manifest b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/te.exe.manifest new file mode 100644 index 000000000..e91b99272 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.OfflineOnly.unittests/te.exe.manifest @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/Midi2.Sdk.Core.benchmarks.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/Midi2.Sdk.Core.benchmarks.vcxproj index b1447cb76..7de3feda6 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/Midi2.Sdk.Core.benchmarks.vcxproj +++ b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/Midi2.Sdk.Core.benchmarks.vcxproj @@ -262,28 +262,28 @@ - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) @@ -352,12 +352,15 @@ - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - + {05796b3c-25ff-4ac2-999b-edefb773393c} + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiBenchmarks.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiBenchmarks.cpp index 8408d821c..926298df4 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiBenchmarks.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiBenchmarks.cpp @@ -23,10 +23,10 @@ void MidiBenchmarks::BenchmarkSendReceiveWordArray() uint64_t setupStartTimestamp = MidiClock::Now(); - auto session = MidiSession::TryCreate(L"Benchmark Session"); + auto session = MidiSession::Create(L"Benchmark Session"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -273,10 +273,10 @@ void MidiBenchmarks::BenchmarkSendReceiveUmpRuntimeClass() uint64_t setupStartTimestamp = MidiClock::Now(); - auto session = MidiSession::TryCreate(L"Benchmark Session"); + auto session = MidiSession::Create(L"Benchmark Session"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiSchedulerBenchmarks.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiSchedulerBenchmarks.cpp index 19cf08356..7e29e7081 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiSchedulerBenchmarks.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/MidiSchedulerBenchmarks.cpp @@ -24,10 +24,10 @@ void MidiSchedulerBenchmarks::BenchmarkSendReceiveScheduledMessages(_In_ uint32_ wil::unique_event_nothrow allMessagesReceived; allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Scheduling Benchmark Session"); + auto session = MidiSession::Create(L"Scheduling Benchmark Session"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/stdafx.h index c79175551..8fd3e08b7 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/stdafx.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.benchmarks/stdafx.h @@ -12,11 +12,13 @@ #include #include -#include -#include +#include +#include +#include -using namespace winrt::Microsoft::Devices::Midi2; -using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Service; #include #include diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj index 5a5268b77..06a5815a3 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj @@ -76,28 +76,28 @@ - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) @@ -149,31 +149,21 @@ - - - - - - - - - - @@ -184,19 +174,30 @@ - - {3d2bc934-cdc7-4dc7-b7fc-f34b755bf726} - - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + true + true - + {05796b3c-25ff-4ac2-999b-edefb773393c} + true + true - + {001601de-b7ab-41d1-81b7-40286b139841} + true + true + + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} + + + true + + diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj.filters index 7781d27f2..918cbed5d 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj.filters +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/Midi2.Sdk.Core.unittests.vcxproj.filters @@ -18,27 +18,12 @@ Source Files - - Source Files - Source Files - - Source Files - - - Source Files - - - Source Files - Source Files - - Source Files - Source Files @@ -56,27 +41,12 @@ Header Files - - Header Files - Header Files - - Header Files - - - Header Files - - - Header Files - Header Files - - Header Files - Header Files @@ -102,4 +72,7 @@ + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.cpp index 9bb2b1d37..74308f17f 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.cpp @@ -10,8 +10,6 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - struct __declspec(uuid("5b0d3235-4dba-4d44-865e-8f1d0e4fd04d")) __declspec(novtable) IMemoryBufferByteAccess : ::IUnknown { @@ -23,12 +21,12 @@ void MidiEndpointConnectionBufferTests::TestSendBuffer() { LOG_OUTPUT(L"TestSendBuffer **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); @@ -76,13 +74,13 @@ void MidiEndpointConnectionBufferTests::TestSendAndReceiveBuffer() wil::unique_event_nothrow allMessagesReceived; allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -193,12 +191,12 @@ void MidiEndpointConnectionBufferTests::TestSendBufferBoundsError() { LOG_OUTPUT(L"TestSendBufferBoundsError **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); @@ -258,13 +256,13 @@ void MidiEndpointConnectionBufferTests::TestSendAndReceiveMultipleMessagesBuffer wil::unique_event_nothrow allMessagesReceived; allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.h index 0d8a90e79..9f131e95d 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionBufferTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiEndpointConnectionBufferTests : public WEX::TestClass { @@ -18,7 +16,7 @@ class MidiEndpointConnectionBufferTests BEGIN_TEST_CLASS(MidiEndpointConnectionBufferTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.cpp index b8db9c709..e4b353249 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.cpp @@ -10,18 +10,15 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - - void MidiEndpointConnectionTests::TestSendMessageInvalidConnectionFailureReturnCode() { LOG_OUTPUT(L"TestSendMessageInvalidConnectionFailureReturnCode **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); //VERIFY_IS_TRUE(connSend.Open()); // we don't open the connection here @@ -45,11 +42,11 @@ void MidiEndpointConnectionTests::TestSendMessageValidationFailureReturnCode() { LOG_OUTPUT(L"TestSendMessageValidationFailureReturnCode **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_TRUE(connSend.Open()); @@ -125,7 +122,7 @@ void MidiEndpointConnectionTests::TestCreateBiDiLoopbackA() { LOG_OUTPUT(L"TestCreateBiDiLoopbackA **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); @@ -133,7 +130,7 @@ void MidiEndpointConnectionTests::TestCreateBiDiLoopbackA() LOG_OUTPUT(L"Connecting to Bidirectional Loopback Endpoint A"); - auto conn1 = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto conn1 = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); VERIFY_IS_NOT_NULL(conn1); @@ -151,14 +148,14 @@ void MidiEndpointConnectionTests::TestCreateBiDiLoopbackB() { LOG_OUTPUT(L"TestCreateBiDiLoopbackB **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); LOG_OUTPUT(L"Connecting to Bidirectional Loopback Endpoint B"); - auto conn1 = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto conn1 = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(conn1); @@ -178,15 +175,15 @@ void MidiEndpointConnectionTests::TestSendAndReceiveUmpStruct() wil::unique_event_nothrow allMessagesReceived; allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); LOG_OUTPUT(L"Connecting to both Loopback A and Loopback B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -260,7 +257,7 @@ void MidiEndpointConnectionTests::TestSendAndReceiveUmp32() wil::unique_event_nothrow allMessagesReceived; allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); @@ -269,8 +266,8 @@ void MidiEndpointConnectionTests::TestSendAndReceiveUmp32() std::cout << std::endl << "Connecting to both Loopback A and Loopback B" << std::endl; - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -360,7 +357,7 @@ void MidiEndpointConnectionTests::TestSendAndReceiveWords() // uint64_t setupStartTimestamp = MidiClock::GetMidiTimestamp(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); @@ -369,8 +366,8 @@ void MidiEndpointConnectionTests::TestSendAndReceiveWords() LOG_OUTPUT(L"Connecting to BiDi loopback Endpoints A and B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -484,7 +481,7 @@ void MidiEndpointConnectionTests::TestSendAndReceiveMultipleMessageWordsList() allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); @@ -493,8 +490,8 @@ void MidiEndpointConnectionTests::TestSendAndReceiveMultipleMessageWordsList() LOG_OUTPUT(L"Connecting to BiDi loopback Endpoints A and B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -597,7 +594,7 @@ void MidiEndpointConnectionTests::TestSendAndReceiveMultipleMessagePackets() allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); @@ -606,8 +603,8 @@ void MidiEndpointConnectionTests::TestSendAndReceiveMultipleMessagePackets() LOG_OUTPUT(L"Connecting to BiDi loopback Endpoints A and B"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); @@ -714,12 +711,12 @@ void MidiEndpointConnectionTests::TestSendWordArrayBoundsError() { LOG_OUTPUT(L"TestSendWordArrayBoundsError **********************************************************************"); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); @@ -751,13 +748,13 @@ void MidiEndpointConnectionTests::TestSendAndReceiveWordArray() wil::unique_event_nothrow allMessagesReceived; allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); VERIFY_IS_TRUE(session.IsOpen()); VERIFY_ARE_EQUAL(session.Connections().Size(), (uint32_t)0); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); VERIFY_IS_NOT_NULL(connSend); VERIFY_IS_NOT_NULL(connReceive); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.h index 47a9a6a3b..9b83b5b4c 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointConnectionTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiEndpointConnectionTests : public WEX::TestClass { @@ -18,7 +16,7 @@ class MidiEndpointConnectionTests BEGIN_TEST_CLASS(MidiEndpointConnectionTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Integration") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.cpp index 08137a2ea..3dc9a028b 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.cpp @@ -18,7 +18,7 @@ void MidiEndpointCreationThreadTests::ReceiveThreadWorker(MidiSession session, w std::cout << "Receiver: connection thread: " << connectionThreadId << std::endl; // create the connection - auto connection = session.TryCreateEndpointConnection(endpointId); + auto connection = session.CreateEndpointConnection(endpointId); auto MessageReceivedHandler = [&](IMidiMessageReceivedEventSource const& sender, MidiMessageReceivedEventArgs const& args) { @@ -71,7 +71,7 @@ void MidiEndpointCreationThreadTests::SendThreadWorker(MidiSession session, winr std::cout << "Sender thread: " << threadId << std::endl; // create the connection - auto connection = session.TryCreateEndpointConnection(endpointId); + auto connection = session.CreateEndpointConnection(endpointId); connection.Open(); for (uint32_t i = 0; i < NUM_MESSAGES_TO_TRANSMIT; i++) @@ -97,7 +97,7 @@ void MidiEndpointCreationThreadTests::TestCreateNewSessionMultithreaded() // create session on this thread - auto session = MidiSession::TryCreate(L"Multi-threaded Test"); + auto session = MidiSession::Create(L"Multi-threaded Test"); // create loopback A on thread A std::thread workerThreadA(&MidiEndpointCreationThreadTests::ReceiveThreadWorker, this, session, MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.h index da04359e7..7ae157669 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointCreationThreadTests.h @@ -9,9 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - - class MidiEndpointCreationThreadTests : public WEX::TestClass { @@ -19,7 +16,7 @@ class MidiEndpointCreationThreadTests BEGIN_TEST_CLASS(MidiEndpointCreationThreadTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.cpp index 853a5c834..e410f7679 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.cpp @@ -10,10 +10,6 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - - - _Use_decl_annotations_ void MidiEndpointDeviceWatcherTests::TestWatcherEnumeration(MidiEndpointDeviceInformationFilters filter, uint32_t numEndpointsExpected) { diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.h index 8133b4303..e7af5ae6b 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiEndpointDeviceWatcherTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiEndpointDeviceWatcherTests : public WEX::TestClass { @@ -18,7 +16,7 @@ class MidiEndpointDeviceWatcherTests BEGIN_TEST_CLASS(MidiEndpointDeviceWatcherTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.cpp index 9e804c0f4..94d8c1412 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.cpp @@ -35,10 +35,10 @@ void MidiMessageSchedulerTests::TestScheduledMessagesTiming(uint16_t const messa allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); uint32_t receivedMessageCount{}; @@ -94,16 +94,13 @@ void MidiMessageSchedulerTests::TestScheduledMessagesTiming(uint16_t const messa connSend.Open(); connReceive.Open(); - - std::cout << "Sending messages" << std::endl; - // send messages for (uint32_t i = 0; i < messageCount; i++) { uint32_t word = word0 + i; - std::cout << "Sending: 0x" << std::hex << word << std::endl; + // std::cout << "Sending: 0x" << std::hex << word << std::endl; // we increment the message value each time so we can keep track of order as well @@ -117,27 +114,27 @@ void MidiMessageSchedulerTests::TestScheduledMessagesTiming(uint16_t const messa Sleep(1); } - std::cout << "Waiting for response" << std::endl; +// std::cout << "Waiting for response" << std::endl; // Wait for incoming message if (!allMessagesReceived.wait(15000)) { - std::cout << "Failure waiting for messages, timed out." << std::endl; + std::cout << std::endl << "Failure waiting for messages, timed out." << std::endl; } - std::cout << "Finished waiting. Unwiring event" << std::endl; + //std::cout << "Finished waiting. Unwiring event" << std::endl; connReceive.MessageReceived(eventRevokeToken); VERIFY_ARE_EQUAL(receivedMessageCount, messageCount); - std::cout << "Disconnecting endpoints" << std::endl; + //std::cout << "Disconnecting endpoints" << std::endl; // cleanup endpoint. Technically not required as session will do it session.DisconnectEndpointConnection(connSend.ConnectionId()); session.DisconnectEndpointConnection(connReceive.ConnectionId()); - std::cout << "Endpoints disconnected" << std::endl; + //std::cout << "Endpoints disconnected" << std::endl; session.Close(); } @@ -151,10 +148,10 @@ void MidiMessageSchedulerTests::TestScheduledMessagesOrder() allMessagesReceived.create(); - auto session = MidiSession::TryCreate(L"Test Session Name"); + auto session = MidiSession::Create(L"Test Session Name"); - auto connSend = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); - auto connReceive = session.TryCreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); + auto connSend = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackAEndpointDeviceId()); + auto connReceive = session.CreateEndpointConnection(MidiDiagnostics::DiagnosticsLoopbackBEndpointDeviceId()); uint32_t receivedMessageCount{}; @@ -212,7 +209,7 @@ void MidiMessageSchedulerTests::TestScheduledMessagesOrder() // this will also test to ensure they arrive in the order sent auto scheduledTimeStamp = MidiClock::OffsetTimestampByMilliseconds(MidiClock::Now(), 2000); - std::cout << "Sending messages" << std::endl; + //std::cout << "Sending messages" << std::endl; // send messages @@ -220,7 +217,7 @@ void MidiMessageSchedulerTests::TestScheduledMessagesOrder() { uint32_t word = word0 + i; - std::cout << "Sending: 0x" << std::hex << word << std::endl; + //std::cout << "Sending: 0x" << std::hex << word << std::endl; // we increment the message value each time so we can keep track of order VERIFY_IS_TRUE(MidiEndpointConnection::SendMessageSucceeded(connSend.SendSingleMessageWords(scheduledTimeStamp, word))); @@ -234,19 +231,19 @@ void MidiMessageSchedulerTests::TestScheduledMessagesOrder() std::cout << "Failure waiting for messages, timed out." << std::endl; } - std::cout << "Finished waiting. Unwiring event" << std::endl; + //std::cout << "Finished waiting. Unwiring event" << std::endl; connReceive.MessageReceived(eventRevokeToken); VERIFY_ARE_EQUAL(receivedMessageCount, sentMessageCount); - std::cout << "Disconnecting endpoints" << std::endl; + //std::cout << "Disconnecting endpoints" << std::endl; // cleanup endpoint. Technically not required as session will do it session.DisconnectEndpointConnection(connSend.ConnectionId()); session.DisconnectEndpointConnection(connReceive.ConnectionId()); - std::cout << "Endpoints disconnected" << std::endl; + //std::cout << "Endpoints disconnected" << std::endl; session.Close(); } diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.h index 068a8324a..1710cda3b 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageSchedulerTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiMessageSchedulerTests : public WEX::TestClass { @@ -18,7 +16,7 @@ class MidiMessageSchedulerTests BEGIN_TEST_CLASS(MidiMessageSchedulerTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.cpp index 3d04dc71d..c1569bd1a 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.cpp @@ -9,13 +9,11 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - void MidiSessionTests::TestCreateNewSession() { winrt::hstring sessionName = L"Test Session Name"; - auto session = MidiSession::TryCreate(sessionName); + auto session = MidiSession::Create(sessionName); VERIFY_IS_NOT_NULL(session); @@ -33,8 +31,8 @@ void MidiSessionTests::TestSessionList() winrt::hstring session1Name = L"Session 1 Name"; winrt::hstring session2Name = L"Session 2 Name"; - auto session1 = MidiSession::TryCreate(session1Name); - auto session2 = MidiSession::TryCreate(session2Name); + auto session1 = MidiSession::Create(session1Name); + auto session2 = MidiSession::Create(session2Name); VERIFY_IS_NOT_NULL(session1); VERIFY_IS_NOT_NULL(session2); @@ -67,7 +65,7 @@ void MidiSessionTests::TestUpdateSessionName() winrt::hstring oldSessionName = L"Test Session Name"; winrt::hstring newSessionName = L"New Session Name"; - auto session = MidiSession::TryCreate(oldSessionName); + auto session = MidiSession::Create(oldSessionName); VERIFY_IS_NOT_NULL(session); diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.h index c0618129f..94d25707b 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiSessionTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiSessionTests : public WEX::TestClass @@ -19,7 +17,7 @@ class MidiSessionTests BEGIN_TEST_CLASS(MidiSessionTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/stdafx.h index 90d0d60f9..55e24e70e 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/stdafx.h +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/stdafx.h @@ -10,15 +10,15 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include -using namespace winrt::Microsoft::Devices::Midi2; -using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; -using namespace winrt::Microsoft::Devices::Midi2::Messages; -using namespace winrt::Microsoft::Devices::Midi2::ClientPlugins; +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Diagnostics; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Messages; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Service; #include @@ -32,17 +32,12 @@ using namespace winrt::Microsoft::Devices::Midi2::ClientPlugins; #include "MidiDefs.h" -#include "MidiClockTests.h" #include "MidiEndpointConnectionBufferTests.h" #include "MidiEndpointConnectionTests.h" #include "MidiEndpointCreationThreadTests.h" #include "MidiEndpointDeviceWatcherTests.h" -#include "MidiFunctionBlockMessageBuilderTests.h" -#include "MidiMessageBuilderTests.h" -#include "MidiMessagePacketTests.h" #include "MidiMessageSchedulerTests.h" #include "MidiSessionTests.h" -#include "MidiStreamMessageBuilderTests.h" #ifndef LOG_OUTPUT #define LOG_OUTPUT(fmt, ...) WEX::Logging::Log::Comment(WEX::Common::String().Format(fmt, __VA_ARGS__)) diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/te.exe.manifest b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/te.exe.manifest new file mode 100644 index 000000000..c1cafb23f --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Core.unittests/te.exe.manifest @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2.Sdk.Messages.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2.Sdk.Messages.unittests.vcxproj new file mode 100644 index 000000000..8cfb7c80c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2.Sdk.Messages.unittests.vcxproj @@ -0,0 +1,201 @@ + + + + + + Debug + ARM64 + + + Release + ARM64 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + {CE6A83B0-E0AA-4423-9FD9-87C59408DAB8} + Win32Proj + 10.0 + true + true + true + C++/WinRT + true + true + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + Disabled + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + + + + + + + + + + + + + + + + + + + + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + + {05796b3c-25ff-4ac2-999b-edefb773393c} + + + {001601de-b7ab-41d1-81b7-40286b139841} + + + {001601de-b7ab-41d1-81b7-40286b139841} + + + + + + + + + + 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/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters new file mode 100644 index 000000000..d68e16959 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters @@ -0,0 +1,63 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2ClientTests.rc b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2ClientTests.rc new file mode 100644 index 000000000..5bc1dcb73 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Midi2ClientTests.rc @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#include +#include + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT_UNKNOWN +#define VER_FILEDESCRIPTION_STR "Windows MIDI 2 client tests" +#define VER_INTERNALNAME_STR "Windows MIDI 2 client tests" +#define VER_ORIGINALFILENAME_STR "Midi2.Client.unittests.dll" + +#include diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiFunctionBlockMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiFunctionBlockMessageBuilderTests.cpp similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiFunctionBlockMessageBuilderTests.cpp rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiFunctionBlockMessageBuilderTests.cpp diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiFunctionBlockMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiFunctionBlockMessageBuilderTests.h similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiFunctionBlockMessageBuilderTests.h rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiFunctionBlockMessageBuilderTests.h diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessageBuilderTests.cpp similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageBuilderTests.cpp rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessageBuilderTests.cpp diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessageBuilderTests.h similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessageBuilderTests.h rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessageBuilderTests.h diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessagePacketTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessagePacketTests.cpp similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessagePacketTests.cpp rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessagePacketTests.cpp diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessagePacketTests.h b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessagePacketTests.h similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiMessagePacketTests.h rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiMessagePacketTests.h diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiStreamMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiStreamMessageBuilderTests.cpp similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiStreamMessageBuilderTests.cpp rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiStreamMessageBuilderTests.cpp diff --git a/src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiStreamMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiStreamMessageBuilderTests.h similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Core.unittests/MidiStreamMessageBuilderTests.h rename to src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/MidiStreamMessageBuilderTests.h diff --git a/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Module.cpp b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Module.cpp new file mode 100644 index 000000000..1e154fab7 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/Module.cpp @@ -0,0 +1,9 @@ +#include "stdafx.h" + +MODULE_SETUP(ModuleSetup); +bool ModuleSetup() +{ + winrt::init_apartment(); + return true; +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/packages.config b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/packages.config new file mode 100644 index 000000000..7b7f4f96c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/stdafx.h new file mode 100644 index 000000000..aa5a795c2 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Diagnostics.unittests/stdafx.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#pragma once + +#ifndef STDAFX_H +#define STDAFX_H + +#include + +#include +#include +#include + +#include +#include +#include + +using namespace winrt::Microsoft::Devices::Midi2; +using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; +using namespace winrt::Microsoft::Devices::Midi2::Messages; + +#include + +#include +#include +#include +#include +#include +#include +#include "loopback_ids.h" +#include "MidiDefs.h" + + +#include "MidiFunctionBlockMessageBuilderTests.h" +#include "MidiMessageBuilderTests.h" +#include "MidiMessagePacketTests.h" +#include "MidiStreamMessageBuilderTests.h" + +#ifndef LOG_OUTPUT +#define LOG_OUTPUT(fmt, ...) WEX::Logging::Log::Comment(WEX::Common::String().Format(fmt, __VA_ARGS__)) +#endif + +#endif \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2.Sdk.Endpoint.Ble.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2.Sdk.Endpoint.Ble.unittests.vcxproj new file mode 100644 index 000000000..8fa1aedb9 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2.Sdk.Endpoint.Ble.unittests.vcxproj @@ -0,0 +1,201 @@ + + + + + + Debug + ARM64 + + + Release + ARM64 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + {706A85A3-0660-4939-A8C5-65E00D0B45AB} + Win32Proj + 10.0 + true + true + true + C++/WinRT + true + true + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + Disabled + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + + + + + + + + + + + + + + + + + + + + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + + {05796b3c-25ff-4ac2-999b-edefb773393c} + + + {001601de-b7ab-41d1-81b7-40286b139841} + + + {001601de-b7ab-41d1-81b7-40286b139841} + + + + + + + + + + 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/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2.Sdk.Endpoint.Ble.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2.Sdk.Endpoint.Ble.unittests.vcxproj.filters new file mode 100644 index 000000000..d68e16959 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2.Sdk.Endpoint.Ble.unittests.vcxproj.filters @@ -0,0 +1,63 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2ClientTests.rc b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2ClientTests.rc new file mode 100644 index 000000000..5bc1dcb73 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Midi2ClientTests.rc @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#include +#include + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT_UNKNOWN +#define VER_FILEDESCRIPTION_STR "Windows MIDI 2 client tests" +#define VER_INTERNALNAME_STR "Windows MIDI 2 client tests" +#define VER_ORIGINALFILENAME_STR "Midi2.Client.unittests.dll" + +#include diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiFunctionBlockMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiFunctionBlockMessageBuilderTests.cpp new file mode 100644 index 000000000..7bc5b6d5b --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiFunctionBlockMessageBuilderTests.cpp @@ -0,0 +1,185 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + + +using namespace winrt::Microsoft::Devices::Midi2; + + + +void MidiFunctionBlockMessageBuilderTests::TestBuildFunctionBlockNameNotificationLong() +{ + LOG_OUTPUT(L"Test long function block name"); + + winrt::hstring name = L"This is an function block name that is longer than the supported 91 characters for a function block name in MIDI 2"; + uint32_t expectedPacketCount = 7; + + uint8_t functionBlockNumber{ 5 }; + + std::cout << "Testing function block Name: " << winrt::to_string(name) << std::endl; + + auto messages = MidiStreamMessageBuilder::BuildFunctionBlockNameNotificationMessages( + MidiClock::Now(), + functionBlockNumber, + name + ); + + std::cout << "Expected ump count " << expectedPacketCount << ", received " << messages.Size() << std::endl; + + // count the number of messages we get back + VERIFY_ARE_EQUAL(messages.Size(), expectedPacketCount); + + for (auto ump : messages) + { + auto message = ump.as(); + + std::cout << "Stream Message words" + << " 0x" << std::hex << message.Word0() + << " 0x" << std::hex << message.Word1() + << " 0x" << std::hex << message.Word2() + << " 0x" << std::hex << message.Word3() + << std::endl; + } + + + for (uint32_t i = 0; i < messages.Size(); i++) + { + std::cout << "Stream word0 0x" << std::hex << messages.GetAt(i).PeekFirstWord() << std::endl; + + // verify status + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION); + + // verify form is correct + if (i == 0) + { + // first message + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), (uint8_t)0x01); + } + else if (i == messages.Size() - 1) + { + // last message + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), (uint8_t)0x03); + } + else + { + // interim messages + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), (uint8_t)0x02); + } + + + // TODO: Verify function block number is correct + + + } + + + // reverse it back into a string and verify + + auto s = MidiStreamMessageBuilder::ParseFunctionBlockNameNotificationMessages(messages); + std::cout << "Parsed: '" << winrt::to_string(s) << "'" << std::endl; + VERIFY_ARE_EQUAL(s, L"This is an function block name that is longer than the supported 91 characters for a functi"); +} + +void MidiFunctionBlockMessageBuilderTests::TestBuildFunctionBlockNameNotificationMedium() +{ + LOG_OUTPUT(L"Test medium function block name"); + + winrt::hstring name = L"A medium-sized name"; + uint32_t expectedPacketCount = 2; + + uint8_t functionBlockNumber{ 5 }; + + std::cout << "Testing function block Name: " << winrt::to_string(name) << std::endl; + + auto messages = MidiStreamMessageBuilder::BuildFunctionBlockNameNotificationMessages( + MidiClock::Now(), + functionBlockNumber, + name + ); + + std::cout << "Expected ump count " << expectedPacketCount << ", received " << messages.Size() << std::endl; + + // count the number of messages we get back + VERIFY_ARE_EQUAL(messages.Size(), expectedPacketCount); + + for (auto ump : messages) + { + auto message = ump.as(); + + std::cout << "Stream Message words" + << " 0x" << std::hex << message.Word0() + << " 0x" << std::hex << message.Word1() + << " 0x" << std::hex << message.Word2() + << " 0x" << std::hex << message.Word3() + << std::endl; + } + + + // verify status is correct + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION); + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), 0x01); + + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(1).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION); + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(1).PeekFirstWord()), 0x03); + + + // verify form is correct + + // TODO: Verify function block number is correct + + // reverse it back into a string and verify + + + auto s = MidiStreamMessageBuilder::ParseFunctionBlockNameNotificationMessages(messages); + std::cout << "Parsed: '" << winrt::to_string(s) << "'" << std::endl; + VERIFY_ARE_EQUAL(s, name); +} + +void MidiFunctionBlockMessageBuilderTests::TestBuildFunctionBlockInfoNotification() +{ + LOG_OUTPUT(L"Building Function Block Info Notification"); + + bool active{ true }; + uint8_t functionBlockNumber{ 5 }; + MidiFunctionBlockUIHint uiHint{ MidiFunctionBlockUIHint::Receiver }; // 1 + MidiFunctionBlockRepresentsMidi10Connection midi10{ MidiFunctionBlockRepresentsMidi10Connection::YesBandwidthRestricted }; // 2 + MidiFunctionBlockDirection direction{ MidiFunctionBlockDirection::Bidirectional }; // 3 + + uint8_t firstGroup{ 6 }; + uint8_t numberOfGroups{ 4 }; + uint8_t midiCIVersionFormat{ 1 }; + uint8_t maxNumberOfSysEx8Streams{ 34 }; // 0x22 + + uint32_t resultingWord0{ 0xF011851B }; // 0x11 is function block info notification + uint32_t resultingWord1{ 0x06040122 }; + + auto ump = MidiStreamMessageBuilder::BuildFunctionBlockInfoNotificationMessage( + MidiClock::Now(), + active, + functionBlockNumber, + uiHint, + midi10, + direction, + firstGroup, + numberOfGroups, + midiCIVersionFormat, + maxNumberOfSysEx8Streams + ); + + // verify values are in the UMP + + auto msg = ump.as(); + + VERIFY_ARE_EQUAL(msg.Word0(), resultingWord0); + VERIFY_ARE_EQUAL(msg.Word1(), resultingWord1); + VERIFY_ARE_EQUAL(msg.Word2(), (uint32_t)0); + VERIFY_ARE_EQUAL(msg.Word3(), (uint32_t)0); +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiFunctionBlockMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiFunctionBlockMessageBuilderTests.h new file mode 100644 index 000000000..c52bf8e6f --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiFunctionBlockMessageBuilderTests.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + +using namespace winrt::Microsoft::Devices::Midi2; + + +#define MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_INFO_NOTIFICATION (uint8_t)0x11 +#define MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION (uint8_t)0x12 + + +class MidiFunctionBlockMessageBuilderTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiFunctionBlockMessageBuilderTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.MidiSrvAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.NetworkMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualPatchBayAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Minmidi.sys") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"usbmidi2.sys") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"MidiSrv.exe") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + //Generic Tests + TEST_METHOD(TestBuildFunctionBlockNameNotificationLong); + TEST_METHOD(TestBuildFunctionBlockNameNotificationMedium); + TEST_METHOD(TestBuildFunctionBlockInfoNotification); + + +private: + + +}; diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessageBuilderTests.cpp new file mode 100644 index 000000000..6b711ac66 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessageBuilderTests.cpp @@ -0,0 +1,239 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +void MidiMessageBuilderTests::TestBuildType0UtilityMessages() +{ + uint8_t status = 0x0D; + uint32_t dataOrReserved = 0x00020; + uint32_t expectedWord0 = 0x00D00020; + + LOG_OUTPUT(L"Building Utility Message"); + + auto message = MidiMessageBuilder::BuildUtilityMessage( + MidiClock::Now(), + status, + dataOrReserved + ); + + VERIFY_ARE_EQUAL(message.Word0(), expectedWord0); +} + +void MidiMessageBuilderTests::TestBuildType1SystemMessages() +{ + uint8_t group = 0x3; + uint8_t status = 0xD; + uint8_t midiByte2 = 0x3C; + uint8_t midiByte3 = 0x3F; + uint32_t expectedWord0 = 0x130D3C3F; + + LOG_OUTPUT(L"Building System Message"); + + auto message = MidiMessageBuilder::BuildSystemMessage( + MidiClock::Now(), + MidiGroup(group), + status, + midiByte2, + midiByte3 + ); + + VERIFY_ARE_EQUAL(message.Word0(), expectedWord0); +} + +void MidiMessageBuilderTests::TestBuildType2Midi1ChannelVoiceMessages() +{ + MidiGroup grp{ 0x4 }; + Midi1ChannelVoiceMessageStatus status = Midi1ChannelVoiceMessageStatus::NoteOn; // 9 + MidiChannel ch{ 0xF }; + uint8_t note{ 0x71 }; + uint8_t velocity{ 0x7F }; + + // update this if you change any values from above. We're not using a + // function to create this because we need to check our logic in this test + uint32_t resultingWord0 = 0x249F717F; + + LOG_OUTPUT(L"Building MIDI 1 Channel Voice Message"); + + auto ump = MidiMessageBuilder::BuildMidi1ChannelVoiceMessage( + MidiClock::Now(), + grp, + status, + ch, + note, + velocity); + + // verify values are in the UMP + + VERIFY_ARE_EQUAL(ump.Word0(), resultingWord0); +} + +void MidiMessageBuilderTests::TestBuildType4Midi2ChannelVoiceMessages() +{ + MidiGroup grp{ 0x5 }; + Midi2ChannelVoiceMessageStatus status = Midi2ChannelVoiceMessageStatus::NoteOn; // 9 + MidiChannel ch{ 0xF }; + uint16_t index{ 0x6655 }; // not a real attribute type + uint16_t velocity{ 0xFF7F }; + uint16_t attribute{ 0xD00B }; // not real attribute data + + uint32_t data = velocity << 16 | attribute; + + // update this if you change any values from above. We're not using a + // function to create this because we need to check our logic in this test + uint32_t resultingWord0 = 0x459F6655; + uint32_t resultingWord1 = 0xFF7FD00B; + + LOG_OUTPUT(L"Building MIDI 2 Channel Voice Message"); + + auto ump = MidiMessageBuilder::BuildMidi2ChannelVoiceMessage( + MidiClock::Now(), + grp, + status, + ch, + index, + data + ); + + // verify values are in the UMP + + VERIFY_ARE_EQUAL(ump.Word0(), resultingWord0); + VERIFY_ARE_EQUAL(ump.Word1(), resultingWord1); +} + +void MidiMessageBuilderTests::TestBuildTypeFStreamMessages1() +{ + LOG_OUTPUT(L"Building Stream Message 1"); + + uint8_t form = 0x3; + uint16_t status = 0x02; + uint16_t word0Remaining = 0x1234; + uint32_t word1 = 0x86753090; + uint32_t word2 = 0x03263727; + uint32_t word3 = 0x10203040; + + uint32_t resultingWord0 = 0xFC021234; // shifting of form to be the two high bits of the nibble changes it from 3 to C + + auto ump = MidiMessageBuilder::BuildStreamMessage( + MidiClock::Now(), + form, + status, + word0Remaining, + word1, + word2, + word3 + ); + + // verify values are in the UMP + + VERIFY_ARE_EQUAL(ump.Word0(), resultingWord0); + VERIFY_ARE_EQUAL(ump.Word1(), word1); + VERIFY_ARE_EQUAL(ump.Word2(), word2); + VERIFY_ARE_EQUAL(ump.Word3(), word3); +} + +void MidiMessageBuilderTests::TestBuildTypeFStreamMessages2() +{ + LOG_OUTPUT(L"Building Stream Message 2"); + + uint8_t form = 0x3; + uint16_t status = 0x32; + uint16_t word0Remaining = 0xF23F; + uint32_t word1 = 0x86753090; + uint32_t word2 = 0x03263727; + uint32_t word3 = 0x10203040; + + uint32_t resultingWord0 = 0xFC32F23F; // shifting of form to be the two high bits of the nibble changes it from 3 to C + + auto ump = MidiMessageBuilder::BuildStreamMessage( + MidiClock::Now(), + form, + status, + word0Remaining, + word1, + word2, + word3 + ); + + // verify values are in the UMP + + VERIFY_ARE_EQUAL(ump.Word0(), resultingWord0); + VERIFY_ARE_EQUAL(ump.Word1(), word1); + VERIFY_ARE_EQUAL(ump.Word2(), word2); + VERIFY_ARE_EQUAL(ump.Word3(), word3); +} + +void MidiMessageBuilderTests::TestBuildMixedDatasetHeaderMessage() +{ + LOG_OUTPUT(L"Building Mixed Dataset Header"); + + uint8_t group{ 0xA }; + uint8_t mdsId{ 0xD }; + uint16_t numberOfValidBytesInChunk{ 0x0099 }; + uint16_t numberOfChunksInDatSet{ 8 }; + uint16_t numberOfThisChunk{ 7 }; + uint16_t manufacturerId{ 0x5150 }; + uint16_t deviceId{ 0x1984 }; + uint16_t subId1{ 0x0326 }; + uint16_t subId2{ 0x3827 }; + + uint32_t resultingWord0 = 0x5A8D0099; + uint32_t resultingWord1 = 0x00080007; + uint32_t resultingWord2 = 0x51501984; + uint32_t resultingWord3 = 0x03263827; + + auto ump = MidiMessageBuilder::BuildMixedDataSetChunkHeaderMessage( + MidiClock::Now(), + MidiGroup(group), + mdsId, + numberOfValidBytesInChunk, + numberOfChunksInDatSet, + numberOfThisChunk, + manufacturerId, + deviceId, + subId1, + subId2 + ); + + // verify values are in the UMP + + VERIFY_ARE_EQUAL(ump.Word0(), resultingWord0); + VERIFY_ARE_EQUAL(ump.Word1(), resultingWord1); + VERIFY_ARE_EQUAL(ump.Word2(), resultingWord2); + VERIFY_ARE_EQUAL(ump.Word3(), resultingWord3); +} + +void MidiMessageBuilderTests::TestBuildMixedDatasetPayloadMessage() +{ + LOG_OUTPUT(L"Building Mixed Dataset Payload"); + + uint8_t group{ 0xA }; + uint8_t mdsId{ 0xD }; + + uint32_t resultingWord0 = 0x5A9D0102; + uint32_t resultingWord1 = 0x03040506; + uint32_t resultingWord2 = 0x0708090A; + uint32_t resultingWord3 = 0x0B0C0D0E; + + auto ump = MidiMessageBuilder::BuildMixedDataSetChunkDataMessage( + MidiClock::Now(), + MidiGroup(group), + mdsId, + 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E + ); + + // verify values are in the UMP + + VERIFY_ARE_EQUAL(ump.Word0(), resultingWord0); + VERIFY_ARE_EQUAL(ump.Word1(), resultingWord1); + VERIFY_ARE_EQUAL(ump.Word2(), resultingWord2); + VERIFY_ARE_EQUAL(ump.Word3(), resultingWord3); +} + + diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessageBuilderTests.h new file mode 100644 index 000000000..fde15e383 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessageBuilderTests.h @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + +using namespace winrt::Microsoft::Devices::Midi2; + +class MidiMessageBuilderTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiMessageBuilderTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.MidiSrvAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.NetworkMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualPatchBayAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Minmidi.sys") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"usbmidi2.sys") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"MidiSrv.exe") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + //Generic Tests + TEST_METHOD(TestBuildType0UtilityMessages); + TEST_METHOD(TestBuildType1SystemMessages); + TEST_METHOD(TestBuildType2Midi1ChannelVoiceMessages); + TEST_METHOD(TestBuildType4Midi2ChannelVoiceMessages); + TEST_METHOD(TestBuildTypeFStreamMessages1); + TEST_METHOD(TestBuildTypeFStreamMessages2); + TEST_METHOD(TestBuildMixedDatasetHeaderMessage); + TEST_METHOD(TestBuildMixedDatasetPayloadMessage); + + +private: + + +}; + diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessagePacketTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessagePacketTests.cpp similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessagePacketTests.cpp rename to src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessagePacketTests.cpp diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessagePacketTests.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessagePacketTests.h similarity index 100% rename from src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessagePacketTests.h rename to src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiMessagePacketTests.h diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiStreamMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiStreamMessageBuilderTests.cpp new file mode 100644 index 000000000..a152b978a --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiStreamMessageBuilderTests.cpp @@ -0,0 +1,211 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +using namespace winrt::Microsoft::Devices::Midi2; + +void MidiStreamMessageBuilderTests::TestBuildEndpointNameNotificationLong() +{ + winrt::hstring name = L"This is an endpoint name that is longer than the supported 98 characters for an endpoint name in MIDI 2"; + uint32_t expectedPacketCount = 7; + + + std::cout << "Testing endpoint Name: " << winrt::to_string(name) << std::endl; + + auto messages = MidiStreamMessageBuilder::BuildEndpointNameNotificationMessages( + MidiClock::Now(), + name + ); + + std::cout << "Expected ump count " << expectedPacketCount << ", received " << messages.Size() << std::endl; + + // count the number of messages we get back + VERIFY_ARE_EQUAL(messages.Size(), expectedPacketCount); + + for (auto ump : messages) + { + auto message = ump.as(); + + std::cout << "Stream Message words" + << " 0x" << std::hex << message.Word0() + << " 0x" << std::hex << message.Word1() + << " 0x" << std::hex << message.Word2() + << " 0x" << std::hex << message.Word3() + << std::endl; + } + + + for (uint32_t i = 0; i < messages.Size(); i++) + { + std::cout << "Stream word0 0x" << std::hex << messages.GetAt(i).PeekFirstWord() << std::endl; + + // verify status + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION); + + // verify form is correct + if (i == 0) + { + // first message + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), 0x01); + } + else if (i == messages.Size() - 1) + { + // last message + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), 0x03); + } + else + { + // interim messages + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(i).PeekFirstWord()), 0x02); + } + } + + // reverse it back into a string and verify + + auto s = MidiStreamMessageBuilder::ParseEndpointNameNotificationMessages(messages); + std::cout << "Parsed: '" << winrt::to_string(s) << "'" << std::endl; + VERIFY_ARE_EQUAL(s, L"This is an endpoint name that is longer than the supported 98 characters for an endpoint name in M"); +} + + +void MidiStreamMessageBuilderTests::TestBuildEndpointNameNotificationMedium() +{ + winrt::hstring name = L"This is medium-sized"; + uint32_t expectedPacketCount = 2; + + std::cout << "Testing endpoint Name: " << winrt::to_string(name) << std::endl; + + auto messages = MidiStreamMessageBuilder::BuildEndpointNameNotificationMessages( + MidiClock::Now(), + name + ); + + std::cout << "Expected ump count " << expectedPacketCount << ", received " << messages.Size() << std::endl; + + // count the number of messages we get back + VERIFY_ARE_EQUAL(messages.Size(), expectedPacketCount); + + for (auto ump : messages) + { + auto message = ump.as(); + + std::cout << "Stream Message words" + << " 0x" << std::hex << message.Word0() + << " 0x" << std::hex << message.Word1() + << " 0x" << std::hex << message.Word2() + << " 0x" << std::hex << message.Word3() + << std::endl; + } + + + // verify status is correct + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION); + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), 0x01); + + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(1).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION); + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(1).PeekFirstWord()), 0x03); + + // verify form is correct + + // reverse it back into a string and verify + + + auto s = MidiStreamMessageBuilder::ParseEndpointNameNotificationMessages(messages); + std::cout << "Parsed: '" << winrt::to_string(s) << "'" << std::endl; + VERIFY_ARE_EQUAL(s, name); + +} + +void MidiStreamMessageBuilderTests::TestBuildEndpointNameNotificationShort() +{ + winrt::hstring name = L"Short"; + uint32_t expectedPacketCount = 1; + + std::cout << "Testing endpoint Name: " << winrt::to_string(name) << std::endl; + + auto messages = MidiStreamMessageBuilder::BuildEndpointNameNotificationMessages( + MidiClock::Now(), + name + ); + + std::cout << "Expected ump count " << expectedPacketCount << ", received " << messages.Size() << std::endl; + + std::cout << "Stream Message 1 word0 0x" << std::hex << messages.GetAt(0).PeekFirstWord() << std::endl; + + // count the number of messages we get back + VERIFY_ARE_EQUAL(messages.Size(), expectedPacketCount); + + for (auto ump : messages) + { + auto message = ump.as(); + + std::cout << "Stream Message words" + << " 0x" << std::hex << message.Word0() + << " 0x" << std::hex << message.Word1() + << " 0x" << std::hex << message.Word2() + << " 0x" << std::hex << message.Word3() + << std::endl; + } + + + // verify status is correct + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION); + + // verify form is correct + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), 0x00); + + // reverse it back into a string and verify + auto s = MidiStreamMessageBuilder::ParseEndpointNameNotificationMessages(messages); + std::cout << "Parsed: '" << winrt::to_string(s) << "'" << std::endl; + VERIFY_ARE_EQUAL(s, name); +} + + +void MidiStreamMessageBuilderTests::TestBuildProductInstanceIdNotificationShort() +{ + winrt::hstring productInstanceId = L"ABC123"; + uint32_t expectedPacketCount = 1; + + std::cout << "Testing endpoint Id: " << winrt::to_string(productInstanceId) << std::endl; + + auto messages = MidiStreamMessageBuilder::BuildProductInstanceIdNotificationMessages( + MidiClock::Now(), + productInstanceId + ); + + std::cout << "Expected ump count " << expectedPacketCount << ", received " << messages.Size() << std::endl; + + std::cout << "Stream Message 1 word0 0x" << std::hex << messages.GetAt(0).PeekFirstWord() << std::endl; + + // count the number of messages we get back + VERIFY_ARE_EQUAL(messages.Size(), expectedPacketCount); + + for (auto ump : messages) + { + auto message = ump.as(); + + std::cout << "Stream Message words" + << " 0x" << std::hex << message.Word0() + << " 0x" << std::hex << message.Word1() + << " 0x" << std::hex << message.Word2() + << " 0x" << std::hex << message.Word3() + << std::endl; + } + + + // verify status is correct + VERIFY_ARE_EQUAL(MidiMessageHelper::GetStatusFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_PRODUCT_INSTANCE_ID_NOTIFICATION); + + // verify form is correct + VERIFY_ARE_EQUAL(MidiMessageHelper::GetFormFromStreamMessageFirstWord(messages.GetAt(0).PeekFirstWord()), 0x00); + + // reverse it back into a string and verify + +} \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiStreamMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiStreamMessageBuilderTests.h new file mode 100644 index 000000000..a94bfcf47 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/MidiStreamMessageBuilderTests.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + +using namespace winrt::Microsoft::Devices::Midi2; + + +#define MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_DISCOVERY (uint8_t)0x00 +#define MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_INFO_NOTIFICATION (uint8_t)0x01 +#define MIDI_STREAM_MESSAGE_STATUS_DEVICE_IDENTITY_NOTIFICATION (uint8_t)0x02 +#define MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_NAME_NOTIFICATION (uint8_t)0x03 +#define MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_PRODUCT_INSTANCE_ID_NOTIFICATION (uint8_t)0x04 +#define MIDI_STREAM_MESSAGE_STATUS_STREAM_CONFIGURATION_REQUEST (uint8_t)0x05 +#define MIDI_STREAM_MESSAGE_STATUS_STREAM_CONFIGURATION_NOTIFICATION (uint8_t)0x06 + + +class MidiStreamMessageBuilderTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiStreamMessageBuilderTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.MidiSrvAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.NetworkMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualMidiAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualPatchBayAbstraction.dll") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Minmidi.sys") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"usbmidi2.sys") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"MidiSrv.exe") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + TEST_METHOD(TestBuildEndpointNameNotificationLong); + TEST_METHOD(TestBuildEndpointNameNotificationMedium); + TEST_METHOD(TestBuildEndpointNameNotificationShort); + TEST_METHOD(TestBuildProductInstanceIdNotificationShort); + + +private: + + +}; + diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Module.cpp b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Module.cpp new file mode 100644 index 000000000..1e154fab7 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/Module.cpp @@ -0,0 +1,9 @@ +#include "stdafx.h" + +MODULE_SETUP(ModuleSetup); +bool ModuleSetup() +{ + winrt::init_apartment(); + return true; +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/packages.config b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/packages.config new file mode 100644 index 000000000..7b7f4f96c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/stdafx.h new file mode 100644 index 000000000..aa5a795c2 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Ble.unittests/stdafx.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#pragma once + +#ifndef STDAFX_H +#define STDAFX_H + +#include + +#include +#include +#include + +#include +#include +#include + +using namespace winrt::Microsoft::Devices::Midi2; +using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; +using namespace winrt::Microsoft::Devices::Midi2::Messages; + +#include + +#include +#include +#include +#include +#include +#include +#include "loopback_ids.h" +#include "MidiDefs.h" + + +#include "MidiFunctionBlockMessageBuilderTests.h" +#include "MidiMessageBuilderTests.h" +#include "MidiMessagePacketTests.h" +#include "MidiStreamMessageBuilderTests.h" + +#ifndef LOG_OUTPUT +#define LOG_OUTPUT(fmt, ...) WEX::Logging::Log::Comment(WEX::Common::String().Format(fmt, __VA_ARGS__)) +#endif + +#endif \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/Midi2.Sdk.Endpoint.Loopback.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/Midi2.Sdk.Endpoint.Loopback.unittests.vcxproj index c36842cd0..7a82e3cbd 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/Midi2.Sdk.Endpoint.Loopback.unittests.vcxproj +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/Midi2.Sdk.Endpoint.Loopback.unittests.vcxproj @@ -76,28 +76,28 @@ - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) @@ -164,17 +164,14 @@ - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - - {05796b3c-25ff-4ac2-999b-edefb773393c} - - + {d3b84d5d-8bed-4cb7-b430-b0bf1e46f3a1} - - {001601de-b7ab-41d1-81b7-40286b139841} + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/MidiLoopbackEndpointTests.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/MidiLoopbackEndpointTests.h index 3215d3aa9..0e8ce0527 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/MidiLoopbackEndpointTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/MidiLoopbackEndpointTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiLoopbackEndpointTests : public WEX::TestClass { diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/stdafx.h index 33f44cdc4..bdd11b6bb 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/stdafx.h +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Loopback.unittests/stdafx.h @@ -10,15 +10,13 @@ #include #include -#include -#include -#include -#include - -using namespace winrt::Microsoft::Devices::Midi2; -using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; -using namespace winrt::Microsoft::Devices::Midi2::Messages; -using namespace winrt::Microsoft::Devices::Midi2::Endpoints::Loopback; +#include +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Loopback; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Service; #include diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/Midi2.Sdk.Endpoint.Virtual.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/Midi2.Sdk.Endpoint.Virtual.unittests.vcxproj index 235c5c1d0..78cbf3f01 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/Midi2.Sdk.Endpoint.Virtual.unittests.vcxproj +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/Midi2.Sdk.Endpoint.Virtual.unittests.vcxproj @@ -76,28 +76,28 @@ - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) @@ -164,17 +164,14 @@ - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} - - {05796b3c-25ff-4ac2-999b-edefb773393c} - - + {9b93146c-4d9d-4915-becb-5227df2667e2} - - {001601de-b7ab-41d1-81b7-40286b139841} + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/MidiVirtualDeviceTests.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/MidiVirtualDeviceTests.h index b77798a6a..5f6dbb693 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/MidiVirtualDeviceTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/MidiVirtualDeviceTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiVirtualDeviceTests : public WEX::TestClass { diff --git a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/stdafx.h index 305731d55..f3bd7cefa 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/stdafx.h +++ b/src/app-sdk/tests/Midi2.Sdk.Endpoint.Virtual.unittests/stdafx.h @@ -10,13 +10,13 @@ #include #include -#include -#include -#include -#include +#include +#include +#include -using namespace winrt::Microsoft::Devices::Midi2; -using namespace winrt::Microsoft::Devices::Midi2::Endpoints::Virtual; +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Endpoints::Virtual; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Service; #include diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj index 3d09f6bee..9d7bc92f3 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj @@ -75,28 +75,28 @@ - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); - $(SolutionDir)vsfiles\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) @@ -150,14 +150,12 @@ - - @@ -169,16 +167,22 @@ - + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + true + true - - {05796b3c-25ff-4ac2-999b-edefb773393c} - - + {001601de-b7ab-41d1-81b7-40286b139841} + true + true + + + true + + diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters index d68e16959..5ac384a41 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/Midi2.Sdk.Messages.unittests.vcxproj.filters @@ -24,9 +24,6 @@ Source Files - - Source Files - Source Files @@ -41,9 +38,6 @@ Header Files - - Header Files - Header Files @@ -60,4 +54,7 @@ + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.cpp index 7bc5b6d5b..dad57f663 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.cpp @@ -10,10 +10,6 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - - - void MidiFunctionBlockMessageBuilderTests::TestBuildFunctionBlockNameNotificationLong() { LOG_OUTPUT(L"Test long function block name"); diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.h index c52bf8e6f..5fc197fca 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiFunctionBlockMessageBuilderTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - #define MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_INFO_NOTIFICATION (uint8_t)0x11 #define MIDI_STREAM_MESSAGE_STATUS_FUNCTION_BLOCK_NAME_NOTIFICATION (uint8_t)0x12 @@ -23,17 +21,7 @@ class MidiFunctionBlockMessageBuilderTests BEGIN_TEST_CLASS(MidiFunctionBlockMessageBuilderTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.MidiSrvAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.NetworkMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualPatchBayAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Minmidi.sys") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"usbmidi2.sys") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"MidiSrv.exe") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.Messages.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessageBuilderTests.h index fde15e383..bc9ad02d5 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessageBuilderTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiMessageBuilderTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - class MidiMessageBuilderTests : public WEX::TestClass { @@ -18,17 +16,7 @@ class MidiMessageBuilderTests BEGIN_TEST_CLASS(MidiMessageBuilderTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.MidiSrvAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.NetworkMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualPatchBayAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Minmidi.sys") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"usbmidi2.sys") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"MidiSrv.exe") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.Messages.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.cpp index a152b978a..3b2519f57 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.cpp +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.cpp @@ -9,8 +9,6 @@ #include "stdafx.h" -using namespace winrt::Microsoft::Devices::Midi2; - void MidiStreamMessageBuilderTests::TestBuildEndpointNameNotificationLong() { winrt::hstring name = L"This is an endpoint name that is longer than the supported 98 characters for an endpoint name in MIDI 2"; diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.h b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.h index a94bfcf47..49016881b 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.h +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/MidiStreamMessageBuilderTests.h @@ -9,8 +9,6 @@ #pragma once -using namespace winrt::Microsoft::Devices::Midi2; - #define MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_DISCOVERY (uint8_t)0x00 #define MIDI_STREAM_MESSAGE_STATUS_ENDPOINT_INFO_NOTIFICATION (uint8_t)0x01 @@ -28,17 +26,7 @@ class MidiStreamMessageBuilderTests BEGIN_TEST_CLASS(MidiStreamMessageBuilderTests) TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Devices.Midi2.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.BluetoothMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.DiagnosticsAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.KSAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.MidiSrvAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.NetworkMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualMidiAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Midi2.VirtualPatchBayAbstraction.dll") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Minmidi.sys") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"usbmidi2.sys") - TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"MidiSrv.exe") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.Messages.dll") END_TEST_CLASS() //TEST_CLASS_SETUP(ClassSetup); diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/stdafx.h index aa5a795c2..5f1841945 100644 --- a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/stdafx.h +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/stdafx.h @@ -10,13 +10,11 @@ #include #include -#include -#include -#include +#include +#include -using namespace winrt::Microsoft::Devices::Midi2; -using namespace winrt::Microsoft::Devices::Midi2::Diagnostics; -using namespace winrt::Microsoft::Devices::Midi2::Messages; +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Messages; #include @@ -32,7 +30,6 @@ using namespace winrt::Microsoft::Devices::Midi2::Messages; #include "MidiFunctionBlockMessageBuilderTests.h" #include "MidiMessageBuilderTests.h" -#include "MidiMessagePacketTests.h" #include "MidiStreamMessageBuilderTests.h" #ifndef LOG_OUTPUT diff --git a/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/te.exe.manifest b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/te.exe.manifest new file mode 100644 index 000000000..e2799e949 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Messages.unittests/te.exe.manifest @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2.Sdk.Service.unittests.vcxproj b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2.Sdk.Service.unittests.vcxproj new file mode 100644 index 000000000..e91fbd16f --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2.Sdk.Service.unittests.vcxproj @@ -0,0 +1,186 @@ + + + + + + Debug + ARM64 + + + Release + ARM64 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + {7814E68E-4123-4C99-8D5C-58CCE7EB334E} + Win32Proj + 10.0 + true + true + true + C++/WinRT + true + true + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + DynamicLibrary + false + v143 + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_ARM64);$(WindowsSDK_LibraryPath_ARM64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + $(SolutionDir)vsfiles\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)VSFiles\intermediate\$(MSBuildProjectName)\$(Platform)\$(Configuration)\GeneratedFiles\ + $(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)VSFiles\intermediate\idl\$(Platform)\$(Configuration) + $(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(WindowsSdkDir)\Testing\Development\lib\$(Platform);$(SolutionDir)\VSFiles\intermediate\test\miditestcommon\$(Platform)\$(Configuration); + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + Level4 + %(AdditionalIncludeDirectories);$(SolutionDir)..\api\inc;$(WindowsSdkDir)\Testing\Development\inc;$(GeneratedFilesDir) + true + stdcpp17 + Disabled + + + %(AdditionalDependencies);onecoreuap.lib;ksuser.lib;avrt.lib;$(CoreLibraryDependencies) + + + + + + + + + + + + + + + + + + + + {9eaa3af3-7328-4f67-a011-e2dd8fbaa4c4} + + + {72d1a831-0492-41cc-aa58-bdd05c1099f7} + + + + + + + + + + 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/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2.Sdk.Service.unittests.vcxproj.filters b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2.Sdk.Service.unittests.vcxproj.filters new file mode 100644 index 000000000..2302afcc3 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2.Sdk.Service.unittests.vcxproj.filters @@ -0,0 +1,45 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + + + Resource Files + + + + + + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2ClientTests.rc b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2ClientTests.rc new file mode 100644 index 000000000..5bc1dcb73 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Midi2ClientTests.rc @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#include +#include + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT_UNKNOWN +#define VER_FILEDESCRIPTION_STR "Windows MIDI 2 client tests" +#define VER_INTERNALNAME_STR "Windows MIDI 2 client tests" +#define VER_ORIGINALFILENAME_STR "Midi2.Client.unittests.dll" + +#include diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/MidiServiceTests.cpp b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/MidiServiceTests.cpp new file mode 100644 index 000000000..5b5e0b6fc --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/MidiServiceTests.cpp @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#include "stdafx.h" + +void MidiServiceTests::TestEnsureServiceAvailable() +{ + + VERIFY_FAIL(); // TEMP +} diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/MidiServiceTests.h b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/MidiServiceTests.h new file mode 100644 index 000000000..448f4730d --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/MidiServiceTests.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License +// ============================================================================ +// This is part of the Windows MIDI Services App API and should be used +// in your Windows application via an official binary distribution. +// Further information: https://aka.ms/midi +// ============================================================================ + + +#pragma once + +class MidiServiceTests + : public WEX::TestClass +{ +public: + + BEGIN_TEST_CLASS(MidiServiceTests) + TEST_CLASS_PROPERTY(L"TestClassification", L"Unit") + TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"Microsoft.Windows.Devices.Midi2.Service.dll") + END_TEST_CLASS() + + //TEST_CLASS_SETUP(ClassSetup); + //TEST_CLASS_CLEANUP(ClassCleanup); + + //TEST_METHOD_SETUP(TestSetup); + //TEST_METHOD_CLEANUP(TestCleanup); + + //Generic Tests + TEST_METHOD(TestEnsureServiceAvailable); + + +private: + + +}; + diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Module.cpp b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Module.cpp new file mode 100644 index 000000000..1e154fab7 --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/Module.cpp @@ -0,0 +1,9 @@ +#include "stdafx.h" + +MODULE_SETUP(ModuleSetup); +bool ModuleSetup() +{ + winrt::init_apartment(); + return true; +} + diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/packages.config b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/packages.config new file mode 100644 index 000000000..7b7f4f96c --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/app-sdk/tests/Midi2.Sdk.Service.unittests/stdafx.h b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/stdafx.h new file mode 100644 index 000000000..743f6b25d --- /dev/null +++ b/src/app-sdk/tests/Midi2.Sdk.Service.unittests/stdafx.h @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +#pragma once + +#ifndef STDAFX_H +#define STDAFX_H + +#include + +#include +#include +#include + +#include +#include + +using namespace winrt::Microsoft::Windows::Devices::Midi2; +using namespace winrt::Microsoft::Windows::Devices::Midi2::Service; + +#include + +#include +#include +#include +#include +#include +#include +#include "loopback_ids.h" +#include "MidiDefs.h" + + +#include "MidiServiceTests.h" + +#ifndef LOG_OUTPUT +#define LOG_OUTPUT(fmt, ...) WEX::Logging::Log::Comment(WEX::Common::String().Format(fmt, __VA_ARGS__)) +#endif + +#endif \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/UndockedRegFreeWinRT.vcxproj b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/UndockedRegFreeWinRT.vcxproj new file mode 100644 index 000000000..53e09b664 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/UndockedRegFreeWinRT.vcxproj @@ -0,0 +1,293 @@ + + + + + Debug + ARM64 + + + Debug + ARM64EC + + + Release + ARM64 + + + Release + ARM64EC + + + Debug + x64 + + + Release + x64 + + + + 16.0 + {31ED69A8-5310-45A9-953F-56C351D2C3E1} + Win32Proj + UndockedRegFreeWinRT + 10.0 + + + + StaticLibrary + true + Unicode + v143 + + + StaticLibrary + true + Unicode + v143 + + + StaticLibrary + true + Unicode + v143 + + + StaticLibrary + false + true + Unicode + v143 + + + StaticLibrary + false + true + Unicode + v143 + + + StaticLibrary + false + true + Unicode + v143 + + + + + + + + + + + + + + + + + + + + + + + + + + + winrtact + true + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + + + winrtact + true + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + + + winrtact + true + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + + + winrtact + false + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + + + winrtact + false + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + + + winrtact + false + $(SolutionDir)vsfiles\out\$(ProjectName)\$(Platform)\$(Configuration)\ + $(SolutionDir)vsfiles\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\ + + + + NotUsing + Level3 + true + _DEBUG;UNDOCKEDREGFREEWINRT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + pch.h + $(PorjectDir)\..\detours\include;%(AdditionalUsingDirectories) + stdcpp20 + + + Windows + true + false + comsuppw.lib;shlwapi.lib;xmllite.lib;runtimeobject.lib;Pathcch.lib;Rometadata.lib;detours.lib + winrtact.def + $(SolutionDir)vsfiles\out\sdk\$(Platform)\$(Configuration)\ + + + + + NotUsing + Level3 + true + _DEBUG;UNDOCKEDREGFREEWINRT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + pch.h + $(PorjectDir)\..\detours\include;%(AdditionalUsingDirectories) + stdcpp20 + + + Windows + true + false + comsuppw.lib;shlwapi.lib;xmllite.lib;runtimeobject.lib;Pathcch.lib;Rometadata.lib;detours.lib + winrtact.def + $(SolutionDir)vsfiles\out\sdk\$(Platform)\$(Configuration)\ + + + + + NotUsing + Level3 + true + _DEBUG;UNDOCKEDREGFREEWINRT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + pch.h + $(PorjectDir)\..\detours\include;%(AdditionalUsingDirectories) + stdcpp20 + + + Windows + true + false + comsuppw.lib;shlwapi.lib;xmllite.lib;runtimeobject.lib;Pathcch.lib;Rometadata.lib;detours.lib + winrtact.def + $(SolutionDir)vsfiles\out\sdk\$(Platform)\$(Configuration)\ + + + + + NotUsing + Level3 + true + true + true + NDEBUG;UNDOCKEDREGFREEWINRT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + pch.h + $(PorjectDir)\..\detours\include;%(AdditionalUsingDirectories) + stdcpp20 + + + Windows + true + true + true + false + comsuppw.lib;shlwapi.lib;xmllite.lib;runtimeobject.lib;Pathcch.lib;Rometadata.lib;detours.lib + winrtact.def + $(SolutionDir)vsfiles\out\sdk\$(Platform)\$(Configuration)\ + + + + + NotUsing + Level3 + true + true + true + NDEBUG;UNDOCKEDREGFREEWINRT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + pch.h + $(PorjectDir)\..\detours\include;%(AdditionalUsingDirectories) + stdcpp20 + + + Windows + true + true + true + false + comsuppw.lib;shlwapi.lib;xmllite.lib;runtimeobject.lib;Pathcch.lib;Rometadata.lib;detours.lib + winrtact.def + $(SolutionDir)vsfiles\out\sdk\$(Platform)\$(Configuration)\ + + + + + NotUsing + Level3 + true + true + true + NDEBUG;UNDOCKEDREGFREEWINRT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + pch.h + $(PorjectDir)\..\detours\include;%(AdditionalUsingDirectories) + stdcpp20 + + + Windows + true + true + true + false + comsuppw.lib;shlwapi.lib;xmllite.lib;runtimeobject.lib;Pathcch.lib;Rometadata.lib;detours.lib + winrtact.def + $(SolutionDir)vsfiles\out\sdk\$(Platform)\$(Configuration)\ + + + + + + + + + + + + + + + + + + + + + + + + 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/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/UndockedRegFreeWinRT.vcxproj.filters b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/UndockedRegFreeWinRT.vcxproj.filters new file mode 100644 index 000000000..e4ca38fea --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/UndockedRegFreeWinRT.vcxproj.filters @@ -0,0 +1,49 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + Source Files + + + + + + Source Files + + + Source Files + + + Header Files + + + Source Files + + + + + Header Files + + + Header Files + + + + + + \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/catalog.cpp b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/catalog.cpp new file mode 100644 index 000000000..9542e29c6 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/catalog.cpp @@ -0,0 +1,414 @@ +// 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 +// ============================================================================ +// This file modified from +// https://github.com/microsoft/xlang/tree/master/src/UndockedRegFreeWinRT + +#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "catalog.h" +#include "TypeResolution.h" + +using namespace std; +using namespace Microsoft::WRL; +using namespace Microsoft::WRL::Wrappers; + +// TODO: Components won't respect COM lifetime. workaround to get them in the COM list? + +extern "C" +{ + typedef HRESULT(__stdcall* activation_factory_type)(HSTRING, IActivationFactory**); +} + +// Intentionally no class factory cache here. That would be excessive since +// other layers already cache. +struct component +{ + wstring module_name; + wstring xmlns; + HMODULE handle = nullptr; + activation_factory_type get_activation_factory{}; + ABI::Windows::Foundation::ThreadingType threading_model{ ABI::Windows::Foundation::ThreadingType::ThreadingType_BOTH }; + + ~component() + { + if (handle) + { + FreeLibrary(handle); + } + } + + HRESULT LoadModule() + { + if (handle == nullptr) + { + handle = LoadLibraryExW(module_name.c_str(), nullptr, LOAD_WITH_ALTERED_SEARCH_PATH); + if (handle == nullptr) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + this->get_activation_factory = (activation_factory_type)GetProcAddress(handle, "DllGetActivationFactory"); + if (this->get_activation_factory == nullptr) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + } + return (handle != nullptr && this->get_activation_factory != nullptr) ? S_OK : E_FAIL; + } + + HRESULT GetActivationFactory(HSTRING className, REFIID iid, void** factory) + { + RETURN_IF_FAILED(LoadModule()); + + IActivationFactory* ifactory = nullptr; + HRESULT hr = this->get_activation_factory(className, &ifactory); + // optimize for IActivationFactory? + if (SUCCEEDED(hr)) + { + hr = ifactory->QueryInterface(iid, factory); + ifactory->Release(); + } + return hr; + } +}; + +static unordered_map> g_types; + +void wstr_tolower(std::wstring& s) { + std::transform(s.begin(), s.end(), s.begin(), + [](unsigned char c) { return std::tolower(c); } // correct + ); +} + +HRESULT LoadManifestFromPath(std::wstring path) +{ + if (path.size() < 4) + { + return COR_E_ARGUMENT; + } + std::wstring ext(path.substr(path.size() - 4, path.size())); + wstr_tolower(ext); + if (ext.compare(L".exe") == 0 || ext.compare(L".dll") == 0) + { + return LoadFromEmbeddedManifest(path.c_str()); + } + else + { + return LoadFromSxSManifest(path.c_str()); + } +} + +HRESULT LoadFromSxSManifest(PCWSTR path) +{ + return WinRTLoadComponentFromFilePath(path); +} + +HRESULT LoadFromEmbeddedManifest(PCWSTR path) +{ + wil::unique_hmodule handle(LoadLibraryExW(path, nullptr, LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE)); + RETURN_HR_IF(HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), !handle); + + // Try both just to be on the safe side + HRSRC hrsc = FindResourceW(handle.get(), MAKEINTRESOURCEW(1), RT_MANIFEST); + if (!hrsc) + { + hrsc = FindResourceW(handle.get(), MAKEINTRESOURCEW(2), RT_MANIFEST); + RETURN_HR_IF(HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), !hrsc); + } + HGLOBAL embeddedManifest = LoadResource(handle.get(), hrsc); + RETURN_HR_IF(HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), !embeddedManifest); + + DWORD length = SizeofResource(handle.get(), hrsc); + void* data = LockResource(embeddedManifest); + RETURN_HR_IF(HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), !data); + + return WinRTLoadComponentFromString(std::string_view((char*)data, length)); +} + +HRESULT WinRTLoadComponentFromFilePath(PCWSTR manifestPath) +{ + ComPtr fileStream; + RETURN_IF_FAILED(SHCreateStreamOnFileEx(manifestPath, STGM_READ, FILE_ATTRIBUTE_NORMAL, false, nullptr, &fileStream)); + try + { + return ParseRootManifestFromXmlReaderInput(fileStream.Get()); + } + catch(...) + { + LOG_CAUGHT_EXCEPTION(); + return ERROR_SXS_MANIFEST_PARSE_ERROR; + } +} + +HRESULT WinRTLoadComponentFromString(std::string_view xmlStringValue) +{ + ComPtr xmlStream = nullptr; + xmlStream.Attach(SHCreateMemStream(reinterpret_cast(xmlStringValue.data()), (UINT)strlen(xmlStringValue.data()) * (UINT)sizeof(CHAR))); + RETURN_HR_IF_NULL(E_OUTOFMEMORY, xmlStream); + ComPtr xmlReaderInput; + RETURN_IF_FAILED(CreateXmlReaderInputWithEncodingName(xmlStream.Get(), nullptr, L"utf-8", FALSE, nullptr, &xmlReaderInput)); + try + { + return ParseRootManifestFromXmlReaderInput(xmlReaderInput.Get()); + } + catch (...) + { + LOG_CAUGHT_EXCEPTION(); + return ERROR_SXS_MANIFEST_PARSE_ERROR; + } +} + +HRESULT ParseRootManifestFromXmlReaderInput(IUnknown* input) +{ + XmlNodeType nodeType; + PCWSTR localName = nullptr; + auto locale = _create_locale(LC_ALL, "C"); + ComPtr xmlReader; + RETURN_IF_FAILED(CreateXmlReader(__uuidof(IXmlReader), (void**)&xmlReader, nullptr)); + RETURN_IF_FAILED(xmlReader->SetInput(input)); + while (S_OK == xmlReader->Read(&nodeType)) + { + if (nodeType == XmlNodeType_Element) + { +#pragma warning (disable:6387) + RETURN_IF_FAILED((xmlReader->GetLocalName(&localName, nullptr))); + + if (_wcsicmp_l(localName, L"file", locale) == 0) + { + RETURN_IF_FAILED(ParseFileTag(xmlReader)); + } + +#pragma warning (default:6387) + } + } + + return S_OK; +} + +HRESULT ParseFileTag(ComPtr xmlReader) +{ + HRESULT hr = S_OK; + XmlNodeType nodeType; + PCWSTR localName = nullptr; + wstring fileName; + + { + PCWSTR fileNameStr = nullptr; + hr = xmlReader->MoveToAttributeByName(L"name", nullptr); + RETURN_HR_IF(HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR), hr != S_OK); + RETURN_IF_FAILED(xmlReader->GetValue(&fileNameStr, nullptr)); + RETURN_HR_IF(HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR), fileNameStr == nullptr || !fileNameStr[0]); + + fileName = fileNameStr; + } + + auto locale = _create_locale(LC_ALL, "C"); + while (S_OK == xmlReader->Read(&nodeType)) + { + if (nodeType == XmlNodeType_Element) + { + RETURN_IF_FAILED(xmlReader->GetLocalName(&localName, nullptr)); + if (localName != nullptr && _wcsicmp_l(localName, L"activatableClass", locale) == 0) + { + RETURN_IF_FAILED(ParseActivatableClassTag(xmlReader, fileName.c_str())); + } + } + else if (nodeType == XmlNodeType_EndElement) + { + RETURN_IF_FAILED(xmlReader->GetLocalName(&localName, nullptr)); + RETURN_HR_IF(S_OK, localName != nullptr && _wcsicmp_l(localName, L"file", locale) == 0); + } + } + return S_OK; +} + +HRESULT ParseActivatableClassTag(ComPtr xmlReader, PCWSTR fileName) +{ + PCWSTR localName = nullptr; + auto locale = _create_locale(LC_ALL, "C"); + auto this_component = make_shared(); + this_component->module_name = fileName; + HRESULT hr = xmlReader->MoveToFirstAttribute(); + // Using this pattern intead of calling multiple MoveToAttributeByName improves performance + const WCHAR* activatableClass = nullptr; + const WCHAR* threadingModel = nullptr; + const WCHAR* xmlns = nullptr; + if (S_FALSE == hr) + { + return HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR); + } + else + { + while (TRUE) + { + const WCHAR* pwszLocalName; + const WCHAR* pwszValue; + if (FAILED_LOG(xmlReader->GetLocalName(&pwszLocalName, NULL))) + { + return HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR); + } + if (FAILED_LOG(xmlReader->GetValue(&pwszValue, NULL))) + { + return HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR); + } + if (pwszLocalName != nullptr) + { + if (_wcsicmp_l(L"threadingModel", pwszLocalName, locale) == 0) + { + threadingModel = pwszValue; + } + else if (_wcsicmp_l(L"name", pwszLocalName, locale) == 0) + { + activatableClass = pwszValue; + } + else if (_wcsicmp_l(L"xmlns", pwszLocalName, locale) == 0) + { + xmlns = pwszValue; + } + } + if (xmlReader->MoveToNextAttribute() != S_OK) + { + break; + } + } + } + if (threadingModel == nullptr) + { + return HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR); + } + if (_wcsicmp_l(L"sta", threadingModel, locale) == 0) + { + this_component->threading_model = ABI::Windows::Foundation::ThreadingType::ThreadingType_STA; + } + else if (_wcsicmp_l(L"mta", threadingModel, locale) == 0) + { + this_component->threading_model = ABI::Windows::Foundation::ThreadingType::ThreadingType_MTA; + } + else if (_wcsicmp_l(L"both", threadingModel, locale) == 0) + { + this_component->threading_model = ABI::Windows::Foundation::ThreadingType::ThreadingType_BOTH; + } + else + { + return HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR); + } + + if (activatableClass == nullptr || !activatableClass[0]) + { + return HRESULT_FROM_WIN32(ERROR_SXS_MANIFEST_PARSE_ERROR); + } + this_component->xmlns = xmlns; // Should we care if this value is blank or missing? + // Check for duplicate activatable classes + auto component_iter = g_types.find(activatableClass); + if (component_iter != g_types.end()) + { + return HRESULT_FROM_WIN32(ERROR_SXS_DUPLICATE_ACTIVATABLE_CLASS); + } + g_types[activatableClass] = this_component; + return S_OK; +} + +HRESULT WinRTGetThreadingModel(HSTRING activatableClassId, ABI::Windows::Foundation::ThreadingType* threading_model) +{ + auto raw_class_name = WindowsGetStringRawBuffer(activatableClassId, nullptr); + auto component_iter = g_types.find(raw_class_name); + if (component_iter != g_types.end()) + { + *threading_model = component_iter->second->threading_model; + return S_OK; + } + return REGDB_E_CLASSNOTREG; +} + +HRESULT WinRTGetActivationFactory( + HSTRING activatableClassId, + REFIID iid, + void** factory) +{ + auto raw_class_name = WindowsGetStringRawBuffer(activatableClassId, nullptr); + auto component_iter = g_types.find(raw_class_name); + if (component_iter != g_types.end()) + { + return component_iter->second->GetActivationFactory(activatableClassId, iid, factory); + } + return REGDB_E_CLASSNOTREG; +} + +HRESULT WinRTGetMetadataFile( + const HSTRING name, + IMetaDataDispenserEx* metaDataDispenser, + HSTRING* metaDataFilePath, + IMetaDataImport2** metaDataImport, + mdTypeDef* typeDefToken) +{ + wchar_t folderPrefix[9]; + PCWSTR pszFullName = WindowsGetStringRawBuffer(name, nullptr); + HRESULT hr = StringCchCopyW(folderPrefix, _countof(folderPrefix), pszFullName); + if (hr != S_OK && hr != STRSAFE_E_INSUFFICIENT_BUFFER) + { + return hr; + } + if (CompareStringOrdinal(folderPrefix, -1, L"Windows.", -1, false) == CSTR_EQUAL) + { + return RO_E_METADATA_NAME_NOT_FOUND; + } + + if (metaDataFilePath != nullptr) + { + *metaDataFilePath = nullptr; + } + if (metaDataImport != nullptr) + { + *metaDataImport = nullptr; + } + if (typeDefToken != nullptr) + { + *typeDefToken = mdTypeDefNil; + } + + if (((metaDataImport == nullptr) && (typeDefToken != nullptr)) || + ((metaDataImport != nullptr) && (typeDefToken == nullptr))) + { + return E_INVALIDARG; + } + + ComPtr spMetaDataDispenser; + // The API uses the caller's passed-in metadata dispenser. If null, it + // will create an instance of the metadata reader to dispense metadata files. + if (metaDataDispenser == nullptr) + { + RETURN_IF_FAILED(MetaDataGetDispenser(CLSID_CorMetaDataDispenser, + IID_IMetaDataDispenser, + &spMetaDataDispenser)); + { + variant_t version{ L"WindowsRuntime 1.4" }; + RETURN_IF_FAILED(spMetaDataDispenser->SetOption(MetaDataRuntimeVersion, &version.GetVARIANT())); + } + } + return UndockedRegFreeWinRT::ResolveThirdPartyType( + spMetaDataDispenser.Get(), + pszFullName, + metaDataFilePath, + metaDataImport, + typeDefToken); +} \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/catalog.h b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/catalog.h new file mode 100644 index 000000000..9d32efb8e --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/catalog.h @@ -0,0 +1,52 @@ +// 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 +// ============================================================================ +// This file modified from +// https://github.com/microsoft/xlang/tree/master/src/UndockedRegFreeWinRT + + +#include +#include +#include +#include +#include +#include + +#include "wil/result.h" +#include "wil/resource.h" + +HRESULT LoadManifestFromPath(std::wstring path); + +HRESULT LoadFromSxSManifest(PCWSTR path); + +HRESULT LoadFromEmbeddedManifest(PCWSTR path); + +HRESULT WinRTLoadComponentFromFilePath(PCWSTR manifestPath); + +HRESULT WinRTLoadComponentFromString(std::string_view xmlStringValue); + +HRESULT ParseRootManifestFromXmlReaderInput(IUnknown* pInput); + +HRESULT ParseFileTag(Microsoft::WRL::ComPtr xmlReader); + +HRESULT ParseActivatableClassTag(Microsoft::WRL::ComPtr xmlReader, PCWSTR fileName); + +HRESULT WinRTGetThreadingModel( + HSTRING activatableClassId, + ABI::Windows::Foundation::ThreadingType* threading_model); + +HRESULT WinRTGetActivationFactory( + HSTRING activatableClassId, + REFIID iid, + void** factory); + +HRESULT WinRTGetMetadataFile( + const HSTRING name, + IMetaDataDispenserEx* metaDataDispenser, + HSTRING* metaDataFilePath, + IMetaDataImport2** metaDataImport, + mdTypeDef* typeDefToken); \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/cpp.hint b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/cpp.hint new file mode 100644 index 000000000..6c174dd2b --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/cpp.hint @@ -0,0 +1,2 @@ +#define UNDOCKEDREGFREEWINRT_API __declspec(dllexport) +#define UNDOCKEDREGFREEWINRT_API __declspec(dllimport) diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/dllmain.cpp b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/dllmain.cpp new file mode 100644 index 000000000..abd66eed7 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/dllmain.cpp @@ -0,0 +1,488 @@ +// 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 +// ============================================================================ +// This file modified from +// https://github.com/microsoft/xlang/tree/master/src/UndockedRegFreeWinRT + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../detours/detours.h" +#include "catalog.h" +#include "extwinrt.h" +#include "TypeResolution.h" + +#define WIN1019H1_BLDNUM 18362 + +// Ensure that metadata resolution functions are imported so they can be detoured +extern "C" +{ + __declspec(dllimport) HRESULT WINAPI RoGetMetaDataFile( + const HSTRING name, + IMetaDataDispenserEx* metaDataDispenser, + HSTRING* metaDataFilePath, + IMetaDataImport2** metaDataImport, + mdTypeDef* typeDefToken); + + __declspec(dllimport) HRESULT WINAPI RoParseTypeName( + HSTRING typeName, + DWORD* partsCount, + HSTRING** typeNameParts); + + __declspec(dllimport) HRESULT WINAPI RoResolveNamespace( + const HSTRING name, + const HSTRING windowsMetaDataDir, + const DWORD packageGraphDirsCount, + const HSTRING* packageGraphDirs, + DWORD* metaDataFilePathsCount, + HSTRING** metaDataFilePaths, + DWORD* subNamespacesCount, + HSTRING** subNamespaces); + + __declspec(dllimport) HRESULT WINAPI RoIsApiContractPresent( + PCWSTR name, + UINT16 majorVersion, + UINT16 minorVersion, + BOOL* present); + + __declspec(dllimport) HRESULT WINAPI RoIsApiContractMajorVersionPresent( + PCWSTR name, + UINT16 majorVersion, + BOOL* present); +} + +static decltype(RoActivateInstance)* TrueRoActivateInstance = RoActivateInstance; +static decltype(RoGetActivationFactory)* TrueRoGetActivationFactory = RoGetActivationFactory; +static decltype(RoGetMetaDataFile)* TrueRoGetMetaDataFile = RoGetMetaDataFile; +static decltype(RoResolveNamespace)* TrueRoResolveNamespace = RoResolveNamespace; + +enum class ActivationLocation +{ + CurrentApartment, + CrossApartmentMTA +}; + +VERSIONHELPERAPI IsWindowsVersionOrGreaterEx(WORD wMajorVersion, WORD wMinorVersion, WORD wServicePackMajor, WORD wBuildNumber) +{ + OSVERSIONINFOEXW osvi = { sizeof(osvi) }; + DWORDLONG const dwlConditionMask = + VerSetConditionMask( + VerSetConditionMask( + VerSetConditionMask( + VerSetConditionMask( + 0, VER_MAJORVERSION, VER_GREATER_EQUAL), + VER_MINORVERSION, VER_GREATER_EQUAL), + VER_SERVICEPACKMAJOR, VER_GREATER_EQUAL), + VER_BUILDNUMBER, VER_GREATER_EQUAL); + + osvi.dwMajorVersion = wMajorVersion; + osvi.dwMinorVersion = wMinorVersion; + osvi.wServicePackMajor = wServicePackMajor; + osvi.dwBuildNumber = wBuildNumber; + + return VerifyVersionInfoW(&osvi, VER_MAJORVERSION | VER_MINORVERSION | VER_SERVICEPACKMAJOR | VER_BUILDNUMBER, dwlConditionMask) != FALSE; +} + +VERSIONHELPERAPI IsWindows1019H1OrGreater() +{ + return IsWindowsVersionOrGreaterEx(HIBYTE(_WIN32_WINNT_WIN10), LOBYTE(_WIN32_WINNT_WIN10), 0, WIN1019H1_BLDNUM); +} + +VOID CALLBACK EnsureMTAInitializedCallBack +( + PTP_CALLBACK_INSTANCE instance, + PVOID parameter, + PTP_WORK work +) +{ + Microsoft::WRL::ComPtr spThreadingInfo; + CoGetObjectContext(IID_PPV_ARGS(&spThreadingInfo)); +} + +/* +In the context callback call to the MTA apartment, there is a bug that prevents COM +from automatically initializing MTA remoting. It only allows NTA to be intialized +outside of the NTA and blocks all others. The workaround for this is to spin up another +thread that is not been CoInitialize. COM treats this thread as a implicit MTA and +when we call CoGetObjectContext on it we implicitily initialized the MTA. +*/ +HRESULT EnsureMTAInitialized() +{ + TP_CALLBACK_ENVIRON callBackEnviron; + InitializeThreadpoolEnvironment(&callBackEnviron); + PTP_POOL pool = CreateThreadpool(nullptr); + if (pool == nullptr) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + SetThreadpoolThreadMaximum(pool, 1); + if (!SetThreadpoolThreadMinimum(pool, 1)) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + PTP_CLEANUP_GROUP cleanupgroup = CreateThreadpoolCleanupGroup(); + if (cleanupgroup == nullptr) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + SetThreadpoolCallbackPool(&callBackEnviron, pool); + SetThreadpoolCallbackCleanupGroup(&callBackEnviron, + cleanupgroup, + nullptr); + PTP_WORK ensureMTAInitializedWork = CreateThreadpoolWork( + &EnsureMTAInitializedCallBack, + nullptr, + &callBackEnviron); + if (ensureMTAInitializedWork == nullptr) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + SubmitThreadpoolWork(ensureMTAInitializedWork); + CloseThreadpoolCleanupGroupMembers(cleanupgroup, + false, + nullptr); + return S_OK; +} + +HRESULT GetActivationLocation(HSTRING activatableClassId, ActivationLocation &activationLocation) +{ + APTTYPE aptType; + APTTYPEQUALIFIER aptQualifier; + RETURN_IF_FAILED(CoGetApartmentType(&aptType, &aptQualifier)); + + ABI::Windows::Foundation::ThreadingType threading_model; + RETURN_IF_FAILED(WinRTGetThreadingModel(activatableClassId, &threading_model)); //REGDB_E_CLASSNOTREG + switch (threading_model) + { + case ABI::Windows::Foundation::ThreadingType_BOTH: + activationLocation = ActivationLocation::CurrentApartment; + break; + case ABI::Windows::Foundation::ThreadingType_STA: + if (aptType == APTTYPE_MTA) + { + return RO_E_UNSUPPORTED_FROM_MTA; + } + else + { + activationLocation = ActivationLocation::CurrentApartment; + } + break; + case ABI::Windows::Foundation::ThreadingType_MTA: + if (aptType == APTTYPE_MTA) + { + activationLocation = ActivationLocation::CurrentApartment; + } + else + { + activationLocation = ActivationLocation::CrossApartmentMTA; + } + break; + } + return S_OK; +} + + +HRESULT WINAPI RoActivateInstanceDetour(HSTRING activatableClassId, IInspectable** instance) +{ + ActivationLocation location; + HRESULT hr = GetActivationLocation(activatableClassId, location); + if (hr == REGDB_E_CLASSNOTREG) + { + return TrueRoActivateInstance(activatableClassId, instance); + } + RETURN_IF_FAILED(hr); + + // Activate in current apartment + if (location == ActivationLocation::CurrentApartment) + { + Microsoft::WRL::ComPtr pFactory; + RETURN_IF_FAILED(WinRTGetActivationFactory(activatableClassId, __uuidof(IActivationFactory), (void**)&pFactory)); + return pFactory->ActivateInstance(instance); + } + + // Cross apartment MTA activation + struct CrossApartmentMTAActData { + HSTRING activatableClassId; + IStream *stream; + }; + + CrossApartmentMTAActData cbdata{ activatableClassId }; + CO_MTA_USAGE_COOKIE mtaUsageCookie; + RETURN_IF_FAILED(CoIncrementMTAUsage(&mtaUsageCookie)); + RETURN_IF_FAILED(EnsureMTAInitialized()); + Microsoft::WRL::ComPtr defaultContext; + ComCallData data; + data.pUserDefined = &cbdata; + RETURN_IF_FAILED(CoGetDefaultContext(APTTYPE_MTA, IID_PPV_ARGS(&defaultContext))); + RETURN_IF_FAILED(defaultContext->ContextCallback( + [](_In_ ComCallData* pComCallData) -> HRESULT + { + CrossApartmentMTAActData* data = reinterpret_cast(pComCallData->pUserDefined); + Microsoft::WRL::ComPtr instance; + Microsoft::WRL::ComPtr pFactory; + RETURN_IF_FAILED(WinRTGetActivationFactory(data->activatableClassId, __uuidof(IActivationFactory), (void**)&pFactory)); + RETURN_IF_FAILED(pFactory->ActivateInstance(&instance)); + RETURN_IF_FAILED(CoMarshalInterThreadInterfaceInStream(IID_IInspectable, instance.Get(), &data->stream)); + return S_OK; + }, + &data, IID_ICallbackWithNoReentrancyToApplicationSTA, 5, nullptr)); // 5 is meaningless. + RETURN_IF_FAILED(CoGetInterfaceAndReleaseStream(cbdata.stream, IID_IInspectable, (LPVOID*)instance)); + return S_OK; +} + +HRESULT WINAPI RoGetActivationFactoryDetour(HSTRING activatableClassId, REFIID iid, void** factory) +{ + ActivationLocation location; + HRESULT hr = GetActivationLocation(activatableClassId, location); + if (hr == REGDB_E_CLASSNOTREG) + { + return TrueRoGetActivationFactory(activatableClassId, iid, factory); + } + RETURN_IF_FAILED(hr); + + // Activate in current apartment + if (location == ActivationLocation::CurrentApartment) + { + RETURN_IF_FAILED(WinRTGetActivationFactory(activatableClassId, iid, factory)); + return S_OK; + } + // Cross apartment MTA activation + struct CrossApartmentMTAActData { + HSTRING activatableClassId; + IStream* stream; + }; + CrossApartmentMTAActData cbdata{ activatableClassId }; + CO_MTA_USAGE_COOKIE mtaUsageCookie; + RETURN_IF_FAILED(CoIncrementMTAUsage(&mtaUsageCookie)); + RETURN_IF_FAILED(EnsureMTAInitialized()); + Microsoft::WRL::ComPtr defaultContext; + ComCallData data; + data.pUserDefined = &cbdata; + RETURN_IF_FAILED(CoGetDefaultContext(APTTYPE_MTA, IID_PPV_ARGS(&defaultContext))); + defaultContext->ContextCallback( + [](_In_ ComCallData* pComCallData) -> HRESULT + { + CrossApartmentMTAActData* data = reinterpret_cast(pComCallData->pUserDefined); + Microsoft::WRL::ComPtr pFactory; + RETURN_IF_FAILED(WinRTGetActivationFactory(data->activatableClassId, __uuidof(IActivationFactory), (void**)&pFactory)); + RETURN_IF_FAILED(CoMarshalInterThreadInterfaceInStream(IID_IActivationFactory, pFactory.Get(), &data->stream)); + return S_OK; + }, + &data, IID_ICallbackWithNoReentrancyToApplicationSTA, 5, nullptr); // 5 is meaningless. + RETURN_IF_FAILED(CoGetInterfaceAndReleaseStream(cbdata.stream, IID_IActivationFactory, factory)); + return S_OK; +} + +HRESULT WINAPI RoGetMetaDataFileDetour( + const HSTRING name, + IMetaDataDispenserEx* metaDataDispenser, + HSTRING* metaDataFilePath, + IMetaDataImport2** metaDataImport, + mdTypeDef* typeDefToken) +{ + HRESULT hr = WinRTGetMetadataFile(name, metaDataDispenser, metaDataFilePath, metaDataImport, typeDefToken); + // Don't fallback on RO_E_METADATA_NAME_IS_NAMESPACE failure. This is the intended behavior for namespace names. + if (FAILED(hr) && hr != RO_E_METADATA_NAME_IS_NAMESPACE) + { + hr = TrueRoGetMetaDataFile(name, metaDataDispenser, metaDataFilePath, metaDataImport, typeDefToken); + } + return hr; +} + +HRESULT WINAPI RoResolveNamespaceDetour( + const HSTRING name, + const HSTRING windowsMetaDataDir, + const DWORD packageGraphDirsCount, + const HSTRING* packageGraphDirs, + DWORD* metaDataFilePathsCount, + HSTRING** metaDataFilePaths, + DWORD* subNamespacesCount, + HSTRING** subNamespaces) +{ + PCWSTR exeFilePath = nullptr; + UndockedRegFreeWinRT::GetProcessExeDir(&exeFilePath); + auto pathReference = Microsoft::WRL::Wrappers::HStringReference(exeFilePath); + HSTRING packageGraphDirectories[] = { pathReference.Get() }; + HRESULT hr = TrueRoResolveNamespace(name, pathReference.Get(), + ARRAYSIZE(packageGraphDirectories), packageGraphDirectories, + metaDataFilePathsCount, metaDataFilePaths, + subNamespacesCount, subNamespaces); + if (FAILED(hr)) + { + hr = TrueRoResolveNamespace(name, windowsMetaDataDir, + packageGraphDirsCount, packageGraphDirs, + metaDataFilePathsCount, metaDataFilePaths, + subNamespacesCount, subNamespaces); + } + return hr; +} + +HRESULT InstallHooks() +{ + // If this is loaded in a Detours helper process and not the actual process + // to be hooked, just return without performing any other operations. + if (DetourIsHelperProcess()) + return S_OK; + + DetourRestoreAfterWith(); + + RETURN_IF_WIN32_ERROR(DetourTransactionBegin()); + RETURN_IF_WIN32_ERROR(DetourUpdateThread(GetCurrentThread())); + RETURN_IF_WIN32_ERROR(DetourAttach(&(PVOID&)TrueRoActivateInstance, RoActivateInstanceDetour)); + RETURN_IF_WIN32_ERROR(DetourAttach(&(PVOID&)TrueRoGetActivationFactory, RoGetActivationFactoryDetour)); + RETURN_IF_WIN32_ERROR(DetourAttach(&(PVOID&)TrueRoGetMetaDataFile, RoGetMetaDataFileDetour)); + RETURN_IF_WIN32_ERROR(DetourAttach(&(PVOID&)TrueRoResolveNamespace, RoResolveNamespaceDetour)); + RETURN_IF_WIN32_ERROR(DetourTransactionCommit()); + return S_OK; +} + +void RemoveHooks() +{ + + DetourTransactionBegin(); + DetourUpdateThread(GetCurrentThread()); + DetourDetach(&(PVOID&)TrueRoActivateInstance, RoActivateInstanceDetour); + DetourDetach(&(PVOID&)TrueRoGetActivationFactory, RoGetActivationFactoryDetour); + DetourDetach(&(PVOID&)TrueRoGetMetaDataFile, RoGetMetaDataFileDetour); + DetourDetach(&(PVOID&)TrueRoResolveNamespace, RoResolveNamespaceDetour); + DetourTransactionCommit(); +} + +HRESULT ExtRoLoadCatalog() +{ + WCHAR filePath[MAX_PATH]; + if (!GetModuleFileNameW(nullptr, filePath, _countof(filePath))) + { + return HRESULT_FROM_WIN32(GetLastError()); + } + std::wstring manifestPath(filePath); + HANDLE hActCtx = INVALID_HANDLE_VALUE; + auto exit = wil::scope_exit([&] + { + if (hActCtx != INVALID_HANDLE_VALUE) + { + ReleaseActCtx(hActCtx); + } + }); + wil::unique_hmodule exeModule; + RETURN_IF_WIN32_BOOL_FALSE(GetModuleHandleExW(0, nullptr, &exeModule)); + ACTCTXW acw = { sizeof(acw) }; + acw.lpSource = manifestPath.c_str(); + acw.hModule = exeModule.get(); + acw.lpResourceName = MAKEINTRESOURCEW(1); + acw.dwFlags = ACTCTX_FLAG_HMODULE_VALID | ACTCTX_FLAG_RESOURCE_NAME_VALID; + + hActCtx = CreateActCtxW(&acw); + RETURN_LAST_ERROR_IF(!hActCtx); + if (hActCtx == INVALID_HANDLE_VALUE) + { + SetLastError(ERROR_OUTOFMEMORY); + return HRESULT_FROM_WIN32(GetLastError()); + } + + PACTIVATION_CONTEXT_DETAILED_INFORMATION actCtxInfo = nullptr; + SIZE_T bufferSize = 0; + (void)QueryActCtxW(0, + hActCtx, + nullptr, + ActivationContextDetailedInformation, + nullptr, + 0, + &bufferSize); + RETURN_HR_IF(HRESULT_FROM_WIN32(GetLastError()), bufferSize == 0); + auto actCtxInfoBuffer = std::make_unique(bufferSize); + actCtxInfo = reinterpret_cast(actCtxInfoBuffer.get()); + if (!actCtxInfo) + { + SetLastError(ERROR_OUTOFMEMORY); + return HRESULT_FROM_WIN32(GetLastError()); + } + + RETURN_IF_WIN32_BOOL_FALSE(QueryActCtxW(0, + hActCtx, + nullptr, + ActivationContextDetailedInformation, + actCtxInfo, + bufferSize, + nullptr)); + + for (DWORD index = 1; index <= actCtxInfo->ulAssemblyCount; index++) + { + bufferSize = 0; + PACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION asmInfo = nullptr; + (void)QueryActCtxW(0, + hActCtx, + &index, + AssemblyDetailedInformationInActivationContext, + nullptr, + 0, + &bufferSize); + RETURN_HR_IF(HRESULT_FROM_WIN32(GetLastError()), bufferSize == 0); + auto asmInfobuffer = std::make_unique(bufferSize); + asmInfo = reinterpret_cast(asmInfobuffer.get()); + if (!asmInfo) + { + SetLastError(ERROR_OUTOFMEMORY); + return HRESULT_FROM_WIN32(GetLastError()); + } + + RETURN_IF_WIN32_BOOL_FALSE(QueryActCtxW(0, + hActCtx, + &index, + AssemblyDetailedInformationInActivationContext, + asmInfo, + bufferSize, + nullptr)); + RETURN_IF_FAILED(LoadManifestFromPath(asmInfo->lpAssemblyManifestPath)); + } + return S_OK; +} + +BOOL WINAPI DllMain(HINSTANCE hmodule, DWORD reason, LPVOID /*lpvReserved*/) +{ + if (IsWindows1019H1OrGreater()) + return true; + + if (reason == DLL_PROCESS_ATTACH) + { + + DisableThreadLibraryCalls(hmodule); + + try + { + if (!SUCCEEDED(InstallHooks()) || !SUCCEEDED(ExtRoLoadCatalog())) + return false; + } + catch (...) + { + LOG_CAUGHT_EXCEPTION(); + return false; + } + } + + if (reason == DLL_PROCESS_DETACH) + { + RemoveHooks(); + } + + return true; +} + +extern "C" void WINAPI winrtact_Initialize() +{ + return; +} diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/extwinrt.h b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/extwinrt.h new file mode 100644 index 000000000..c243a73c8 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/extwinrt.h @@ -0,0 +1,14 @@ +// 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 +// ============================================================================ +// This file modified from +// https://github.com/microsoft/xlang/tree/master/src/UndockedRegFreeWinRT + +#pragma once + +HRESULT WINAPI RegFreeWinRTInitializeForTest(); +HRESULT WINAPI RegFreeWinRTUninitializeForTest(); \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/packages.config b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/packages.config new file mode 100644 index 000000000..09be25d9e --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/typeresolution.cpp b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/typeresolution.cpp new file mode 100644 index 000000000..41767e930 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/typeresolution.cpp @@ -0,0 +1,679 @@ +// 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 +// ============================================================================ +// This file modified from +// https://github.com/microsoft/xlang/tree/master/src/UndockedRegFreeWinRT + +#pragma once + +#include "TypeResolution.h" +#include "catalog.h" + +#define METADATA_FILE_EXTENSION L"winmd" +#define METADATA_FILE_PATH_FORMAT L"%s%s." METADATA_FILE_EXTENSION +#define METADATA_FILE_SEARCH_FORMAT L"%s%s*." METADATA_FILE_EXTENSION + +namespace UndockedRegFreeWinRT +{ + static const UINT32 g_uiMaxTypeName = 512; + static wil::unique_process_heap_string g_cachedProcessExeDir; + + BOOL CALLBACK GetProcessExeDirInitOnceCallback( + _Inout_ PINIT_ONCE, + _Inout_opt_ PVOID, + _Out_opt_ PVOID*) + { + wil::unique_process_heap_string localExePath; + HRESULT hr = wil::GetModuleFileNameW(nullptr, localExePath); + if (FAILED_LOG(hr)) + { + SetLastError(hr); + return FALSE; + } + + // Modify the retrieved string to truncate the actual exe name and leave the containing directory path. This API + // expects a buffer size including the terminating null, so add 1 to the string length. + hr = PathCchRemoveFileSpec(localExePath.get(), wcslen(localExePath.get()) + 1); + if (FAILED_LOG(hr)) + { + SetLastError(hr); + return FALSE; + } + + g_cachedProcessExeDir = std::move(localExePath); + return TRUE; + } + + // Returned string is cached globally, and should not be freed by the caller. + HRESULT GetProcessExeDir(PCWSTR* path) + { + *path = nullptr; + static INIT_ONCE ProcessExeDirInitOnce = INIT_ONCE_STATIC_INIT; + + RETURN_IF_WIN32_BOOL_FALSE(InitOnceExecuteOnce(&ProcessExeDirInitOnce, GetProcessExeDirInitOnceCallback, nullptr, nullptr)); + + // The cache has been successfully populated by the InitOnce, so we can just use it directly. + *path = g_cachedProcessExeDir.get(); + return S_OK; + } + + HRESULT FindTypeInMetaDataFile( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _In_ PCWSTR pszCandidateFilePath, + _In_ TYPE_RESOLUTION_OPTIONS resolutionOptions, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef) + { + HRESULT hr = S_OK; + Microsoft::WRL::ComPtr spMetaDataImport; + MetaDataImportersLRUCache* pMetaDataImporterCache = MetaDataImportersLRUCache::GetMetaDataImportersLRUCacheInstance(); + if (pMetaDataImporterCache != nullptr) + { + hr = pMetaDataImporterCache->GetMetaDataImporter( + pMetaDataDispenser, + pszCandidateFilePath, + &spMetaDataImport); + } + else + { + hr = E_OUTOFMEMORY; + } + + if (SUCCEEDED(hr)) + { + const size_t cFullName = wcslen(pszFullName); + wchar_t pszRetrievedName[g_uiMaxTypeName]; + HCORENUM hEnum = nullptr; + mdTypeDef rgTypeDefs[32]; + ULONG cTypeDefs; + DWORD dwTypeDefProps; + hr = RO_E_METADATA_NAME_NOT_FOUND; + + if (TRO_RESOLVE_TYPE & resolutionOptions) + { + hr = spMetaDataImport->FindTypeDefByName(pszFullName, mdTokenNil, &rgTypeDefs[0]); + if (SUCCEEDED(hr)) + { + // Check to confirm that the type we just found is a + // winrt type. If it is, we're good, otherwise we + // want to fail with RO_E_INVALID_METADATA_FILE. + hr = spMetaDataImport->GetTypeDefProps(rgTypeDefs[0], nullptr, 0, nullptr, &dwTypeDefProps, nullptr); + if (SUCCEEDED(hr)) + { + // If we found the type but it's not a winrt type, + // it's an error. + // + // If the type is public, than the metadata file + // is corrupt (all public types in a winrt file + // must be tdWindowsRuntime). If the type is + // private, then we just want to report that the + // type wasn't found. + if (!IsTdWindowsRuntime(dwTypeDefProps)) + { + if (IsTdPublic(dwTypeDefProps)) + { + hr = RO_E_INVALID_METADATA_FILE; + } + else + { + hr = RO_E_METADATA_NAME_NOT_FOUND; + } + } + } + else + { + hr = RO_E_INVALID_METADATA_FILE; + } + if (SUCCEEDED(hr)) + { + if (pmdTypeDef != nullptr) + { + *pmdTypeDef = rgTypeDefs[0]; + } + if (ppMetaDataImport != nullptr) + { + *ppMetaDataImport = spMetaDataImport.Detach(); + } + } + } + else if (hr == CLDB_E_RECORD_NOTFOUND) + { + hr = RO_E_METADATA_NAME_NOT_FOUND; + } + } + + if ((hr == RO_E_METADATA_NAME_NOT_FOUND) && + (TRO_RESOLVE_NAMESPACE & resolutionOptions)) + { + // Check whether the name is a namespace rather than a type. + do + { + hr = spMetaDataImport->EnumTypeDefs( + &hEnum, + rgTypeDefs, + ARRAYSIZE(rgTypeDefs), + &cTypeDefs); + + if (hr == S_OK) + { + for (UINT32 iTokenIndex = 0; iTokenIndex < cTypeDefs; ++iTokenIndex) + { + hr = spMetaDataImport->GetTypeDefProps( + rgTypeDefs[iTokenIndex], + pszRetrievedName, + ARRAYSIZE(pszRetrievedName), + nullptr, + &dwTypeDefProps, + nullptr); + + if (FAILED(hr)) + { + break; + } + + hr = RO_E_METADATA_NAME_NOT_FOUND; + + // Only consider windows runtime types when + // trying to determine if the name is a + // namespace. + if (IsTdWindowsRuntime(dwTypeDefProps) && (wcslen(pszRetrievedName) > cFullName)) + { + if ((wcsncmp(pszRetrievedName, pszFullName, cFullName) == 0) && + (pszRetrievedName[cFullName] == L'.')) + { + hr = RO_E_METADATA_NAME_IS_NAMESPACE; + break; + } + } + } + } + } while (hr == RO_E_METADATA_NAME_NOT_FOUND); + + // There were no more tokens to enumerate, but the type was still not found. + if (hr == S_FALSE) + { + hr = RO_E_METADATA_NAME_NOT_FOUND; + } + + if (hEnum != nullptr) + { + spMetaDataImport->CloseEnum(hEnum); + hEnum = nullptr; + } + } + } + return hr; + } + + HRESULT FindTypeInDirectory( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _In_ PCWSTR pszDirectoryPath, + _Out_opt_ HSTRING* phstrMetaDataFilePath, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef) + { + HRESULT hr; + + wchar_t szCandidateFilePath[MAX_PATH + 1] = { 0 }; + wchar_t szCandidateFileName[MAX_PATH + 1] = { 0 }; + PWSTR pszLastDot; + + hr = StringCchCopy(szCandidateFileName, ARRAYSIZE(szCandidateFileName), pszFullName); + + if (SUCCEEDED(hr)) + { + // To resolve type SomeNamespace.B.C, first check if SomeNamespace.B.C is a type or + // a namespace in the metadata files in the directory in this order: + // 1. SomeNamespace.B.C.WinMD + // 2. SomeNamespace.B.WinMD + // 3. SomeNamespace.WinMD + do + { + pszLastDot = nullptr; + + hr = StringCchPrintfEx( + szCandidateFilePath, + ARRAYSIZE(szCandidateFilePath), + nullptr, + nullptr, + 0, + METADATA_FILE_PATH_FORMAT, + pszDirectoryPath, + szCandidateFileName); + + if (SUCCEEDED(hr)) + { + hr = FindTypeInMetaDataFile( + pMetaDataDispenser, + pszFullName, + szCandidateFilePath, + TRO_RESOLVE_TYPE_AND_NAMESPACE, + ppMetaDataImport, + pmdTypeDef); + + if (SUCCEEDED(hr)) + { + if (phstrMetaDataFilePath != nullptr) + { + hr = WindowsCreateString( + szCandidateFilePath, + static_cast(wcslen(szCandidateFilePath)), + phstrMetaDataFilePath); + } + break; + } + } + + hr = RO_E_METADATA_NAME_NOT_FOUND; + pszLastDot = wcsrchr(szCandidateFileName, '.'); + + if (pszLastDot != nullptr) + { + *pszLastDot = '\0'; + } + } while (pszLastDot != nullptr); + + // If name was not found when searching in the "upward direction", then + // the name might be a namespace name in a down-level file. + if (hr == RO_E_METADATA_NAME_NOT_FOUND) + { + wchar_t szFilePathSearchTemplate[MAX_PATH + 1] = { 0 }; + + hr = StringCchPrintfEx( + szFilePathSearchTemplate, + ARRAYSIZE(szFilePathSearchTemplate), + nullptr, + nullptr, + 0, + METADATA_FILE_SEARCH_FORMAT, + pszDirectoryPath, + pszFullName); + + if (SUCCEEDED(hr)) + { + WIN32_FIND_DATA fd; + HANDLE hFindFile; + + // Search in all files in the directory whose name begin with the input string. + hFindFile = FindFirstFile(szFilePathSearchTemplate, &fd); + + if (hFindFile != INVALID_HANDLE_VALUE) + { + PWSTR pszFilePathPart; + size_t cchRemaining; + + do + { + if (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) + { + continue; + } + + pszFilePathPart = szCandidateFilePath; + cchRemaining = ARRAYSIZE(szCandidateFilePath); + hr = StringCchCopyEx( + pszFilePathPart, + cchRemaining, + pszDirectoryPath, + &pszFilePathPart, + &cchRemaining, + 0); + + if (SUCCEEDED(hr)) + { + hr = StringCchCopyEx( + pszFilePathPart, + cchRemaining, + fd.cFileName, + &pszFilePathPart, + &cchRemaining, + 0); + } + + if (SUCCEEDED(hr)) + { + hr = FindTypeInMetaDataFile( + pMetaDataDispenser, + pszFullName, + szCandidateFilePath, + TRO_RESOLVE_NAMESPACE, + ppMetaDataImport, + pmdTypeDef); + + if (hr == S_OK) + { + hr = E_UNEXPECTED; + break; + } + + if (hr == RO_E_METADATA_NAME_IS_NAMESPACE) + { + break; + } + } + } while (FindNextFile(hFindFile, &fd)); + + FindClose(hFindFile); + } + else + { + hr = RO_E_METADATA_NAME_NOT_FOUND; + } + } + } + } + + if (hr == STRSAFE_E_INSUFFICIENT_BUFFER) + { + hr = RO_E_METADATA_NAME_NOT_FOUND; + } + + return hr; + } + + HRESULT FindTypeInDirectoryWithNormalization( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _In_ PCWSTR pszDirectoryPath, + _Out_opt_ HSTRING* phstrMetaDataFilePath, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef) + { + wchar_t pszPackagePath[MAX_PATH + 1]; + PWSTR pszPackagePathWritePtr = pszPackagePath; + size_t cchPackagePathRemaining = ARRAYSIZE(pszPackagePath); + + HRESULT hr = StringCchCopyEx( + pszPackagePath, + ARRAYSIZE(pszPackagePath), + pszDirectoryPath, + &pszPackagePathWritePtr, + &cchPackagePathRemaining, + 0); + + if (SUCCEEDED(hr)) + { + // If the path is not terminated by a backslash, then append one. + if (pszPackagePath[ARRAYSIZE(pszPackagePath) - cchPackagePathRemaining - 1] != L'\\') + { + hr = StringCchCopyEx( + pszPackagePathWritePtr, + cchPackagePathRemaining, + L"\\", + &pszPackagePathWritePtr, + &cchPackagePathRemaining, + 0); + } + } + + if (SUCCEEDED(hr)) + { + hr = FindTypeInDirectory( + pMetaDataDispenser, + pszFullName, + pszPackagePath, + phstrMetaDataFilePath, + ppMetaDataImport, + pmdTypeDef); + } + + return hr; + } + + HRESULT ResolveThirdPartyType( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _Out_opt_ HSTRING* phstrMetaDataFilePath, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef) + { + HRESULT hr = S_OK; + UINT32 dwPackagesCount = 0; + UINT32 dwBufferLength = 0; + + const UINT32 filter = PACKAGE_FILTER_HEAD | PACKAGE_FILTER_DIRECT | PACKAGE_FILTER_IS_IN_RELATED_SET; + hr = HRESULT_FROM_WIN32(GetCurrentPackageInfo(filter, &dwBufferLength, nullptr, &dwPackagesCount)); + // Only find the type if the it is a unpacakged app. Packaged apps can have their exe on their package graph, + // which will allow type resolution against adjacent WinMDs. + if (hr == HRESULT_FROM_WIN32(APPMODEL_ERROR_NO_PACKAGE)) + { + PCWSTR exeDir = nullptr; // Never freed; owned by process global. + RETURN_IF_FAILED(GetProcessExeDir(&exeDir)); + + hr = FindTypeInDirectoryWithNormalization( + pMetaDataDispenser, + pszFullName, + exeDir, + phstrMetaDataFilePath, + ppMetaDataImport, + pmdTypeDef); + + if (hr == RO_E_METADATA_NAME_NOT_FOUND) + { + // For compatibility purposes, if we fail to find the type in the unpackaged location, we should return + // HRESULT_FROM_WIN32(APPMODEL_ERROR_NO_PACKAGE) instead of a "not found" error. This preserves the + // behavior that existed before unpackaged type resolution was implemented. + hr = HRESULT_FROM_WIN32(APPMODEL_ERROR_NO_PACKAGE); + } + return hr; + } + else + { + return RO_E_METADATA_NAME_NOT_FOUND; + } + } + + // + // MetaDataImportersLRUCache implementation + // + INIT_ONCE MetaDataImportersLRUCache::s_initOnce = INIT_ONCE_STATIC_INIT; + MetaDataImportersLRUCache* MetaDataImportersLRUCache::s_pMetaDataImportersLRUCacheInstance = nullptr; + + MetaDataImportersLRUCache* MetaDataImportersLRUCache::GetMetaDataImportersLRUCacheInstance() + { + BOOL fInitializationSucceeded = InitOnceExecuteOnce( + &s_initOnce, + ConstructLRUCacheIfNecessary, + nullptr, + nullptr); + + UNREFERENCED_PARAMETER(fInitializationSucceeded); + + return s_pMetaDataImportersLRUCacheInstance; + } + + // Called via InitOnceExecuteOnce. + BOOL CALLBACK MetaDataImportersLRUCache::ConstructLRUCacheIfNecessary( + PINIT_ONCE /*initOnce*/, + PVOID /*parameter*/, + PVOID* /*context*/) + { + HRESULT hr = S_OK; + + if (s_pMetaDataImportersLRUCacheInstance == nullptr) + { + s_pMetaDataImportersLRUCacheInstance = new MetaDataImportersLRUCache(); + + if (s_pMetaDataImportersLRUCacheInstance == nullptr) + { + hr = E_OUTOFMEMORY; + } + } + + return SUCCEEDED(hr); + } + + HRESULT MetaDataImportersLRUCache::GetMetaDataImporter( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszCandidateFilePath, + _Outptr_opt_ IMetaDataImport2** ppMetaDataImporter) + { + if (ppMetaDataImporter == nullptr) + { + return ERROR_BAD_ARGUMENTS; + } + + HRESULT hr = S_OK; + *ppMetaDataImporter = nullptr; + + EnterCriticalSection(&_csCacheLock); + + if (IsFilePathCached(pszCandidateFilePath)) + { + // Get metadata importer from cache. + *ppMetaDataImporter = _metadataImportersMap[pszCandidateFilePath]; + IMetaDataImport2* value = *ppMetaDataImporter; + if (value != nullptr) + { + value->AddRef(); + } + } + else + { + // Importer was not found in cache. + hr = GetNewMetaDataImporter( + pMetaDataDispenser, + pszCandidateFilePath, + ppMetaDataImporter); + } + + LeaveCriticalSection(&_csCacheLock); + + return hr; + } + + HRESULT MetaDataImportersLRUCache::GetNewMetaDataImporter( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszCandidateFilePath, + _Outptr_opt_ IMetaDataImport2** ppMetaDataImporter) + { + if (ppMetaDataImporter == nullptr) + { + return ERROR_BAD_ARGUMENTS; + } + + HRESULT hr; + + hr = pMetaDataDispenser->OpenScope( + pszCandidateFilePath, + ofReadOnly, + IID_IMetaDataImport2, + reinterpret_cast(ppMetaDataImporter)); + + if (SUCCEEDED(hr)) + { + _metadataImportersMap.emplace( + pszCandidateFilePath, + *ppMetaDataImporter); + IMetaDataImport2* value = *ppMetaDataImporter; + if (value != nullptr) + { + value->AddRef(); + } + } + + if (SUCCEEDED(hr)) + { + hr = AddNewFilePathToList(pszCandidateFilePath); + } + + return hr; + } + + HRESULT MetaDataImportersLRUCache::AddNewFilePathToList(PCWSTR pszFilePath) + { + HRESULT hr = RemoveLeastRecentlyUsedItemIfListIsFull(); + + if (SUCCEEDED(hr)) + { + // Make room for new element. + for (int i = g_dwMetaDataImportersLRUCacheSize - 2; i >= 0; i--) + { + _arFilePaths[i + 1] = _arFilePaths[i]; + } + + _arFilePaths[0] = AllocateAndCopyString(pszFilePath); + + if (_arFilePaths[0] == nullptr) + { + hr = E_OUTOFMEMORY; + } + } + + return hr; + } + + bool MetaDataImportersLRUCache::IsFilePathCached(PCWSTR pszFilePath) + { + int filePathIndex = GetFilePathIndex(pszFilePath); + + if (filePathIndex != -1) + { + MoveElementToFrontOfList(filePathIndex); + return true; + } + else + { + return false; + } + } + + int MetaDataImportersLRUCache::GetFilePathIndex(PCWSTR pszFilePath) + { + int filePathIndex = -1; + + for (int i = 0; (i < g_dwMetaDataImportersLRUCacheSize) && (_arFilePaths[i] != nullptr); i++) + { + if (wcscmp(pszFilePath, _arFilePaths[i]) == 0) + { + filePathIndex = i; + break; + } + } + + return filePathIndex; + } + + void MetaDataImportersLRUCache::MoveElementToFrontOfList(int elementIndex) + { + PWSTR pszFoundFilePath = _arFilePaths[elementIndex]; + + for (int i = elementIndex - 1; i >= 0; i--) + { + _arFilePaths[i + 1] = _arFilePaths[i]; + } + + _arFilePaths[0] = pszFoundFilePath; + } + + HRESULT MetaDataImportersLRUCache::RemoveLeastRecentlyUsedItemIfListIsFull() + { + HRESULT hr = S_OK; + PWSTR pszLastFilePathInList = _arFilePaths[g_dwMetaDataImportersLRUCacheSize - 1]; + + if (pszLastFilePathInList != nullptr) + { + IMetaDataImport2* value = _metadataImportersMap[pszLastFilePathInList]; + if (value != nullptr) + { + value->Release(); + value = nullptr; + } + if (!_metadataImportersMap.erase(pszLastFilePathInList)) + { + hr = E_UNEXPECTED; + } + + delete[] pszLastFilePathInList; + _arFilePaths[g_dwMetaDataImportersLRUCacheSize - 1] = nullptr; + } + + return hr; + } +} diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/typeresolution.h b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/typeresolution.h new file mode 100644 index 000000000..07271b42d --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/typeresolution.h @@ -0,0 +1,146 @@ +// 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 +// ============================================================================ +// This file modified from +// https://github.com/microsoft/xlang/tree/master/src/UndockedRegFreeWinRT + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace UndockedRegFreeWinRT +{ + typedef enum + { + TRO_NONE = 0x00, + TRO_RESOLVE_TYPE = 0x01, + TRO_RESOLVE_NAMESPACE = 0x02, + TRO_RESOLVE_TYPE_AND_NAMESPACE = TRO_RESOLVE_TYPE | TRO_RESOLVE_NAMESPACE + } TYPE_RESOLUTION_OPTIONS; + + // Returned string is cached globally, and should not be freed by the caller. + HRESULT GetProcessExeDir(PCWSTR* path); + + HRESULT FindTypeInMetaDataFile( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _In_ PCWSTR pszCandidateFilePath, + _In_ TYPE_RESOLUTION_OPTIONS resolutionOptions, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef); + + HRESULT FindTypeInDirectory( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _In_ PCWSTR pszDirectoryPath, + _Out_opt_ HSTRING* phstrMetaDataFilePath, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef); + + HRESULT FindTypeInDirectoryWithNormalization( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _In_ PCWSTR pszDirectoryPath, + _Out_opt_ HSTRING* phstrMetaDataFilePath, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef); + + HRESULT ResolveThirdPartyType( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszFullName, + _Out_opt_ HSTRING* phstrMetaDataFilePath, + _COM_Outptr_opt_result_maybenull_ IMetaDataImport2** ppMetaDataImport, + _Out_opt_ mdTypeDef* pmdTypeDef); + + inline PWSTR AllocateAndCopyString(_In_ PCWSTR pszKey) + { + size_t length = wcslen(pszKey); + PWSTR pszKeyCopy = nullptr; + + if (length <= MAX_PATH) + { + pszKeyCopy = new WCHAR[length + 1]; + if (pszKeyCopy != nullptr) + { + SUCCEEDED(StringCchCopyW(pszKeyCopy, length + 1, pszKey)); + } + } + + return pszKeyCopy; + } + + // + // Metada importers LRU cache. Singleton. + // + const DWORD g_dwMetaDataImportersLRUCacheSize = 5; + + class MetaDataImportersLRUCache + { + public: + static MetaDataImportersLRUCache* GetMetaDataImportersLRUCacheInstance(); + + HRESULT GetMetaDataImporter( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszCandidateFilePath, + _Outptr_opt_ IMetaDataImport2** ppMetaDataImporter); + + private: + MetaDataImportersLRUCache() + { + InitializeCriticalSection(&_csCacheLock); + ZeroMemory(_arFilePaths, sizeof(_arFilePaths)); + } + + ~MetaDataImportersLRUCache() + { + _metadataImportersMap.clear(); + for (int i = 0; i < g_dwMetaDataImportersLRUCacheSize; i++) + { + if (_arFilePaths[i] != nullptr) + { + delete[] _arFilePaths[i]; + _arFilePaths[i] = nullptr; + } + } + + DeleteCriticalSection(&_csCacheLock); + } + + static BOOL CALLBACK ConstructLRUCacheIfNecessary( + PINIT_ONCE /*initOnce*/, + PVOID /*parameter*/, + PVOID* /*context*/); + + HRESULT GetNewMetaDataImporter( + _In_ IMetaDataDispenserEx* pMetaDataDispenser, + _In_ PCWSTR pszCandidateFilePath, + _Outptr_opt_ IMetaDataImport2** ppMetaDataImporter); + + bool IsFilePathCached(PCWSTR pszFilePath); + int GetFilePathIndex(PCWSTR pszFilePath); + void MoveElementToFrontOfList(int elementIndex); + HRESULT AddNewFilePathToList(PCWSTR pszFilePath); + HRESULT RemoveLeastRecentlyUsedItemIfListIsFull(); + + static INIT_ONCE s_initOnce; + static MetaDataImportersLRUCache* s_pMetaDataImportersLRUCacheInstance; + std::unordered_map _metadataImportersMap; + PWSTR _arFilePaths[g_dwMetaDataImportersLRUCacheSize]; + CRITICAL_SECTION _csCacheLock; + }; +} \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/winrtact.def b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/winrtact.def new file mode 100644 index 000000000..3d1de7637 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/UndockedRegFreeWinRT/winrtact.def @@ -0,0 +1,4 @@ +LIBRARY winrtact + +EXPORTS + winrtact_Initialize \ No newline at end of file diff --git a/src/app-sdk/undocked-reg-free-winrt/detours/creatwth.cpp b/src/app-sdk/undocked-reg-free-winrt/detours/creatwth.cpp new file mode 100644 index 000000000..300bb2c87 --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/detours/creatwth.cpp @@ -0,0 +1,1567 @@ +////////////////////////////////////////////////////////////////////////////// +// +// Create a process with a DLL (creatwth.cpp of detours.lib) +// +// Microsoft Research Detours Package, Version 4.0.1 +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + +// #define DETOUR_DEBUG 1 +#define DETOURS_INTERNAL +#include "detours.h" +#include + +#if DETOURS_VERSION != 0x4c0c1 // 0xMAJORcMINORcPATCH +#error detours.h version mismatch +#endif + +#define IMPORT_DIRECTORY OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT] +#define BOUND_DIRECTORY OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT] +#define CLR_DIRECTORY OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR] +#define IAT_DIRECTORY OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IAT] + +////////////////////////////////////////////////////////////////////////////// +// +const GUID DETOUR_EXE_HELPER_GUID = { /* ea0251b9-5cde-41b5-98d0-2af4a26b0fee */ + 0xea0251b9, 0x5cde, 0x41b5, + { 0x98, 0xd0, 0x2a, 0xf4, 0xa2, 0x6b, 0x0f, 0xee }}; + +////////////////////////////////////////////////////////////////////////////// +// +// Enumate through modules in the target process. +// +static BOOL WINAPI LoadNtHeaderFromProcess(HANDLE hProcess, + HMODULE hModule, + PIMAGE_NT_HEADERS32 pNtHeader) +{ + PBYTE pbModule = (PBYTE)hModule; + + if (pbModule == NULL) { + SetLastError(ERROR_INVALID_PARAMETER); + return FALSE; + } + + MEMORY_BASIC_INFORMATION mbi; + ZeroMemory(&mbi, sizeof(mbi)); + + if (VirtualQueryEx(hProcess, hModule, &mbi, sizeof(mbi)) == 0) { + return FALSE; + } + + IMAGE_DOS_HEADER idh; + + if (!ReadProcessMemory(hProcess, pbModule, &idh, sizeof(idh), NULL)) { + DETOUR_TRACE(("ReadProcessMemory(idh@%p..%p) failed: %d\n", + pbModule, pbModule + sizeof(idh), GetLastError())); + return FALSE; + } + + if (idh.e_magic != IMAGE_DOS_SIGNATURE || + (DWORD)idh.e_lfanew > mbi.RegionSize || + (DWORD)idh.e_lfanew < sizeof(idh)) { + + SetLastError(ERROR_BAD_EXE_FORMAT); + return FALSE; + } + + if (!ReadProcessMemory(hProcess, pbModule + idh.e_lfanew, + pNtHeader, sizeof(*pNtHeader), NULL)) { + DETOUR_TRACE(("ReadProcessMemory(inh@%p..%p:%p) failed: %d\n", + pbModule + idh.e_lfanew, + pbModule + idh.e_lfanew + sizeof(*pNtHeader), + pbModule, + GetLastError())); + return FALSE; + } + + if (pNtHeader->Signature != IMAGE_NT_SIGNATURE) { + SetLastError(ERROR_BAD_EXE_FORMAT); + return FALSE; + } + + return TRUE; +} + +static HMODULE WINAPI EnumerateModulesInProcess(HANDLE hProcess, + HMODULE hModuleLast, + PIMAGE_NT_HEADERS32 pNtHeader) +{ + PBYTE pbLast = (PBYTE)hModuleLast + MM_ALLOCATION_GRANULARITY; + + MEMORY_BASIC_INFORMATION mbi; + ZeroMemory(&mbi, sizeof(mbi)); + + // Find the next memory region that contains a mapped PE image. + // + + for (;; pbLast = (PBYTE)mbi.BaseAddress + mbi.RegionSize) { + if (VirtualQueryEx(hProcess, (PVOID)pbLast, &mbi, sizeof(mbi)) == 0) { + break; + } + + // Usermode address space has such an unaligned region size always at the + // end and only at the end. + // + if ((mbi.RegionSize & 0xfff) == 0xfff) { + break; + } + if (((PBYTE)mbi.BaseAddress + mbi.RegionSize) < pbLast) { + break; + } + + // Skip uncommitted regions and guard pages. + // + if ((mbi.State != MEM_COMMIT) || + ((mbi.Protect & 0xff) == PAGE_NOACCESS) || + (mbi.Protect & PAGE_GUARD)) { + continue; + } + + if (LoadNtHeaderFromProcess(hProcess, (HMODULE)pbLast, pNtHeader)) { + return (HMODULE)pbLast; + } + } + return NULL; +} + +////////////////////////////////////////////////////////////////////////////// +// +// Find a region of memory in which we can create a replacement import table. +// +static PBYTE FindAndAllocateNearBase(HANDLE hProcess, PBYTE pbModule, PBYTE pbBase, DWORD cbAlloc) +{ + MEMORY_BASIC_INFORMATION mbi; + ZeroMemory(&mbi, sizeof(mbi)); + + PBYTE pbLast = pbBase; + for (;; pbLast = (PBYTE)mbi.BaseAddress + mbi.RegionSize) { + + ZeroMemory(&mbi, sizeof(mbi)); + if (VirtualQueryEx(hProcess, (PVOID)pbLast, &mbi, sizeof(mbi)) == 0) { + if (GetLastError() == ERROR_INVALID_PARAMETER) { + break; + } + DETOUR_TRACE(("VirtualQueryEx(%p) failed: %d\n", + pbLast, GetLastError())); + break; + } + // Usermode address space has such an unaligned region size always at the + // end and only at the end. + // + if ((mbi.RegionSize & 0xfff) == 0xfff) { + break; + } + + // Skip anything other than a pure free region. + // + if (mbi.State != MEM_FREE) { + continue; + } + + // Use the max of mbi.BaseAddress and pbBase, in case mbi.BaseAddress < pbBase. + PBYTE pbAddress = (PBYTE)mbi.BaseAddress > pbBase ? (PBYTE)mbi.BaseAddress : pbBase; + + // Round pbAddress up to the nearest MM allocation boundary. + const DWORD_PTR mmGranularityMinusOne = (DWORD_PTR)(MM_ALLOCATION_GRANULARITY -1); + pbAddress = (PBYTE)(((DWORD_PTR)pbAddress + mmGranularityMinusOne) & ~mmGranularityMinusOne); + +#ifdef _WIN64 + // The offset from pbModule to any replacement import must fit into 32 bits. + // For simplicity, we check that the offset to the last byte fits into 32 bits, + // instead of the largest offset we'll actually use. The values are very similar. + const size_t GB4 = ((((size_t)1) << 32) - 1); + if ((size_t)(pbAddress + cbAlloc - 1 - pbModule) > GB4) { + DETOUR_TRACE(("FindAndAllocateNearBase(1) failing due to distance >4GB %p\n", pbAddress)); + return NULL; + } +#else + UNREFERENCED_PARAMETER(pbModule); +#endif + + DETOUR_TRACE(("Free region %p..%p\n", + mbi.BaseAddress, + (PBYTE)mbi.BaseAddress + mbi.RegionSize)); + + for (; pbAddress < (PBYTE)mbi.BaseAddress + mbi.RegionSize; pbAddress += MM_ALLOCATION_GRANULARITY) { + PBYTE pbAlloc = (PBYTE)VirtualAllocEx(hProcess, pbAddress, cbAlloc, + MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); + if (pbAlloc == NULL) { + DETOUR_TRACE(("VirtualAllocEx(%p) failed: %d\n", pbAddress, GetLastError())); + continue; + } +#ifdef _WIN64 + // The offset from pbModule to any replacement import must fit into 32 bits. + if ((size_t)(pbAddress + cbAlloc - 1 - pbModule) > GB4) { + DETOUR_TRACE(("FindAndAllocateNearBase(2) failing due to distance >4GB %p\n", pbAddress)); + return NULL; + } +#endif + DETOUR_TRACE(("[%p..%p] Allocated for import table.\n", + pbAlloc, pbAlloc + cbAlloc)); + return pbAlloc; + } + } + return NULL; +} + +static inline DWORD PadToDword(DWORD dw) +{ + return (dw + 3) & ~3u; +} + +static inline DWORD PadToDwordPtr(DWORD dw) +{ + return (dw + 7) & ~7u; +} + +static inline HRESULT ReplaceOptionalSizeA(_Inout_z_count_(cchDest) LPSTR pszDest, + _In_ size_t cchDest, + _In_z_ LPCSTR pszSize) +{ + if (cchDest == 0 || pszDest == NULL || pszSize == NULL || + pszSize[0] == '\0' || pszSize[1] == '\0' || pszSize[2] != '\0') { + + // can not write into empty buffer or with string other than two chars. + return ERROR_INVALID_PARAMETER; + } + + for (; cchDest >= 2; cchDest--, pszDest++) { + if (pszDest[0] == '?' && pszDest[1] == '?') { + pszDest[0] = pszSize[0]; + pszDest[1] = pszSize[1]; + break; + } + } + + return S_OK; +} + +static BOOL RecordExeRestore(HANDLE hProcess, HMODULE hModule, DETOUR_EXE_RESTORE& der) +{ + // Save the various headers for DetourRestoreAfterWith. + ZeroMemory(&der, sizeof(der)); + der.cb = sizeof(der); + + der.pidh = (PBYTE)hModule; + der.cbidh = sizeof(der.idh); + if (!ReadProcessMemory(hProcess, der.pidh, &der.idh, sizeof(der.idh), NULL)) { + DETOUR_TRACE(("ReadProcessMemory(idh@%p..%p) failed: %d\n", + der.pidh, der.pidh + der.cbidh, GetLastError())); + return FALSE; + } + DETOUR_TRACE(("IDH: %p..%p\n", der.pidh, der.pidh + der.cbidh)); + + // We read the NT header in two passes to get the full size. + // First we read just the Signature and FileHeader. + der.pinh = der.pidh + der.idh.e_lfanew; + der.cbinh = FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader); + if (!ReadProcessMemory(hProcess, der.pinh, &der.inh, der.cbinh, NULL)) { + DETOUR_TRACE(("ReadProcessMemory(inh@%p..%p) failed: %d\n", + der.pinh, der.pinh + der.cbinh, GetLastError())); + return FALSE; + } + + // Second we read the OptionalHeader and Section headers. + der.cbinh = (FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader) + + der.inh.FileHeader.SizeOfOptionalHeader + + der.inh.FileHeader.NumberOfSections * sizeof(IMAGE_SECTION_HEADER)); + + if (der.cbinh > sizeof(der.raw)) { + return FALSE; + } + + if (!ReadProcessMemory(hProcess, der.pinh, &der.inh, der.cbinh, NULL)) { + DETOUR_TRACE(("ReadProcessMemory(inh@%p..%p) failed: %d\n", + der.pinh, der.pinh + der.cbinh, GetLastError())); + return FALSE; + } + DETOUR_TRACE(("INH: %p..%p\n", der.pinh, der.pinh + der.cbinh)); + + // Third, we read the CLR header + + if (der.inh.OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC) { + if (der.inh32.CLR_DIRECTORY.VirtualAddress != 0 && + der.inh32.CLR_DIRECTORY.Size != 0) { + + DETOUR_TRACE(("CLR32.VirtAddr=%x, CLR.Size=%x\n", + der.inh32.CLR_DIRECTORY.VirtualAddress, + der.inh32.CLR_DIRECTORY.Size)); + + der.pclr = ((PBYTE)hModule) + der.inh32.CLR_DIRECTORY.VirtualAddress; + } + } + else if (der.inh.OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC) { + if (der.inh64.CLR_DIRECTORY.VirtualAddress != 0 && + der.inh64.CLR_DIRECTORY.Size != 0) { + + DETOUR_TRACE(("CLR64.VirtAddr=%x, CLR.Size=%x\n", + der.inh64.CLR_DIRECTORY.VirtualAddress, + der.inh64.CLR_DIRECTORY.Size)); + + der.pclr = ((PBYTE)hModule) + der.inh64.CLR_DIRECTORY.VirtualAddress; + } + } + + if (der.pclr != 0) { + der.cbclr = sizeof(der.clr); + if (!ReadProcessMemory(hProcess, der.pclr, &der.clr, der.cbclr, NULL)) { + DETOUR_TRACE(("ReadProcessMemory(clr@%p..%p) failed: %d\n", + der.pclr, der.pclr + der.cbclr, GetLastError())); + return FALSE; + } + DETOUR_TRACE(("CLR: %p..%p\n", der.pclr, der.pclr + der.cbclr)); + } + + return TRUE; +} + +////////////////////////////////////////////////////////////////////////////// +// +#if DETOURS_32BIT +#define DWORD_XX DWORD32 +#define IMAGE_NT_HEADERS_XX IMAGE_NT_HEADERS32 +#define IMAGE_NT_OPTIONAL_HDR_MAGIC_XX IMAGE_NT_OPTIONAL_HDR32_MAGIC +#define IMAGE_ORDINAL_FLAG_XX IMAGE_ORDINAL_FLAG32 +#define UPDATE_IMPORTS_XX UpdateImports32 +#define DETOURS_BITS_XX 32 +#include "uimports.cpp" +#undef DETOUR_EXE_RESTORE_FIELD_XX +#undef DWORD_XX +#undef IMAGE_NT_HEADERS_XX +#undef IMAGE_NT_OPTIONAL_HDR_MAGIC_XX +#undef IMAGE_ORDINAL_FLAG_XX +#undef UPDATE_IMPORTS_XX +#endif // DETOURS_32BIT + +#if DETOURS_64BIT +#define DWORD_XX DWORD64 +#define IMAGE_NT_HEADERS_XX IMAGE_NT_HEADERS64 +#define IMAGE_NT_OPTIONAL_HDR_MAGIC_XX IMAGE_NT_OPTIONAL_HDR64_MAGIC +#define IMAGE_ORDINAL_FLAG_XX IMAGE_ORDINAL_FLAG64 +#define UPDATE_IMPORTS_XX UpdateImports64 +#define DETOURS_BITS_XX 64 +#include "uimports.cpp" +#undef DETOUR_EXE_RESTORE_FIELD_XX +#undef DWORD_XX +#undef IMAGE_NT_HEADERS_XX +#undef IMAGE_NT_OPTIONAL_HDR_MAGIC_XX +#undef IMAGE_ORDINAL_FLAG_XX +#undef UPDATE_IMPORTS_XX +#endif // DETOURS_64BIT + +////////////////////////////////////////////////////////////////////////////// +// +#if DETOURS_64BIT + +C_ASSERT(sizeof(IMAGE_NT_HEADERS64) == sizeof(IMAGE_NT_HEADERS32) + 16); + +static BOOL UpdateFrom32To64(HANDLE hProcess, HMODULE hModule, WORD machine, + DETOUR_EXE_RESTORE& der) +{ + IMAGE_DOS_HEADER idh; + IMAGE_NT_HEADERS32 inh32; + IMAGE_NT_HEADERS64 inh64; + IMAGE_SECTION_HEADER sects[32]; + PBYTE pbModule = (PBYTE)hModule; + DWORD n; + + ZeroMemory(&inh32, sizeof(inh32)); + ZeroMemory(&inh64, sizeof(inh64)); + ZeroMemory(sects, sizeof(sects)); + + DETOUR_TRACE(("UpdateFrom32To64(%04x)\n", machine)); + //////////////////////////////////////////////////////// Read old headers. + // + if (!ReadProcessMemory(hProcess, pbModule, &idh, sizeof(idh), NULL)) { + DETOUR_TRACE(("ReadProcessMemory(idh@%p..%p) failed: %d\n", + pbModule, pbModule + sizeof(idh), GetLastError())); + return FALSE; + } + DETOUR_TRACE(("ReadProcessMemory(idh@%p..%p)\n", + pbModule, pbModule + sizeof(idh))); + + PBYTE pnh = pbModule + idh.e_lfanew; + if (!ReadProcessMemory(hProcess, pnh, &inh32, sizeof(inh32), NULL)) { + DETOUR_TRACE(("ReadProcessMemory(inh@%p..%p) failed: %d\n", + pnh, pnh + sizeof(inh32), GetLastError())); + return FALSE; + } + DETOUR_TRACE(("ReadProcessMemory(inh@%p..%p)\n", pnh, pnh + sizeof(inh32))); + + if (inh32.FileHeader.NumberOfSections > (sizeof(sects)/sizeof(sects[0]))) { + return FALSE; + } + + PBYTE psects = pnh + + FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader) + + inh32.FileHeader.SizeOfOptionalHeader; + ULONG cb = inh32.FileHeader.NumberOfSections * sizeof(IMAGE_SECTION_HEADER); + if (!ReadProcessMemory(hProcess, psects, §s, cb, NULL)) { + DETOUR_TRACE(("ReadProcessMemory(ish@%p..%p) failed: %d\n", + psects, psects + cb, GetLastError())); + return FALSE; + } + DETOUR_TRACE(("ReadProcessMemory(ish@%p..%p)\n", psects, psects + cb)); + + ////////////////////////////////////////////////////////// Convert header. + // + inh64.Signature = inh32.Signature; + inh64.FileHeader = inh32.FileHeader; + inh64.FileHeader.Machine = machine; + inh64.FileHeader.SizeOfOptionalHeader = sizeof(IMAGE_OPTIONAL_HEADER64); + + inh64.OptionalHeader.Magic = IMAGE_NT_OPTIONAL_HDR64_MAGIC; + inh64.OptionalHeader.MajorLinkerVersion = inh32.OptionalHeader.MajorLinkerVersion; + inh64.OptionalHeader.MinorLinkerVersion = inh32.OptionalHeader.MinorLinkerVersion; + inh64.OptionalHeader.SizeOfCode = inh32.OptionalHeader.SizeOfCode; + inh64.OptionalHeader.SizeOfInitializedData = inh32.OptionalHeader.SizeOfInitializedData; + inh64.OptionalHeader.SizeOfUninitializedData = inh32.OptionalHeader.SizeOfUninitializedData; + inh64.OptionalHeader.AddressOfEntryPoint = inh32.OptionalHeader.AddressOfEntryPoint; + inh64.OptionalHeader.BaseOfCode = inh32.OptionalHeader.BaseOfCode; + inh64.OptionalHeader.ImageBase = inh32.OptionalHeader.ImageBase; + inh64.OptionalHeader.SectionAlignment = inh32.OptionalHeader.SectionAlignment; + inh64.OptionalHeader.FileAlignment = inh32.OptionalHeader.FileAlignment; + inh64.OptionalHeader.MajorOperatingSystemVersion + = inh32.OptionalHeader.MajorOperatingSystemVersion; + inh64.OptionalHeader.MinorOperatingSystemVersion + = inh32.OptionalHeader.MinorOperatingSystemVersion; + inh64.OptionalHeader.MajorImageVersion = inh32.OptionalHeader.MajorImageVersion; + inh64.OptionalHeader.MinorImageVersion = inh32.OptionalHeader.MinorImageVersion; + inh64.OptionalHeader.MajorSubsystemVersion = inh32.OptionalHeader.MajorSubsystemVersion; + inh64.OptionalHeader.MinorSubsystemVersion = inh32.OptionalHeader.MinorSubsystemVersion; + inh64.OptionalHeader.Win32VersionValue = inh32.OptionalHeader.Win32VersionValue; + inh64.OptionalHeader.SizeOfImage = inh32.OptionalHeader.SizeOfImage; + inh64.OptionalHeader.SizeOfHeaders = inh32.OptionalHeader.SizeOfHeaders; + inh64.OptionalHeader.CheckSum = inh32.OptionalHeader.CheckSum; + inh64.OptionalHeader.Subsystem = inh32.OptionalHeader.Subsystem; + inh64.OptionalHeader.DllCharacteristics = inh32.OptionalHeader.DllCharacteristics; + inh64.OptionalHeader.SizeOfStackReserve = inh32.OptionalHeader.SizeOfStackReserve; + inh64.OptionalHeader.SizeOfStackCommit = inh32.OptionalHeader.SizeOfStackCommit; + inh64.OptionalHeader.SizeOfHeapReserve = inh32.OptionalHeader.SizeOfHeapReserve; + inh64.OptionalHeader.SizeOfHeapCommit = inh32.OptionalHeader.SizeOfHeapCommit; + inh64.OptionalHeader.LoaderFlags = inh32.OptionalHeader.LoaderFlags; + inh64.OptionalHeader.NumberOfRvaAndSizes = inh32.OptionalHeader.NumberOfRvaAndSizes; + for (n = 0; n < IMAGE_NUMBEROF_DIRECTORY_ENTRIES; n++) { + inh64.OptionalHeader.DataDirectory[n] = inh32.OptionalHeader.DataDirectory[n]; + } + + /////////////////////////////////////////////////////// Write new headers. + // + DWORD dwProtect = 0; + if (!DetourVirtualProtectSameExecuteEx(hProcess, pbModule, inh64.OptionalHeader.SizeOfHeaders, + PAGE_EXECUTE_READWRITE, &dwProtect)) { + return FALSE; + } + + if (!WriteProcessMemory(hProcess, pnh, &inh64, sizeof(inh64), NULL)) { + DETOUR_TRACE(("WriteProcessMemory(inh@%p..%p) failed: %d\n", + pnh, pnh + sizeof(inh64), GetLastError())); + return FALSE; + } + DETOUR_TRACE(("WriteProcessMemory(inh@%p..%p)\n", pnh, pnh + sizeof(inh64))); + + psects = pnh + + FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader) + + inh64.FileHeader.SizeOfOptionalHeader; + cb = inh64.FileHeader.NumberOfSections * sizeof(IMAGE_SECTION_HEADER); + if (!WriteProcessMemory(hProcess, psects, §s, cb, NULL)) { + DETOUR_TRACE(("WriteProcessMemory(ish@%p..%p) failed: %d\n", + psects, psects + cb, GetLastError())); + return FALSE; + } + DETOUR_TRACE(("WriteProcessMemory(ish@%p..%p)\n", psects, psects + cb)); + + // Record the updated headers. + if (!RecordExeRestore(hProcess, hModule, der)) { + return FALSE; + } + + // Remove the import table. + if (der.pclr != NULL && (der.clr.Flags & 1)) { + inh64.IMPORT_DIRECTORY.VirtualAddress = 0; + inh64.IMPORT_DIRECTORY.Size = 0; + + if (!WriteProcessMemory(hProcess, pnh, &inh64, sizeof(inh64), NULL)) { + DETOUR_TRACE(("WriteProcessMemory(inh@%p..%p) failed: %d\n", + pnh, pnh + sizeof(inh64), GetLastError())); + return FALSE; + } + } + + DWORD dwOld = 0; + if (!VirtualProtectEx(hProcess, pbModule, inh64.OptionalHeader.SizeOfHeaders, + dwProtect, &dwOld)) { + return FALSE; + } + + return TRUE; +} +#endif // DETOURS_64BIT + +////////////////////////////////////////////////////////////////////////////// +// +BOOL WINAPI DetourUpdateProcessWithDll(_In_ HANDLE hProcess, + _In_reads_(nDlls) LPCSTR *rlpDlls, + _In_ DWORD nDlls) +{ + // Find the next memory region that contains a mapped PE image. + // + BOOL bHas64BitDll = FALSE; + BOOL bHas32BitExe = FALSE; + BOOL bIs32BitProcess; + HMODULE hModule = NULL; + HMODULE hLast = NULL; + + DETOUR_TRACE(("DetourUpdateProcessWithDll(%p,dlls=%d)\n", hProcess, nDlls)); + + for (;;) { + IMAGE_NT_HEADERS32 inh; + + if ((hLast = EnumerateModulesInProcess(hProcess, hLast, &inh)) == NULL) { + break; + } + + DETOUR_TRACE(("%p machine=%04x magic=%04x\n", + hLast, inh.FileHeader.Machine, inh.OptionalHeader.Magic)); + + if ((inh.FileHeader.Characteristics & IMAGE_FILE_DLL) == 0) { + hModule = hLast; + if (inh.OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC + && inh.FileHeader.Machine != 0) { + + bHas32BitExe = TRUE; + } + DETOUR_TRACE(("%p Found EXE\n", hLast)); + } + else { + if (inh.OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC + && inh.FileHeader.Machine != 0) { + + bHas64BitDll = TRUE; + } + } + } + + if (hModule == NULL) { + SetLastError(ERROR_INVALID_OPERATION); + return FALSE; + } + + if (!bHas32BitExe) { + bIs32BitProcess = FALSE; + } + else if (!bHas64BitDll) { + bIs32BitProcess = TRUE; + } + else { + if (!IsWow64Process(hProcess, &bIs32BitProcess)) { + return FALSE; + } + } + + DETOUR_TRACE((" 32BitExe=%d 32BitProcess\n", bHas32BitExe, bIs32BitProcess)); + + return DetourUpdateProcessWithDllEx(hProcess, + hModule, + bIs32BitProcess, + rlpDlls, + nDlls); +} + +BOOL WINAPI DetourUpdateProcessWithDllEx(_In_ HANDLE hProcess, + _In_ HMODULE hModule, + _In_ BOOL bIs32BitProcess, + _In_reads_(nDlls) LPCSTR *rlpDlls, + _In_ DWORD nDlls) +{ + // Find the next memory region that contains a mapped PE image. + // + BOOL bIs32BitExe = FALSE; + + DETOUR_TRACE(("DetourUpdateProcessWithDllEx(%p,%p,dlls=%d)\n", hProcess, hModule, nDlls)); + + IMAGE_NT_HEADERS32 inh; + + if (hModule == NULL || LoadNtHeaderFromProcess(hProcess, hModule, &inh) == NULL) { + SetLastError(ERROR_INVALID_OPERATION); + return FALSE; + } + + if (inh.OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC + && inh.FileHeader.Machine != 0) { + + bIs32BitExe = TRUE; + } + + DETOUR_TRACE((" 32BitExe=%d 32BitProcess\n", bIs32BitExe, bIs32BitProcess)); + + if (hModule == NULL) { + SetLastError(ERROR_INVALID_OPERATION); + return FALSE; + } + + // Save the various headers for DetourRestoreAfterWith. + // + DETOUR_EXE_RESTORE der; + + if (!RecordExeRestore(hProcess, hModule, der)) { + return FALSE; + } + +#if defined(DETOURS_64BIT) + // Try to convert a neutral 32-bit managed binary to a 64-bit managed binary. + if (bIs32BitExe && !bIs32BitProcess) { + if (!der.pclr // Native binary + || (der.clr.Flags & 1) == 0 // Or mixed-mode MSIL + || (der.clr.Flags & 2) != 0) { // Or 32BIT Required MSIL + + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + + if (!UpdateFrom32To64(hProcess, hModule, +#if defined(DETOURS_X64) + IMAGE_FILE_MACHINE_AMD64, +#elif defined(DETOURS_IA64) + IMAGE_FILE_MACHINE_IA64, +#elif defined(DETOURS_ARM64) + IMAGE_FILE_MACHINE_ARM64, +#else +#error Must define one of DETOURS_X64 or DETOURS_IA64 or DETOURS_ARM64 on 64-bit. +#endif + der)) { + return FALSE; + } + bIs32BitExe = FALSE; + } +#endif // DETOURS_64BIT + + // Now decide if we can insert the detour. + +#if defined(DETOURS_32BIT) + if (bIs32BitProcess) { + // 32-bit native or 32-bit managed process on any platform. + if (!UpdateImports32(hProcess, hModule, rlpDlls, nDlls)) { + return FALSE; + } + } + else { + // 64-bit native or 64-bit managed process. + // + // Can't detour a 64-bit process with 32-bit code. + // Note: This happens for 32-bit PE binaries containing only + // manage code that have been marked as 64-bit ready. + // + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } +#elif defined(DETOURS_64BIT) + if (bIs32BitProcess || bIs32BitExe) { + // Can't detour a 32-bit process with 64-bit code. + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + else { + // 64-bit native or 64-bit managed process on any platform. + if (!UpdateImports64(hProcess, hModule, rlpDlls, nDlls)) { + return FALSE; + } + } +#else +#pragma Must define one of DETOURS_32BIT or DETOURS_64BIT. +#endif // DETOURS_64BIT + + /////////////////////////////////////////////////// Update the CLR header. + // + if (der.pclr != NULL) { + DETOUR_CLR_HEADER clr; + CopyMemory(&clr, &der.clr, sizeof(clr)); + clr.Flags &= 0xfffffffe; // Clear the IL_ONLY flag. + + DWORD dwProtect; + if (!DetourVirtualProtectSameExecuteEx(hProcess, der.pclr, sizeof(clr), PAGE_READWRITE, &dwProtect)) { + DETOUR_TRACE(("VirtualProtectEx(clr) write failed: %d\n", GetLastError())); + return FALSE; + } + + if (!WriteProcessMemory(hProcess, der.pclr, &clr, sizeof(clr), NULL)) { + DETOUR_TRACE(("WriteProcessMemory(clr) failed: %d\n", GetLastError())); + return FALSE; + } + + if (!VirtualProtectEx(hProcess, der.pclr, sizeof(clr), dwProtect, &dwProtect)) { + DETOUR_TRACE(("VirtualProtectEx(clr) restore failed: %d\n", GetLastError())); + return FALSE; + } + DETOUR_TRACE(("CLR: %p..%p\n", der.pclr, der.pclr + der.cbclr)); + +#if DETOURS_64BIT + if (der.clr.Flags & 0x2) { // Is the 32BIT Required Flag set? + // X64 never gets here because the process appears as a WOW64 process. + // However, on IA64, it doesn't appear to be a WOW process. + DETOUR_TRACE(("CLR Requires 32-bit\n", der.pclr, der.pclr + der.cbclr)); + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } +#endif // DETOURS_64BIT + } + + //////////////////////////////// Save the undo data to the target process. + // + if (!DetourCopyPayloadToProcess(hProcess, DETOUR_EXE_RESTORE_GUID, &der, sizeof(der))) { + DETOUR_TRACE(("DetourCopyPayloadToProcess failed: %d\n", GetLastError())); + return FALSE; + } + return TRUE; +} + +////////////////////////////////////////////////////////////////////////////// +// +BOOL WINAPI DetourCreateProcessWithDllA(_In_opt_ LPCSTR lpApplicationName, + _Inout_opt_ LPSTR lpCommandLine, + _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, + _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, + _In_ BOOL bInheritHandles, + _In_ DWORD dwCreationFlags, + _In_opt_ LPVOID lpEnvironment, + _In_opt_ LPCSTR lpCurrentDirectory, + _In_ LPSTARTUPINFOA lpStartupInfo, + _Out_ LPPROCESS_INFORMATION lpProcessInformation, + _In_ LPCSTR lpDllName, + _In_opt_ PDETOUR_CREATE_PROCESS_ROUTINEA pfCreateProcessA) +{ + DWORD dwMyCreationFlags = (dwCreationFlags | CREATE_SUSPENDED); + PROCESS_INFORMATION pi; + BOOL fResult = FALSE; + + if (pfCreateProcessA == NULL) { + pfCreateProcessA = CreateProcessA; + } + + fResult = pfCreateProcessA(lpApplicationName, + lpCommandLine, + lpProcessAttributes, + lpThreadAttributes, + bInheritHandles, + dwMyCreationFlags, + lpEnvironment, + lpCurrentDirectory, + lpStartupInfo, + &pi); + + if (lpProcessInformation != NULL) { + CopyMemory(lpProcessInformation, &pi, sizeof(pi)); + } + + if (!fResult) { + return FALSE; + } + + LPCSTR rlpDlls[2]; + DWORD nDlls = 0; + if (lpDllName != NULL) { + rlpDlls[nDlls++] = lpDllName; + } + + if (!DetourUpdateProcessWithDll(pi.hProcess, rlpDlls, nDlls)) { + TerminateProcess(pi.hProcess, ~0u); + return FALSE; + } + + if (!(dwCreationFlags & CREATE_SUSPENDED)) { + ResumeThread(pi.hThread); + } + return TRUE; +} + + +BOOL WINAPI DetourCreateProcessWithDllW(_In_opt_ LPCWSTR lpApplicationName, + _Inout_opt_ LPWSTR lpCommandLine, + _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, + _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, + _In_ BOOL bInheritHandles, + _In_ DWORD dwCreationFlags, + _In_opt_ LPVOID lpEnvironment, + _In_opt_ LPCWSTR lpCurrentDirectory, + _In_ LPSTARTUPINFOW lpStartupInfo, + _Out_ LPPROCESS_INFORMATION lpProcessInformation, + _In_ LPCSTR lpDllName, + _In_opt_ PDETOUR_CREATE_PROCESS_ROUTINEW pfCreateProcessW) +{ + DWORD dwMyCreationFlags = (dwCreationFlags | CREATE_SUSPENDED); + PROCESS_INFORMATION pi; + + if (pfCreateProcessW == NULL) { + pfCreateProcessW = CreateProcessW; + } + + BOOL fResult = pfCreateProcessW(lpApplicationName, + lpCommandLine, + lpProcessAttributes, + lpThreadAttributes, + bInheritHandles, + dwMyCreationFlags, + lpEnvironment, + lpCurrentDirectory, + lpStartupInfo, + &pi); + + if (lpProcessInformation) { + CopyMemory(lpProcessInformation, &pi, sizeof(pi)); + } + + if (!fResult) { + return FALSE; + } + + LPCSTR rlpDlls[2]; + DWORD nDlls = 0; + if (lpDllName != NULL) { + rlpDlls[nDlls++] = lpDllName; + } + + if (!DetourUpdateProcessWithDll(pi.hProcess, rlpDlls, nDlls)) { + TerminateProcess(pi.hProcess, ~0u); + return FALSE; + } + + if (!(dwCreationFlags & CREATE_SUSPENDED)) { + ResumeThread(pi.hThread); + } + return TRUE; +} + +BOOL WINAPI DetourCopyPayloadToProcess(_In_ HANDLE hProcess, + _In_ REFGUID rguid, + _In_reads_bytes_(cbData) PVOID pvData, + _In_ DWORD cbData) +{ + DWORD cbTotal = (sizeof(IMAGE_DOS_HEADER) + + sizeof(IMAGE_NT_HEADERS) + + sizeof(IMAGE_SECTION_HEADER) + + sizeof(DETOUR_SECTION_HEADER) + + sizeof(DETOUR_SECTION_RECORD) + + cbData); + + PBYTE pbBase = (PBYTE)VirtualAllocEx(hProcess, NULL, cbTotal, + MEM_COMMIT, PAGE_READWRITE); + if (pbBase == NULL) { + DETOUR_TRACE(("VirtualAllocEx(%d) failed: %d\n", cbTotal, GetLastError())); + return FALSE; + } + + PBYTE pbTarget = pbBase; + IMAGE_DOS_HEADER idh; + IMAGE_NT_HEADERS inh; + IMAGE_SECTION_HEADER ish; + DETOUR_SECTION_HEADER dsh; + DETOUR_SECTION_RECORD dsr; + SIZE_T cbWrote = 0; + + ZeroMemory(&idh, sizeof(idh)); + idh.e_magic = IMAGE_DOS_SIGNATURE; + idh.e_lfanew = sizeof(idh); + if (!WriteProcessMemory(hProcess, pbTarget, &idh, sizeof(idh), &cbWrote) || + cbWrote != sizeof(idh)) { + DETOUR_TRACE(("WriteProcessMemory(idh) failed: %d\n", GetLastError())); + return FALSE; + } + pbTarget += sizeof(idh); + + ZeroMemory(&inh, sizeof(inh)); + inh.Signature = IMAGE_NT_SIGNATURE; + inh.FileHeader.SizeOfOptionalHeader = sizeof(inh.OptionalHeader); + inh.FileHeader.Characteristics = IMAGE_FILE_DLL; + inh.FileHeader.NumberOfSections = 1; + inh.OptionalHeader.Magic = IMAGE_NT_OPTIONAL_HDR_MAGIC; + if (!WriteProcessMemory(hProcess, pbTarget, &inh, sizeof(inh), &cbWrote) || + cbWrote != sizeof(inh)) { + return FALSE; + } + pbTarget += sizeof(inh); + + ZeroMemory(&ish, sizeof(ish)); + memcpy(ish.Name, ".detour", sizeof(ish.Name)); + ish.VirtualAddress = (DWORD)((pbTarget + sizeof(ish)) - pbBase); + ish.SizeOfRawData = (sizeof(DETOUR_SECTION_HEADER) + + sizeof(DETOUR_SECTION_RECORD) + + cbData); + if (!WriteProcessMemory(hProcess, pbTarget, &ish, sizeof(ish), &cbWrote) || + cbWrote != sizeof(ish)) { + return FALSE; + } + pbTarget += sizeof(ish); + + ZeroMemory(&dsh, sizeof(dsh)); + dsh.cbHeaderSize = sizeof(dsh); + dsh.nSignature = DETOUR_SECTION_HEADER_SIGNATURE; + dsh.nDataOffset = sizeof(DETOUR_SECTION_HEADER); + dsh.cbDataSize = (sizeof(DETOUR_SECTION_HEADER) + + sizeof(DETOUR_SECTION_RECORD) + + cbData); + if (!WriteProcessMemory(hProcess, pbTarget, &dsh, sizeof(dsh), &cbWrote) || + cbWrote != sizeof(dsh)) { + return FALSE; + } + pbTarget += sizeof(dsh); + + ZeroMemory(&dsr, sizeof(dsr)); + dsr.cbBytes = cbData + sizeof(DETOUR_SECTION_RECORD); + dsr.nReserved = 0; + dsr.guid = rguid; + if (!WriteProcessMemory(hProcess, pbTarget, &dsr, sizeof(dsr), &cbWrote) || + cbWrote != sizeof(dsr)) { + return FALSE; + } + pbTarget += sizeof(dsr); + + if (!WriteProcessMemory(hProcess, pbTarget, pvData, cbData, &cbWrote) || + cbWrote != cbData) { + return FALSE; + } + pbTarget += cbData; + + DETOUR_TRACE(("Copied %d byte payload into target process at %p\n", + cbTotal, pbTarget - cbTotal)); + return TRUE; +} + +static BOOL s_fSearchedForHelper = FALSE; +static PDETOUR_EXE_HELPER s_pHelper = NULL; + +VOID CALLBACK DetourFinishHelperProcess(_In_ HWND, + _In_ HINSTANCE, + _In_ LPSTR, + _In_ INT) +{ + LPCSTR * rlpDlls = NULL; + DWORD Result = 9900; + DWORD cOffset = 0; + DWORD cSize = 0; + HANDLE hProcess = NULL; + + if (s_pHelper == NULL) { + DETOUR_TRACE(("DetourFinishHelperProcess called with s_pHelper = NULL.\n")); + Result = 9905; + goto Cleanup; + } + + hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, s_pHelper->pid); + if (hProcess == NULL) { + DETOUR_TRACE(("OpenProcess(pid=%d) failed: %d\n", + s_pHelper->pid, GetLastError())); + Result = 9901; + goto Cleanup; + } + + rlpDlls = new NOTHROW LPCSTR [s_pHelper->nDlls]; + cSize = s_pHelper->cb - sizeof(DETOUR_EXE_HELPER); + for (DWORD n = 0; n < s_pHelper->nDlls; n++) { + size_t cchDest = 0; + HRESULT hr = StringCchLengthA(&s_pHelper->rDlls[cOffset], cSize - cOffset, &cchDest); + if (!SUCCEEDED(hr)) { + Result = 9902; + goto Cleanup; + } + + rlpDlls[n] = &s_pHelper->rDlls[cOffset]; + cOffset += (DWORD)cchDest + 1; + } + + if (!DetourUpdateProcessWithDll(hProcess, rlpDlls, s_pHelper->nDlls)) { + DETOUR_TRACE(("DetourUpdateProcessWithDll(pid=%d) failed: %d\n", + s_pHelper->pid, GetLastError())); + Result = 9903; + goto Cleanup; + } + Result = 0; + + Cleanup: + if (rlpDlls != NULL) { + delete[] rlpDlls; + rlpDlls = NULL; + } + + ExitProcess(Result); +} + +BOOL WINAPI DetourIsHelperProcess(VOID) +{ + PVOID pvData; + DWORD cbData; + + if (s_fSearchedForHelper) { + return (s_pHelper != NULL); + } + + s_fSearchedForHelper = TRUE; + pvData = DetourFindPayloadEx(DETOUR_EXE_HELPER_GUID, &cbData); + + if (pvData == NULL || cbData < sizeof(DETOUR_EXE_HELPER)) { + return FALSE; + } + + s_pHelper = (PDETOUR_EXE_HELPER)pvData; + if (s_pHelper->cb < sizeof(*s_pHelper)) { + s_pHelper = NULL; + return FALSE; + } + + return TRUE; +} + +static +BOOL WINAPI AllocExeHelper(_Out_ PDETOUR_EXE_HELPER *pHelper, + _In_ DWORD dwTargetPid, + _In_ DWORD nDlls, + _In_reads_(nDlls) LPCSTR *rlpDlls) +{ + PDETOUR_EXE_HELPER Helper = NULL; + BOOL Result = FALSE; + _Field_range_(0, cSize - 4) DWORD cOffset = 0; + DWORD cSize = 4; + + if (pHelper == NULL) { + goto Cleanup; + } + *pHelper = NULL; + + if (nDlls < 1 || nDlls > 4096) { + SetLastError(ERROR_INVALID_PARAMETER); + goto Cleanup; + } + + for (DWORD n = 0; n < nDlls; n++) { + HRESULT hr; + size_t cchDest = 0; + + hr = StringCchLengthA(rlpDlls[n], 4096, &cchDest); + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + + cSize += (DWORD)cchDest + 1; + } + + Helper = (PDETOUR_EXE_HELPER) new NOTHROW BYTE[sizeof(DETOUR_EXE_HELPER) + cSize]; + if (Helper == NULL) { + goto Cleanup; + } + + Helper->cb = sizeof(DETOUR_EXE_HELPER) + cSize; + Helper->pid = dwTargetPid; + Helper->nDlls = nDlls; + + for (DWORD n = 0; n < nDlls; n++) { + HRESULT hr; + size_t cchDest = 0; + + if (cOffset > 0x10000 || cSize > 0x10000 || cOffset + 2 >= cSize) { + goto Cleanup; + } + + if (cOffset + 2 >= cSize || cOffset + 65536 < cSize) { + goto Cleanup; + } + + _Analysis_assume_(cOffset + 1 < cSize); + _Analysis_assume_(cOffset < 0x10000); + _Analysis_assume_(cSize < 0x10000); + + PCHAR psz = &Helper->rDlls[cOffset]; + + hr = StringCchCopyA(psz, cSize - cOffset, rlpDlls[n]); + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + +// REVIEW 28020 The expression '1<=_Param_(2)& &_Param_(2)<=2147483647' is not true at this call. +// REVIEW 28313 Analysis will not proceed past this point because of annotation evaluation. The annotation expression *_Param_(3)<_Param_(2)&&*_Param_(3)<=stringLength$(_Param_(1)) cannot be true under any assumptions at this point in the program. +#pragma warning(suppress:28020 28313) + hr = StringCchLengthA(psz, cSize - cOffset, &cchDest); + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + + // Replace "32." with "64." or "64." with "32." + + for (DWORD c = (DWORD)cchDest + 1; c > 3; c--) { +#if DETOURS_32BIT + if (psz[c - 3] == '3' && psz[c - 2] == '2' && psz[c - 1] == '.') { + psz[c - 3] = '6'; psz[c - 2] = '4'; + break; + } +#else + if (psz[c - 3] == '6' && psz[c - 2] == '4' && psz[c - 1] == '.') { + psz[c - 3] = '3'; psz[c - 2] = '2'; + break; + } +#endif + } + + cOffset += (DWORD)cchDest + 1; + } + + *pHelper = Helper; + Helper = NULL; + Result = TRUE; + + Cleanup: + if (Helper != NULL) { + delete[] (PBYTE)Helper; + Helper = NULL; + } + return Result; +} + +static +VOID WINAPI FreeExeHelper(PDETOUR_EXE_HELPER *pHelper) +{ + if (*pHelper != NULL) { + delete[] (PBYTE)*pHelper; + *pHelper = NULL; + } +} + +BOOL WINAPI DetourProcessViaHelperA(_In_ DWORD dwTargetPid, + _In_ LPCSTR lpDllName, + _In_ PDETOUR_CREATE_PROCESS_ROUTINEA pfCreateProcessA) +{ + return DetourProcessViaHelperDllsA(dwTargetPid, 1, &lpDllName, pfCreateProcessA); +} + + +BOOL WINAPI DetourProcessViaHelperDllsA(_In_ DWORD dwTargetPid, + _In_ DWORD nDlls, + _In_reads_(nDlls) LPCSTR *rlpDlls, + _In_ PDETOUR_CREATE_PROCESS_ROUTINEA pfCreateProcessA) +{ + BOOL Result = FALSE; + PROCESS_INFORMATION pi; + STARTUPINFOA si; + CHAR szExe[MAX_PATH]; + CHAR szCommand[MAX_PATH]; + PDETOUR_EXE_HELPER helper = NULL; + HRESULT hr; + DWORD nLen = GetEnvironmentVariableA("WINDIR", szExe, ARRAYSIZE(szExe)); + + DETOUR_TRACE(("DetourProcessViaHelperDlls(pid=%d,dlls=%d)\n", dwTargetPid, nDlls)); + if (nDlls < 1 || nDlls > 4096) { + SetLastError(ERROR_INVALID_PARAMETER); + goto Cleanup; + } + if (!AllocExeHelper(&helper, dwTargetPid, nDlls, rlpDlls)) { + goto Cleanup; + } + + if (nLen == 0 || nLen >= ARRAYSIZE(szExe)) { + goto Cleanup; + } + +#if DETOURS_OPTION_BITS +#if DETOURS_32BIT + hr = StringCchCatA(szExe, ARRAYSIZE(szExe), "\\sysnative\\rundll32.exe"); +#else // !DETOURS_32BIT + hr = StringCchCatA(szExe, ARRAYSIZE(szExe), "\\syswow64\\rundll32.exe"); +#endif // !DETOURS_32BIT +#else // DETOURS_OPTIONS_BITS + hr = StringCchCatA(szExe, ARRAYSIZE(szExe), "\\system32\\rundll32.exe"); +#endif // DETOURS_OPTIONS_BITS + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + + hr = StringCchPrintfA(szCommand, ARRAYSIZE(szCommand), + "rundll32.exe \"%hs\",#1", &helper->rDlls[0]); + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + + ZeroMemory(&pi, sizeof(pi)); + ZeroMemory(&si, sizeof(si)); + si.cb = sizeof(si); + + DETOUR_TRACE(("DetourProcessViaHelperDlls(\"%hs\", \"%hs\")\n", szExe, szCommand)); + if (pfCreateProcessA(szExe, szCommand, NULL, NULL, FALSE, CREATE_SUSPENDED, + NULL, NULL, &si, &pi)) { + + if (!DetourCopyPayloadToProcess(pi.hProcess, + DETOUR_EXE_HELPER_GUID, + helper, helper->cb)) { + DETOUR_TRACE(("DetourCopyPayloadToProcess failed: %d\n", GetLastError())); + TerminateProcess(pi.hProcess, ~0u); + CloseHandle(pi.hProcess); + CloseHandle(pi.hThread); + goto Cleanup; + } + + ResumeThread(pi.hThread); + WaitForSingleObject(pi.hProcess, INFINITE); + + DWORD dwResult = 500; + GetExitCodeProcess(pi.hProcess, &dwResult); + + CloseHandle(pi.hProcess); + CloseHandle(pi.hThread); + + if (dwResult != 0) { + DETOUR_TRACE(("Rundll32.exe failed: result=%d\n", dwResult)); + goto Cleanup; + } + Result = TRUE; + } + else { + DETOUR_TRACE(("CreateProcess failed: %d\n", GetLastError())); + goto Cleanup; + } + + Cleanup: + FreeExeHelper(&helper); + return Result; +} + +BOOL WINAPI DetourProcessViaHelperW(_In_ DWORD dwTargetPid, + _In_ LPCSTR lpDllName, + _In_ PDETOUR_CREATE_PROCESS_ROUTINEW pfCreateProcessW) +{ + return DetourProcessViaHelperDllsW(dwTargetPid, 1, &lpDllName, pfCreateProcessW); +} + +BOOL WINAPI DetourProcessViaHelperDllsW(_In_ DWORD dwTargetPid, + _In_ DWORD nDlls, + _In_reads_(nDlls) LPCSTR *rlpDlls, + _In_ PDETOUR_CREATE_PROCESS_ROUTINEW pfCreateProcessW) +{ + BOOL Result = FALSE; + PROCESS_INFORMATION pi; + STARTUPINFOW si; + WCHAR szExe[MAX_PATH]; + WCHAR szCommand[MAX_PATH]; + PDETOUR_EXE_HELPER helper = NULL; + HRESULT hr; + DWORD nLen = GetEnvironmentVariableW(L"WINDIR", szExe, ARRAYSIZE(szExe)); + + DETOUR_TRACE(("DetourProcessViaHelperDlls(pid=%d,dlls=%d)\n", dwTargetPid, nDlls)); + if (nDlls < 1 || nDlls > 4096) { + SetLastError(ERROR_INVALID_PARAMETER); + goto Cleanup; + } + if (!AllocExeHelper(&helper, dwTargetPid, nDlls, rlpDlls)) { + goto Cleanup; + } + + if (nLen == 0 || nLen >= ARRAYSIZE(szExe)) { + goto Cleanup; + } + +#if DETOURS_OPTION_BITS +#if DETOURS_32BIT + hr = StringCchCatW(szExe, ARRAYSIZE(szExe), L"\\sysnative\\rundll32.exe"); +#else // !DETOURS_32BIT + hr = StringCchCatW(szExe, ARRAYSIZE(szExe), L"\\syswow64\\rundll32.exe"); +#endif // !DETOURS_32BIT +#else // DETOURS_OPTIONS_BITS + hr = StringCchCatW(szExe, ARRAYSIZE(szExe), L"\\system32\\rundll32.exe"); +#endif // DETOURS_OPTIONS_BITS + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + + hr = StringCchPrintfW(szCommand, ARRAYSIZE(szCommand), + L"rundll32.exe \"%hs\",#1", &helper->rDlls[0]); + if (!SUCCEEDED(hr)) { + goto Cleanup; + } + + ZeroMemory(&pi, sizeof(pi)); + ZeroMemory(&si, sizeof(si)); + si.cb = sizeof(si); + + DETOUR_TRACE(("DetourProcessViaHelperDlls(\"%ls\", \"%ls\")\n", szExe, szCommand)); + if (pfCreateProcessW(szExe, szCommand, NULL, NULL, FALSE, CREATE_SUSPENDED, + NULL, NULL, &si, &pi)) { + + if (!DetourCopyPayloadToProcess(pi.hProcess, + DETOUR_EXE_HELPER_GUID, + helper, helper->cb)) { + DETOUR_TRACE(("DetourCopyPayloadToProcess failed: %d\n", GetLastError())); + TerminateProcess(pi.hProcess, ~0u); + CloseHandle(pi.hProcess); + CloseHandle(pi.hThread); + goto Cleanup; + } + + ResumeThread(pi.hThread); + + ResumeThread(pi.hThread); + WaitForSingleObject(pi.hProcess, INFINITE); + + DWORD dwResult = 500; + GetExitCodeProcess(pi.hProcess, &dwResult); + + CloseHandle(pi.hProcess); + CloseHandle(pi.hThread); + + if (dwResult != 0) { + DETOUR_TRACE(("Rundll32.exe failed: result=%d\n", dwResult)); + goto Cleanup; + } + Result = TRUE; + } + else { + DETOUR_TRACE(("CreateProcess failed: %d\n", GetLastError())); + goto Cleanup; + } + + Cleanup: + FreeExeHelper(&helper); + return Result; +} + +BOOL WINAPI DetourCreateProcessWithDllExA(_In_opt_ LPCSTR lpApplicationName, + _Inout_opt_ LPSTR lpCommandLine, + _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, + _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, + _In_ BOOL bInheritHandles, + _In_ DWORD dwCreationFlags, + _In_opt_ LPVOID lpEnvironment, + _In_opt_ LPCSTR lpCurrentDirectory, + _In_ LPSTARTUPINFOA lpStartupInfo, + _Out_ LPPROCESS_INFORMATION lpProcessInformation, + _In_ LPCSTR lpDllName, + _In_opt_ PDETOUR_CREATE_PROCESS_ROUTINEA pfCreateProcessA) +{ + if (pfCreateProcessA == NULL) { + pfCreateProcessA = CreateProcessA; + } + + PROCESS_INFORMATION backup; + if (lpProcessInformation == NULL) { + lpProcessInformation = &backup; + ZeroMemory(&backup, sizeof(backup)); + } + + if (!pfCreateProcessA(lpApplicationName, + lpCommandLine, + lpProcessAttributes, + lpThreadAttributes, + bInheritHandles, + dwCreationFlags | CREATE_SUSPENDED, + lpEnvironment, + lpCurrentDirectory, + lpStartupInfo, + lpProcessInformation)) { + return FALSE; + } + + LPCSTR szDll = lpDllName; + + if (!DetourUpdateProcessWithDll(lpProcessInformation->hProcess, &szDll, 1) && + !DetourProcessViaHelperA(lpProcessInformation->dwProcessId, + lpDllName, + pfCreateProcessA)) { + + TerminateProcess(lpProcessInformation->hProcess, ~0u); + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + return FALSE; + } + + if (!(dwCreationFlags & CREATE_SUSPENDED)) { + ResumeThread(lpProcessInformation->hThread); + } + + if (lpProcessInformation == &backup) { + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + } + + return TRUE; +} + +BOOL WINAPI DetourCreateProcessWithDllExW(_In_opt_ LPCWSTR lpApplicationName, + _Inout_opt_ LPWSTR lpCommandLine, + _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, + _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, + _In_ BOOL bInheritHandles, + _In_ DWORD dwCreationFlags, + _In_opt_ LPVOID lpEnvironment, + _In_opt_ LPCWSTR lpCurrentDirectory, + _In_ LPSTARTUPINFOW lpStartupInfo, + _Out_ LPPROCESS_INFORMATION lpProcessInformation, + _In_ LPCSTR lpDllName, + _In_opt_ PDETOUR_CREATE_PROCESS_ROUTINEW pfCreateProcessW) +{ + if (pfCreateProcessW == NULL) { + pfCreateProcessW = CreateProcessW; + } + + PROCESS_INFORMATION backup; + if (lpProcessInformation == NULL) { + lpProcessInformation = &backup; + ZeroMemory(&backup, sizeof(backup)); + } + + if (!pfCreateProcessW(lpApplicationName, + lpCommandLine, + lpProcessAttributes, + lpThreadAttributes, + bInheritHandles, + dwCreationFlags | CREATE_SUSPENDED, + lpEnvironment, + lpCurrentDirectory, + lpStartupInfo, + lpProcessInformation)) { + return FALSE; + } + + + LPCSTR sz = lpDllName; + + if (!DetourUpdateProcessWithDll(lpProcessInformation->hProcess, &sz, 1) && + !DetourProcessViaHelperW(lpProcessInformation->dwProcessId, + lpDllName, + pfCreateProcessW)) { + + TerminateProcess(lpProcessInformation->hProcess, ~0u); + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + return FALSE; + } + + if (!(dwCreationFlags & CREATE_SUSPENDED)) { + ResumeThread(lpProcessInformation->hThread); + } + + if (lpProcessInformation == &backup) { + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + } + return TRUE; +} + +BOOL WINAPI DetourCreateProcessWithDllsA(_In_opt_ LPCSTR lpApplicationName, + _Inout_opt_ LPSTR lpCommandLine, + _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, + _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, + _In_ BOOL bInheritHandles, + _In_ DWORD dwCreationFlags, + _In_opt_ LPVOID lpEnvironment, + _In_opt_ LPCSTR lpCurrentDirectory, + _In_ LPSTARTUPINFOA lpStartupInfo, + _Out_ LPPROCESS_INFORMATION lpProcessInformation, + _In_ DWORD nDlls, + _In_reads_(nDlls) LPCSTR *rlpDlls, + _In_opt_ PDETOUR_CREATE_PROCESS_ROUTINEA pfCreateProcessA) +{ + if (pfCreateProcessA == NULL) { + pfCreateProcessA = CreateProcessA; + } + + PROCESS_INFORMATION backup; + if (lpProcessInformation == NULL) { + lpProcessInformation = &backup; + ZeroMemory(&backup, sizeof(backup)); + } + + if (!pfCreateProcessA(lpApplicationName, + lpCommandLine, + lpProcessAttributes, + lpThreadAttributes, + bInheritHandles, + dwCreationFlags | CREATE_SUSPENDED, + lpEnvironment, + lpCurrentDirectory, + lpStartupInfo, + lpProcessInformation)) { + return FALSE; + } + + if (!DetourUpdateProcessWithDll(lpProcessInformation->hProcess, rlpDlls, nDlls) && + !DetourProcessViaHelperDllsA(lpProcessInformation->dwProcessId, + nDlls, + rlpDlls, + pfCreateProcessA)) { + + TerminateProcess(lpProcessInformation->hProcess, ~0u); + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + return FALSE; + } + + if (!(dwCreationFlags & CREATE_SUSPENDED)) { + ResumeThread(lpProcessInformation->hThread); + } + + if (lpProcessInformation == &backup) { + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + } + + return TRUE; +} + +BOOL WINAPI DetourCreateProcessWithDllsW(_In_opt_ LPCWSTR lpApplicationName, + _Inout_opt_ LPWSTR lpCommandLine, + _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, + _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, + _In_ BOOL bInheritHandles, + _In_ DWORD dwCreationFlags, + _In_opt_ LPVOID lpEnvironment, + _In_opt_ LPCWSTR lpCurrentDirectory, + _In_ LPSTARTUPINFOW lpStartupInfo, + _Out_ LPPROCESS_INFORMATION lpProcessInformation, + _In_ DWORD nDlls, + _In_reads_(nDlls) LPCSTR *rlpDlls, + _In_opt_ PDETOUR_CREATE_PROCESS_ROUTINEW pfCreateProcessW) +{ + if (pfCreateProcessW == NULL) { + pfCreateProcessW = CreateProcessW; + } + + PROCESS_INFORMATION backup; + if (lpProcessInformation == NULL) { + lpProcessInformation = &backup; + ZeroMemory(&backup, sizeof(backup)); + } + + if (!pfCreateProcessW(lpApplicationName, + lpCommandLine, + lpProcessAttributes, + lpThreadAttributes, + bInheritHandles, + dwCreationFlags | CREATE_SUSPENDED, + lpEnvironment, + lpCurrentDirectory, + lpStartupInfo, + lpProcessInformation)) { + return FALSE; + } + + + if (!DetourUpdateProcessWithDll(lpProcessInformation->hProcess, rlpDlls, nDlls) && + !DetourProcessViaHelperDllsW(lpProcessInformation->dwProcessId, + nDlls, + rlpDlls, + pfCreateProcessW)) { + + TerminateProcess(lpProcessInformation->hProcess, ~0u); + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + return FALSE; + } + + if (!(dwCreationFlags & CREATE_SUSPENDED)) { + ResumeThread(lpProcessInformation->hThread); + } + + if (lpProcessInformation == &backup) { + CloseHandle(lpProcessInformation->hProcess); + CloseHandle(lpProcessInformation->hThread); + } + return TRUE; +} + +// +///////////////////////////////////////////////////////////////// End of File. diff --git a/src/app-sdk/undocked-reg-free-winrt/detours/detours.cpp b/src/app-sdk/undocked-reg-free-winrt/detours/detours.cpp new file mode 100644 index 000000000..e126cf0ec --- /dev/null +++ b/src/app-sdk/undocked-reg-free-winrt/detours/detours.cpp @@ -0,0 +1,2471 @@ +////////////////////////////////////////////////////////////////////////////// +// +// Core Detours Functionality (detours.cpp of detours.lib) +// +// Microsoft Research Detours Package, Version 4.0.1 +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + + +//#define DETOUR_DEBUG 1 +#define DETOURS_INTERNAL +#include "detours.h" + +#if DETOURS_VERSION != 0x4c0c1 // 0xMAJORcMINORcPATCH +#error detours.h version mismatch +#endif + +#define NOTHROW + +////////////////////////////////////////////////////////////////////////////// +// +struct _DETOUR_ALIGN +{ + BYTE obTarget : 3; + BYTE obTrampoline : 5; +}; + +C_ASSERT(sizeof(_DETOUR_ALIGN) == 1); + +////////////////////////////////////////////////////////////////////////////// +// +// Region reserved for system DLLs, which cannot be used for trampolines. +// +static PVOID s_pSystemRegionLowerBound = (PVOID)(ULONG_PTR)0x70000000; +static PVOID s_pSystemRegionUpperBound = (PVOID)(ULONG_PTR)0x80000000; + +////////////////////////////////////////////////////////////////////////////// +// +static bool detour_is_imported(PBYTE pbCode, PBYTE pbAddress) +{ + MEMORY_BASIC_INFORMATION mbi; + VirtualQuery((PVOID)pbCode, &mbi, sizeof(mbi)); + __try { + PIMAGE_DOS_HEADER pDosHeader = (PIMAGE_DOS_HEADER)mbi.AllocationBase; + if (pDosHeader->e_magic != IMAGE_DOS_SIGNATURE) { + return false; + } + + PIMAGE_NT_HEADERS pNtHeader = (PIMAGE_NT_HEADERS)((PBYTE)pDosHeader + + pDosHeader->e_lfanew); + if (pNtHeader->Signature != IMAGE_NT_SIGNATURE) { + return false; + } + + if (pbAddress >= ((PBYTE)pDosHeader + + pNtHeader->OptionalHeader + .DataDirectory[IMAGE_DIRECTORY_ENTRY_IAT].VirtualAddress) && + pbAddress < ((PBYTE)pDosHeader + + pNtHeader->OptionalHeader + .DataDirectory[IMAGE_DIRECTORY_ENTRY_IAT].VirtualAddress + + pNtHeader->OptionalHeader + .DataDirectory[IMAGE_DIRECTORY_ENTRY_IAT].Size)) { + return true; + } + } +#pragma prefast(suppress:28940, "A bad pointer means this probably isn't a PE header.") + __except(GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ? + EXCEPTION_EXECUTE_HANDLER : EXCEPTION_CONTINUE_SEARCH) { + return false; + } + return false; +} + +inline ULONG_PTR detour_2gb_below(ULONG_PTR address) +{ + return (address > (ULONG_PTR)0x7ff80000) ? address - 0x7ff80000 : 0x80000; +} + +inline ULONG_PTR detour_2gb_above(ULONG_PTR address) +{ +#if defined(DETOURS_64BIT) + return (address < (ULONG_PTR)0xffffffff80000000) ? address + 0x7ff80000 : (ULONG_PTR)0xfffffffffff80000; +#else + return (address < (ULONG_PTR)0x80000000) ? address + 0x7ff80000 : (ULONG_PTR)0xfff80000; +#endif +} + +///////////////////////////////////////////////////////////////////////// X86. +// +#ifdef DETOURS_X86 + +struct _DETOUR_TRAMPOLINE +{ + BYTE rbCode[30]; // target code + jmp to pbRemain + BYTE cbCode; // size of moved target code. + BYTE cbCodeBreak; // padding to make debugging easier. + BYTE rbRestore[22]; // original target code. + BYTE cbRestore; // size of original target code. + BYTE cbRestoreBreak; // padding to make debugging easier. + _DETOUR_ALIGN rAlign[8]; // instruction alignment array. + PBYTE pbRemain; // first instruction after moved code. [free list] + PBYTE pbDetour; // first instruction of detour function. +}; + +C_ASSERT(sizeof(_DETOUR_TRAMPOLINE) == 72); + +enum { + SIZE_OF_JMP = 5 +}; + +inline PBYTE detour_gen_jmp_immediate(PBYTE pbCode, PBYTE pbJmpVal) +{ + PBYTE pbJmpSrc = pbCode + 5; + *pbCode++ = 0xE9; // jmp +imm32 + *((INT32*&)pbCode)++ = (INT32)(pbJmpVal - pbJmpSrc); + return pbCode; +} + +inline PBYTE detour_gen_jmp_indirect(PBYTE pbCode, PBYTE *ppbJmpVal) +{ + *pbCode++ = 0xff; // jmp [+imm32] + *pbCode++ = 0x25; + *((INT32*&)pbCode)++ = (INT32)((PBYTE)ppbJmpVal); + return pbCode; +} + +inline PBYTE detour_gen_brk(PBYTE pbCode, PBYTE pbLimit) +{ + while (pbCode < pbLimit) { + *pbCode++ = 0xcc; // brk; + } + return pbCode; +} + +inline PBYTE detour_skip_jmp(PBYTE pbCode, PVOID *ppGlobals) +{ + if (pbCode == NULL) { + return NULL; + } + if (ppGlobals != NULL) { + *ppGlobals = NULL; + } + + // First, skip over the import vector if there is one. + if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [imm32] + // Looks like an import alias jump, then get the code it points to. + PBYTE pbTarget = *(UNALIGNED PBYTE *)&pbCode[2]; + if (detour_is_imported(pbCode, pbTarget)) { + PBYTE pbNew = *(UNALIGNED PBYTE *)pbTarget; + DETOUR_TRACE(("%p->%p: skipped over import table.\n", pbCode, pbNew)); + pbCode = pbNew; + } + } + + // Then, skip over a patch jump + if (pbCode[0] == 0xeb) { // jmp +imm8 + PBYTE pbNew = pbCode + 2 + *(CHAR *)&pbCode[1]; + DETOUR_TRACE(("%p->%p: skipped over short jump.\n", pbCode, pbNew)); + pbCode = pbNew; + + // First, skip over the import vector if there is one. + if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [imm32] + // Looks like an import alias jump, then get the code it points to. + PBYTE pbTarget = *(UNALIGNED PBYTE *)&pbCode[2]; + if (detour_is_imported(pbCode, pbTarget)) { + pbNew = *(UNALIGNED PBYTE *)pbTarget; + DETOUR_TRACE(("%p->%p: skipped over import table.\n", pbCode, pbNew)); + pbCode = pbNew; + } + } + // Finally, skip over a long jump if it is the target of the patch jump. + else if (pbCode[0] == 0xe9) { // jmp +imm32 + pbNew = pbCode + 5 + *(UNALIGNED INT32 *)&pbCode[1]; + DETOUR_TRACE(("%p->%p: skipped over long jump.\n", pbCode, pbNew)); + pbCode = pbNew; + } + } + return pbCode; +} + +inline void detour_find_jmp_bounds(PBYTE pbCode, + PDETOUR_TRAMPOLINE *ppLower, + PDETOUR_TRAMPOLINE *ppUpper) +{ + // We have to place trampolines within +/- 2GB of code. + ULONG_PTR lo = detour_2gb_below((ULONG_PTR)pbCode); + ULONG_PTR hi = detour_2gb_above((ULONG_PTR)pbCode); + DETOUR_TRACE(("[%p..%p..%p]\n", lo, pbCode, hi)); + + // And, within +/- 2GB of relative jmp targets. + if (pbCode[0] == 0xe9) { // jmp +imm32 + PBYTE pbNew = pbCode + 5 + *(UNALIGNED INT32 *)&pbCode[1]; + + if (pbNew < pbCode) { + hi = detour_2gb_above((ULONG_PTR)pbNew); + } + else { + lo = detour_2gb_below((ULONG_PTR)pbNew); + } + DETOUR_TRACE(("[%p..%p..%p] +imm32\n", lo, pbCode, hi)); + } + + *ppLower = (PDETOUR_TRAMPOLINE)lo; + *ppUpper = (PDETOUR_TRAMPOLINE)hi; +} + +inline BOOL detour_does_code_end_function(PBYTE pbCode) +{ + if (pbCode[0] == 0xeb || // jmp +imm8 + pbCode[0] == 0xe9 || // jmp +imm32 + pbCode[0] == 0xe0 || // jmp eax + pbCode[0] == 0xc2 || // ret +imm8 + pbCode[0] == 0xc3 || // ret + pbCode[0] == 0xcc) { // brk + return TRUE; + } + else if (pbCode[0] == 0xf3 && pbCode[1] == 0xc3) { // rep ret + return TRUE; + } + else if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [+imm32] + return TRUE; + } + else if ((pbCode[0] == 0x26 || // jmp es: + pbCode[0] == 0x2e || // jmp cs: + pbCode[0] == 0x36 || // jmp ss: + pbCode[0] == 0x3e || // jmp ds: + pbCode[0] == 0x64 || // jmp fs: + pbCode[0] == 0x65) && // jmp gs: + pbCode[1] == 0xff && // jmp [+imm32] + pbCode[2] == 0x25) { + return TRUE; + } + return FALSE; +} + +inline ULONG detour_is_code_filler(PBYTE pbCode) +{ + // 1-byte through 11-byte NOPs. + if (pbCode[0] == 0x90) { + return 1; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x90) { + return 2; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x00) { + return 3; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x40 && + pbCode[3] == 0x00) { + return 4; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x44 && + pbCode[3] == 0x00 && pbCode[4] == 0x00) { + return 5; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x0F && pbCode[2] == 0x1F && + pbCode[3] == 0x44 && pbCode[4] == 0x00 && pbCode[5] == 0x00) { + return 6; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x80 && + pbCode[3] == 0x00 && pbCode[4] == 0x00 && pbCode[5] == 0x00 && + pbCode[6] == 0x00) { + return 7; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x84 && + pbCode[3] == 0x00 && pbCode[4] == 0x00 && pbCode[5] == 0x00 && + pbCode[6] == 0x00 && pbCode[7] == 0x00) { + return 8; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x0F && pbCode[2] == 0x1F && + pbCode[3] == 0x84 && pbCode[4] == 0x00 && pbCode[5] == 0x00 && + pbCode[6] == 0x00 && pbCode[7] == 0x00 && pbCode[8] == 0x00) { + return 9; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x66 && pbCode[2] == 0x0F && + pbCode[3] == 0x1F && pbCode[4] == 0x84 && pbCode[5] == 0x00 && + pbCode[6] == 0x00 && pbCode[7] == 0x00 && pbCode[8] == 0x00 && + pbCode[9] == 0x00) { + return 10; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x66 && pbCode[2] == 0x66 && + pbCode[3] == 0x0F && pbCode[4] == 0x1F && pbCode[5] == 0x84 && + pbCode[6] == 0x00 && pbCode[7] == 0x00 && pbCode[8] == 0x00 && + pbCode[9] == 0x00 && pbCode[10] == 0x00) { + return 11; + } + + // int 3. + if (pbCode[0] == 0xcc) { + return 1; + } + return 0; +} + +#endif // DETOURS_X86 + +///////////////////////////////////////////////////////////////////////// X64. +// +#ifdef DETOURS_X64 + +struct _DETOUR_TRAMPOLINE +{ + // An X64 instuction can be 15 bytes long. + // In practice 11 seems to be the limit. + BYTE rbCode[30]; // target code + jmp to pbRemain. + BYTE cbCode; // size of moved target code. + BYTE cbCodeBreak; // padding to make debugging easier. + BYTE rbRestore[30]; // original target code. + BYTE cbRestore; // size of original target code. + BYTE cbRestoreBreak; // padding to make debugging easier. + _DETOUR_ALIGN rAlign[8]; // instruction alignment array. + PBYTE pbRemain; // first instruction after moved code. [free list] + PBYTE pbDetour; // first instruction of detour function. + BYTE rbCodeIn[8]; // jmp [pbDetour] +}; + +C_ASSERT(sizeof(_DETOUR_TRAMPOLINE) == 96); + +enum { + SIZE_OF_JMP = 5 +}; + +inline PBYTE detour_gen_jmp_immediate(PBYTE pbCode, PBYTE pbJmpVal) +{ + PBYTE pbJmpSrc = pbCode + 5; + *pbCode++ = 0xE9; // jmp +imm32 + *((INT32*&)pbCode)++ = (INT32)(pbJmpVal - pbJmpSrc); + return pbCode; +} + +inline PBYTE detour_gen_jmp_indirect(PBYTE pbCode, PBYTE *ppbJmpVal) +{ + PBYTE pbJmpSrc = pbCode + 6; + *pbCode++ = 0xff; // jmp [+imm32] + *pbCode++ = 0x25; + *((INT32*&)pbCode)++ = (INT32)((PBYTE)ppbJmpVal - pbJmpSrc); + return pbCode; +} + +inline PBYTE detour_gen_brk(PBYTE pbCode, PBYTE pbLimit) +{ + while (pbCode < pbLimit) { + *pbCode++ = 0xcc; // brk; + } + return pbCode; +} + +inline PBYTE detour_skip_jmp(PBYTE pbCode, PVOID *ppGlobals) +{ + if (pbCode == NULL) { + return NULL; + } + if (ppGlobals != NULL) { + *ppGlobals = NULL; + } + + // First, skip over the import vector if there is one. + if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [+imm32] + // Looks like an import alias jump, then get the code it points to. + PBYTE pbTarget = pbCode + 6 + *(UNALIGNED INT32 *)&pbCode[2]; + if (detour_is_imported(pbCode, pbTarget)) { + PBYTE pbNew = *(UNALIGNED PBYTE *)pbTarget; + DETOUR_TRACE(("%p->%p: skipped over import table.\n", pbCode, pbNew)); + pbCode = pbNew; + } + } + + // Then, skip over a patch jump + if (pbCode[0] == 0xeb) { // jmp +imm8 + PBYTE pbNew = pbCode + 2 + *(CHAR *)&pbCode[1]; + DETOUR_TRACE(("%p->%p: skipped over short jump.\n", pbCode, pbNew)); + pbCode = pbNew; + + // First, skip over the import vector if there is one. + if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [+imm32] + // Looks like an import alias jump, then get the code it points to. + PBYTE pbTarget = pbCode + 6 + *(UNALIGNED INT32 *)&pbCode[2]; + if (detour_is_imported(pbCode, pbTarget)) { + pbNew = *(UNALIGNED PBYTE *)pbTarget; + DETOUR_TRACE(("%p->%p: skipped over import table.\n", pbCode, pbNew)); + pbCode = pbNew; + } + } + // Finally, skip over a long jump if it is the target of the patch jump. + else if (pbCode[0] == 0xe9) { // jmp +imm32 + pbNew = pbCode + 5 + *(UNALIGNED INT32 *)&pbCode[1]; + DETOUR_TRACE(("%p->%p: skipped over long jump.\n", pbCode, pbNew)); + pbCode = pbNew; + } + } + return pbCode; +} + +inline void detour_find_jmp_bounds(PBYTE pbCode, + PDETOUR_TRAMPOLINE *ppLower, + PDETOUR_TRAMPOLINE *ppUpper) +{ + // We have to place trampolines within +/- 2GB of code. + ULONG_PTR lo = detour_2gb_below((ULONG_PTR)pbCode); + ULONG_PTR hi = detour_2gb_above((ULONG_PTR)pbCode); + DETOUR_TRACE(("[%p..%p..%p]\n", lo, pbCode, hi)); + + // And, within +/- 2GB of relative jmp vectors. + if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [+imm32] + PBYTE pbNew = pbCode + 6 + *(UNALIGNED INT32 *)&pbCode[2]; + + if (pbNew < pbCode) { + hi = detour_2gb_above((ULONG_PTR)pbNew); + } + else { + lo = detour_2gb_below((ULONG_PTR)pbNew); + } + DETOUR_TRACE(("[%p..%p..%p] [+imm32]\n", lo, pbCode, hi)); + } + // And, within +/- 2GB of relative jmp targets. + else if (pbCode[0] == 0xe9) { // jmp +imm32 + PBYTE pbNew = pbCode + 5 + *(UNALIGNED INT32 *)&pbCode[1]; + + if (pbNew < pbCode) { + hi = detour_2gb_above((ULONG_PTR)pbNew); + } + else { + lo = detour_2gb_below((ULONG_PTR)pbNew); + } + DETOUR_TRACE(("[%p..%p..%p] +imm32\n", lo, pbCode, hi)); + } + + *ppLower = (PDETOUR_TRAMPOLINE)lo; + *ppUpper = (PDETOUR_TRAMPOLINE)hi; +} + +inline BOOL detour_does_code_end_function(PBYTE pbCode) +{ + if (pbCode[0] == 0xeb || // jmp +imm8 + pbCode[0] == 0xe9 || // jmp +imm32 + pbCode[0] == 0xe0 || // jmp eax + pbCode[0] == 0xc2 || // ret +imm8 + pbCode[0] == 0xc3 || // ret + pbCode[0] == 0xcc) { // brk + return TRUE; + } + else if (pbCode[0] == 0xf3 && pbCode[1] == 0xc3) { // rep ret + return TRUE; + } + else if (pbCode[0] == 0xff && pbCode[1] == 0x25) { // jmp [+imm32] + return TRUE; + } + else if ((pbCode[0] == 0x26 || // jmp es: + pbCode[0] == 0x2e || // jmp cs: + pbCode[0] == 0x36 || // jmp ss: + pbCode[0] == 0x3e || // jmp ds: + pbCode[0] == 0x64 || // jmp fs: + pbCode[0] == 0x65) && // jmp gs: + pbCode[1] == 0xff && // jmp [+imm32] + pbCode[2] == 0x25) { + return TRUE; + } + return FALSE; +} + +inline ULONG detour_is_code_filler(PBYTE pbCode) +{ + // 1-byte through 11-byte NOPs. + if (pbCode[0] == 0x90) { + return 1; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x90) { + return 2; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x00) { + return 3; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x40 && + pbCode[3] == 0x00) { + return 4; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x44 && + pbCode[3] == 0x00 && pbCode[4] == 0x00) { + return 5; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x0F && pbCode[2] == 0x1F && + pbCode[3] == 0x44 && pbCode[4] == 0x00 && pbCode[5] == 0x00) { + return 6; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x80 && + pbCode[3] == 0x00 && pbCode[4] == 0x00 && pbCode[5] == 0x00 && + pbCode[6] == 0x00) { + return 7; + } + if (pbCode[0] == 0x0F && pbCode[1] == 0x1F && pbCode[2] == 0x84 && + pbCode[3] == 0x00 && pbCode[4] == 0x00 && pbCode[5] == 0x00 && + pbCode[6] == 0x00 && pbCode[7] == 0x00) { + return 8; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x0F && pbCode[2] == 0x1F && + pbCode[3] == 0x84 && pbCode[4] == 0x00 && pbCode[5] == 0x00 && + pbCode[6] == 0x00 && pbCode[7] == 0x00 && pbCode[8] == 0x00) { + return 9; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x66 && pbCode[2] == 0x0F && + pbCode[3] == 0x1F && pbCode[4] == 0x84 && pbCode[5] == 0x00 && + pbCode[6] == 0x00 && pbCode[7] == 0x00 && pbCode[8] == 0x00 && + pbCode[9] == 0x00) { + return 10; + } + if (pbCode[0] == 0x66 && pbCode[1] == 0x66 && pbCode[2] == 0x66 && + pbCode[3] == 0x0F && pbCode[4] == 0x1F && pbCode[5] == 0x84 && + pbCode[6] == 0x00 && pbCode[7] == 0x00 && pbCode[8] == 0x00 && + pbCode[9] == 0x00 && pbCode[10] == 0x00) { + return 11; + } + + // int 3. + if (pbCode[0] == 0xcc) { + return 1; + } + return 0; +} + +#endif // DETOURS_X64 + +//////////////////////////////////////////////////////////////////////// IA64. +// +#ifdef DETOURS_IA64 + +struct _DETOUR_TRAMPOLINE +{ + // On the IA64, a trampoline is used for both incoming and outgoing calls. + // + // The trampoline contains the following bundles for the outgoing call: + // movl gp=target_gp; + // + // brl target_code; + // + // The trampoline contains the following bundles for the incoming call: + // alloc r41=ar.pfs, b, 0, 8, 0 + // mov r40=rp + // + // adds r50=0, r39 + // adds r49=0, r38 + // adds r48=0, r37 ;; + // + // adds r47=0, r36 + // adds r46=0, r35 + // adds r45=0, r34 + // + // adds r44=0, r33 + // adds r43=0, r32 + // adds r42=0, gp ;; + // + // movl gp=ffffffff`ffffffff ;; + // + // brl.call.sptk.few rp=disas!TestCodes+20e0 (00000000`00404ea0) ;; + // + // adds gp=0, r42 + // mov rp=r40, +0 ;; + // mov.i ar.pfs=r41 + // + // br.ret.sptk.many rp ;; + // + // This way, we only have to relocate a single bundle. + // + // The complicated incoming trampoline is required because we have to + // create an additional stack frame so that we save and restore the gp. + // We must do this because gp is a caller-saved register, but not saved + // if the caller thinks the target is in the same DLL, which changes + // when we insert a detour. + // + DETOUR_IA64_BUNDLE bMovlTargetGp; // Bundle which sets target GP + BYTE rbCode[sizeof(DETOUR_IA64_BUNDLE)]; // moved bundle. + DETOUR_IA64_BUNDLE bBrlRemainEip; // Brl to pbRemain + // This must be adjacent to bBranchIslands. + + // Each instruction in the moved bundle could be a IP-relative chk or branch or call. + // Any such instructions are changed to point to a brl in bBranchIslands. + // This must be adjacent to bBrlRemainEip -- see "pbPool". + DETOUR_IA64_BUNDLE bBranchIslands[DETOUR_IA64_INSTRUCTIONS_PER_BUNDLE]; + + // Target of brl inserted in target function + DETOUR_IA64_BUNDLE bAllocFrame; // alloc frame + DETOUR_IA64_BUNDLE bSave37to39; // save r37, r38, r39. + DETOUR_IA64_BUNDLE bSave34to36; // save r34, r35, r36. + DETOUR_IA64_BUNDLE bSaveGPto33; // save gp, r32, r33. + DETOUR_IA64_BUNDLE bMovlDetourGp; // set detour GP. + DETOUR_IA64_BUNDLE bCallDetour; // call detour. + DETOUR_IA64_BUNDLE bPopFrameGp; // pop frame and restore gp. + DETOUR_IA64_BUNDLE bReturn; // return to caller. + + PLABEL_DESCRIPTOR pldTrampoline; + + BYTE rbRestore[sizeof(DETOUR_IA64_BUNDLE)]; // original target bundle. + BYTE cbRestore; // size of original target code. + BYTE cbCode; // size of moved target code. + _DETOUR_ALIGN rAlign[14]; // instruction alignment array. + PBYTE pbRemain; // first instruction after moved code. [free list] + PBYTE pbDetour; // first instruction of detour function. + PPLABEL_DESCRIPTOR ppldDetour; // [pbDetour,gpDetour] + PPLABEL_DESCRIPTOR ppldTarget; // [pbTarget,gpDetour] +}; + +C_ASSERT(sizeof(DETOUR_IA64_BUNDLE) == 16); +C_ASSERT(sizeof(_DETOUR_TRAMPOLINE) == 256 + DETOUR_IA64_INSTRUCTIONS_PER_BUNDLE * 16); + +enum { + SIZE_OF_JMP = sizeof(DETOUR_IA64_BUNDLE) +}; + +inline PBYTE detour_skip_jmp(PBYTE pPointer, PVOID *ppGlobals) +{ + PBYTE pGlobals = NULL; + PBYTE pbCode = NULL; + + if (pPointer != NULL) { + PPLABEL_DESCRIPTOR ppld = (PPLABEL_DESCRIPTOR)pPointer; + pbCode = (PBYTE)ppld->EntryPoint; + pGlobals = (PBYTE)ppld->GlobalPointer; + } + if (ppGlobals != NULL) { + *ppGlobals = pGlobals; + } + if (pbCode == NULL) { + return NULL; + } + + DETOUR_IA64_BUNDLE *pb = (DETOUR_IA64_BUNDLE *)pbCode; + + // IA64 Local Import Jumps look like: + // addl r2=ffffffff`ffe021c0, gp ;; + // ld8 r2=[r2] + // nop.i 0 ;; + // + // ld8 r3=[r2], 8 ;; + // ld8 gp=[r2] + // mov b6=r3, +0 + // + // nop.m 0 + // nop.i 0 + // br.cond.sptk.few b6 + // + + // 002024000200100b + if ((pb[0].wide[0] & 0xfffffc000603ffff) == 0x002024000200100b && + pb[0].wide[1] == 0x0004000000203008 && + pb[1].wide[0] == 0x001014180420180a && + pb[1].wide[1] == 0x07000830c0203008 && + pb[2].wide[0] == 0x0000000100000010 && + pb[2].wide[1] == 0x0080006000000200) { + + ULONG64 offset = + ((pb[0].wide[0] & 0x0000000001fc0000) >> 18) | // imm7b + ((pb[0].wide[0] & 0x000001ff00000000) >> 25) | // imm9d + ((pb[0].wide[0] & 0x00000000f8000000) >> 11); // imm5c + if (pb[0].wide[0] & 0x0000020000000000) { // sign + offset |= 0xffffffffffe00000; + } + PBYTE pbTarget = pGlobals + offset; + DETOUR_TRACE(("%p: potential import jump, target=%p\n", pb, pbTarget)); + + if (detour_is_imported(pbCode, pbTarget) && *(PBYTE*)pbTarget != NULL) { + DETOUR_TRACE(("%p: is import jump, label=%p\n", pb, *(PBYTE *)pbTarget)); + + PPLABEL_DESCRIPTOR ppld = (PPLABEL_DESCRIPTOR)*(PBYTE *)pbTarget; + pbCode = (PBYTE)ppld->EntryPoint; + pGlobals = (PBYTE)ppld->GlobalPointer; + if (ppGlobals != NULL) { + *ppGlobals = pGlobals; + } + } + } + return pbCode; +} + + +inline void detour_find_jmp_bounds(PBYTE pbCode, + PDETOUR_TRAMPOLINE *ppLower, + PDETOUR_TRAMPOLINE *ppUpper) +{ + (void)pbCode; + *ppLower = (PDETOUR_TRAMPOLINE)(ULONG_PTR)0x0000000000080000; + *ppUpper = (PDETOUR_TRAMPOLINE)(ULONG_PTR)0xfffffffffff80000; +} + +inline BOOL detour_does_code_end_function(PBYTE pbCode) +{ + // Routine not needed on IA64. + (void)pbCode; + return FALSE; +} + +inline ULONG detour_is_code_filler(PBYTE pbCode) +{ + // Routine not needed on IA64. + (void)pbCode; + return 0; +} + +#endif // DETOURS_IA64 + +#ifdef DETOURS_ARM + +struct _DETOUR_TRAMPOLINE +{ + // A Thumb-2 instruction can be 2 or 4 bytes long. + BYTE rbCode[62]; // target code + jmp to pbRemain + BYTE cbCode; // size of moved target code. + BYTE cbCodeBreak; // padding to make debugging easier. + BYTE rbRestore[22]; // original target code. + BYTE cbRestore; // size of original target code. + BYTE cbRestoreBreak; // padding to make debugging easier. + _DETOUR_ALIGN rAlign[8]; // instruction alignment array. + PBYTE pbRemain; // first instruction after moved code. [free list] + PBYTE pbDetour; // first instruction of detour function. +}; + +C_ASSERT(sizeof(_DETOUR_TRAMPOLINE) == 104); + +enum { + SIZE_OF_JMP = 8 +}; + +inline PBYTE align4(PBYTE pValue) +{ + return (PBYTE)(((ULONG)pValue) & ~(ULONG)3u); +} + +inline ULONG fetch_thumb_opcode(PBYTE pbCode) +{ + ULONG Opcode = *(UINT16 *)&pbCode[0]; + if (Opcode >= 0xe800) { + Opcode = (Opcode << 16) | *(UINT16 *)&pbCode[2]; + } + return Opcode; +} + +inline void write_thumb_opcode(PBYTE &pbCode, ULONG Opcode) +{ + if (Opcode >= 0x10000) { + *((UINT16*&)pbCode)++ = Opcode >> 16; + } + *((UINT16*&)pbCode)++ = (UINT16)Opcode; +} + +PBYTE detour_gen_jmp_immediate(PBYTE pbCode, PBYTE *ppPool, PBYTE pbJmpVal) +{ + PBYTE pbLiteral; + if (ppPool != NULL) { + *ppPool = *ppPool - 4; + pbLiteral = *ppPool; + } + else { + pbLiteral = align4(pbCode + 6); + } + + *((PBYTE*&)pbLiteral) = DETOURS_PBYTE_TO_PFUNC(pbJmpVal); + LONG delta = pbLiteral - align4(pbCode + 4); + + write_thumb_opcode(pbCode, 0xf8dff000 | delta); // LDR PC,[PC+n] + + if (ppPool == NULL) { + if (((ULONG)pbCode & 2) != 0) { + write_thumb_opcode(pbCode, 0xdefe); // BREAK + } + pbCode += 4; + } + return pbCode; +} + +inline PBYTE detour_gen_brk(PBYTE pbCode, PBYTE pbLimit) +{ + while (pbCode < pbLimit) { + write_thumb_opcode(pbCode, 0xdefe); + } + return pbCode; +} + +inline PBYTE detour_skip_jmp(PBYTE pbCode, PVOID *ppGlobals) +{ + if (pbCode == NULL) { + return NULL; + } + if (ppGlobals != NULL) { + *ppGlobals = NULL; + } + + // Skip over the import jump if there is one. + pbCode = (PBYTE)DETOURS_PFUNC_TO_PBYTE(pbCode); + ULONG Opcode = fetch_thumb_opcode(pbCode); + + if ((Opcode & 0xfbf08f00) == 0xf2400c00) { // movw r12,#xxxx + ULONG Opcode2 = fetch_thumb_opcode(pbCode+4); + + if ((Opcode2 & 0xfbf08f00) == 0xf2c00c00) { // movt r12,#xxxx + ULONG Opcode3 = fetch_thumb_opcode(pbCode+8); + if (Opcode3 == 0xf8dcf000) { // ldr pc,[r12] + PBYTE pbTarget = (PBYTE)(((Opcode2 << 12) & 0xf7000000) | + ((Opcode2 << 1) & 0x08000000) | + ((Opcode2 << 16) & 0x00ff0000) | + ((Opcode >> 4) & 0x0000f700) | + ((Opcode >> 15) & 0x00000800) | + ((Opcode >> 0) & 0x000000ff)); + if (detour_is_imported(pbCode, pbTarget)) { + PBYTE pbNew = *(PBYTE *)pbTarget; + pbNew = DETOURS_PFUNC_TO_PBYTE(pbNew); + DETOUR_TRACE(("%p->%p: skipped over import table.\n", pbCode, pbNew)); + return pbNew; + } + } + } + } + return pbCode; +} + +inline void detour_find_jmp_bounds(PBYTE pbCode, + PDETOUR_TRAMPOLINE *ppLower, + PDETOUR_TRAMPOLINE *ppUpper) +{ + // We have to place trampolines within +/- 2GB of code. + ULONG_PTR lo = detour_2gb_below((ULONG_PTR)pbCode); + ULONG_PTR hi = detour_2gb_above((ULONG_PTR)pbCode); + DETOUR_TRACE(("[%p..%p..%p]\n", lo, pbCode, hi)); + + *ppLower = (PDETOUR_TRAMPOLINE)lo; + *ppUpper = (PDETOUR_TRAMPOLINE)hi; +} + + +inline BOOL detour_does_code_end_function(PBYTE pbCode) +{ + ULONG Opcode = fetch_thumb_opcode(pbCode); + if ((Opcode & 0xffffff87) == 0x4700 || // bx + (Opcode & 0xf800d000) == 0xf0009000) { // b + return TRUE; + } + if ((Opcode & 0xffff8000) == 0xe8bd8000) { // pop {...,pc} + __debugbreak(); + return TRUE; + } + if ((Opcode & 0xffffff00) == 0x0000bd00) { // pop {...,pc} + __debugbreak(); + return TRUE; + } + return FALSE; +} + +inline ULONG detour_is_code_filler(PBYTE pbCode) +{ + if (pbCode[0] == 0x00 && pbCode[1] == 0xbf) { // nop. + return 2; + } + if (pbCode[0] == 0x00 && pbCode[1] == 0x00) { // zero-filled padding. + return 2; + } + return 0; +} + +#endif // DETOURS_ARM + +#ifdef DETOURS_ARM64 + +struct _DETOUR_TRAMPOLINE +{ + // An ARM64 instruction is 4 bytes long. + // + // The overwrite is always 2 instructions plus a literal, so 16 bytes, 4 instructions. + // + // Copied instructions can expand. + // + // The scheme using MovImmediate can cause an instruction + // to grow as much as 6 times. + // That would be Bcc or Tbz with a large address space: + // 4 instructions to form immediate + // inverted tbz/bcc + // br + // + // An expansion of 4 is not uncommon -- bl/blr and small address space: + // 3 instructions to form immediate + // br or brl + // + // A theoretical maximum for rbCode is thefore 4*4*6 + 16 = 112 (another 16 for jmp to pbRemain). + // + // With literals, the maximum expansion is 5, including the literals: 4*4*5 + 16 = 96. + // + // The number is rounded up to 128. m_rbScratchDst should match this. + // + BYTE rbCode[128]; // target code + jmp to pbRemain + BYTE cbCode; // size of moved target code. + BYTE cbCodeBreak[3]; // padding to make debugging easier. + BYTE rbRestore[24]; // original target code. + BYTE cbRestore; // size of original target code. + BYTE cbRestoreBreak[3]; // padding to make debugging easier. + _DETOUR_ALIGN rAlign[8]; // instruction alignment array. + PBYTE pbRemain; // first instruction after moved code. [free list] + PBYTE pbDetour; // first instruction of detour function. +}; + +C_ASSERT(sizeof(_DETOUR_TRAMPOLINE) == 184); + +enum { + SIZE_OF_JMP = 16 +}; + +inline ULONG fetch_opcode(PBYTE pbCode) +{ + return *(ULONG *)pbCode; +} + +inline void write_opcode(PBYTE &pbCode, ULONG Opcode) +{ + *(ULONG *)pbCode = Opcode; + pbCode += 4; +} + +PBYTE detour_gen_jmp_immediate(PBYTE pbCode, PBYTE *ppPool, PBYTE pbJmpVal) +{ + PBYTE pbLiteral; + if (ppPool != NULL) { + *ppPool = *ppPool - 8; + pbLiteral = *ppPool; + } + else { + pbLiteral = pbCode + 8; + } + + *((PBYTE*&)pbLiteral) = pbJmpVal; + LONG delta = (LONG)(pbLiteral - pbCode); + + write_opcode(pbCode, 0x58000011 | ((delta / 4) << 5)); // LDR X17,[PC+n] + write_opcode(pbCode, 0xd61f0000 | (17 << 5)); // BR X17 + + if (ppPool == NULL) { + pbCode += 8; + } + return pbCode; +} + +inline PBYTE detour_gen_brk(PBYTE pbCode, PBYTE pbLimit) +{ + while (pbCode < pbLimit) { + write_opcode(pbCode, 0xd4100000 | (0xf000 << 5)); + } + return pbCode; +} + +inline INT64 detour_sign_extend(UINT64 value, UINT bits) +{ + const UINT left = 64 - bits; + const INT64 m1 = -1; + const INT64 wide = (INT64)(value << left); + const INT64 sign = (wide < 0) ? (m1 << left) : 0; + return value | sign; +} + +inline PBYTE detour_skip_jmp(PBYTE pbCode, PVOID *ppGlobals) +{ + if (pbCode == NULL) { + return NULL; + } + if (ppGlobals != NULL) { + *ppGlobals = NULL; + } + + // Skip over the import jump if there is one. + pbCode = (PBYTE)pbCode; + ULONG Opcode = fetch_opcode(pbCode); + + if ((Opcode & 0x9f00001f) == 0x90000010) { // adrp x16, IAT + ULONG Opcode2 = fetch_opcode(pbCode + 4); + + if ((Opcode2 & 0xffe003ff) == 0xf9400210) { // ldr x16, [x16, IAT] + ULONG Opcode3 = fetch_opcode(pbCode + 8); + + if (Opcode3 == 0xd61f0200) { // br x16 + +/* https://static.docs.arm.com/ddi0487/bb/DDI0487B_b_armv8_arm.pdf + The ADRP instruction shifts a signed, 21-bit immediate left by 12 bits, adds it to the value of the program counter with + the bottom 12 bits cleared to zero, and then writes the result to a general-purpose register. This permits the + calculation of the address at a 4KB aligned memory region. In conjunction with an ADD (immediate) instruction, or + a Load/Store instruction with a 12-bit immediate offset, this allows for the calculation of, or access to, any address + within +/- 4GB of the current PC. + +PC-rel. addressing + This section describes the encoding of the PC-rel. addressing instruction class. The encodings in this section are + decoded from Data Processing -- Immediate on page C4-226. + Add/subtract (immediate) + This section describes the encoding of the Add/subtract (immediate) instruction class. The encodings in this section + are decoded from Data Processing -- Immediate on page C4-226. + Decode fields + Instruction page + op + 0 ADR + 1 ADRP + +C6.2.10 ADRP + Form PC-relative address to 4KB page adds an immediate value that is shifted left by 12 bits, to the PC value to + form a PC-relative address, with the bottom 12 bits masked out, and writes the result to the destination register. + ADRP , - + - - + + diff --git a/src/user-tools/midi-console/Midi/Pickers/UmpEndpointPicker.cs b/src/user-tools/midi-console/Midi/Pickers/UmpEndpointPicker.cs index ed1fae99a..ab5972c1f 100644 --- a/src/user-tools/midi-console/Midi/Pickers/UmpEndpointPicker.cs +++ b/src/user-tools/midi-console/Midi/Pickers/UmpEndpointPicker.cs @@ -50,7 +50,7 @@ private static void LoadChoices(List choices) { foreach (var endpoint in endpoints) { - choices.Add(new UmpEndpointPickerEntry(AnsiMarkupFormatter.GetEndpointIcon(endpoint.EndpointPurpose) + " " + endpoint.Name.PadRight(50), endpoint.Id)); + choices.Add(new UmpEndpointPickerEntry(AnsiMarkupFormatter.GetEndpointIcon(endpoint.EndpointPurpose) + " " + endpoint.Name.PadRight(50), endpoint.EndpointDeviceId)); } choices.Sort();