| 1 | /*** Autogenerated by WIDL 11.6 from include/optary.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 __optary_h__ |
| 17 | #define __optary_h__ |
| 18 | |
| 19 | /* Forward declarations */ |
| 20 | |
| 21 | #ifndef __IOptionArray_FWD_DEFINED__ |
| 22 | #define __IOptionArray_FWD_DEFINED__ |
| 23 | typedef interface IOptionArray IOptionArray; |
| 24 | #ifdef __cplusplus |
| 25 | interface IOptionArray; |
| 26 | #endif /* __cplusplus */ |
| 27 | #endif |
| 28 | |
| 29 | #ifndef __IHtmlLoadOptions_FWD_DEFINED__ |
| 30 | #define __IHtmlLoadOptions_FWD_DEFINED__ |
| 31 | typedef interface IHtmlLoadOptions IHtmlLoadOptions; |
| 32 | #ifdef __cplusplus |
| 33 | interface IHtmlLoadOptions; |
| 34 | #endif /* __cplusplus */ |
| 35 | #endif |
| 36 | |
| 37 | /* Headers for imported files */ |
| 38 | |
| 39 | #include <objidl.h> |
| 40 | #include <oleidl.h> |
| 41 | |
| 42 | #ifdef __cplusplus |
| 43 | extern "C" { |
| 44 | #endif |
| 45 | |
| 46 | /***************************************************************************** |
| 47 | * IOptionArray interface |
| 48 | */ |
| 49 | #ifndef __IOptionArray_INTERFACE_DEFINED__ |
| 50 | #define __IOptionArray_INTERFACE_DEFINED__ |
| 51 | |
| 52 | typedef IOptionArray *LPOPTIONARRAY; |
| 53 | DEFINE_GUID(IID_IOptionArray, 0x22b6d492, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0); |
| 54 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 55 | MIDL_INTERFACE("22b6d492-0f88-11d1-ba19-00c04fd912d0") |
| 56 | IOptionArray : public IUnknown |
| 57 | { |
| 58 | virtual HRESULT STDMETHODCALLTYPE QueryOption( |
| 59 | DWORD dwOption, |
| 60 | LPVOID pBuffer, |
| 61 | ULONG *pcbBuf) = 0; |
| 62 | |
| 63 | virtual HRESULT STDMETHODCALLTYPE SetOption( |
| 64 | DWORD dwOption, |
| 65 | LPVOID pBuffer, |
| 66 | ULONG cbBuf) = 0; |
| 67 | |
| 68 | }; |
| 69 | #ifdef __CRT_UUID_DECL |
| 70 | __CRT_UUID_DECL(IOptionArray, 0x22b6d492, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0) |
| 71 | #endif |
| 72 | #else |
| 73 | typedef struct IOptionArrayVtbl { |
| 74 | BEGIN_INTERFACE |
| 75 | |
| 76 | /*** IUnknown methods ***/ |
| 77 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 78 | IOptionArray *This, |
| 79 | REFIID riid, |
| 80 | void **ppvObject); |
| 81 | |
| 82 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 83 | IOptionArray *This); |
| 84 | |
| 85 | ULONG (STDMETHODCALLTYPE *Release)( |
| 86 | IOptionArray *This); |
| 87 | |
| 88 | /*** IOptionArray methods ***/ |
| 89 | HRESULT (STDMETHODCALLTYPE *QueryOption)( |
| 90 | IOptionArray *This, |
| 91 | DWORD dwOption, |
| 92 | LPVOID pBuffer, |
| 93 | ULONG *pcbBuf); |
| 94 | |
| 95 | HRESULT (STDMETHODCALLTYPE *SetOption)( |
| 96 | IOptionArray *This, |
| 97 | DWORD dwOption, |
| 98 | LPVOID pBuffer, |
| 99 | ULONG cbBuf); |
| 100 | |
| 101 | END_INTERFACE |
| 102 | } IOptionArrayVtbl; |
| 103 | |
| 104 | interface IOptionArray { |
| 105 | CONST_VTBL IOptionArrayVtbl* lpVtbl; |
| 106 | }; |
| 107 | |
| 108 | #ifdef COBJMACROS |
| 109 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 110 | /*** IUnknown methods ***/ |
| 111 | #define IOptionArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 112 | #define IOptionArray_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 113 | #define IOptionArray_Release(This) (This)->lpVtbl->Release(This) |
| 114 | /*** IOptionArray methods ***/ |
| 115 | #define IOptionArray_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) |
| 116 | #define IOptionArray_SetOption(This,dwOption,pBuffer,cbBuf) (This)->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf) |
| 117 | #else |
| 118 | /*** IUnknown methods ***/ |
| 119 | static inline HRESULT IOptionArray_QueryInterface(IOptionArray* This,REFIID riid,void **ppvObject) { |
| 120 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 121 | } |
| 122 | static inline ULONG IOptionArray_AddRef(IOptionArray* This) { |
| 123 | return This->lpVtbl->AddRef(This); |
| 124 | } |
| 125 | static inline ULONG IOptionArray_Release(IOptionArray* This) { |
| 126 | return This->lpVtbl->Release(This); |
| 127 | } |
| 128 | /*** IOptionArray methods ***/ |
| 129 | static inline HRESULT IOptionArray_QueryOption(IOptionArray* This,DWORD dwOption,LPVOID pBuffer,ULONG *pcbBuf) { |
| 130 | return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf); |
| 131 | } |
| 132 | static inline HRESULT IOptionArray_SetOption(IOptionArray* This,DWORD dwOption,LPVOID pBuffer,ULONG cbBuf) { |
| 133 | return This->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf); |
| 134 | } |
| 135 | #endif |
| 136 | #endif |
| 137 | |
| 138 | #endif |
| 139 | |
| 140 | |
| 141 | #endif /* __IOptionArray_INTERFACE_DEFINED__ */ |
| 142 | |
| 143 | /***************************************************************************** |
| 144 | * IHtmlLoadOptions interface |
| 145 | */ |
| 146 | #ifndef __IHtmlLoadOptions_INTERFACE_DEFINED__ |
| 147 | #define __IHtmlLoadOptions_INTERFACE_DEFINED__ |
| 148 | |
| 149 | typedef enum __WIDL_optary_generated_name_0000000E { |
| 150 | HTMLLOADOPTION_CODEPAGE = 0, |
| 151 | HTMLLOADOPTION_INETSHORTCUTPATH = 1, |
| 152 | HTMLLOADOPTION_HYPERLINK = 2, |
| 153 | HTMLLOADOPTION_FRAMELOAD = 3 |
| 154 | } HTMLLOADOPTION; |
| 155 | DEFINE_GUID(IID_IHtmlLoadOptions, 0xa71a0808, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0); |
| 156 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 157 | MIDL_INTERFACE("a71a0808-0f88-11d1-ba19-00c04fd912d0") |
| 158 | IHtmlLoadOptions : public IOptionArray |
| 159 | { |
| 160 | }; |
| 161 | #ifdef __CRT_UUID_DECL |
| 162 | __CRT_UUID_DECL(IHtmlLoadOptions, 0xa71a0808, 0x0f88, 0x11d1, 0xba,0x19, 0x00,0xc0,0x4f,0xd9,0x12,0xd0) |
| 163 | #endif |
| 164 | #else |
| 165 | typedef struct IHtmlLoadOptionsVtbl { |
| 166 | BEGIN_INTERFACE |
| 167 | |
| 168 | /*** IUnknown methods ***/ |
| 169 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 170 | IHtmlLoadOptions *This, |
| 171 | REFIID riid, |
| 172 | void **ppvObject); |
| 173 | |
| 174 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 175 | IHtmlLoadOptions *This); |
| 176 | |
| 177 | ULONG (STDMETHODCALLTYPE *Release)( |
| 178 | IHtmlLoadOptions *This); |
| 179 | |
| 180 | /*** IOptionArray methods ***/ |
| 181 | HRESULT (STDMETHODCALLTYPE *QueryOption)( |
| 182 | IHtmlLoadOptions *This, |
| 183 | DWORD dwOption, |
| 184 | LPVOID pBuffer, |
| 185 | ULONG *pcbBuf); |
| 186 | |
| 187 | HRESULT (STDMETHODCALLTYPE *SetOption)( |
| 188 | IHtmlLoadOptions *This, |
| 189 | DWORD dwOption, |
| 190 | LPVOID pBuffer, |
| 191 | ULONG cbBuf); |
| 192 | |
| 193 | END_INTERFACE |
| 194 | } IHtmlLoadOptionsVtbl; |
| 195 | |
| 196 | interface IHtmlLoadOptions { |
| 197 | CONST_VTBL IHtmlLoadOptionsVtbl* lpVtbl; |
| 198 | }; |
| 199 | |
| 200 | #ifdef COBJMACROS |
| 201 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 202 | /*** IUnknown methods ***/ |
| 203 | #define IHtmlLoadOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 204 | #define IHtmlLoadOptions_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 205 | #define IHtmlLoadOptions_Release(This) (This)->lpVtbl->Release(This) |
| 206 | /*** IOptionArray methods ***/ |
| 207 | #define IHtmlLoadOptions_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) |
| 208 | #define IHtmlLoadOptions_SetOption(This,dwOption,pBuffer,cbBuf) (This)->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf) |
| 209 | #else |
| 210 | /*** IUnknown methods ***/ |
| 211 | static inline HRESULT IHtmlLoadOptions_QueryInterface(IHtmlLoadOptions* This,REFIID riid,void **ppvObject) { |
| 212 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 213 | } |
| 214 | static inline ULONG IHtmlLoadOptions_AddRef(IHtmlLoadOptions* This) { |
| 215 | return This->lpVtbl->AddRef(This); |
| 216 | } |
| 217 | static inline ULONG IHtmlLoadOptions_Release(IHtmlLoadOptions* This) { |
| 218 | return This->lpVtbl->Release(This); |
| 219 | } |
| 220 | /*** IOptionArray methods ***/ |
| 221 | static inline HRESULT IHtmlLoadOptions_QueryOption(IHtmlLoadOptions* This,DWORD dwOption,LPVOID pBuffer,ULONG *pcbBuf) { |
| 222 | return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf); |
| 223 | } |
| 224 | static inline HRESULT IHtmlLoadOptions_SetOption(IHtmlLoadOptions* This,DWORD dwOption,LPVOID pBuffer,ULONG cbBuf) { |
| 225 | return This->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf); |
| 226 | } |
| 227 | #endif |
| 228 | #endif |
| 229 | |
| 230 | #endif |
| 231 | |
| 232 | |
| 233 | #endif /* __IHtmlLoadOptions_INTERFACE_DEFINED__ */ |
| 234 | |
| 235 | DEFINE_GUID(CLSID_HTMLLoadOptions, 0x18845040, 0x0FA5, 0x11D1, 0xBA,0x19, 0x00,0xC0,0x4F,0xD9,0x12,0xD0); |
| 236 | /* Begin additional prototypes for all interfaces */ |
| 237 | |
| 238 | |
| 239 | /* End additional prototypes */ |
| 240 | |
| 241 | #ifdef __cplusplus |
| 242 | } |
| 243 | #endif |
| 244 | |
| 245 | #endif /* __optary_h__ */ |