From: Rémi Bernon rbernon@codeweavers.com
--- dlls/windows.globalization/classes.idl | 17 ++++++++++------- include/windows.system.userprofile.idl | 2 -- 2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/dlls/windows.globalization/classes.idl b/dlls/windows.globalization/classes.idl index 6a006b15423..1a295feaf45 100644 --- a/dlls/windows.globalization/classes.idl +++ b/dlls/windows.globalization/classes.idl @@ -19,10 +19,7 @@ */
#pragma makedep register - -#ifdef __WIDL__ #pragma winrt ns_prefix -#endif
import "inspectable.idl"; import "asyncinfo.idl"; @@ -30,8 +27,14 @@ import "eventtoken.idl"; import "windowscontracts.idl"; import "windows.foundation.idl"; import "windows.system.idl"; +import "windows.globalization.idl"; +import "windows.system.userprofile.idl";
-#define DO_NO_IMPORTS -#define _WINDOWS_GLOBALIZATION -#include "windows.globalization.idl" -#include "windows.system.userprofile.idl" +namespace Windows.System.UserProfile { + runtimeclass GlobalizationPreferences; +} +namespace Windows.Globalization { + runtimeclass Language; + runtimeclass GeographicRegion; + runtimeclass ApplicationLanguages; +} diff --git a/include/windows.system.userprofile.idl b/include/windows.system.userprofile.idl index 9e2b64ac971..e0353b1d9ee 100644 --- a/include/windows.system.userprofile.idl +++ b/include/windows.system.userprofile.idl @@ -75,7 +75,6 @@ namespace Windows.System.UserProfile { { }
-#ifndef _WINDOWS_GLOBALIZATION [ contract(Windows.Foundation.UniversalApiContract, 1.0), marshaling_behavior(standard), @@ -85,6 +84,5 @@ namespace Windows.System.UserProfile { runtimeclass AdvertisingManager { } -#endif
}