| 1 |
/*** Autogenerated by WIDL 11.5 from include/windows.ui.xaml.hosting.desktopwindowxamlsource.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_xaml_hosting_desktopwindowxamlsource_h__ |
| 17 |
#define __windows_ui_xaml_hosting_desktopwindowxamlsource_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef __IDesktopWindowXamlSourceNative_FWD_DEFINED__ |
| 22 |
#define __IDesktopWindowXamlSourceNative_FWD_DEFINED__ |
| 23 |
typedef interface IDesktopWindowXamlSourceNative IDesktopWindowXamlSourceNative; |
| 24 |
#ifdef __cplusplus |
| 25 |
interface IDesktopWindowXamlSourceNative; |
| 26 |
#endif /* __cplusplus */ |
| 27 |
#endif |
| 28 |
|
| 29 |
#ifndef __IDesktopWindowXamlSourceNative2_FWD_DEFINED__ |
| 30 |
#define __IDesktopWindowXamlSourceNative2_FWD_DEFINED__ |
| 31 |
typedef interface IDesktopWindowXamlSourceNative2 IDesktopWindowXamlSourceNative2; |
| 32 |
#ifdef __cplusplus |
| 33 |
interface IDesktopWindowXamlSourceNative2; |
| 34 |
#endif /* __cplusplus */ |
| 35 |
#endif |
| 36 |
|
| 37 |
/* Headers for imported files */ |
| 38 |
|
| 39 |
#include <oaidl.h> |
| 40 |
|
| 41 |
#ifdef __cplusplus |
| 42 |
extern "C" { |
| 43 |
#endif |
| 44 |
|
| 45 |
/***************************************************************************** |
| 46 |
* IDesktopWindowXamlSourceNative interface |
| 47 |
*/ |
| 48 |
#ifndef __IDesktopWindowXamlSourceNative_INTERFACE_DEFINED__ |
| 49 |
#define __IDesktopWindowXamlSourceNative_INTERFACE_DEFINED__ |
| 50 |
|
| 51 |
DEFINE_GUID(IID_IDesktopWindowXamlSourceNative, 0x3cbcf1bf, 0x2f76, 0x4e9c, 0x96,0xab, 0xe8,0x4b,0x37,0x97,0x25,0x54); |
| 52 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 53 |
MIDL_INTERFACE("3cbcf1bf-2f76-4e9c-96ab-e84b37972554") |
| 54 |
IDesktopWindowXamlSourceNative : public IUnknown |
| 55 |
{ |
| 56 |
virtual HRESULT STDMETHODCALLTYPE AttachToWindow( |
| 57 |
HWND parent_wnd) = 0; |
| 58 |
|
| 59 |
virtual HRESULT STDMETHODCALLTYPE get_WindowHandle( |
| 60 |
HWND *wnd) = 0; |
| 61 |
|
| 62 |
}; |
| 63 |
#ifdef __CRT_UUID_DECL |
| 64 |
__CRT_UUID_DECL(IDesktopWindowXamlSourceNative, 0x3cbcf1bf, 0x2f76, 0x4e9c, 0x96,0xab, 0xe8,0x4b,0x37,0x97,0x25,0x54) |
| 65 |
#endif |
| 66 |
#else |
| 67 |
typedef struct IDesktopWindowXamlSourceNativeVtbl { |
| 68 |
BEGIN_INTERFACE |
| 69 |
|
| 70 |
/*** IUnknown methods ***/ |
| 71 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 72 |
IDesktopWindowXamlSourceNative *This, |
| 73 |
REFIID riid, |
| 74 |
void **ppvObject); |
| 75 |
|
| 76 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 77 |
IDesktopWindowXamlSourceNative *This); |
| 78 |
|
| 79 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 80 |
IDesktopWindowXamlSourceNative *This); |
| 81 |
|
| 82 |
/*** IDesktopWindowXamlSourceNative methods ***/ |
| 83 |
HRESULT (STDMETHODCALLTYPE *AttachToWindow)( |
| 84 |
IDesktopWindowXamlSourceNative *This, |
| 85 |
HWND parent_wnd); |
| 86 |
|
| 87 |
HRESULT (STDMETHODCALLTYPE *get_WindowHandle)( |
| 88 |
IDesktopWindowXamlSourceNative *This, |
| 89 |
HWND *wnd); |
| 90 |
|
| 91 |
END_INTERFACE |
| 92 |
} IDesktopWindowXamlSourceNativeVtbl; |
| 93 |
|
| 94 |
interface IDesktopWindowXamlSourceNative { |
| 95 |
CONST_VTBL IDesktopWindowXamlSourceNativeVtbl* lpVtbl; |
| 96 |
}; |
| 97 |
|
| 98 |
#ifdef COBJMACROS |
| 99 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 100 |
/*** IUnknown methods ***/ |
| 101 |
#define IDesktopWindowXamlSourceNative_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 102 |
#define IDesktopWindowXamlSourceNative_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 103 |
#define IDesktopWindowXamlSourceNative_Release(This) (This)->lpVtbl->Release(This) |
| 104 |
/*** IDesktopWindowXamlSourceNative methods ***/ |
| 105 |
#define IDesktopWindowXamlSourceNative_AttachToWindow(This,parent_wnd) (This)->lpVtbl->AttachToWindow(This,parent_wnd) |
| 106 |
#define IDesktopWindowXamlSourceNative_get_WindowHandle(This,wnd) (This)->lpVtbl->get_WindowHandle(This,wnd) |
| 107 |
#else |
| 108 |
/*** IUnknown methods ***/ |
| 109 |
static inline HRESULT IDesktopWindowXamlSourceNative_QueryInterface(IDesktopWindowXamlSourceNative* This,REFIID riid,void **ppvObject) { |
| 110 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 111 |
} |
| 112 |
static inline ULONG IDesktopWindowXamlSourceNative_AddRef(IDesktopWindowXamlSourceNative* This) { |
| 113 |
return This->lpVtbl->AddRef(This); |
| 114 |
} |
| 115 |
static inline ULONG IDesktopWindowXamlSourceNative_Release(IDesktopWindowXamlSourceNative* This) { |
| 116 |
return This->lpVtbl->Release(This); |
| 117 |
} |
| 118 |
/*** IDesktopWindowXamlSourceNative methods ***/ |
| 119 |
static inline HRESULT IDesktopWindowXamlSourceNative_AttachToWindow(IDesktopWindowXamlSourceNative* This,HWND parent_wnd) { |
| 120 |
return This->lpVtbl->AttachToWindow(This,parent_wnd); |
| 121 |
} |
| 122 |
static inline HRESULT IDesktopWindowXamlSourceNative_get_WindowHandle(IDesktopWindowXamlSourceNative* This,HWND *wnd) { |
| 123 |
return This->lpVtbl->get_WindowHandle(This,wnd); |
| 124 |
} |
| 125 |
#endif |
| 126 |
#endif |
| 127 |
|
| 128 |
#endif |
| 129 |
|
| 130 |
|
| 131 |
#endif /* __IDesktopWindowXamlSourceNative_INTERFACE_DEFINED__ */ |
| 132 |
|
| 133 |
/***************************************************************************** |
| 134 |
* IDesktopWindowXamlSourceNative2 interface |
| 135 |
*/ |
| 136 |
#ifndef __IDesktopWindowXamlSourceNative2_INTERFACE_DEFINED__ |
| 137 |
#define __IDesktopWindowXamlSourceNative2_INTERFACE_DEFINED__ |
| 138 |
|
| 139 |
DEFINE_GUID(IID_IDesktopWindowXamlSourceNative2, 0xe3dcd8c7, 0x3057, 0x4692, 0x99,0xc3, 0x7b,0x77,0x20,0xaf,0xda,0x31); |
| 140 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 141 |
MIDL_INTERFACE("e3dcd8c7-3057-4692-99c3-7b7720afda31") |
| 142 |
IDesktopWindowXamlSourceNative2 : public IDesktopWindowXamlSourceNative |
| 143 |
{ |
| 144 |
virtual HRESULT STDMETHODCALLTYPE PreTranslateMessage( |
| 145 |
const MSG *message, |
| 146 |
WINBOOL *result) = 0; |
| 147 |
|
| 148 |
}; |
| 149 |
#ifdef __CRT_UUID_DECL |
| 150 |
__CRT_UUID_DECL(IDesktopWindowXamlSourceNative2, 0xe3dcd8c7, 0x3057, 0x4692, 0x99,0xc3, 0x7b,0x77,0x20,0xaf,0xda,0x31) |
| 151 |
#endif |
| 152 |
#else |
| 153 |
typedef struct IDesktopWindowXamlSourceNative2Vtbl { |
| 154 |
BEGIN_INTERFACE |
| 155 |
|
| 156 |
/*** IUnknown methods ***/ |
| 157 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 158 |
IDesktopWindowXamlSourceNative2 *This, |
| 159 |
REFIID riid, |
| 160 |
void **ppvObject); |
| 161 |
|
| 162 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 163 |
IDesktopWindowXamlSourceNative2 *This); |
| 164 |
|
| 165 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 166 |
IDesktopWindowXamlSourceNative2 *This); |
| 167 |
|
| 168 |
/*** IDesktopWindowXamlSourceNative methods ***/ |
| 169 |
HRESULT (STDMETHODCALLTYPE *AttachToWindow)( |
| 170 |
IDesktopWindowXamlSourceNative2 *This, |
| 171 |
HWND parent_wnd); |
| 172 |
|
| 173 |
HRESULT (STDMETHODCALLTYPE *get_WindowHandle)( |
| 174 |
IDesktopWindowXamlSourceNative2 *This, |
| 175 |
HWND *wnd); |
| 176 |
|
| 177 |
/*** IDesktopWindowXamlSourceNative2 methods ***/ |
| 178 |
HRESULT (STDMETHODCALLTYPE *PreTranslateMessage)( |
| 179 |
IDesktopWindowXamlSourceNative2 *This, |
| 180 |
const MSG *message, |
| 181 |
WINBOOL *result); |
| 182 |
|
| 183 |
END_INTERFACE |
| 184 |
} IDesktopWindowXamlSourceNative2Vtbl; |
| 185 |
|
| 186 |
interface IDesktopWindowXamlSourceNative2 { |
| 187 |
CONST_VTBL IDesktopWindowXamlSourceNative2Vtbl* lpVtbl; |
| 188 |
}; |
| 189 |
|
| 190 |
#ifdef COBJMACROS |
| 191 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 192 |
/*** IUnknown methods ***/ |
| 193 |
#define IDesktopWindowXamlSourceNative2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 194 |
#define IDesktopWindowXamlSourceNative2_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 195 |
#define IDesktopWindowXamlSourceNative2_Release(This) (This)->lpVtbl->Release(This) |
| 196 |
/*** IDesktopWindowXamlSourceNative methods ***/ |
| 197 |
#define IDesktopWindowXamlSourceNative2_AttachToWindow(This,parent_wnd) (This)->lpVtbl->AttachToWindow(This,parent_wnd) |
| 198 |
#define IDesktopWindowXamlSourceNative2_get_WindowHandle(This,wnd) (This)->lpVtbl->get_WindowHandle(This,wnd) |
| 199 |
/*** IDesktopWindowXamlSourceNative2 methods ***/ |
| 200 |
#define IDesktopWindowXamlSourceNative2_PreTranslateMessage(This,message,result) (This)->lpVtbl->PreTranslateMessage(This,message,result) |
| 201 |
#else |
| 202 |
/*** IUnknown methods ***/ |
| 203 |
static inline HRESULT IDesktopWindowXamlSourceNative2_QueryInterface(IDesktopWindowXamlSourceNative2* This,REFIID riid,void **ppvObject) { |
| 204 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 205 |
} |
| 206 |
static inline ULONG IDesktopWindowXamlSourceNative2_AddRef(IDesktopWindowXamlSourceNative2* This) { |
| 207 |
return This->lpVtbl->AddRef(This); |
| 208 |
} |
| 209 |
static inline ULONG IDesktopWindowXamlSourceNative2_Release(IDesktopWindowXamlSourceNative2* This) { |
| 210 |
return This->lpVtbl->Release(This); |
| 211 |
} |
| 212 |
/*** IDesktopWindowXamlSourceNative methods ***/ |
| 213 |
static inline HRESULT IDesktopWindowXamlSourceNative2_AttachToWindow(IDesktopWindowXamlSourceNative2* This,HWND parent_wnd) { |
| 214 |
return This->lpVtbl->AttachToWindow(This,parent_wnd); |
| 215 |
} |
| 216 |
static inline HRESULT IDesktopWindowXamlSourceNative2_get_WindowHandle(IDesktopWindowXamlSourceNative2* This,HWND *wnd) { |
| 217 |
return This->lpVtbl->get_WindowHandle(This,wnd); |
| 218 |
} |
| 219 |
/*** IDesktopWindowXamlSourceNative2 methods ***/ |
| 220 |
static inline HRESULT IDesktopWindowXamlSourceNative2_PreTranslateMessage(IDesktopWindowXamlSourceNative2* This,const MSG *message,WINBOOL *result) { |
| 221 |
return This->lpVtbl->PreTranslateMessage(This,message,result); |
| 222 |
} |
| 223 |
#endif |
| 224 |
#endif |
| 225 |
|
| 226 |
#endif |
| 227 |
|
| 228 |
|
| 229 |
#endif /* __IDesktopWindowXamlSourceNative2_INTERFACE_DEFINED__ */ |
| 230 |
|
| 231 |
/* Begin additional prototypes for all interfaces */ |
| 232 |
|
| 233 |
|
| 234 |
/* End additional prototypes */ |
| 235 |
|
| 236 |
#ifdef __cplusplus |
| 237 |
} |
| 238 |
#endif |
| 239 |
|
| 240 |
#endif /* __windows_ui_xaml_hosting_desktopwindowxamlsource_h__ */ |