| 1 |
/*** Autogenerated by WIDL 11.5 from include/windows.ui.composition.interop.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_ui_composition_interop_h__ |
| 17 |
#define __windows_ui_composition_interop_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_FWD_DEFINED__ |
| 22 |
#define ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_FWD_DEFINED__ |
| 23 |
typedef interface __x_ABI_CWindows_CUI_CComposition_CICompositorInterop __x_ABI_CWindows_CUI_CComposition_CICompositorInterop; |
| 24 |
#ifdef __cplusplus |
| 25 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop ABI::Windows::UI::Composition::ICompositorInterop |
| 26 |
namespace ABI { |
| 27 |
namespace Windows { |
| 28 |
namespace UI { |
| 29 |
namespace Composition { |
| 30 |
interface ICompositorInterop; |
| 31 |
} |
| 32 |
} |
| 33 |
} |
| 34 |
} |
| 35 |
#endif /* __cplusplus */ |
| 36 |
#endif |
| 37 |
|
| 38 |
/* Headers for imported files */ |
| 39 |
|
| 40 |
#include <windows.ui.composition.h> |
| 41 |
#include <sdkddkver.h> |
| 42 |
|
| 43 |
#ifdef __cplusplus |
| 44 |
extern "C" { |
| 45 |
#endif |
| 46 |
|
| 47 |
#ifndef ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_FWD_DEFINED__ |
| 48 |
#define ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_FWD_DEFINED__ |
| 49 |
typedef interface __x_ABI_CWindows_CUI_CComposition_CICompositorInterop __x_ABI_CWindows_CUI_CComposition_CICompositorInterop; |
| 50 |
#ifdef __cplusplus |
| 51 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop ABI::Windows::UI::Composition::ICompositorInterop |
| 52 |
namespace ABI { |
| 53 |
namespace Windows { |
| 54 |
namespace UI { |
| 55 |
namespace Composition { |
| 56 |
interface ICompositorInterop; |
| 57 |
} |
| 58 |
} |
| 59 |
} |
| 60 |
} |
| 61 |
#endif /* __cplusplus */ |
| 62 |
#endif |
| 63 |
|
| 64 |
/***************************************************************************** |
| 65 |
* ICompositorInterop interface |
| 66 |
*/ |
| 67 |
#ifndef ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_INTERFACE_DEFINED__ |
| 68 |
#define ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_INTERFACE_DEFINED__ |
| 69 |
|
| 70 |
DEFINE_GUID(IID___x_ABI_CWindows_CUI_CComposition_CICompositorInterop, 0x25297d5c, 0x3ad4, 0x4c9c, 0xb5,0xcf, 0xe3,0x6a,0x38,0x51,0x23,0x30); |
| 71 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 72 |
} /* extern "C" */ |
| 73 |
namespace ABI { |
| 74 |
namespace Windows { |
| 75 |
namespace UI { |
| 76 |
namespace Composition { |
| 77 |
MIDL_INTERFACE("25297d5c-3ad4-4c9c-b5cf-e36a38512330") |
| 78 |
ICompositorInterop : public IUnknown |
| 79 |
{ |
| 80 |
virtual HRESULT STDMETHODCALLTYPE CreateCompositionSurfaceForHandle( |
| 81 |
HANDLE swapchain, |
| 82 |
ABI::Windows::UI::Composition::ICompositionSurface **result) = 0; |
| 83 |
|
| 84 |
virtual HRESULT STDMETHODCALLTYPE CreateCompositionSurfaceForSwapChain( |
| 85 |
IUnknown *swapchain, |
| 86 |
ABI::Windows::UI::Composition::ICompositionSurface **result) = 0; |
| 87 |
|
| 88 |
virtual HRESULT STDMETHODCALLTYPE CreateGraphicsDevice( |
| 89 |
IUnknown *device, |
| 90 |
ABI::Windows::UI::Composition::ICompositionGraphicsDevice **result) = 0; |
| 91 |
|
| 92 |
}; |
| 93 |
} |
| 94 |
} |
| 95 |
} |
| 96 |
} |
| 97 |
extern "C" { |
| 98 |
#ifdef __CRT_UUID_DECL |
| 99 |
__CRT_UUID_DECL(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop, 0x25297d5c, 0x3ad4, 0x4c9c, 0xb5,0xcf, 0xe3,0x6a,0x38,0x51,0x23,0x30) |
| 100 |
#endif |
| 101 |
#else |
| 102 |
typedef struct __x_ABI_CWindows_CUI_CComposition_CICompositorInteropVtbl { |
| 103 |
BEGIN_INTERFACE |
| 104 |
|
| 105 |
/*** IUnknown methods ***/ |
| 106 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 107 |
__x_ABI_CWindows_CUI_CComposition_CICompositorInterop *This, |
| 108 |
REFIID riid, |
| 109 |
void **ppvObject); |
| 110 |
|
| 111 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 112 |
__x_ABI_CWindows_CUI_CComposition_CICompositorInterop *This); |
| 113 |
|
| 114 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 115 |
__x_ABI_CWindows_CUI_CComposition_CICompositorInterop *This); |
| 116 |
|
| 117 |
/*** ICompositorInterop methods ***/ |
| 118 |
HRESULT (STDMETHODCALLTYPE *CreateCompositionSurfaceForHandle)( |
| 119 |
__x_ABI_CWindows_CUI_CComposition_CICompositorInterop *This, |
| 120 |
HANDLE swapchain, |
| 121 |
__x_ABI_CWindows_CUI_CComposition_CICompositionSurface **result); |
| 122 |
|
| 123 |
HRESULT (STDMETHODCALLTYPE *CreateCompositionSurfaceForSwapChain)( |
| 124 |
__x_ABI_CWindows_CUI_CComposition_CICompositorInterop *This, |
| 125 |
IUnknown *swapchain, |
| 126 |
__x_ABI_CWindows_CUI_CComposition_CICompositionSurface **result); |
| 127 |
|
| 128 |
HRESULT (STDMETHODCALLTYPE *CreateGraphicsDevice)( |
| 129 |
__x_ABI_CWindows_CUI_CComposition_CICompositorInterop *This, |
| 130 |
IUnknown *device, |
| 131 |
__x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice **result); |
| 132 |
|
| 133 |
END_INTERFACE |
| 134 |
} __x_ABI_CWindows_CUI_CComposition_CICompositorInteropVtbl; |
| 135 |
|
| 136 |
interface __x_ABI_CWindows_CUI_CComposition_CICompositorInterop { |
| 137 |
CONST_VTBL __x_ABI_CWindows_CUI_CComposition_CICompositorInteropVtbl* lpVtbl; |
| 138 |
}; |
| 139 |
|
| 140 |
#ifdef COBJMACROS |
| 141 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 142 |
/*** IUnknown methods ***/ |
| 143 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 144 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 145 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_Release(This) (This)->lpVtbl->Release(This) |
| 146 |
/*** ICompositorInterop methods ***/ |
| 147 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateCompositionSurfaceForHandle(This,swapchain,result) (This)->lpVtbl->CreateCompositionSurfaceForHandle(This,swapchain,result) |
| 148 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateCompositionSurfaceForSwapChain(This,swapchain,result) (This)->lpVtbl->CreateCompositionSurfaceForSwapChain(This,swapchain,result) |
| 149 |
#define __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateGraphicsDevice(This,device,result) (This)->lpVtbl->CreateGraphicsDevice(This,device,result) |
| 150 |
#else |
| 151 |
/*** IUnknown methods ***/ |
| 152 |
static inline HRESULT __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_QueryInterface(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop* This,REFIID riid,void **ppvObject) { |
| 153 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 154 |
} |
| 155 |
static inline ULONG __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_AddRef(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop* This) { |
| 156 |
return This->lpVtbl->AddRef(This); |
| 157 |
} |
| 158 |
static inline ULONG __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_Release(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop* This) { |
| 159 |
return This->lpVtbl->Release(This); |
| 160 |
} |
| 161 |
/*** ICompositorInterop methods ***/ |
| 162 |
static inline HRESULT __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateCompositionSurfaceForHandle(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop* This,HANDLE swapchain,__x_ABI_CWindows_CUI_CComposition_CICompositionSurface **result) { |
| 163 |
return This->lpVtbl->CreateCompositionSurfaceForHandle(This,swapchain,result); |
| 164 |
} |
| 165 |
static inline HRESULT __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateCompositionSurfaceForSwapChain(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop* This,IUnknown *swapchain,__x_ABI_CWindows_CUI_CComposition_CICompositionSurface **result) { |
| 166 |
return This->lpVtbl->CreateCompositionSurfaceForSwapChain(This,swapchain,result); |
| 167 |
} |
| 168 |
static inline HRESULT __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateGraphicsDevice(__x_ABI_CWindows_CUI_CComposition_CICompositorInterop* This,IUnknown *device,__x_ABI_CWindows_CUI_CComposition_CICompositionGraphicsDevice **result) { |
| 169 |
return This->lpVtbl->CreateGraphicsDevice(This,device,result); |
| 170 |
} |
| 171 |
#endif |
| 172 |
#ifdef WIDL_using_Windows_UI_Composition |
| 173 |
#define IID_ICompositorInterop IID___x_ABI_CWindows_CUI_CComposition_CICompositorInterop |
| 174 |
#define ICompositorInteropVtbl __x_ABI_CWindows_CUI_CComposition_CICompositorInteropVtbl |
| 175 |
#define ICompositorInterop __x_ABI_CWindows_CUI_CComposition_CICompositorInterop |
| 176 |
#define ICompositorInterop_QueryInterface __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_QueryInterface |
| 177 |
#define ICompositorInterop_AddRef __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_AddRef |
| 178 |
#define ICompositorInterop_Release __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_Release |
| 179 |
#define ICompositorInterop_CreateCompositionSurfaceForHandle __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateCompositionSurfaceForHandle |
| 180 |
#define ICompositorInterop_CreateCompositionSurfaceForSwapChain __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateCompositionSurfaceForSwapChain |
| 181 |
#define ICompositorInterop_CreateGraphicsDevice __x_ABI_CWindows_CUI_CComposition_CICompositorInterop_CreateGraphicsDevice |
| 182 |
#endif /* WIDL_using_Windows_UI_Composition */ |
| 183 |
#endif |
| 184 |
|
| 185 |
#endif |
| 186 |
|
| 187 |
#endif /* ____x_ABI_CWindows_CUI_CComposition_CICompositorInterop_INTERFACE_DEFINED__ */ |
| 188 |
|
| 189 |
/* Begin additional prototypes for all interfaces */ |
| 190 |
|
| 191 |
|
| 192 |
/* End additional prototypes */ |
| 193 |
|
| 194 |
#ifdef __cplusplus |
| 195 |
} |
| 196 |
#endif |
| 197 |
|
| 198 |
#endif /* __windows_ui_composition_interop_h__ */ |