Bootstrapper C++ API で使用する定数

次の定数 (Bootstrapper C++ API 用) が WindowsAppSDK-VersionInfo.h で宣言されています。

Microsoft::WindowsAppSDK::Release 名前空間

一定 説明
constexpr PCWSTR チャネル [release-dependent] Windows アプリ SDK リリースのチャネル(L"preview"など)、または安定版の空の文字列。
constexpr PCWSTR FormattedVersionShortTag [release-dependent] Windows アプリ SDKリリースの短い形式のバージョン タグ。識別子を構築するときに連結用に書式設定されます。たとえば、"-p2" や、安定した場合は空の文字列です。
constexpr PCWSTR FormattedVersionTag [release-dependent] Windows アプリ SDK リリースのバージョン タグ。識別子を構築するときに連結用に書式設定されます。たとえば、"-preview2" や、安定した場合は空の文字列です。
constexpr uint16_t Major [release-dependent] Windows アプリ SDK リリースのメジャー バージョン。
constexpr uint32_t MajorMinor [release-dependent] Windows アプリ SDK リリースのメジャー バージョンとマイナー バージョン。uint32_tとしてエンコードされます (0xMMMMNNNN where M=major, N=minor)。
constexpr uint16_t Minor [release-dependent] Windows アプリ SDK リリースのマイナー バージョン。
constexpr uint16_t Patch [release-dependent] Windows アプリ SDK リリースのパッチ バージョン。
constexpr PCWSTR VersionShortTag [release-dependent] Windows アプリ SDK リリースの短い形式のバージョン タグ 。たとえば、L"p2"、または安定版の空の文字列です。
constexpr PCWSTR VersionTag [release-dependent] Windows アプリ SDK リリースのバージョン タグ(L"preview2"など)、または安定版の空の文字列。

Microsoft::WindowsAppSDK::Runtime::Identity 名前空間

一定 説明
constexpr PCWSTR Publisher L"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Windows アプリ SDK ランタイムのパッケージ ID のパブリッシャー。
constexpr PCWSTR PublisherId L"8wekyb3d8bbwe" Windows アプリ SDK ランタイムのパッケージ ID の PublisherId。

Microsoft::WindowsAppSDK::Runtime::P ackages::Framework 名前空間

一定 説明
constexpr PCWSTR PackageFamilyName "Microsoft.WindowsAppRuntime.1.1-preview1_8wekyb3d8bbwe" Windows アプリ SDK ランタイムの Framework パッケージのファミリ名。

Microsoft::WindowsAppSDK::Runtime.Packages.DDLM.Arm64 名前空間

一定 説明
constexpr PCWSTR PackageFamilyName [release-dependent] Windows アプリ SDK ランタイムの動的依存関係有効期間マネージャー (DDLM) パッケージのファミリ名 (arm64 用)。

Microsoft::WindowsAppSDK::Runtime.Packages.DDLM.X64 名前空間

一定 説明
constexpr PCWSTR PackageFamilyName [release-dependent] x64 のWindows アプリ SDK ランタイムの動的依存関係有効期間マネージャー (DDLM) パッケージのファミリ名。

Microsoft::WindowsAppSDK::Runtime.Packages.DDLM.X86 名前空間

一定 説明
constexpr PCWSTR PackageFamilyName [release-dependent] Windows アプリ SDK ランタイムの動的依存関係有効期間マネージャー (DDLM) パッケージのファミリ名 (x86 用)。

Microsoft::WindowsAppSDK::Runtime::P ackages::Main 名前空間

一定 説明
constexpr PCWSTR PackageFamilyName L"MicrosoftCorporationII.WinAppRuntime.Main.1.1-p1_8wekyb3d8bbwe" Windows アプリ SDK ランタイムの Main パッケージのファミリ名。

Microsoft::WindowsAppSDK::Runtime::P ackages::Singleton 名前空間

一定 説明
constexpr PCWSTR PackageFamilyName L"Microsoft.WindowsAppRuntime.Singleton-preview1_8wekyb3d8bbwe" Windows アプリ SDK ランタイムのシングルトン パッケージのファミリ名。

Microsoft::WindowsAppSDK::Runtime::Version 名前空間

一定 説明
constexpr uint16_t ビルド [release-dependent] Windows アプリ SDK ランタイムのビルド バージョン (例: 804)。
constexpr PCWSTR DotQuadString [release-dependent] Windows アプリ SDK ランタイムのバージョン 。文字列 (const wchar_t*)、たとえば L"1000.446.804.0" などです。
constexpr uint16_t Major [release-dependent] Windows アプリ SDK ランタイムのメジャー バージョン (1000 など)。
constexpr uint16_t Minor [リリース依存] Windows アプリ SDK ランタイムのマイナー バージョン (例: 446)。
constexpr uint16_t Revision [リリース依存] Windows アプリ SDK ランタイムのリビジョン バージョン (0 など)。
constexpr uint64_t UInt64 [リリース依存] Windows アプリ SDK ランタイムのバージョン (uint64l など) 0x03E801BE03240000。

要件

サポートされている最小 SDK: Windows アプリ SDK バージョン 1.1

名前 空間: Microsoft::WindowsAppSDK

ヘッダー: WindowsAppSDK-VersionInfo.h

関連項目