#pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 500 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include #include #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif /* __RPCNDR_H_VERSION__ */ #ifndef COM_NO_WINDOWS_H #include #include #endif /*COM_NO_WINDOWS_H*/ #ifndef __windows2Eui2Ecomposition2Ecore_h__ #define __windows2Eui2Ecomposition2Ecore_h__ #ifndef __windows2Eui2Ecomposition2Ecore_p_h__ #define __windows2Eui2Ecomposition2Ecore_p_h__ #pragma once // // Deprecated attribute support // #pragma push_macro("DEPRECATED") #undef DEPRECATED #if !defined(DISABLE_WINRT_DEPRECATION) #if defined(__cplusplus) #if __cplusplus >= 201402 #define DEPRECATED(x) [[deprecated(x)]] #define DEPRECATEDENUMERATOR(x) [[deprecated(x)]] #elif defined(_MSC_VER) #if _MSC_VER >= 1900 #define DEPRECATED(x) [[deprecated(x)]] #define DEPRECATEDENUMERATOR(x) [[deprecated(x)]] #else #define DEPRECATED(x) __declspec(deprecated(x)) #define DEPRECATEDENUMERATOR(x) #endif // _MSC_VER >= 1900 #else // Not Standard C++ or MSVC, ignore the construct. #define DEPRECATED(x) #define DEPRECATEDENUMERATOR(x) #endif // C++ deprecation #else // C - disable deprecation #define DEPRECATED(x) #define DEPRECATEDENUMERATOR(x) #endif #else // Deprecation is disabled #define DEPRECATED(x) #define DEPRECATEDENUMERATOR(x) #endif /* DEPRECATED */ // Disable Deprecation for this header, MIDL verifies that cross-type access is acceptable #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #else #pragma warning(push) #pragma warning(disable: 4996) #endif // Ensure that the setting of the /ns_prefix command line switch is consistent for all headers. // If you get an error from the compiler indicating "warning C4005: 'CHECK_NS_PREFIX_STATE': macro redefinition", this // indicates that you have included two different headers with different settings for the /ns_prefix MIDL command line switch #if !defined(DISABLE_NS_PREFIX_CHECKS) #define CHECK_NS_PREFIX_STATE "always" #endif // !defined(DISABLE_NS_PREFIX_CHECKS) #pragma push_macro("MIDL_CONST_ID") #undef MIDL_CONST_ID #define MIDL_CONST_ID const __declspec(selectany) // API Contract Inclusion Definitions #if !defined(SPECIFIC_API_CONTRACT_DEFINITIONS) #if !defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION) #define WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION 0x40000 #endif // defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION) #if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) #define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0x130000 #endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) #endif // defined(SPECIFIC_API_CONTRACT_DEFINITIONS) // Header files for imported files #include "inspectable.h" #include "AsyncInfo.h" #include "EventToken.h" #include "windowscontracts.h" #include "Windows.Foundation.h" #include "Windows.UI.Composition.h" #if defined(__cplusplus) && !defined(CINTERFACE) /* Forward Declarations */ #ifndef ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_FWD_DEFINED__ #define ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_FWD_DEFINED__ namespace ABI { namespace Windows { namespace UI { namespace Composition { namespace Core { interface ICompositorController; } /* Core */ } /* Composition */ } /* UI */ } /* Windows */ } /* ABI */ #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController ABI::Windows::UI::Composition::Core::ICompositorController #endif // ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_FWD_DEFINED__ // Parameterized interface forward declarations (C++) // Collection interface definitions namespace ABI { namespace Windows { namespace UI { namespace Composition { namespace Core { class CompositorController; } /* Core */ } /* Composition */ } /* UI */ } /* Windows */ } /* ABI */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #ifndef DEF___FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_USE #define DEF___FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_USE #if !defined(RO_NO_TEMPLATE_NAME) namespace ABI { namespace Windows { namespace Foundation { template <> struct __declspec(uuid("e60c8424-3154-566e-9aa2-eec49fce004a")) ITypedEventHandler : ITypedEventHandler_impl, IInspectable*> { static const wchar_t* z_get_rc_name_impl() { return L"Windows.Foundation.TypedEventHandler`2"; } }; // Define a typedef for the parameterized interface specialization's mangled name. // This allows code which uses the mangled name for the parameterized interface to access the // correct parameterized interface specialization. typedef ITypedEventHandler __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t; #define __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t /* Foundation */ } /* Windows */ } /* ABI */ } #endif // !defined(RO_NO_TEMPLATE_NAME) #endif /* DEF___FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_USE */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #ifndef ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__ #define ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__ namespace ABI { namespace Windows { namespace Foundation { interface IAsyncAction; } /* Foundation */ } /* Windows */ } /* ABI */ #define __x_ABI_CWindows_CFoundation_CIAsyncAction ABI::Windows::Foundation::IAsyncAction #endif // ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__ #ifndef ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__ #define ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__ namespace ABI { namespace Windows { namespace Foundation { interface IClosable; } /* Foundation */ } /* Windows */ } /* ABI */ #define __x_ABI_CWindows_CFoundation_CIClosable ABI::Windows::Foundation::IClosable #endif // ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__ namespace ABI { namespace Windows { namespace UI { namespace Composition { class Compositor; } /* Composition */ } /* UI */ } /* Windows */ } /* ABI */ #ifndef ____x_ABI_CWindows_CUI_CComposition_CICompositor_FWD_DEFINED__ #define ____x_ABI_CWindows_CUI_CComposition_CICompositor_FWD_DEFINED__ namespace ABI { namespace Windows { namespace UI { namespace Composition { interface ICompositor; } /* Composition */ } /* UI */ } /* Windows */ } /* ABI */ #define __x_ABI_CWindows_CUI_CComposition_CICompositor ABI::Windows::UI::Composition::ICompositor #endif // ____x_ABI_CWindows_CUI_CComposition_CICompositor_FWD_DEFINED__ /* * * Interface Windows.UI.Composition.Core.ICompositorController * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * * Interface is a part of the implementation of type Windows.UI.Composition.Core.CompositorController * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #if !defined(____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_INTERFACE_DEFINED__) #define ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_INTERFACE_DEFINED__ extern const __declspec(selectany) _Null_terminated_ WCHAR InterfaceName_Windows_UI_Composition_Core_ICompositorController[] = L"Windows.UI.Composition.Core.ICompositorController"; namespace ABI { namespace Windows { namespace UI { namespace Composition { namespace Core { MIDL_INTERFACE("2d75f35a-70a7-4395-ba2d-cef0b18399f9") ICompositorController : public IInspectable { public: virtual HRESULT STDMETHODCALLTYPE get_Compositor( ABI::Windows::UI::Composition::ICompositor** value ) = 0; virtual HRESULT STDMETHODCALLTYPE Commit(void) = 0; virtual HRESULT STDMETHODCALLTYPE EnsurePreviousCommitCompletedAsync( ABI::Windows::Foundation::IAsyncAction** operation ) = 0; virtual HRESULT STDMETHODCALLTYPE add_CommitNeeded( __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable* handler, EventRegistrationToken* token ) = 0; virtual HRESULT STDMETHODCALLTYPE remove_CommitNeeded( EventRegistrationToken token ) = 0; }; MIDL_CONST_ID IID& IID_ICompositorController = __uuidof(ICompositorController); } /* Core */ } /* Composition */ } /* UI */ } /* Windows */ } /* ABI */ EXTERN_C const IID IID___x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController; #endif /* !defined(____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_INTERFACE_DEFINED__) */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 /* * * Class Windows.UI.Composition.Core.CompositorController * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * * RuntimeClass can be activated. * Type can be activated via RoActivateInstance starting with version 6.0 of the Windows.Foundation.UniversalApiContract API contract * * Class implements the following interfaces: * Windows.UI.Composition.Core.ICompositorController ** Default Interface ** * Windows.Foundation.IClosable * * Class Threading Model: Both Single and Multi Threaded Apartment * * Class Marshaling Behavior: Agile - Class is agile * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #ifndef RUNTIMECLASS_Windows_UI_Composition_Core_CompositorController_DEFINED #define RUNTIMECLASS_Windows_UI_Composition_Core_CompositorController_DEFINED extern const __declspec(selectany) _Null_terminated_ WCHAR RuntimeClass_Windows_UI_Composition_Core_CompositorController[] = L"Windows.UI.Composition.Core.CompositorController"; #endif #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #else // !defined(__cplusplus) /* Forward Declarations */ #ifndef ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_FWD_DEFINED__ #define ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_FWD_DEFINED__ typedef interface __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController; #endif // ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_FWD_DEFINED__ // Parameterized interface forward declarations (C) // Collection interface definitions #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #if !defined(____FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_INTERFACE_DEFINED__) #define ____FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_INTERFACE_DEFINED__ typedef interface __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable; // Declare the parameterized interface IID. EXTERN_C const IID IID___FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable; typedef struct __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectableVtbl { BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE* QueryInterface)(__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable* This, REFIID riid, void** ppvObject); ULONG (STDMETHODCALLTYPE* AddRef)(__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable* This); ULONG (STDMETHODCALLTYPE* Release)(__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable* This); HRESULT (STDMETHODCALLTYPE* Invoke)(__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable* This, __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* sender, IInspectable* args); END_INTERFACE } __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectableVtbl; interface __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable { CONST_VTBL struct __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectableVtbl* lpVtbl; }; #ifdef COBJMACROS #define __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_QueryInterface(This, riid, ppvObject) \ ((This)->lpVtbl->QueryInterface(This, riid, ppvObject)) #define __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_AddRef(This) \ ((This)->lpVtbl->AddRef(This)) #define __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_Release(This) \ ((This)->lpVtbl->Release(This)) #define __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_Invoke(This, sender, args) \ ((This)->lpVtbl->Invoke(This, sender, args)) #endif /* COBJMACROS */ #endif // ____FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_INTERFACE_DEFINED__ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #ifndef ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__ #define ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__ typedef interface __x_ABI_CWindows_CFoundation_CIAsyncAction __x_ABI_CWindows_CFoundation_CIAsyncAction; #endif // ____x_ABI_CWindows_CFoundation_CIAsyncAction_FWD_DEFINED__ #ifndef ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__ #define ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__ typedef interface __x_ABI_CWindows_CFoundation_CIClosable __x_ABI_CWindows_CFoundation_CIClosable; #endif // ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__ #ifndef ____x_ABI_CWindows_CUI_CComposition_CICompositor_FWD_DEFINED__ #define ____x_ABI_CWindows_CUI_CComposition_CICompositor_FWD_DEFINED__ typedef interface __x_ABI_CWindows_CUI_CComposition_CICompositor __x_ABI_CWindows_CUI_CComposition_CICompositor; #endif // ____x_ABI_CWindows_CUI_CComposition_CICompositor_FWD_DEFINED__ /* * * Interface Windows.UI.Composition.Core.ICompositorController * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * * Interface is a part of the implementation of type Windows.UI.Composition.Core.CompositorController * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #if !defined(____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_INTERFACE_DEFINED__) #define ____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_INTERFACE_DEFINED__ extern const __declspec(selectany) _Null_terminated_ WCHAR InterfaceName_Windows_UI_Composition_Core_ICompositorController[] = L"Windows.UI.Composition.Core.ICompositorController"; typedef struct __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorControllerVtbl { BEGIN_INTERFACE HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, REFIID riid, void** ppvObject); ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This); ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This); HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, ULONG* iidCount, IID** iids); HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, HSTRING* className); HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, TrustLevel* trustLevel); HRESULT (STDMETHODCALLTYPE* get_Compositor)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, __x_ABI_CWindows_CUI_CComposition_CICompositor** value); HRESULT (STDMETHODCALLTYPE* Commit)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This); HRESULT (STDMETHODCALLTYPE* EnsurePreviousCommitCompletedAsync)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, __x_ABI_CWindows_CFoundation_CIAsyncAction** operation); HRESULT (STDMETHODCALLTYPE* add_CommitNeeded)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, __FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable* handler, EventRegistrationToken* token); HRESULT (STDMETHODCALLTYPE* remove_CommitNeeded)(__x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController* This, EventRegistrationToken token); END_INTERFACE } __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorControllerVtbl; interface __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController { CONST_VTBL struct __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorControllerVtbl* lpVtbl; }; #ifdef COBJMACROS #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_QueryInterface(This, riid, ppvObject) \ ((This)->lpVtbl->QueryInterface(This, riid, ppvObject)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_AddRef(This) \ ((This)->lpVtbl->AddRef(This)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_Release(This) \ ((This)->lpVtbl->Release(This)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_GetIids(This, iidCount, iids) \ ((This)->lpVtbl->GetIids(This, iidCount, iids)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_GetRuntimeClassName(This, className) \ ((This)->lpVtbl->GetRuntimeClassName(This, className)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_GetTrustLevel(This, trustLevel) \ ((This)->lpVtbl->GetTrustLevel(This, trustLevel)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_get_Compositor(This, value) \ ((This)->lpVtbl->get_Compositor(This, value)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_Commit(This) \ ((This)->lpVtbl->Commit(This)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_EnsurePreviousCommitCompletedAsync(This, operation) \ ((This)->lpVtbl->EnsurePreviousCommitCompletedAsync(This, operation)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_add_CommitNeeded(This, handler, token) \ ((This)->lpVtbl->add_CommitNeeded(This, handler, token)) #define __x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_remove_CommitNeeded(This, token) \ ((This)->lpVtbl->remove_CommitNeeded(This, token)) #endif /* COBJMACROS */ EXTERN_C const IID IID___x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController; #endif /* !defined(____x_ABI_CWindows_CUI_CComposition_CCore_CICompositorController_INTERFACE_DEFINED__) */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 /* * * Class Windows.UI.Composition.Core.CompositorController * * Introduced to Windows.Foundation.UniversalApiContract in version 6.0 * * RuntimeClass can be activated. * Type can be activated via RoActivateInstance starting with version 6.0 of the Windows.Foundation.UniversalApiContract API contract * * Class implements the following interfaces: * Windows.UI.Composition.Core.ICompositorController ** Default Interface ** * Windows.Foundation.IClosable * * Class Threading Model: Both Single and Multi Threaded Apartment * * Class Marshaling Behavior: Agile - Class is agile * */ #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #ifndef RUNTIMECLASS_Windows_UI_Composition_Core_CompositorController_DEFINED #define RUNTIMECLASS_Windows_UI_Composition_Core_CompositorController_DEFINED extern const __declspec(selectany) _Null_terminated_ WCHAR RuntimeClass_Windows_UI_Composition_Core_CompositorController[] = L"Windows.UI.Composition.Core.CompositorController"; #endif #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x60000 #endif // defined(__cplusplus) #pragma pop_macro("MIDL_CONST_ID") // Restore the original value of the 'DEPRECATED' macro #pragma pop_macro("DEPRECATED") #ifdef __clang__ #pragma clang diagnostic pop // deprecated-declarations #else #pragma warning(pop) #endif #endif // __windows2Eui2Ecomposition2Ecore_p_h__ #endif // __windows2Eui2Ecomposition2Ecore_h__