????
Current Path : C:/opt/msys64/usr/include/w32api/ |
Current File : C:/opt/msys64/usr/include/w32api/windows.foundation.collections.h |
/*** Autogenerated by WIDL 7.7 from include/windows.foundation.collections.idl - Do not edit ***/ #ifdef _WIN32 #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include <rpc.h> #include <rpcndr.h> #endif #ifndef COM_NO_WINDOWS_H #include <windows.h> #include <ole2.h> #endif #ifndef __windows_foundation_collections_h__ #define __windows_foundation_collections_h__ /* Forward declarations */ #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template <class T> struct IEventHandler_impl; template <class T> struct IEventHandler : IEventHandler_impl<T> {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template <class TResult> struct IAsyncOperationCompletedHandler_impl; template <class TResult> struct IAsyncOperationCompletedHandler : IAsyncOperationCompletedHandler_impl<TResult> {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template <class TResult> struct IAsyncOperation_impl; template <class TResult> struct IAsyncOperation : IAsyncOperation_impl<TResult> {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template <class TSender, class TArgs> struct ITypedEventHandler_impl; template <class TSender, class TArgs> struct ITypedEventHandler : ITypedEventHandler_impl<TSender, TArgs> {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template <class T> struct IReference_impl; template <class T> struct IReference : IReference_impl<T> {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IIterator_impl; template <class T> struct IIterator : IIterator_impl<T> {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IIterable_impl; template <class T> struct IIterable : IIterable_impl<T> {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class K, class V> struct IKeyValuePair_impl; template <class K, class V> struct IKeyValuePair : IKeyValuePair_impl<K, V> {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class K, class V> struct IMapView_impl; template <class K, class V> struct IMapView : IMapView_impl<K, V> {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IVectorView_impl; template <class T> struct IVectorView : IVectorView_impl<T> {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IVector_impl; template <class T> struct IVector : IVector_impl<T> {}; } } } } #endif /* Headers for imported files */ #include <inspectable.h> #include <asyncinfo.h> #include <windowscontracts.h> #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Internal { template <class T> struct GetAbiType { typedef T type; }; template <class T> struct GetLogicalType { typedef T type; }; template <class L, class A> struct AggregateType {}; template <class L, class A> struct GetAbiType<AggregateType<L, A> > { typedef A type; }; template <class L, class A> struct GetLogicalType<AggregateType<L, A> > { typedef L type; }; }}}} extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template <class T> struct IEventHandler_impl : IUnknown { private: typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE Invoke(IInspectable *sender,T_abi args) = 0; }; } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template <class TResult> struct IAsyncOperationCompletedHandler_impl : IUnknown { private: typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical; public: typedef TResult TResult_complex; virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncOperation<TResult_logical> *info,AsyncStatus status) = 0; }; } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template <class TResult> struct IAsyncOperation_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical; public: typedef TResult TResult_complex; virtual HRESULT STDMETHODCALLTYPE put_Completed(IAsyncOperationCompletedHandler<TResult_logical> *handler) = 0; virtual HRESULT STDMETHODCALLTYPE get_Completed(IAsyncOperationCompletedHandler<TResult_logical> **handler) = 0; virtual HRESULT STDMETHODCALLTYPE GetResults(TResult_abi *results) = 0; }; } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template <class TSender, class TArgs> struct ITypedEventHandler_impl : IUnknown { private: typedef typename Windows::Foundation::Internal::GetAbiType<TSender>::type TSender_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<TSender>::type TSender_logical; typedef typename Windows::Foundation::Internal::GetAbiType<TArgs>::type TArgs_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<TArgs>::type TArgs_logical; public: typedef TSender TSender_complex; typedef TArgs TArgs_complex; virtual HRESULT STDMETHODCALLTYPE Invoke(TSender_abi sender,TArgs_abi args) = 0; }; } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template <class T> struct IReference_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE get_Value(T_abi *value) = 0; }; } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IIterator_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE get_Current(T_abi *value) = 0; virtual HRESULT STDMETHODCALLTYPE get_HasCurrent(WINBOOL *value) = 0; virtual HRESULT STDMETHODCALLTYPE MoveNext(WINBOOL *value) = 0; virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 items_size,T_abi *items,UINT32 *value) = 0; }; } } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IIterable_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE First(IIterator<T_logical> **value) = 0; }; } } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class K, class V> struct IKeyValuePair_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical; typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical; public: typedef K K_complex; typedef V V_complex; virtual HRESULT STDMETHODCALLTYPE get_Key(K_abi *key) = 0; virtual HRESULT STDMETHODCALLTYPE get_Value(V_abi *value) = 0; }; } } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class K, class V> struct IMapView_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical; typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical; public: typedef K K_complex; typedef V V_complex; virtual HRESULT STDMETHODCALLTYPE Lookup(K_abi key,V_abi *value) = 0; virtual HRESULT STDMETHODCALLTYPE get_Size(unsigned int *size) = 0; virtual HRESULT STDMETHODCALLTYPE HasKey(K_abi key,boolean *found) = 0; virtual HRESULT STDMETHODCALLTYPE Split(IMapView<K_logical, V_logical> **first,IMapView<K_logical, V_logical> **second) = 0; }; } } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IVectorView_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE GetAt(UINT32 index,T_abi *value) = 0; virtual HRESULT STDMETHODCALLTYPE get_Size(UINT32 *value) = 0; virtual HRESULT STDMETHODCALLTYPE IndexOf(T_abi element,UINT32 *index,BOOLEAN *value) = 0; virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 start_index,UINT32 items_size,T_abi *items,UINT32 *value) = 0; }; } } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template <class T> struct IVector_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE GetAt(UINT32 index,T_abi *value) = 0; virtual HRESULT STDMETHODCALLTYPE get_Size(UINT32 *value) = 0; virtual HRESULT STDMETHODCALLTYPE GetView(IVectorView<T_logical> **value) = 0; virtual HRESULT STDMETHODCALLTYPE IndexOf(T_abi element,UINT32 *index,BOOLEAN *value) = 0; virtual HRESULT STDMETHODCALLTYPE SetAt(UINT32 index,T_abi value) = 0; virtual HRESULT STDMETHODCALLTYPE InsertAt(UINT32 index,T_abi value) = 0; virtual HRESULT STDMETHODCALLTYPE RemoveAt(UINT32 index) = 0; virtual HRESULT STDMETHODCALLTYPE Append(T_abi value) = 0; virtual HRESULT STDMETHODCALLTYPE RemoveAtEnd() = 0; virtual HRESULT STDMETHODCALLTYPE Clear() = 0; virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 start_index,UINT32 items_size,T_abi *items,UINT32 *value) = 0; virtual HRESULT STDMETHODCALLTYPE ReplaceAll(UINT32 count,T_abi *items) = 0; }; } } } } extern "C" { #endif /* Begin additional prototypes for all interfaces */ /* End additional prototypes */ #ifdef __cplusplus } #endif #endif /* __windows_foundation_collections_h__ */