/*** Autogenerated by WIDL 6.4 from include/windows.foundation.collections.idl - Do not edit ***/ #ifdef _WIN32 #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include #include #endif #ifndef COM_NO_WINDOWS_H #include #include #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 struct IEventHandler_impl; template struct IEventHandler : IEventHandler_impl {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template struct IAsyncOperationCompletedHandler_impl; template struct IAsyncOperationCompletedHandler : IAsyncOperationCompletedHandler_impl {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template struct IAsyncOperation_impl; template struct IAsyncOperation : IAsyncOperation_impl {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { template struct ITypedEventHandler_impl; template struct ITypedEventHandler : ITypedEventHandler_impl {}; } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template struct IIterator_impl; template struct IIterator : IIterator_impl {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template struct IIterable_impl; template struct IIterable : IIterable_impl {}; } } } } #endif #if defined(__cplusplus) && !defined(CINTERFACE) namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template struct IVectorView_impl; template struct IVectorView : IVectorView_impl {}; } } } } #endif /* Headers for imported files */ #include #include #include #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Internal { template struct GetAbiType { typedef T type; }; template struct GetLogicalType { typedef T type; }; template struct AggregateType {}; template struct GetAbiType > { typedef A type; }; template struct GetLogicalType > { typedef L type; }; }}}} extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template struct IEventHandler_impl : IUnknown { private: typedef typename Windows::Foundation::Internal::GetAbiType::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::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 struct IAsyncOperationCompletedHandler_impl : IUnknown { private: typedef typename Windows::Foundation::Internal::GetAbiType::type TResult_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::type TResult_logical; public: typedef TResult TResult_complex; virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncOperation *info,AsyncStatus status) = 0; }; } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { template struct IAsyncOperation_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType::type TResult_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::type TResult_logical; public: typedef TResult TResult_complex; virtual HRESULT STDMETHODCALLTYPE put_Completed(IAsyncOperationCompletedHandler *handler) = 0; virtual HRESULT STDMETHODCALLTYPE get_Completed(IAsyncOperationCompletedHandler **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 struct ITypedEventHandler_impl : IUnknown { private: typedef typename Windows::Foundation::Internal::GetAbiType::type TSender_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::type TSender_logical; typedef typename Windows::Foundation::Internal::GetAbiType::type TArgs_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::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 { namespace Collections { template struct IIterator_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::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 count,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 struct IIterable_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::type T_logical; public: typedef T T_complex; virtual HRESULT STDMETHODCALLTYPE First(IIterator **value) = 0; }; } } } } extern "C" { #endif #if defined(__cplusplus) && !defined(CINTERFACE) } /* extern "C" */ namespace ABI { namespace Windows { namespace Foundation { namespace Collections { template struct IVectorView_impl : IInspectable { private: typedef typename Windows::Foundation::Internal::GetAbiType::type T_abi; typedef typename Windows::Foundation::Internal::GetLogicalType::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 /* Begin additional prototypes for all interfaces */ /* End additional prototypes */ #ifdef __cplusplus } #endif #endif /* __windows_foundation_collections_h__ */