From: Rémi Bernon <rbernon(a)codeweavers.com> --- dlls/windows.system.profile.systemid/classes.idl | 8 ++++++-- include/windows.system.profile.idl | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dlls/windows.system.profile.systemid/classes.idl b/dlls/windows.system.profile.systemid/classes.idl index f143f50f092..1ca32931759 100644 --- a/dlls/windows.system.profile.systemid/classes.idl +++ b/dlls/windows.system.profile.systemid/classes.idl @@ -19,6 +19,10 @@ */ #pragma makedep register +#pragma winrt ns_prefix -#define _WINDOWS_SYSTEM_PROFILE_SYSTEM_ID -#include "windows.system.profile.idl" +import "windows.system.profile.idl"; + +namespace Windows.System.Profile { + runtimeclass SystemIdentification; +} diff --git a/include/windows.system.profile.idl b/include/windows.system.profile.idl index 7adeb6aa8a2..c6cfe9a9fb2 100644 --- a/include/windows.system.profile.idl +++ b/include/windows.system.profile.idl @@ -97,7 +97,6 @@ namespace Windows.System.Profile { HRESULT GetSystemIdForUser([in] Windows.System.User *user, [out, retval] Windows.System.Profile.SystemIdentificationInfo **result); } -#ifndef _WINDOWS_SYSTEM_PROFILE_SYSTEM_ID [ contract(Windows.Foundation.UniversalApiContract, 1.0), marshaling_behavior(agile), @@ -119,7 +118,6 @@ namespace Windows.System.Profile { runtimeclass AnalyticsInfo { } -#endif [ contract(Windows.Foundation.UniversalApiContract, 3.0), -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8853