[PATCH] include: Add IReference/IVectorView <BYTE> interface references.

Rémi Bernon rbernon at codeweavers.com
Sat Mar 12 06:32:02 CST 2022


On 3/12/22 10:01, Alistair Leslie-Hughes wrote:
> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> ---
>   include/windows.foundation.idl | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/include/windows.foundation.idl b/include/windows.foundation.idl
> index 27bec63b0ef..91bf8862545 100644
> --- a/include/windows.foundation.idl
> +++ b/include/windows.foundation.idl
> @@ -162,6 +162,7 @@ namespace Windows {
>               interface Windows.Foundation.Collections.IIterable<IInspectable *>;
>               interface Windows.Foundation.Collections.IIterator<HSTRING>;
>               interface Windows.Foundation.Collections.IIterator<IInspectable *>;
> +            interface Windows.Foundation.Collections.IVectorView<BYTE>;
>               interface Windows.Foundation.Collections.IVectorView<HSTRING>;
>               interface Windows.Foundation.Collections.IVectorView<IInspectable *>;
>               interface Windows.Foundation.Collections.IVector<HSTRING>;
> @@ -170,6 +171,7 @@ namespace Windows {
>               interface Windows.Foundation.EventHandler<IInspectable *>;
>               interface Windows.Foundation.AsyncOperationCompletedHandler<boolean>;
>               interface Windows.Foundation.IAsyncOperation<boolean>;
> +            interface Windows.Foundation.IReference<BYTE>;
>               interface Windows.Foundation.IReference<INT32>;
>           }
>       }

Hi Alistair,

Sadly, like I previously said, this will generate types with an 
incorrect casing. The SDK headers have __FIVectorView_1_byteVtbl for 
instance where this would generate __FIVectorView_1_BYTEVtbl. Something 
needs to be fixed in widl first.

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



More information about the wine-devel mailing list