feat: added more stuff for applicationmodel.idl

This commit is contained in:
CT5
2026-02-12 19:12:08 +11:00
parent d000cc5cd6
commit a606d81347
30 changed files with 1595 additions and 27 deletions

View File

@@ -19,7 +19,27 @@ namespace Windows.Xbox.ApplicationModel
{
CoreApplicationContext();
Windows.Xbox.System.User CurrentUser { get; };
Windows.Xbox.System.User PreviousUser { get; };
event Windows.Foundation.EventHandler<IInspectable> CurrentUserChanged;
[interface_name("ICoreApplicationContext2", E555452E-8E16-46A6-BF31-34189B6CAD40)]
{
void SetCurrentUser(Windows.Xbox.System.User value);
}
[interface_name("ICoreApplicationContext3", 52DB8037-0ECB-48F6-974D-5796ECF34B69)]
{
Windows.Xbox.System.User CurrentSystemUser { get; };
event Windows.Foundation.EventHandler<Object> CurrentSystemUserChanged;
}
}
[interface_name("IUserContextLookup", 3E696DFE-2D61-42CC-9B58-C23301606C58)]
runtimeclass UserContextLookup
{
void RefreshUserContext(String aumid);
Windows.Xbox.System.User GetCurrentUserContext(String aumid);
void NotifyUserContextChanged(UInt32 userId, UInt32 userSequenceId);
}
}
@@ -101,11 +121,440 @@ namespace Windows.Xbox.ApplicationModel
static Windows.Foundation.IAsyncOperation<PrivilegeCheckResult> CheckPrivilegesAsync(Windows.Xbox.System.User unk, Windows.Foundation.Collections.IVectorView<UInt32> unka, Boolean unkaa, String unkaaa);
static event ProductPurchasedEventHandler ProductPurchased;
[static_name("IProductStaticsV2", 98888888-7788-7777-6666-555555555555)]
// TODO
[static_name("IProductStaticsV2", 3B082748-9469-4EBD-AE49-AAE86A76F42C)]
{
static Windows.Foundation.IAsyncAction ShowPurchaseForStoreIdAsync(Windows.Xbox.System.User unk, String unka);
static Windows.Foundation.IAsyncAction ShowDetailsForStoreIdAsync(Windows.Xbox.System.User unk, String unka);
}
}
[static_name("IConfigurationStatics", 9d50b2e8-eeb6-4ced-b9f1-3eb95b3c1e0f)]
runtimeclass Configuration
{
static String MarketplaceId();
}
}
namespace State
{
namespace Internal
{
[flags]
enum AccessibilityFeature
{
None = 0,
CustomVolumeControls = 1,
NarratedGameMenus = 2,
SpatialAudio = 4,
AccessibilityOnLaunch = 8,
AdjustableDifficulty = 16,
OnDemandTutorials = 32,
Pausable = 64,
ProgressSavingOptions = 128,
AdjustableInputSensitivity = 256,
FullKeyboardSupport = 512,
InputRemapping = 1024,
NoButtonHolds = 2048,
NoQuickTimeEvents = 4096,
SingleStickGameplay = 8192,
TtsSttCommunications = 16384,
AdjustableTextSize = 32768,
ColorOptions = 65536,
SteadyCamera = 131072,
SubtitleOptions = 262144,
ContrastOptions = 524288,
};
enum AppListEntry
{
Default = 0,
None = 1
};
enum ConsoleGeneration
{
Unknown = 0,
Era = 1,
GameCoreGen8 = 2,
GameCoreGen9 = 3,
};
enum ConsoleType
{
XboxOne = 0,
Xbox360 = 1,
XboxOriginal = 2,
XboxGen9 = 3,
XboxOneGen9Aware = 4,
};
enum EnhancementFeatureState
{
NotAvailable = 0,
Disabled = 1,
Enabled = 2,
};
enum FindPackageInfoFilter
{
All = 0,
GamesAndApps = 1,
Games = 2,
Apps = 3,
Dlc = 4,
};
enum GameAttributes
{
None = 0,
XboxOneXEnhanced = 1,
XblLocalCoop = 2,
XblLocalMultiPlayer = 4,
XblOnlineCoop = 8,
XblOnlineMultiPlayer = 16,
XblGoldRequiredForMultiplayer = 32,
Demo = 64,
ConsoleGen9Optimized = 128,
ConsoleGen8Compatible = 256,
ConsoleGen9Compatible = 512,
SupportsStreaming = 1024,
SupportsInstallFeatures = 2048,
XblRequired = 4096,
XblGoldRequired = 8192,
InAppPurchases = 16384,
XblSinglePlayer = 32768,
XblCrossPlatformMultiPlayer = 65536,
XblCrossPlatformCoop = 131072,
};
enum Genre
{
None = 0,
ActionAndAdventure = 1,
CardAndBoard = 4,
Classics = 8,
Educational = 16,
Entertainment = 32,
FamilyAndKids = 64,
Fighting = 128,
MultiPlayerOnlineBattleArena = 256,
NewsAndWeather = 512,
Music = 1024,
Other = 2048,
PhotoAndVideo = 4096,
Platformer = 8192,
Productivity = 16384,
PuzzleAndTrivia = 32768,
BooksAndReference = 32770,
RacingAndFlying = 65536,
RolePlaying = 131072,
Shooter = 262144,
Simulation = 524288,
Social = 1048576,
Sports = 2097152,
Strategy = 4194304,
UtilitiesAndTools = 8388608,
Video = 16777216,
Personalization = 33554432,
};
enum InteractiveElement
{
None,
InGamePurchases,
UserInteraction,
};
[flags]
enum Language
{
None = 0,
Albanian = 1,
Arabic = 2,
Bulgarian = 4,
Catalan = 8,
ChineseSimplified = 16,
ChineseTraditional = 32,
Croatian = 64,
Czech = 128,
Danish = 256,
Dutch = 512,
EnglishUnitedKingdom = 1024,
EnglishUnitedStates = 2048,
Estonian = 4096,
Finnish = 8192,
French = 16384,
German = 32768,
Greek = 65536,
Hebrew = 131072,
Hungarian = 262144,
Italian = 524288,
Japanese = 1048576,
Korean = 2097152,
Latvian = 4194304,
Lithuanian = 8388608,
Norwegian = 16777216,
Polish = 33554432,
PortugueseBrazil = 67108864,
PortuguesePortugal = 134217728,
Romanian = 268435456,
Russian = 536870912,
Serbian = 1073741824,
Slovak = 2147483648,
};
[flags]
enum Language2
{
None = 0,
SpanishMexico = 1,
SpanishSpain = 2,
Swedish = 4,
Thai = 8,
Turkish = 16,
Vietnamese = 32,
};
enum MetadataVersion
{
v1 = 1,
v2 = 2,
CurrentVersion = 3,
v3 = 3,
};
enum OsEnvironment
{
Sra = 0,
Era = 1,
GameCore = 2,
};
enum PackageContentType
{
Game = 0,
App = 1,
Dlc = 2,
Framework = 3,
Other = 255,
};
[flags]
enum TechnicalFeature
{
None = 0,
SmartDelivery = 1,
FourKResolution = 2,
HighDynamicRange = 4,
SixtyFramesPerSecond = 8,
OneHundredTwentyFramesPerSecond = 16,
RayTracing = 32,
TouchEnabled = 64,
DolbyAtmos = 128,
SpatialSound = 256,
};
enum XboxLiveTier
{
Unknown,
Full,
Open,
};
struct PerformanceModeDetails
{
UInt32 FromFps;
UInt32 ToFps;
Boolean EnabledByDefault;
};
[interface_name("IAppInfo", 518A8D04-41D1-479D-8408-B7AC5F00DA3E)]
[static_name("IAppInfoStatics", D52560E0-E3A0-4E21-9895-CFE00678E755)]
runtimeclass AppInfo
{
static AppInfo FindByAumid(String aumid);
static Windows.Foundation.Collections.IVectorView<AppInfo> FindByTitleId(UInt32 titleId);
PackageInfo Package { get; };
String PackageRelativeId { get; };
String ShortName { get; };
String LongName { get; };
String Description { get; };
String ForegroundText { get; };
UInt32 BackgroundColor { get; };
String Logo { get; };
String WideLogo { get; };
String SmallLogo { get; };
String Aumid { get; };
String SplashScreen { get; };
UInt32 TitleId { get; };
Guid PrimaryServiceConfigId { get; };
String VuiAlm { get; };
String VuiPron { get; };
UInt32 RatingCategory { get; };
String Ratings { get; };
AppListEntry AppListEntry { get; };
ConsoleType ConsoleType { get; };
XboxLiveTier XboxLiveTier { get; };
String InteractiveElements { get; };
Boolean RequiresXboxLive { get; };
String ExecutableName { get; };
Boolean IsXboxOneXEnhanced { get; };
Boolean IsDemo { get; };
GameAttributes GameAttributes { get; };
Genre Genres { get; };
String CloudId { get; };
InteractiveElement InteractiveElementFlags { get; };
TechnicalFeature TechnicalFeatures { get; };
AccessibilityFeature AccessibilityFeatures { get; };
Language AudioSupportedLanguages { get; };
Language2 AudioSupportedLanguages2 { get; };
Language InterfaceSupportedLanguages { get; };
Language2 InterfaceSupportedLanguages2 { get; };
Language SubtitleSupportedLanguages { get; };
Language2 SubtitleSupportedLanguages2 { get; };
}
[static_name("IAumidQueryStatics", AF01FEA4-CD80-46DA-930B-D153C7CFF5F2)]
runtimeclass AumidQuery
{
static void GetXboxLiveInfo(String aumid, out UInt32 titleId, out Guid primaryScid, out Boolean requireXboxLive);
}
[interface_name("IContentCompatibility", 4D7D5C92-8950-40A5-9A85-B89719323EC6)]
runtimeclass ContentCompatibility
{
ContentCompatibility();
[default_overload] HRESULT IsContentCompatible(Guid contentId);
HRESULT IsContentCompatible(String productId);
UInt64 GetQuickResumeFlags(UInt32 titleId);
Boolean IsQuickResumeAllowedForEra(UInt32 titleId);
Boolean IsQuickResumeBlockedForGameCore(UInt32 titleId);
HRESULT IsXbox360ContentCompatible(Guid legacyProductId);
String GetXbox360StoreIdFromContentId(Guid contentId);
Boolean IsQuickResumeBlockedForServer(UInt32 titleId);
UInt32 GetMacIdBehaviorForTitleOnServer(UInt32 titleId);
}
[interface_name("IContentEnhancements", 9F101CB0-C1B7-415F-B069-DF12BCB56010)]
runtimeclass ContentEnhancements
{
ContentEnhancements();
UInt64 GetEnhancementSettings(UInt32 titleId);
EnhancementFeatureState GetAutoHDREnabledGlobally();
Boolean GetAutoHDRAllowedForGame(UInt32 titleId);
Boolean GetAutoHDREnabledForGame(UInt32 titleId);
void SetAutoHDREnabledForGame(UInt32 titleId, Boolean isFeatureEnabled);
Boolean GetPerformanceModeAllowedForGame(UInt32 titleId);
Boolean GetPerformanceModeEnabledForGame(UInt32 titleId);
void SetPerformanceModeEnabledForGame(UInt32 titleId, Boolean isFeatureEnabled);
Boolean GetPerformanceModeForGameRequires120Hz(UInt32 titleId);
PerformanceModeDetails GetPerformanceModeDetailsForGame(UInt32 titleId);
Boolean GetAutoHDRAllowedForGameFromManifest(String aumid);
Boolean GetAutoHDREnabledForGameFromManifest(UInt32 titleId);
Boolean IsGen9AwareGame(Guid legacyProductId);
}
[interface_name("IDlcInfo", F56DC224-8B10-4638-ABCF-57526C5109C3)]
runtimeclass DlcInfo
{
PackageInfo Package { get; };
String ShortName { get; };
String LongName { get; };
String Description { get; };
String ForegroundText { get; };
UInt32 BackgroundColor { get; };
String Logo { get; };
String WideLogo { get; };
String SmallLogo { get; };
Guid AllowedProductId { get; };
Windows.Foundation.Collections.IVectorView<Guid> RelatedMedia { get; };
String AllowedPackageFamilyName { get; };
Windows.Foundation.Collections.IVectorView<String> RelatedMediaFamilyNames { get; };
UInt32 RatingCategory { get; };
String Ratings { get; };
}
[interface_name("IPackageChangedEventArgs", ED8C3E04-6F2F-494F-B29C-F04241263318)]
runtimeclass PackageChangedEventArgs
{
String PackageInstanceId { get; };
}
[static_name("IPackageFullNameQueryStatics", D1E139C4-D34A-4703-9671-8AEDE79A48CE)]
runtimeclass PackageFullNameQuery
{
static Boolean IsInbox(String packageFullName);
static Boolean IsEra(String packageFullName);
static PackageContentType GetContentType(String packageFullName);
static Boolean IsGameCore(String packageFullName);
}
[interface_name("IPackageInfoEvents", 6C9844D4-7C13-4BC2-B1DA-2DC84575A22E)]
runtimeclass PackageInfoEvents
{
PackageInfoEvents();
event Windows.Foundation.EventHandler<PackageChangedEventArgs> PackageChanged;
event Windows.Foundation.EventHandler<Object> PackageReset;
void LogStats();
}
[interface_name("IPackageInfo", D7E4EB34-7189-4D56-B869-EE9F8CEB5479)]
[static_name("IPackageInfoStatics", C65571F5-A60E-4CB8-9C24-C80266280D08)]
runtimeclass PackageInfo
{
static Windows.Foundation.Collections.IVectorView<PackageInfo> Find(FindPackageInfoFilter filter);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByDeviceId(Guid deviceId, FindPackageInfoFilter filter);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByContentId(Guid contentId);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByProductId(Guid productId);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByTitleId(UInt32 titleId);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByAllowedProductId(Guid allowedProductId);
static PackageInfo FindByPackageInstanceId(String packageInstanceId);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindUniversalPackagesByFamilyName(String packageFamilyName);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByAllowedPackageFamilyName(String allowedPackageFamilyName);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindUnparented();
static PackageInfo FindByFullName(String fullName);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindByTitleSearchString(String searchString, UInt32 maxResults);
static PackageInfo FindGameHub(Guid gameHubId);
static Windows.Foundation.Collections.IVectorView<PackageInfo> FindPackagesForGameHub(Guid gameHubId);
String PackageInstanceId { get; };
PackageContentType ContentType { get; };
Boolean IsInbox { get; };
UInt64 Version { get; };
String FullName { get; };
String FamilyName { get; };
String PublisherName { get; };
Guid ContentId { get; };
Guid ProductId { get; };
Guid DeviceId { get; };
OsEnvironment OsEnvironment { get; };
Boolean ImplementsContentRestrictions { get; };
UInt64 Size { get; };
UInt64 PersistentLocalStorageSize { get; };
Boolean IsPreIndexed { get; };
Boolean HasContentId { get; };
Windows.Foundation.Collections.IVectorView<AppInfo> Apps { get; };
DlcInfo Dlc { get; };
Windows.Foundation.DateTime InstallDate { get; };
Windows.Foundation.DateTime UpdateDate { get; };
String OneStoreProductId { get; };
Boolean SupportsMultipleUsers { get; };
AppInfo FirstVisibleApp { get; };
Boolean IsStoreInstalledSystemApp { get; };
Boolean IsContainerless { get; };
ConsoleGeneration Generation { get; };
Guid BuildId { get; };
Boolean WasRemoteInstalled { get; };
Boolean IsCloudPackage { get; };
Guid GameHubId { get; };
Boolean IsGameHub { get; };
}
[static_name("IProtocolQueryStatics", 0D12A529-BBF6-4DD2-9C53-72458CD30629)]
runtimeclass ProtocolQuery
{
static Windows.Foundation.Collections.IVectorView<String> FindAumidsForScheme(String scheme);
}
}
}
}

View File

@@ -1,5 +1,16 @@
namespace Windows.Xbox.Multiplayer
{
enum PartyErrorStatus {
InternalError = -2016673791,
BadToken = -2016673790,
InvalidSecureDeviceAddress = -2016673787,
EmptyParty = -2016673785,
PartyActionRestricted = -2016673784,
PartyAlreadyInTitle = -2016673783,
QualityOfSerivceFailed = -2016673782,
PartyJoinFailure = -2016673781,
};
// From @Zombie
enum SuppressGameSessionReadyToastMode
{
@@ -48,4 +59,15 @@ namespace Windows.Xbox.Multiplayer
{
Windows.Foundation.Collections.IVectorView<PartyChatMember> Members { get; };
}
[interface_name("IPartyChatStatics", AAAAAAAA-1A34-459B-973A-8C183714642B)]
runtimeclass PartyChat
{
Windows.Foundation.IAsyncOperation<PartyChatView> GetPartyChatViewAsync();
event Windows.Foundation.EventHandler<Object> PartyChatViewChanged;
Boolean IsPartyChatActive { get; };
Boolean IsPartyChatSuppressed { get; set; };
event Windows.Foundation.EventHandler<Boolean> IsPartyChatActiveChanged;
event Windows.Foundation.EventHandler<Boolean> IsPartyChatSuppressedChanged;
}
}

View File

@@ -95,7 +95,7 @@ namespace Windows.Xbox.System
String XboxUserId { get; };
// https://learn.microsoft.com/en-us/dotnet/api/microsoft.xbox.services.system.xboxliveuser.gettokenandsignatureasync
Windows.Foundation.IAsyncOperation<GetTokenAndSignatureResult> GetTokenAndSignatureAsync(String method, String url, String headers);
Windows.Foundation.IAsyncOperation<GetTokenAndSignatureResult> GetTokenAndSignatureAsync(String method, String url, String headers, Windows.Foundation.Collections.IVector<UInt8> body);
Windows.Foundation.IAsyncOperation<GetTokenAndSignatureResult> GetTokenAndSignatureAsync(String method, String url, String headers, UInt32 __bodySize, [size_is(__bodySize)] UInt8 body);
[default_overload] Windows.Foundation.IAsyncOperation<GetTokenAndSignatureResult> GetTokenAndSignatureAsync(String method, String url, String headers, String body);
}

View File

@@ -59,8 +59,17 @@ set(FILES
"src/Windows/Xbox/Management/Deployment/Windows.Xbox.Management.Deployment.PackageTransferWatcherForContentPackages.cpp"
"src/Windows/Xbox/Management/Deployment/Windows.Xbox.Management.Deployment.PackageTransferWatcherStaticsForChunkSpecifiers.cpp"
"src/Windows/Xbox/ApplicationModel/Core/Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.cpp"
"src/Windows/Xbox/ApplicationModel/Core/Windows.Xbox.ApplicationModel.Core.UserContextLookup.cpp"
"src/Windows/Xbox/ApplicationModel/Store/Windows.Xbox.ApplicationModel.Store.Configuration.cpp"
"src/Windows/Xbox/ApplicationModel/Store/Windows.Xbox.ApplicationModel.Store.Product.cpp"
"src/Windows/Xbox/ApplicationModel/Store/Windows.Xbox.ApplicationModel.Store.ProductPurchasedEventArgs.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.AppInfo.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.AumidQuery.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.ContentCompatibility.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.ContentEnhancements.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.PackageFullNameQuery.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.PackageInfo.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.PackageInfoEvents.cpp"
"src/Windows/Xbox/ApplicationModel/State/Windows.Xbox.ApplicationModel.State.Internal.ProtocolQuery.cpp"
"src/Windows/Xbox/ApplicationModel/Windows.Xbox.ApplicationModel.Help.cpp"
"src/Windows/Xbox/Multiplayer/Windows.Xbox.Multiplayer.MultiplayerSessionReference.cpp"
"src/Windows/Xbox/Multiplayer/Windows.Xbox.Multiplayer.PartyConfig.cpp"
@@ -89,6 +98,7 @@ target_include_directories(WinDurango.WinRT PUBLIC
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/ApplicationModel"
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/ApplicationModel/Core"
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/ApplicationModel/Store"
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/ApplicationModel/State"
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/Multiplayer"
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/Storage"
"${CMAKE_CURRENT_SOURCE_DIR}/include/WinDurango.WinRT/Windows/Xbox/Services"

View File

@@ -8,7 +8,12 @@ namespace winrt::Windows::Xbox::ApplicationModel::Core::implementation
{
CoreApplicationContext() = default;
void SetCurrentUser(winrt::Windows::Xbox::System::User const& value);
winrt::Windows::Xbox::System::User CurrentSystemUser();
winrt::event_token CurrentSystemUserChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
void CurrentSystemUserChanged(winrt::event_token const& token) noexcept;
winrt::Windows::Xbox::System::User CurrentUser();
winrt::Windows::Xbox::System::User PreviousUser();
winrt::event_token CurrentUserChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
void CurrentUserChanged(winrt::event_token const& token) noexcept;
private:

View File

@@ -0,0 +1,14 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.Core.UserContextLookup.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::Core::implementation
{
struct UserContextLookup : UserContextLookupT<UserContextLookup>
{
UserContextLookup() = default;
void RefreshUserContext(hstring const& aumid);
winrt::Windows::Xbox::System::User GetCurrentUserContext(hstring const& aumid);
void NotifyUserContextChanged(uint32_t userId, uint32_t userSequenceId);
};
}

View File

@@ -0,0 +1,57 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.AppInfo.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct AppInfo : AppInfoT<AppInfo>
{
AppInfo() = default;
static winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo FindByAumid(hstring const& aumid);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo> FindByTitleId(uint32_t titleId);
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo Package();
hstring PackageRelativeId();
hstring ShortName();
hstring LongName();
hstring Description();
hstring ForegroundText();
uint32_t BackgroundColor();
hstring Logo();
hstring WideLogo();
hstring SmallLogo();
hstring Aumid();
hstring SplashScreen();
uint32_t TitleId();
winrt::guid PrimaryServiceConfigId();
hstring VuiAlm();
hstring VuiPron();
uint32_t RatingCategory();
hstring Ratings();
winrt::Windows::Xbox::ApplicationModel::State::Internal::AppListEntry AppListEntry();
winrt::Windows::Xbox::ApplicationModel::State::Internal::ConsoleType ConsoleType();
winrt::Windows::Xbox::ApplicationModel::State::Internal::XboxLiveTier XboxLiveTier();
hstring InteractiveElements();
bool RequiresXboxLive();
hstring ExecutableName();
bool IsXboxOneXEnhanced();
bool IsDemo();
winrt::Windows::Xbox::ApplicationModel::State::Internal::GameAttributes GameAttributes();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Genre Genres();
hstring CloudId();
winrt::Windows::Xbox::ApplicationModel::State::Internal::InteractiveElement InteractiveElementFlags();
winrt::Windows::Xbox::ApplicationModel::State::Internal::TechnicalFeature TechnicalFeatures();
winrt::Windows::Xbox::ApplicationModel::State::Internal::AccessibilityFeature AccessibilityFeatures();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language AudioSupportedLanguages();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language2 AudioSupportedLanguages2();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language InterfaceSupportedLanguages();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language2 InterfaceSupportedLanguages2();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language SubtitleSupportedLanguages();
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language2 SubtitleSupportedLanguages2();
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct AppInfo : AppInfoT<AppInfo, implementation::AppInfo>
{
};
}

View File

@@ -0,0 +1,18 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.AumidQuery.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct AumidQuery
{
AumidQuery() = default;
static void GetXboxLiveInfo(hstring const& aumid, uint32_t& titleId, winrt::guid& primaryScid, bool& requireXboxLive);
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct AumidQuery : AumidQueryT<AumidQuery, implementation::AumidQuery>
{
};
}

View File

@@ -0,0 +1,26 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.ContentCompatibility.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct ContentCompatibility : ContentCompatibilityT<ContentCompatibility>
{
ContentCompatibility() = default;
winrt::hresult IsContentCompatible(winrt::guid const& contentId);
winrt::hresult IsContentCompatible(hstring const& productId);
uint64_t GetQuickResumeFlags(uint32_t titleId);
bool IsQuickResumeAllowedForEra(uint32_t titleId);
bool IsQuickResumeBlockedForGameCore(uint32_t titleId);
winrt::hresult IsXbox360ContentCompatible(winrt::guid const& legacyProductId);
hstring GetXbox360StoreIdFromContentId(winrt::guid const& contentId);
bool IsQuickResumeBlockedForServer(uint32_t titleId);
uint32_t GetMacIdBehaviorForTitleOnServer(uint32_t titleId);
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct ContentCompatibility : ContentCompatibilityT<ContentCompatibility, implementation::ContentCompatibility>
{
};
}

View File

@@ -0,0 +1,30 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.ContentEnhancements.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct ContentEnhancements : ContentEnhancementsT<ContentEnhancements>
{
ContentEnhancements() = default;
uint64_t GetEnhancementSettings(uint32_t titleId);
winrt::Windows::Xbox::ApplicationModel::State::Internal::EnhancementFeatureState GetAutoHDREnabledGlobally();
bool GetAutoHDRAllowedForGame(uint32_t titleId);
bool GetAutoHDREnabledForGame(uint32_t titleId);
void SetAutoHDREnabledForGame(uint32_t titleId, bool isFeatureEnabled);
bool GetPerformanceModeAllowedForGame(uint32_t titleId);
bool GetPerformanceModeEnabledForGame(uint32_t titleId);
void SetPerformanceModeEnabledForGame(uint32_t titleId, bool isFeatureEnabled);
bool GetPerformanceModeForGameRequires120Hz(uint32_t titleId);
winrt::Windows::Xbox::ApplicationModel::State::Internal::PerformanceModeDetails GetPerformanceModeDetailsForGame(uint32_t titleId);
bool GetAutoHDRAllowedForGameFromManifest(hstring const& aumid);
bool GetAutoHDREnabledForGameFromManifest(uint32_t titleId);
bool IsGen9AwareGame(winrt::guid const& legacyProductId);
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct ContentEnhancements : ContentEnhancementsT<ContentEnhancements, implementation::ContentEnhancements>
{
};
}

View File

@@ -0,0 +1,21 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageFullNameQuery.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct PackageFullNameQuery
{
PackageFullNameQuery() = default;
static bool IsInbox(hstring const& packageFullName);
static bool IsEra(hstring const& packageFullName);
static winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageContentType GetContentType(hstring const& packageFullName);
static bool IsGameCore(hstring const& packageFullName);
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct PackageFullNameQuery : PackageFullNameQueryT<PackageFullNameQuery, implementation::PackageFullNameQuery>
{
};
}

View File

@@ -0,0 +1,84 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageInfo.g.h"
#include "Windows.Xbox.ApplicationModel.State.Internal.DlcInfo.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct DlcInfo : DlcInfoT<DlcInfo>
{
DlcInfo() = default;
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo Package();
hstring ShortName();
hstring LongName();
hstring Description();
hstring ForegroundText();
uint32_t BackgroundColor();
hstring Logo();
hstring WideLogo();
hstring SmallLogo();
winrt::guid AllowedProductId();
winrt::Windows::Foundation::Collections::IVectorView<winrt::guid> RelatedMedia();
hstring AllowedPackageFamilyName();
winrt::Windows::Foundation::Collections::IVectorView<hstring> RelatedMediaFamilyNames();
uint32_t RatingCategory();
hstring Ratings();
};
struct PackageInfo : PackageInfoT<PackageInfo>
{
PackageInfo() = default;
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> Find(winrt::Windows::Xbox::ApplicationModel::State::Internal::FindPackageInfoFilter const& filter);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByDeviceId(winrt::guid const& deviceId, winrt::Windows::Xbox::ApplicationModel::State::Internal::FindPackageInfoFilter const& filter);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByContentId(winrt::guid const& contentId);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByProductId(winrt::guid const& productId);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByTitleId(uint32_t titleId);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByAllowedProductId(winrt::guid const& allowedProductId);
static winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo FindByPackageInstanceId(hstring const& packageInstanceId);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindUniversalPackagesByFamilyName(hstring const& packageFamilyName);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByAllowedPackageFamilyName(hstring const& allowedPackageFamilyName);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindUnparented();
static winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo FindByFullName(hstring const& fullName);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindByTitleSearchString(hstring const& searchString, uint32_t maxResults);
static winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo FindGameHub(winrt::guid const& gameHubId);
static winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> FindPackagesForGameHub(winrt::guid const& gameHubId);
hstring PackageInstanceId();
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageContentType ContentType();
bool IsInbox();
uint64_t Version();
hstring FullName();
hstring FamilyName();
hstring PublisherName();
winrt::guid ContentId();
winrt::guid ProductId();
winrt::guid DeviceId();
winrt::Windows::Xbox::ApplicationModel::State::Internal::OsEnvironment OsEnvironment();
bool ImplementsContentRestrictions();
uint64_t Size();
uint64_t PersistentLocalStorageSize();
bool IsPreIndexed();
bool HasContentId();
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo> Apps();
winrt::Windows::Xbox::ApplicationModel::State::Internal::DlcInfo Dlc();
winrt::Windows::Foundation::DateTime InstallDate();
winrt::Windows::Foundation::DateTime UpdateDate();
hstring OneStoreProductId();
bool SupportsMultipleUsers();
winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo FirstVisibleApp();
bool IsStoreInstalledSystemApp();
bool IsContainerless();
winrt::Windows::Xbox::ApplicationModel::State::Internal::ConsoleGeneration Generation();
winrt::guid BuildId();
bool WasRemoteInstalled();
bool IsCloudPackage();
winrt::guid GameHubId();
bool IsGameHub();
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct PackageInfo : PackageInfoT<PackageInfo, implementation::PackageInfo>
{
};
}

View File

@@ -0,0 +1,30 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageChangedEventArgs.g.h"
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageInfoEvents.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct PackageChangedEventArgs : PackageChangedEventArgsT<PackageChangedEventArgs>
{
PackageChangedEventArgs() = default;
hstring PackageInstanceId();
};
struct PackageInfoEvents : PackageInfoEventsT<PackageInfoEvents>
{
PackageInfoEvents() = default;
winrt::event_token PackageChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageChangedEventArgs> const& handler);
void PackageChanged(winrt::event_token const& token) noexcept;
winrt::event_token PackageReset(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
void PackageReset(winrt::event_token const& token) noexcept;
void LogStats();
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct PackageInfoEvents : PackageInfoEventsT<PackageInfoEvents, implementation::PackageInfoEvents>
{
};
}

View File

@@ -0,0 +1,18 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.State.Internal.ProtocolQuery.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
struct ProtocolQuery
{
ProtocolQuery() = default;
static winrt::Windows::Foundation::Collections::IVectorView<hstring> FindAumidsForScheme(hstring const& scheme);
};
}
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::factory_implementation
{
struct ProtocolQuery : ProtocolQueryT<ProtocolQuery, implementation::ProtocolQuery>
{
};
}

View File

@@ -0,0 +1,18 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.Store.Configuration.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::Store::implementation
{
struct Configuration
{
Configuration() = default;
static hstring MarketplaceId();
};
}
namespace winrt::Windows::Xbox::ApplicationModel::Store::factory_implementation
{
struct Configuration : ConfigurationT<Configuration, implementation::Configuration>
{
};
}

View File

@@ -1,8 +1,19 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.Store.ProductPurchasedEventArgs.g.h"
#include "Windows.Xbox.ApplicationModel.Store.Product.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::Store::implementation
{
struct ProductPurchasedEventArgs : ProductPurchasedEventArgsT<ProductPurchasedEventArgs>
{
ProductPurchasedEventArgs() = default;
ProductPurchasedEventArgs(hstring receipt) : receipt(receipt) {}
hstring Receipt();
private:
hstring receipt;
};
struct Product
{
Product() = default;

View File

@@ -1,15 +0,0 @@
#pragma once
#include "Windows.Xbox.ApplicationModel.Store.ProductPurchasedEventArgs.g.h"
namespace winrt::Windows::Xbox::ApplicationModel::Store::implementation
{
struct ProductPurchasedEventArgs : ProductPurchasedEventArgsT<ProductPurchasedEventArgs>
{
ProductPurchasedEventArgs() = default;
ProductPurchasedEventArgs(hstring receipt) : receipt(receipt) {}
hstring Receipt();
private:
hstring receipt;
};
}

View File

@@ -8,6 +8,11 @@ namespace winrt::Windows::Xbox::ApplicationModel::Core::implementation
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: CurrentUser");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::System::User CoreApplicationContext::PreviousUser()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: PreviousUser");
throw hresult_not_implemented();
}
winrt::event_token CoreApplicationContext::CurrentUserChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
return e_CurrentUserChanged.add(handler);
@@ -16,4 +21,24 @@ namespace winrt::Windows::Xbox::ApplicationModel::Core::implementation
{
e_CurrentUserChanged.remove(token);
}
void CoreApplicationContext::SetCurrentUser(winrt::Windows::Xbox::System::User const& value)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: SetCurrentUser");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::System::User CoreApplicationContext::CurrentSystemUser()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: CurrentSystemUser");
throw hresult_not_implemented();
}
winrt::event_token CoreApplicationContext::CurrentSystemUserChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: CurrentSystemUserChanged");
throw hresult_not_implemented();
}
void CoreApplicationContext::CurrentSystemUserChanged(winrt::event_token const& token) noexcept
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: CurrentSystemUserChanged");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,21 @@
#include "Windows.Xbox.ApplicationModel.Core.UserContextLookup.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::Core::implementation
{
void UserContextLookup::RefreshUserContext(hstring const& aumid)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: RefreshUserContext");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::System::User UserContextLookup::GetCurrentUserContext(hstring const& aumid)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: GetCurrentUserContext");
throw hresult_not_implemented();
}
void UserContextLookup::NotifyUserContextChanged(uint32_t userId, uint32_t userSequenceId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Core", "Unimplemented: NotifyUserContextChanged");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,206 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.AppInfo.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo AppInfo::FindByAumid(hstring const& aumid)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByAumid");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo> AppInfo::FindByTitleId(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByTitleId");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo AppInfo::Package()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Package");
throw hresult_not_implemented();
}
hstring AppInfo::PackageRelativeId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageRelativeId");
throw hresult_not_implemented();
}
hstring AppInfo::ShortName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ShortName");
throw hresult_not_implemented();
}
hstring AppInfo::LongName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: LongName");
throw hresult_not_implemented();
}
hstring AppInfo::Description()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Description");
throw hresult_not_implemented();
}
hstring AppInfo::ForegroundText()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ForegroundText");
throw hresult_not_implemented();
}
uint32_t AppInfo::BackgroundColor()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: BackgroundColor");
throw hresult_not_implemented();
}
hstring AppInfo::Logo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Logo");
throw hresult_not_implemented();
}
hstring AppInfo::WideLogo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: WideLogo");
throw hresult_not_implemented();
}
hstring AppInfo::SmallLogo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SmallLogo");
throw hresult_not_implemented();
}
hstring AppInfo::Aumid()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Aumid");
throw hresult_not_implemented();
}
hstring AppInfo::SplashScreen()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SplashScreen");
throw hresult_not_implemented();
}
uint32_t AppInfo::TitleId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: TitleId");
throw hresult_not_implemented();
}
winrt::guid AppInfo::PrimaryServiceConfigId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PrimaryServiceConfigId");
throw hresult_not_implemented();
}
hstring AppInfo::VuiAlm()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: VuiAlm");
throw hresult_not_implemented();
}
hstring AppInfo::VuiPron()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: VuiPron");
throw hresult_not_implemented();
}
uint32_t AppInfo::RatingCategory()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: RatingCategory");
throw hresult_not_implemented();
}
hstring AppInfo::Ratings()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Ratings");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::AppListEntry AppInfo::AppListEntry()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: AppListEntry");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::ConsoleType AppInfo::ConsoleType()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ConsoleType");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::XboxLiveTier AppInfo::XboxLiveTier()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: XboxLiveTier");
throw hresult_not_implemented();
}
hstring AppInfo::InteractiveElements()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: InteractiveElements");
throw hresult_not_implemented();
}
bool AppInfo::RequiresXboxLive()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: RequiresXboxLive");
throw hresult_not_implemented();
}
hstring AppInfo::ExecutableName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ExecutableName");
throw hresult_not_implemented();
}
bool AppInfo::IsXboxOneXEnhanced()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsXboxOneXEnhanced");
throw hresult_not_implemented();
}
bool AppInfo::IsDemo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsDemo");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::GameAttributes AppInfo::GameAttributes()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GameAttributes");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Genre AppInfo::Genres()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Genres");
throw hresult_not_implemented();
}
hstring AppInfo::CloudId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: CloudId");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::InteractiveElement AppInfo::InteractiveElementFlags()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: InteractiveElementFlags");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::TechnicalFeature AppInfo::TechnicalFeatures()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: TechnicalFeatures");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::AccessibilityFeature AppInfo::AccessibilityFeatures()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: AccessibilityFeatures");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language AppInfo::AudioSupportedLanguages()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: AudioSupportedLanguages");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language2 AppInfo::AudioSupportedLanguages2()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: AudioSupportedLanguages2");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language AppInfo::InterfaceSupportedLanguages()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: InterfaceSupportedLanguages");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language2 AppInfo::InterfaceSupportedLanguages2()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: InterfaceSupportedLanguages2");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language AppInfo::SubtitleSupportedLanguages()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SubtitleSupportedLanguages");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::Language2 AppInfo::SubtitleSupportedLanguages2()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SubtitleSupportedLanguages2");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,11 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.AumidQuery.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
void AumidQuery::GetXboxLiveInfo(hstring const& aumid, uint32_t& titleId, winrt::guid& primaryScid, bool& requireXboxLive)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetXboxLiveInfo");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,51 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.ContentCompatibility.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
winrt::hresult ContentCompatibility::IsContentCompatible(winrt::guid const& contentId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsContentCompatible");
throw hresult_not_implemented();
}
winrt::hresult ContentCompatibility::IsContentCompatible(hstring const& productId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsContentCompatible");
throw hresult_not_implemented();
}
uint64_t ContentCompatibility::GetQuickResumeFlags(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetQuickResumeFlags");
throw hresult_not_implemented();
}
bool ContentCompatibility::IsQuickResumeAllowedForEra(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsQuickResumeAllowedForEra");
throw hresult_not_implemented();
}
bool ContentCompatibility::IsQuickResumeBlockedForGameCore(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsQuickResumeBlockedForGameCore");
throw hresult_not_implemented();
}
winrt::hresult ContentCompatibility::IsXbox360ContentCompatible(winrt::guid const& legacyProductId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsXbox360ContentCompatible");
throw hresult_not_implemented();
}
hstring ContentCompatibility::GetXbox360StoreIdFromContentId(winrt::guid const& contentId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetXbox360StoreIdFromContentId");
throw hresult_not_implemented();
}
bool ContentCompatibility::IsQuickResumeBlockedForServer(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsQuickResumeBlockedForServer");
throw hresult_not_implemented();
}
uint32_t ContentCompatibility::GetMacIdBehaviorForTitleOnServer(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetMacIdBehaviorForTitleOnServer");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,71 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.ContentEnhancements.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
uint64_t ContentEnhancements::GetEnhancementSettings(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetEnhancementSettings");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::EnhancementFeatureState ContentEnhancements::GetAutoHDREnabledGlobally()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetAutoHDREnabledGlobally");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDRAllowedForGame(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetAutoHDRAllowedForGame");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDREnabledForGame(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetAutoHDREnabledForGame");
throw hresult_not_implemented();
}
void ContentEnhancements::SetAutoHDREnabledForGame(uint32_t titleId, bool isFeatureEnabled)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SetAutoHDREnabledForGame");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetPerformanceModeAllowedForGame(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetPerformanceModeAllowedForGame");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetPerformanceModeEnabledForGame(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetPerformanceModeEnabledForGame");
throw hresult_not_implemented();
}
void ContentEnhancements::SetPerformanceModeEnabledForGame(uint32_t titleId, bool isFeatureEnabled)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SetPerformanceModeEnabledForGame");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetPerformanceModeForGameRequires120Hz(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetPerformanceModeForGameRequires120Hz");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PerformanceModeDetails ContentEnhancements::GetPerformanceModeDetailsForGame(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetPerformanceModeDetailsForGame");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDRAllowedForGameFromManifest(hstring const& aumid)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetAutoHDRAllowedForGameFromManifest");
throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDREnabledForGameFromManifest(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetAutoHDREnabledForGameFromManifest");
throw hresult_not_implemented();
}
bool ContentEnhancements::IsGen9AwareGame(winrt::guid const& legacyProductId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsGen9AwareGame");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,26 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageFullNameQuery.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
bool PackageFullNameQuery::IsInbox(hstring const& packageFullName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsInbox");
throw hresult_not_implemented();
}
bool PackageFullNameQuery::IsEra(hstring const& packageFullName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsEra");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageContentType PackageFullNameQuery::GetContentType(hstring const& packageFullName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GetContentType");
throw hresult_not_implemented();
}
bool PackageFullNameQuery::IsGameCore(hstring const& packageFullName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsGameCore");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,306 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageInfo.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo DlcInfo::Package()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Package");
throw hresult_not_implemented();
}
hstring DlcInfo::ShortName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ShortName");
throw hresult_not_implemented();
}
hstring DlcInfo::LongName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: LongName");
throw hresult_not_implemented();
}
hstring DlcInfo::Description()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Description");
throw hresult_not_implemented();
}
hstring DlcInfo::ForegroundText()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ForegroundText");
throw hresult_not_implemented();
}
uint32_t DlcInfo::BackgroundColor()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: BackgroundColor");
throw hresult_not_implemented();
}
hstring DlcInfo::Logo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Logo");
throw hresult_not_implemented();
}
hstring DlcInfo::WideLogo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: WideLogo");
throw hresult_not_implemented();
}
hstring DlcInfo::SmallLogo()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SmallLogo");
throw hresult_not_implemented();
}
winrt::guid DlcInfo::AllowedProductId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: AllowedProductId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::guid> DlcInfo::RelatedMedia()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: RelatedMedia");
throw hresult_not_implemented();
}
hstring DlcInfo::AllowedPackageFamilyName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: AllowedPackageFamilyName");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<hstring> DlcInfo::RelatedMediaFamilyNames()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: RelatedMediaFamilyNames");
throw hresult_not_implemented();
}
uint32_t DlcInfo::RatingCategory()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: RatingCategory");
throw hresult_not_implemented();
}
hstring DlcInfo::Ratings()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Ratings");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::Find(winrt::Windows::Xbox::ApplicationModel::State::Internal::FindPackageInfoFilter const& filter)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Find");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByDeviceId(winrt::guid const& deviceId, winrt::Windows::Xbox::ApplicationModel::State::Internal::FindPackageInfoFilter const& filter)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByDeviceId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByContentId(winrt::guid const& contentId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByContentId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByProductId(winrt::guid const& productId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByProductId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByTitleId(uint32_t titleId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByTitleId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByAllowedProductId(winrt::guid const& allowedProductId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByAllowedProductId");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo PackageInfo::FindByPackageInstanceId(hstring const& packageInstanceId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByPackageInstanceId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindUniversalPackagesByFamilyName(hstring const& packageFamilyName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindUniversalPackagesByFamilyName");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByAllowedPackageFamilyName(hstring const& allowedPackageFamilyName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByAllowedPackageFamilyName");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindUnparented()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindUnparented");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo PackageInfo::FindByFullName(hstring const& fullName)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByFullName");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindByTitleSearchString(hstring const& searchString, uint32_t maxResults)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindByTitleSearchString");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo PackageInfo::FindGameHub(winrt::guid const& gameHubId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindGameHub");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageInfo> PackageInfo::FindPackagesForGameHub(winrt::guid const& gameHubId)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindPackagesForGameHub");
throw hresult_not_implemented();
}
hstring PackageInfo::PackageInstanceId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageInstanceId");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageContentType PackageInfo::ContentType()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ContentType");
throw hresult_not_implemented();
}
bool PackageInfo::IsInbox()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsInbox");
throw hresult_not_implemented();
}
uint64_t PackageInfo::Version()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Version");
throw hresult_not_implemented();
}
hstring PackageInfo::FullName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FullName");
throw hresult_not_implemented();
}
hstring PackageInfo::FamilyName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FamilyName");
throw hresult_not_implemented();
}
hstring PackageInfo::PublisherName()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PublisherName");
throw hresult_not_implemented();
}
winrt::guid PackageInfo::ContentId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ContentId");
throw hresult_not_implemented();
}
winrt::guid PackageInfo::ProductId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ProductId");
throw hresult_not_implemented();
}
winrt::guid PackageInfo::DeviceId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: DeviceId");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::OsEnvironment PackageInfo::OsEnvironment()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: OsEnvironment");
throw hresult_not_implemented();
}
bool PackageInfo::ImplementsContentRestrictions()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: ImplementsContentRestrictions");
throw hresult_not_implemented();
}
uint64_t PackageInfo::Size()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Size");
throw hresult_not_implemented();
}
uint64_t PackageInfo::PersistentLocalStorageSize()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PersistentLocalStorageSize");
throw hresult_not_implemented();
}
bool PackageInfo::IsPreIndexed()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsPreIndexed");
throw hresult_not_implemented();
}
bool PackageInfo::HasContentId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: HasContentId");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo> PackageInfo::Apps()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Apps");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::DlcInfo PackageInfo::Dlc()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Dlc");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::DateTime PackageInfo::InstallDate()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: InstallDate");
throw hresult_not_implemented();
}
winrt::Windows::Foundation::DateTime PackageInfo::UpdateDate()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: UpdateDate");
throw hresult_not_implemented();
}
hstring PackageInfo::OneStoreProductId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: OneStoreProductId");
throw hresult_not_implemented();
}
bool PackageInfo::SupportsMultipleUsers()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: SupportsMultipleUsers");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::AppInfo PackageInfo::FirstVisibleApp()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FirstVisibleApp");
throw hresult_not_implemented();
}
bool PackageInfo::IsStoreInstalledSystemApp()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsStoreInstalledSystemApp");
throw hresult_not_implemented();
}
bool PackageInfo::IsContainerless()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsContainerless");
throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::ConsoleGeneration PackageInfo::Generation()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: Generation");
throw hresult_not_implemented();
}
winrt::guid PackageInfo::BuildId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: BuildId");
throw hresult_not_implemented();
}
bool PackageInfo::WasRemoteInstalled()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: WasRemoteInstalled");
throw hresult_not_implemented();
}
bool PackageInfo::IsCloudPackage()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsCloudPackage");
throw hresult_not_implemented();
}
winrt::guid PackageInfo::GameHubId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: GameHubId");
throw hresult_not_implemented();
}
bool PackageInfo::IsGameHub()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: IsGameHub");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,36 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.PackageInfoEvents.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
hstring PackageChangedEventArgs::PackageInstanceId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageInstanceId");
throw hresult_not_implemented();
}
winrt::event_token PackageInfoEvents::PackageChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::ApplicationModel::State::Internal::PackageChangedEventArgs> const& handler)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageChanged");
throw hresult_not_implemented();
}
void PackageInfoEvents::PackageChanged(winrt::event_token const& token) noexcept
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageChanged");
throw hresult_not_implemented();
}
winrt::event_token PackageInfoEvents::PackageReset(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageReset");
throw hresult_not_implemented();
}
void PackageInfoEvents::PackageReset(winrt::event_token const& token) noexcept
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: PackageReset");
throw hresult_not_implemented();
}
void PackageInfoEvents::LogStats()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: LogStats");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,11 @@
#include "Windows.Xbox.ApplicationModel.State.Internal.ProtocolQuery.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
winrt::Windows::Foundation::Collections::IVectorView<hstring> ProtocolQuery::FindAumidsForScheme(hstring const& scheme)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::State", "Unimplemented: FindAumidsForScheme");
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,11 @@
#include "Windows.Xbox.ApplicationModel.Store.Configuration.h"
#include "WinDurangoWinRT.h"
namespace winrt::Windows::Xbox::ApplicationModel::Store::implementation
{
hstring Configuration::MarketplaceId()
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Store", "Unimplemented: MarketplaceId");
throw hresult_not_implemented();
}
}

View File

@@ -3,6 +3,10 @@
namespace winrt::Windows::Xbox::ApplicationModel::Store::implementation
{
hstring ProductPurchasedEventArgs::Receipt()
{
return receipt;
}
winrt::Windows::Foundation::IAsyncAction Product::ShowPurchaseAsync(winrt::Windows::Xbox::System::User unk, hstring unka)
{
p_wd->log.Warn("WinDurango::WinRT::Windows::Xbox::ApplicationModel::Store", "Unimplemented: ShowPurchaseAsync");

View File

@@ -1,9 +0,0 @@
#include "Windows.Xbox.ApplicationModel.Store.ProductPurchasedEventArgs.h"
namespace winrt::Windows::Xbox::ApplicationModel::Store::implementation
{
hstring ProductPurchasedEventArgs::Receipt()
{
return receipt;
}
}