1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Add some windows.foundation definitions.

This commit is contained in:
Zhiyi Zhang 2024-05-11 19:30:31 +08:00 committed by Alexandre Julliard
parent cbf1310f87
commit b80657c0a5

View File

@ -64,6 +64,7 @@ namespace Windows.Foundation {
interface IClosable;
interface IDeferral;
interface IDeferralFactory;
interface IGetActivationFactory;
interface IMemoryBuffer;
interface IMemoryBufferFactory;
interface IMemoryBufferReference;
@ -109,6 +110,7 @@ namespace Windows.Foundation {
interface Windows.Foundation.IReference<BYTE>;
interface Windows.Foundation.IReference<INT32>;
interface Windows.Foundation.IReference<DOUBLE>;
interface Windows.Foundation.IReference<FLOAT>;
interface Windows.Foundation.IReference<UINT32>;
interface Windows.Foundation.IReference<UINT64>;
interface Windows.Foundation.IReference<Windows.Foundation.DateTime>;
@ -248,6 +250,15 @@ namespace Windows.Foundation {
HRESULT Create([in] Windows.Foundation.DeferralCompletedHandler *handler, [out, retval] Windows.Foundation.Deferral **result);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
uuid(4edb8ee2-96dd-49a7-94f7-4607ddab8e3c)
]
interface IGetActivationFactory : IInspectable
{
HRESULT GetActivationFactory([in] HSTRING activatable_class_id, [out, retval] IInspectable **factory);
}
[
contract(Windows.Foundation.FoundationContract, 1.0),
uuid(5a648006-843a-4da9-865b-9d26e5dfad7b)