| 1 | /*** Autogenerated by WIDL 6.4 from include/windows.foundation.collections.idl - Do not edit ***/ | 
 
 
 
 
 | 2 |  | 
 
 
 
 
 | 3 | #ifdef _WIN32 | 
 
 
 
 
 | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 
 
 
 
 
 | 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 | 
 
 
 
 
 | 6 | #endif | 
 
 
 
 
 | 7 | #include <rpc.h> | 
 
 
 
 
 | 8 | #include <rpcndr.h> | 
 
 
 
 
 | 9 | #endif | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | #ifndef COM_NO_WINDOWS_H | 
 
 
 
 
 | 12 | #include <windows.h> | 
 
 
 
 
 | 13 | #include <ole2.h> | 
 
 
 
 
 | 14 | #endif | 
 
 
 
 
 | 15 |  | 
 
 
 
 
 | 16 | #ifndef __windows_foundation_collections_h__ | 
 
 
 
 
 | 17 | #define __windows_foundation_collections_h__ | 
 
 
 
 
 | 18 |  | 
 
 
 
 
 | 19 | /* Forward declarations */ | 
 
 
 
 
 | 20 |  | 
 
 
 
 
 | 21 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 22 | namespace ABI { | 
 
 
 
 
 | 23 | namespace Windows { | 
 
 
 
 
 | 24 | namespace Foundation { | 
 
 
 
 
 | 25 | template <class T> | 
 
 
 
 
 | 26 | struct IEventHandler_impl; | 
 
 
 
 
 | 27 |  | 
 
 
 
 
 | 28 | template <class T> | 
 
 
 
 
 | 29 | struct IEventHandler : IEventHandler_impl<T> {}; | 
 
 
 
 
 | 30 | } | 
 
 
 
 
 | 31 | } | 
 
 
 
 
 | 32 | } | 
 
 
 
 
 | 33 | #endif | 
 
 
 
 
 | 34 |  | 
 
 
 
 
 | 35 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 36 | namespace ABI { | 
 
 
 
 
 | 37 | namespace Windows { | 
 
 
 
 
 | 38 | namespace Foundation { | 
 
 
 
 
 | 39 | template <class TResult> | 
 
 
 
 
 | 40 | struct IAsyncOperationCompletedHandler_impl; | 
 
 
 
 
 | 41 |  | 
 
 
 
 
 | 42 | template <class TResult> | 
 
 
 
 
 | 43 | struct IAsyncOperationCompletedHandler : IAsyncOperationCompletedHandler_impl<TResult> {}; | 
 
 
 
 
 | 44 | } | 
 
 
 
 
 | 45 | } | 
 
 
 
 
 | 46 | } | 
 
 
 
 
 | 47 | #endif | 
 
 
 
 
 | 48 |  | 
 
 
 
 
 | 49 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 50 | namespace ABI { | 
 
 
 
 
 | 51 | namespace Windows { | 
 
 
 
 
 | 52 | namespace Foundation { | 
 
 
 
 
 | 53 | template <class TResult> | 
 
 
 
 
 | 54 | struct IAsyncOperation_impl; | 
 
 
 
 
 | 55 |  | 
 
 
 
 
 | 56 | template <class TResult> | 
 
 
 
 
 | 57 | struct IAsyncOperation : IAsyncOperation_impl<TResult> {}; | 
 
 
 
 
 | 58 | } | 
 
 
 
 
 | 59 | } | 
 
 
 
 
 | 60 | } | 
 
 
 
 
 | 61 | #endif | 
 
 
 
 
 | 62 |  | 
 
 
 
 
 | 63 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 64 | namespace ABI { | 
 
 
 
 
 | 65 | namespace Windows { | 
 
 
 
 
 | 66 | namespace Foundation { | 
 
 
 
 
 | 67 | template <class TSender, class TArgs> | 
 
 
 
 
 | 68 | struct ITypedEventHandler_impl; | 
 
 
 
 
 | 69 |  | 
 
 
 
 
 | 70 | template <class TSender, class TArgs> | 
 
 
 
 
 | 71 | struct ITypedEventHandler : ITypedEventHandler_impl<TSender, TArgs> {}; | 
 
 
 
 
 | 72 | } | 
 
 
 
 
 | 73 | } | 
 
 
 
 
 | 74 | } | 
 
 
 
 
 | 75 | #endif | 
 
 
 
 
 | 76 |  | 
 
 
 
 
 | 77 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 78 | namespace ABI { | 
 
 
 
 
 | 79 | namespace Windows { | 
 
 
 
 
 | 80 | namespace Foundation { | 
 
 
 
 
 | 81 | namespace Collections { | 
 
 
 
 
 | 82 | template <class T> | 
 
 
 
 
 | 83 | struct IIterator_impl; | 
 
 
 
 
 | 84 |  | 
 
 
 
 
 | 85 | template <class T> | 
 
 
 
 
 | 86 | struct IIterator : IIterator_impl<T> {}; | 
 
 
 
 
 | 87 | } | 
 
 
 
 
 | 88 | } | 
 
 
 
 
 | 89 | } | 
 
 
 
 
 | 90 | } | 
 
 
 
 
 | 91 | #endif | 
 
 
 
 
 | 92 |  | 
 
 
 
 
 | 93 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 94 | namespace ABI { | 
 
 
 
 
 | 95 | namespace Windows { | 
 
 
 
 
 | 96 | namespace Foundation { | 
 
 
 
 
 | 97 | namespace Collections { | 
 
 
 
 
 | 98 | template <class T> | 
 
 
 
 
 | 99 | struct IIterable_impl; | 
 
 
 
 
 | 100 |  | 
 
 
 
 
 | 101 | template <class T> | 
 
 
 
 
 | 102 | struct IIterable : IIterable_impl<T> {}; | 
 
 
 
 
 | 103 | } | 
 
 
 
 
 | 104 | } | 
 
 
 
 
 | 105 | } | 
 
 
 
 
 | 106 | } | 
 
 
 
 
 | 107 | #endif | 
 
 
 
 
 | 108 |  | 
 
 
 
 
 | 109 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 110 | namespace ABI { | 
 
 
 
 
 | 111 | namespace Windows { | 
 
 
 
 
 | 112 | namespace Foundation { | 
 
 
 
 
 | 113 | namespace Collections { | 
 
 
 
 
 | 114 | template <class T> | 
 
 
 
 
 | 115 | struct IVectorView_impl; | 
 
 
 
 
 | 116 |  | 
 
 
 
 
 | 117 | template <class T> | 
 
 
 
 
 | 118 | struct IVectorView : IVectorView_impl<T> {}; | 
 
 
 
 
 | 119 | } | 
 
 
 
 
 | 120 | } | 
 
 
 
 
 | 121 | } | 
 
 
 
 
 | 122 | } | 
 
 
 
 
 | 123 | #endif | 
 
 
 
 
 | 124 |  | 
 
 
 
 
 | 125 | /* Headers for imported files */ | 
 
 
 
 
 | 126 |  | 
 
 
 
 
 | 127 | #include <inspectable.h> | 
 
 
 
 
 | 128 | #include <asyncinfo.h> | 
 
 
 
 
 | 129 | #include <windowscontracts.h> | 
 
 
 
 
 | 130 |  | 
 
 
 
 
 | 131 | #ifdef __cplusplus | 
 
 
 
 
 | 132 | extern "C" { | 
 
 
 
 
 | 133 | #endif | 
 
 
 
 
 | 134 |  | 
 
 
 
 
 | 135 | #ifdef __cplusplus | 
 
 
 
 
 | 136 | } /* extern "C" */ | 
 
 
 
 
 | 137 | namespace ABI { namespace Windows { namespace Foundation { namespace Internal { | 
 
 
 
 
 | 138 | template <class T> struct GetAbiType { typedef T type; }; | 
 
 
 
 
 | 139 | template <class T> struct GetLogicalType { typedef T type; }; | 
 
 
 
 
 | 140 | template <class L, class A> struct AggregateType {}; | 
 
 
 
 
 | 141 | template <class L, class A> struct GetAbiType<AggregateType<L, A> > { typedef A type; }; | 
 
 
 
 
 | 142 | template <class L, class A> struct GetLogicalType<AggregateType<L, A> > { typedef L type; }; | 
 
 
 
 
 | 143 | }}}} | 
 
 
 
 
 | 144 | extern "C" { | 
 
 
 
 
 | 145 | #endif | 
 
 
 
 
 | 146 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 147 | } /* extern "C" */ | 
 
 
 
 
 | 148 | namespace ABI { | 
 
 
 
 
 | 149 | namespace Windows { | 
 
 
 
 
 | 150 | namespace Foundation { | 
 
 
 
 
 | 151 | template <class T> | 
 
 
 
 
 | 152 | struct IEventHandler_impl : IUnknown | 
 
 
 
 
 | 153 | { | 
 
 
 
 
 | 154 | private: | 
 
 
 
 
 | 155 | typedef typename Windows::Foundation::Internal::GetAbiType<T>::type     T_abi; | 
 
 
 
 
 | 156 | typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; | 
 
 
 
 
 | 157 | public: | 
 
 
 
 
 | 158 | typedef T T_complex; | 
 
 
 
 
 | 159 | virtual HRESULT STDMETHODCALLTYPE Invoke(IInspectable *sender,T_abi args) = 0; | 
 
 
 
 
 | 160 | }; | 
 
 
 
 
 | 161 | } | 
 
 
 
 
 | 162 | } | 
 
 
 
 
 | 163 | } | 
 
 
 
 
 | 164 | extern "C" { | 
 
 
 
 
 | 165 | #endif | 
 
 
 
 
 | 166 |  | 
 
 
 
 
 | 167 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 168 | } /* extern "C" */ | 
 
 
 
 
 | 169 | namespace ABI { | 
 
 
 
 
 | 170 | namespace Windows { | 
 
 
 
 
 | 171 | namespace Foundation { | 
 
 
 
 
 | 172 | template <class TResult> | 
 
 
 
 
 | 173 | struct IAsyncOperationCompletedHandler_impl : IUnknown | 
 
 
 
 
 | 174 | { | 
 
 
 
 
 | 175 | private: | 
 
 
 
 
 | 176 | typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type     TResult_abi; | 
 
 
 
 
 | 177 | typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical; | 
 
 
 
 
 | 178 | public: | 
 
 
 
 
 | 179 | typedef TResult TResult_complex; | 
 
 
 
 
 | 180 | virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncOperation<TResult_logical> *info,AsyncStatus status) = 0; | 
 
 
 
 
 | 181 | }; | 
 
 
 
 
 | 182 | } | 
 
 
 
 
 | 183 | } | 
 
 
 
 
 | 184 | } | 
 
 
 
 
 | 185 | extern "C" { | 
 
 
 
 
 | 186 | #endif | 
 
 
 
 
 | 187 |  | 
 
 
 
 
 | 188 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 189 | } /* extern "C" */ | 
 
 
 
 
 | 190 | namespace ABI { | 
 
 
 
 
 | 191 | namespace Windows { | 
 
 
 
 
 | 192 | namespace Foundation { | 
 
 
 
 
 | 193 | template <class TResult> | 
 
 
 
 
 | 194 | struct IAsyncOperation_impl : IInspectable | 
 
 
 
 
 | 195 | { | 
 
 
 
 
 | 196 | private: | 
 
 
 
 
 | 197 | typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type     TResult_abi; | 
 
 
 
 
 | 198 | typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical; | 
 
 
 
 
 | 199 | public: | 
 
 
 
 
 | 200 | typedef TResult TResult_complex; | 
 
 
 
 
 | 201 | virtual HRESULT STDMETHODCALLTYPE put_Completed(IAsyncOperationCompletedHandler<TResult_logical> *handler) = 0; | 
 
 
 
 
 | 202 | virtual HRESULT STDMETHODCALLTYPE get_Completed(IAsyncOperationCompletedHandler<TResult_logical> **handler) = 0; | 
 
 
 
 
 | 203 | virtual HRESULT STDMETHODCALLTYPE GetResults(TResult_abi **results) = 0; | 
 
 
 
 
 | 204 | }; | 
 
 
 
 
 | 205 | } | 
 
 
 
 
 | 206 | } | 
 
 
 
 
 | 207 | } | 
 
 
 
 
 | 208 | extern "C" { | 
 
 
 
 
 | 209 | #endif | 
 
 
 
 
 | 210 |  | 
 
 
 
 
 | 211 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 212 | } /* extern "C" */ | 
 
 
 
 
 | 213 | namespace ABI { | 
 
 
 
 
 | 214 | namespace Windows { | 
 
 
 
 
 | 215 | namespace Foundation { | 
 
 
 
 
 | 216 | template <class TSender, class TArgs> | 
 
 
 
 
 | 217 | struct ITypedEventHandler_impl : IUnknown | 
 
 
 
 
 | 218 | { | 
 
 
 
 
 | 219 | private: | 
 
 
 
 
 | 220 | typedef typename Windows::Foundation::Internal::GetAbiType<TSender>::type     TSender_abi; | 
 
 
 
 
 | 221 | typedef typename Windows::Foundation::Internal::GetLogicalType<TSender>::type TSender_logical; | 
 
 
 
 
 | 222 | typedef typename Windows::Foundation::Internal::GetAbiType<TArgs>::type     TArgs_abi; | 
 
 
 
 
 | 223 | typedef typename Windows::Foundation::Internal::GetLogicalType<TArgs>::type TArgs_logical; | 
 
 
 
 
 | 224 | public: | 
 
 
 
 
 | 225 | typedef TSender TSender_complex; | 
 
 
 
 
 | 226 | typedef TArgs TArgs_complex; | 
 
 
 
 
 | 227 | virtual HRESULT STDMETHODCALLTYPE Invoke(TSender_abi sender,TArgs_abi args) = 0; | 
 
 
 
 
 | 228 | }; | 
 
 
 
 
 | 229 | } | 
 
 
 
 
 | 230 | } | 
 
 
 
 
 | 231 | } | 
 
 
 
 
 | 232 | extern "C" { | 
 
 
 
 
 | 233 | #endif | 
 
 
 
 
 | 234 |  | 
 
 
 
 
 | 235 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 236 | } /* extern "C" */ | 
 
 
 
 
 | 237 | namespace ABI { | 
 
 
 
 
 | 238 | namespace Windows { | 
 
 
 
 
 | 239 | namespace Foundation { | 
 
 
 
 
 | 240 | namespace Collections { | 
 
 
 
 
 | 241 | template <class T> | 
 
 
 
 
 | 242 | struct IIterator_impl : IInspectable | 
 
 
 
 
 | 243 | { | 
 
 
 
 
 | 244 | private: | 
 
 
 
 
 | 245 | typedef typename Windows::Foundation::Internal::GetAbiType<T>::type     T_abi; | 
 
 
 
 
 | 246 | typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; | 
 
 
 
 
 | 247 | public: | 
 
 
 
 
 | 248 | typedef T T_complex; | 
 
 
 
 
 | 249 | virtual HRESULT STDMETHODCALLTYPE get_Current(T_abi *value) = 0; | 
 
 
 
 
 | 250 | virtual HRESULT STDMETHODCALLTYPE get_HasCurrent(WINBOOL *value) = 0; | 
 
 
 
 
 | 251 | virtual HRESULT STDMETHODCALLTYPE MoveNext(WINBOOL *value) = 0; | 
 
 
 
 
 | 252 | virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 count,UINT32 items_size,T_abi *items,UINT32 *value) = 0; | 
 
 
 
 
 | 253 | }; | 
 
 
 
 
 | 254 | } | 
 
 
 
 
 | 255 | } | 
 
 
 
 
 | 256 | } | 
 
 
 
 
 | 257 | } | 
 
 
 
 
 | 258 | extern "C" { | 
 
 
 
 
 | 259 | #endif | 
 
 
 
 
 | 260 |  | 
 
 
 
 
 | 261 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 262 | } /* extern "C" */ | 
 
 
 
 
 | 263 | namespace ABI { | 
 
 
 
 
 | 264 | namespace Windows { | 
 
 
 
 
 | 265 | namespace Foundation { | 
 
 
 
 
 | 266 | namespace Collections { | 
 
 
 
 
 | 267 | template <class T> | 
 
 
 
 
 | 268 | struct IIterable_impl : IInspectable | 
 
 
 
 
 | 269 | { | 
 
 
 
 
 | 270 | private: | 
 
 
 
 
 | 271 | typedef typename Windows::Foundation::Internal::GetAbiType<T>::type     T_abi; | 
 
 
 
 
 | 272 | typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; | 
 
 
 
 
 | 273 | public: | 
 
 
 
 
 | 274 | typedef T T_complex; | 
 
 
 
 
 | 275 | virtual HRESULT STDMETHODCALLTYPE First(IIterator<T_logical> **value) = 0; | 
 
 
 
 
 | 276 | }; | 
 
 
 
 
 | 277 | } | 
 
 
 
 
 | 278 | } | 
 
 
 
 
 | 279 | } | 
 
 
 
 
 | 280 | } | 
 
 
 
 
 | 281 | extern "C" { | 
 
 
 
 
 | 282 | #endif | 
 
 
 
 
 | 283 |  | 
 
 
 
 
 | 284 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 285 | } /* extern "C" */ | 
 
 
 
 
 | 286 | namespace ABI { | 
 
 
 
 
 | 287 | namespace Windows { | 
 
 
 
 
 | 288 | namespace Foundation { | 
 
 
 
 
 | 289 | namespace Collections { | 
 
 
 
 
 | 290 | template <class T> | 
 
 
 
 
 | 291 | struct IVectorView_impl : IInspectable | 
 
 
 
 
 | 292 | { | 
 
 
 
 
 | 293 | private: | 
 
 
 
 
 | 294 | typedef typename Windows::Foundation::Internal::GetAbiType<T>::type     T_abi; | 
 
 
 
 
 | 295 | typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; | 
 
 
 
 
 | 296 | public: | 
 
 
 
 
 | 297 | typedef T T_complex; | 
 
 
 
 
 | 298 | virtual HRESULT STDMETHODCALLTYPE GetAt(UINT32 index,T_abi *value) = 0; | 
 
 
 
 
 | 299 | virtual HRESULT STDMETHODCALLTYPE get_Size(UINT32 *value) = 0; | 
 
 
 
 
 | 300 | virtual HRESULT STDMETHODCALLTYPE IndexOf(T_abi element,UINT32 *index,BOOLEAN *value) = 0; | 
 
 
 
 
 | 301 | virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 start_index,UINT32 items_size,T_abi *items,UINT32 *value) = 0; | 
 
 
 
 
 | 302 | }; | 
 
 
 
 
 | 303 | } | 
 
 
 
 
 | 304 | } | 
 
 
 
 
 | 305 | } | 
 
 
 
 
 | 306 | } | 
 
 
 
 
 | 307 | extern "C" { | 
 
 
 
 
 | 308 | #endif | 
 
 
 
 
 | 309 |  | 
 
 
 
 
 | 310 | /* Begin additional prototypes for all interfaces */ | 
 
 
 
 
 | 311 |  | 
 
 
 
 
 | 312 |  | 
 
 
 
 
 | 313 | /* End additional prototypes */ | 
 
 
 
 
 | 314 |  | 
 
 
 
 
 | 315 | #ifdef __cplusplus | 
 
 
 
 
 | 316 | } | 
 
 
 
 
 | 317 | #endif | 
 
 
 
 
 | 318 |  | 
 
 
 
 
 | 319 | #endif /* __windows_foundation_collections_h__ */ |