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