Files
WinDurango/dlls/winrt_x/Implementation/Windows.Xbox.ApplicationModel.State.Internal.ContentEnhancements.cpp
Serenity 9d6d26d584 Refactor Xbox Services SDK and enhance logging
Renamed functions in `dllmain.cpp` and `hooks.h` for clarity, including `XWinePatchImport` to `XPatchImport` and `XWineGetImport` to `XGetImport`. Added `<atlbase.h>` include in `hooks.h`. Updated comments to reflect contributions from the "XWine1 Team".

Standardized logging for unimplemented methods across various Xbox Services and Kinect classes, ensuring consistent use of `LOG_NOT_IMPLEMENTED()`.

Implemented new methods in `MultiplayerService`, `PresenceService`, `CatalogService`, `InventoryService`, and `PrivacyService` to enhance functionality related to multiplayer sessions, user presence, catalog management, and privacy settings.

Overall, these changes improve code organization, readability, and maintainability while laying the groundwork for future enhancements.
2025-06-03 05:04:16 -04:00

60 lines
2.4 KiB
C++

#include "pch.h"
#include "Windows.Xbox.ApplicationModel.State.Internal.ContentEnhancements.h"
#include "Windows.Xbox.ApplicationModel.State.Internal.ContentEnhancements.g.cpp"
namespace winrt::Windows::Xbox::ApplicationModel::State::Internal::implementation
{
uint64_t ContentEnhancements::GetEnhancementSettings(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::EnhancementFeatureState ContentEnhancements::GetAutoHDREnabledGlobally()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDRAllowedForGame(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDREnabledForGame(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void ContentEnhancements::SetAutoHDREnabledForGame(uint32_t titleId, bool isFeatureEnabled)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetPerformanceModeAllowedForGame(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetPerformanceModeEnabledForGame(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void ContentEnhancements::SetPerformanceModeEnabledForGame(uint32_t titleId, bool isFeatureEnabled)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetPerformanceModeForGameRequires120Hz(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::ApplicationModel::State::Internal::PerformanceModeDetails ContentEnhancements::GetPerformanceModeDetailsForGame(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDRAllowedForGameFromManifest(hstring const& aumid)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::GetAutoHDREnabledForGameFromManifest(uint32_t titleId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool ContentEnhancements::IsGen9AwareGame(winrt::guid const& legacyProductId)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
}