1 /*** Autogenerated by WIDL 1.6 from include/uiviewsettingsinterop.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __uiviewsettingsinterop_h__ 16 #define __uiviewsettingsinterop_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __IUIViewSettingsInterop_FWD_DEFINED__ 21 #define __IUIViewSettingsInterop_FWD_DEFINED__ 22 typedef interface IUIViewSettingsInterop IUIViewSettingsInterop; 23 #endif 24 25 /* Headers for imported files */ 26 27 #include <inspectable.h> 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 /***************************************************************************** 34 * IUIViewSettingsInterop interface 35 */ 36 #ifndef __IUIViewSettingsInterop_INTERFACE_DEFINED__ 37 #define __IUIViewSettingsInterop_INTERFACE_DEFINED__ 38 39 DEFINE_GUID(IID_IUIViewSettingsInterop, 0x3694dbf9, 0x8f68, 0x44be, 0x8f,0xf5, 0x19,0x5c,0x98,0xed,0xe8,0xa6); 40 #if defined(__cplusplus) && !defined(CINTERFACE) 41 MIDL_INTERFACE("3694dbf9-8f68-44be-8ff5-195c98ede8a6") 42 IUIViewSettingsInterop : public IInspectable 43 { 44 virtual HRESULT STDMETHODCALLTYPE GetForWindow( 45 HWND hwnd, 46 REFIID riid, 47 void **ppv) = 0; 48 49 }; 50 #ifdef __CRT_UUID_DECL 51 __CRT_UUID_DECL(IUIViewSettingsInterop, 0x3694dbf9, 0x8f68, 0x44be, 0x8f,0xf5, 0x19,0x5c,0x98,0xed,0xe8,0xa6) 52 #endif 53 #else 54 typedef struct IUIViewSettingsInteropVtbl { 55 BEGIN_INTERFACE 56 57 /*** IUnknown methods ***/ 58 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 59 IUIViewSettingsInterop* This, 60 REFIID riid, 61 void **ppvObject); 62 63 ULONG (STDMETHODCALLTYPE *AddRef)( 64 IUIViewSettingsInterop* This); 65 66 ULONG (STDMETHODCALLTYPE *Release)( 67 IUIViewSettingsInterop* This); 68 69 /*** IInspectable methods ***/ 70 HRESULT (STDMETHODCALLTYPE *GetIids)( 71 IUIViewSettingsInterop* This, 72 ULONG *iidCount, 73 IID **iids); 74 75 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( 76 IUIViewSettingsInterop* This, 77 HSTRING *className); 78 79 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( 80 IUIViewSettingsInterop* This, 81 TrustLevel *trustLevel); 82 83 /*** IUIViewSettingsInterop methods ***/ 84 HRESULT (STDMETHODCALLTYPE *GetForWindow)( 85 IUIViewSettingsInterop* This, 86 HWND hwnd, 87 REFIID riid, 88 void **ppv); 89 90 END_INTERFACE 91 } IUIViewSettingsInteropVtbl; 92 interface IUIViewSettingsInterop { 93 CONST_VTBL IUIViewSettingsInteropVtbl* lpVtbl; 94 }; 95 96 #ifdef COBJMACROS 97 #ifndef WIDL_C_INLINE_WRAPPERS 98 /*** IUnknown methods ***/ 99 #define IUIViewSettingsInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 100 #define IUIViewSettingsInterop_AddRef(This) (This)->lpVtbl->AddRef(This) 101 #define IUIViewSettingsInterop_Release(This) (This)->lpVtbl->Release(This) 102 /*** IInspectable methods ***/ 103 #define IUIViewSettingsInterop_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) 104 #define IUIViewSettingsInterop_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) 105 #define IUIViewSettingsInterop_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) 106 /*** IUIViewSettingsInterop methods ***/ 107 #define IUIViewSettingsInterop_GetForWindow(This,hwnd,riid,ppv) (This)->lpVtbl->GetForWindow(This,hwnd,riid,ppv) 108 #else 109 /*** IUnknown methods ***/ 110 static FORCEINLINE HRESULT IUIViewSettingsInterop_QueryInterface(IUIViewSettingsInterop* This,REFIID riid,void **ppvObject) { 111 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 112 } 113 static FORCEINLINE ULONG IUIViewSettingsInterop_AddRef(IUIViewSettingsInterop* This) { 114 return This->lpVtbl->AddRef(This); 115 } 116 static FORCEINLINE ULONG IUIViewSettingsInterop_Release(IUIViewSettingsInterop* This) { 117 return This->lpVtbl->Release(This); 118 } 119 /*** IInspectable methods ***/ 120 static FORCEINLINE HRESULT IUIViewSettingsInterop_GetIids(IUIViewSettingsInterop* This,ULONG *iidCount,IID **iids) { 121 return This->lpVtbl->GetIids(This,iidCount,iids); 122 } 123 static FORCEINLINE HRESULT IUIViewSettingsInterop_GetRuntimeClassName(IUIViewSettingsInterop* This,HSTRING *className) { 124 return This->lpVtbl->GetRuntimeClassName(This,className); 125 } 126 static FORCEINLINE HRESULT IUIViewSettingsInterop_GetTrustLevel(IUIViewSettingsInterop* This,TrustLevel *trustLevel) { 127 return This->lpVtbl->GetTrustLevel(This,trustLevel); 128 } 129 /*** IUIViewSettingsInterop methods ***/ 130 static FORCEINLINE HRESULT IUIViewSettingsInterop_GetForWindow(IUIViewSettingsInterop* This,HWND hwnd,REFIID riid,void **ppv) { 131 return This->lpVtbl->GetForWindow(This,hwnd,riid,ppv); 132 } 133 #endif 134 #endif 135 136 #endif 137 138 HRESULT STDMETHODCALLTYPE IUIViewSettingsInterop_GetForWindow_Proxy( 139 IUIViewSettingsInterop* This, 140 HWND hwnd, 141 REFIID riid, 142 void **ppv); 143 void __RPC_STUB IUIViewSettingsInterop_GetForWindow_Stub( 144 IRpcStubBuffer* This, 145 IRpcChannelBuffer* pRpcChannelBuffer, 146 PRPC_MESSAGE pRpcMessage, 147 DWORD* pdwStubPhase); 148 149 #endif /* __IUIViewSettingsInterop_INTERFACE_DEFINED__ */ 150 151 /* Begin additional prototypes for all interfaces */ 152 153 ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); 154 unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); 155 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); 156 void __RPC_USER HWND_UserFree (ULONG *, HWND *); 157 158 /* End additional prototypes */ 159 160 #ifdef __cplusplus 161 } 162 #endif 163 164 #endif /* __uiviewsettingsinterop_h__ */ 165