d3d10/tests: Avoid implicit cast changing value.
[wine.git] / include / ivectorchangedeventargs.idl
blob45720b595f2b0525c40c4376e9bf2fc86c328f31
1 /*
2 * Copyright 2022 RĂ©mi Bernon for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 import "inspectable.idl";
24 import "windowscontracts.idl";
26 namespace Windows.Foundation.Collections {
27 [contract(Windows.Foundation.FoundationContract, 1.0)]
28 enum CollectionChange
30 Reset = 0,
31 ItemInserted = 1,
32 ItemRemoved = 2,
33 ItemChanged = 3,
35 typedef enum CollectionChange CollectionChange;
38 contract(Windows.Foundation.FoundationContract, 1.0),
39 uuid(575933df-34fe-4480-af15-07691f3d5d9b),
40 pointer_default(unique),
41 version(0x06020000 /* NTDDI_WIN8 */),
42 object,
44 interface IVectorChangedEventArgs : IInspectable
46 [propget] HRESULT CollectionChange([out, retval] CollectionChange *value);
47 [propget] HRESULT Index([out, retval] unsigned *value);