[PATCH 1/4] windows.foundation.metadata: Add stub dll

Rémi Bernon rbernon at codeweavers.com
Mon Jan 31 04:06:19 CST 2022


On 1/31/22 11:04, Rémi Bernon wrote:
>> +
>> +#ifdef __WIDL__
>> +#pragma winrt ns_prefix
>> +#endif
>> +
>> +import "inspectable.idl";
>> +import "asyncinfo.idl";
>> +import "eventtoken.idl";
>> +import "windowscontracts.idl";
>> +import "windows.foundation.idl";
>> +
>> +namespace Windows {
>> +    namespace Foundation {
>> +        namespace Metadata {
>> +            interface IApiInformationStatics;
>> +            runtimeclass ApiInformation;
>> +        }
>> +    }
>> +}
>> +
>> +namespace Windows {
>> +    namespace Foundation {
>> +        namespace Metadata {
>> +            [
>> +                contract(Windows.Foundation.UniversalApiContract, 1.0),
>> +                marshaling_behavior(agile),
>> +                
>> static(Windows.Foundation.Metadata.IApiInformationStatics, 
>> Windows.Foundation.UniversalApiContract, 1.0),
>> +                threading(both)
>> +            ]

I missed it but FWIW i think this uses the 
Windows.Foundation.FoundationContract contract, not UniversalApiContract.

-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list