source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/htiframe.h@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 15.5 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __REQUIRED_RPCNDR_H_VERSION__
7#define __REQUIRED_RPCNDR_H_VERSION__ 440
8#endif
9
10#include "rpc.h"
11#include "rpcndr.h"
12
13#ifndef __RPCNDR_H_VERSION__
14#error This stub requires an updated version of <rpcndr.h>
15#endif
16
17#ifndef COM_NO_WINDOWS_H
18#include "windows.h"
19#include "ole2.h"
20#endif
21
22#ifndef __htiframe_h__
23#define __htiframe_h__
24
25#ifndef __ITargetNotify_FWD_DEFINED__
26#define __ITargetNotify_FWD_DEFINED__
27typedef struct ITargetNotify ITargetNotify;
28#endif
29
30#ifndef __ITargetNotify2_FWD_DEFINED__
31#define __ITargetNotify2_FWD_DEFINED__
32typedef struct ITargetNotify2 ITargetNotify2;
33#endif
34
35#ifndef __ITargetFrame2_FWD_DEFINED__
36#define __ITargetFrame2_FWD_DEFINED__
37typedef struct ITargetFrame2 ITargetFrame2;
38#endif
39
40#ifndef __ITargetContainer_FWD_DEFINED__
41#define __ITargetContainer_FWD_DEFINED__
42typedef struct ITargetContainer ITargetContainer;
43#endif
44
45#include "objidl.h"
46#include "oleidl.h"
47
48#ifdef __cplusplus
49extern "C"{
50#endif
51
52#ifndef __MIDL_user_allocate_free_DEFINED__
53#define __MIDL_user_allocate_free_DEFINED__
54 void *__RPC_API MIDL_user_allocate(size_t);
55 void __RPC_API MIDL_user_free(void *);
56#endif
57
58 EXTERN_C const IID IID_ITargetFrame2;
59 EXTERN_C const IID IID_ITargetContainer;
60#ifndef _LPTARGETFRAME2_DEFINED
61#define _LPTARGETFRAME2_DEFINED
62#define TF_NAVIGATE 0x7FAEABAC
63#define TARGET_NOTIFY_OBJECT_NAME L"863a99a0-21bc-11d0-82b4-00a0c90c29c5"
64
65 extern RPC_IF_HANDLE __MIDL_itf_htiframe_0000_v0_0_c_ifspec;
66 extern RPC_IF_HANDLE __MIDL_itf_htiframe_0000_v0_0_s_ifspec;
67
68#ifndef __ITargetNotify_INTERFACE_DEFINED__
69#define __ITargetNotify_INTERFACE_DEFINED__
70
71 typedef ITargetNotify *LPTARGETNOTIFY;
72
73 EXTERN_C const IID IID_ITargetNotify;
74#if defined(__cplusplus) && !defined(CINTERFACE)
75 struct ITargetNotify : public IUnknown {
76 public:
77 virtual HRESULT WINAPI OnCreate(IUnknown *pUnkDestination,ULONG cbCookie) = 0;
78 virtual HRESULT WINAPI OnReuse(IUnknown *pUnkDestination) = 0;
79 };
80#else
81 typedef struct ITargetNotifyVtbl {
82 BEGIN_INTERFACE
83 HRESULT (WINAPI *QueryInterface)(ITargetNotify *This,REFIID riid,void **ppvObject);
84 ULONG (WINAPI *AddRef)(ITargetNotify *This);
85 ULONG (WINAPI *Release)(ITargetNotify *This);
86 HRESULT (WINAPI *OnCreate)(ITargetNotify *This,IUnknown *pUnkDestination,ULONG cbCookie);
87 HRESULT (WINAPI *OnReuse)(ITargetNotify *This,IUnknown *pUnkDestination);
88 END_INTERFACE
89 } ITargetNotifyVtbl;
90 struct ITargetNotify {
91 CONST_VTBL struct ITargetNotifyVtbl *lpVtbl;
92 };
93#ifdef COBJMACROS
94#define ITargetNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
95#define ITargetNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
96#define ITargetNotify_Release(This) (This)->lpVtbl->Release(This)
97#define ITargetNotify_OnCreate(This,pUnkDestination,cbCookie) (This)->lpVtbl->OnCreate(This,pUnkDestination,cbCookie)
98#define ITargetNotify_OnReuse(This,pUnkDestination) (This)->lpVtbl->OnReuse(This,pUnkDestination)
99#endif
100#endif
101 HRESULT WINAPI ITargetNotify_OnCreate_Proxy(ITargetNotify *This,IUnknown *pUnkDestination,ULONG cbCookie);
102 void __RPC_STUB ITargetNotify_OnCreate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
103 HRESULT WINAPI ITargetNotify_OnReuse_Proxy(ITargetNotify *This,IUnknown *pUnkDestination);
104 void __RPC_STUB ITargetNotify_OnReuse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
105#endif
106
107#ifndef __ITargetNotify2_INTERFACE_DEFINED__
108#define __ITargetNotify2_INTERFACE_DEFINED__
109 typedef ITargetNotify2 *LPTARGETNOTIFY2;
110
111 EXTERN_C const IID IID_ITargetNotify2;
112#if defined(__cplusplus) && !defined(CINTERFACE)
113 struct ITargetNotify2 : public ITargetNotify {
114 public:
115 virtual HRESULT WINAPI GetOptionString(BSTR *pbstrOptions) = 0;
116 };
117#else
118 typedef struct ITargetNotify2Vtbl {
119 BEGIN_INTERFACE
120 HRESULT (WINAPI *QueryInterface)(ITargetNotify2 *This,REFIID riid,void **ppvObject);
121 ULONG (WINAPI *AddRef)(ITargetNotify2 *This);
122 ULONG (WINAPI *Release)(ITargetNotify2 *This);
123 HRESULT (WINAPI *OnCreate)(ITargetNotify2 *This,IUnknown *pUnkDestination,ULONG cbCookie);
124 HRESULT (WINAPI *OnReuse)(ITargetNotify2 *This,IUnknown *pUnkDestination);
125 HRESULT (WINAPI *GetOptionString)(ITargetNotify2 *This,BSTR *pbstrOptions);
126 END_INTERFACE
127 } ITargetNotify2Vtbl;
128 struct ITargetNotify2 {
129 CONST_VTBL struct ITargetNotify2Vtbl *lpVtbl;
130 };
131#ifdef COBJMACROS
132#define ITargetNotify2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
133#define ITargetNotify2_AddRef(This) (This)->lpVtbl->AddRef(This)
134#define ITargetNotify2_Release(This) (This)->lpVtbl->Release(This)
135#define ITargetNotify2_OnCreate(This,pUnkDestination,cbCookie) (This)->lpVtbl->OnCreate(This,pUnkDestination,cbCookie)
136#define ITargetNotify2_OnReuse(This,pUnkDestination) (This)->lpVtbl->OnReuse(This,pUnkDestination)
137#define ITargetNotify2_GetOptionString(This,pbstrOptions) (This)->lpVtbl->GetOptionString(This,pbstrOptions)
138#endif
139#endif
140 HRESULT WINAPI ITargetNotify2_GetOptionString_Proxy(ITargetNotify2 *This,BSTR *pbstrOptions);
141 void __RPC_STUB ITargetNotify2_GetOptionString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
142#endif
143
144#ifndef __ITargetFrame2_INTERFACE_DEFINED__
145#define __ITargetFrame2_INTERFACE_DEFINED__
146 typedef ITargetFrame2 *LPTARGETFRAME2;
147 typedef
148 enum __MIDL_ITargetFrame2_0001 {
149 FINDFRAME_NONE = 0,FINDFRAME_JUSTTESTEXISTENCE = 1,FINDFRAME_INTERNAL = 0x80000000
150 } FINDFRAME_FLAGS;
151
152 typedef enum __MIDL_ITargetFrame2_0002 {
153 FRAMEOPTIONS_SCROLL_YES = 0x1,FRAMEOPTIONS_SCROLL_NO = 0x2,FRAMEOPTIONS_SCROLL_AUTO = 0x4,FRAMEOPTIONS_NORESIZE = 0x8,FRAMEOPTIONS_NO3DBORDER = 0x10,
154 FRAMEOPTIONS_DESKTOP = 0x20,FRAMEOPTIONS_BROWSERBAND = 0x40
155 } FRAMEOPTIONS_FLAGS;
156
157 EXTERN_C const IID IID_ITargetFrame2;
158#if defined(__cplusplus) && !defined(CINTERFACE)
159 struct ITargetFrame2 : public IUnknown {
160 public:
161 virtual HRESULT WINAPI SetFrameName(LPCWSTR pszFrameName) = 0;
162 virtual HRESULT WINAPI GetFrameName(LPWSTR *ppszFrameName) = 0;
163 virtual HRESULT WINAPI GetParentFrame(IUnknown **ppunkParent) = 0;
164 virtual HRESULT WINAPI SetFrameSrc(LPCWSTR pszFrameSrc) = 0;
165 virtual HRESULT WINAPI GetFrameSrc(LPWSTR *ppszFrameSrc) = 0;
166 virtual HRESULT WINAPI GetFramesContainer(IOleContainer **ppContainer) = 0;
167 virtual HRESULT WINAPI SetFrameOptions(DWORD dwFlags) = 0;
168 virtual HRESULT WINAPI GetFrameOptions(DWORD *pdwFlags) = 0;
169 virtual HRESULT WINAPI SetFrameMargins(DWORD dwWidth,DWORD dwHeight) = 0;
170 virtual HRESULT WINAPI GetFrameMargins(DWORD *pdwWidth,DWORD *pdwHeight) = 0;
171 virtual HRESULT WINAPI FindFrame(LPCWSTR pszTargetName,DWORD dwFlags,IUnknown **ppunkTargetFrame) = 0;
172 virtual HRESULT WINAPI GetTargetAlias(LPCWSTR pszTargetName,LPWSTR *ppszTargetAlias) = 0;
173 };
174#else
175 typedef struct ITargetFrame2Vtbl {
176 BEGIN_INTERFACE
177 HRESULT (WINAPI *QueryInterface)(ITargetFrame2 *This,REFIID riid,void **ppvObject);
178 ULONG (WINAPI *AddRef)(ITargetFrame2 *This);
179 ULONG (WINAPI *Release)(ITargetFrame2 *This);
180 HRESULT (WINAPI *SetFrameName)(ITargetFrame2 *This,LPCWSTR pszFrameName);
181 HRESULT (WINAPI *GetFrameName)(ITargetFrame2 *This,LPWSTR *ppszFrameName);
182 HRESULT (WINAPI *GetParentFrame)(ITargetFrame2 *This,IUnknown **ppunkParent);
183 HRESULT (WINAPI *SetFrameSrc)(ITargetFrame2 *This,LPCWSTR pszFrameSrc);
184 HRESULT (WINAPI *GetFrameSrc)(ITargetFrame2 *This,LPWSTR *ppszFrameSrc);
185 HRESULT (WINAPI *GetFramesContainer)(ITargetFrame2 *This,IOleContainer **ppContainer);
186 HRESULT (WINAPI *SetFrameOptions)(ITargetFrame2 *This,DWORD dwFlags);
187 HRESULT (WINAPI *GetFrameOptions)(ITargetFrame2 *This,DWORD *pdwFlags);
188 HRESULT (WINAPI *SetFrameMargins)(ITargetFrame2 *This,DWORD dwWidth,DWORD dwHeight);
189 HRESULT (WINAPI *GetFrameMargins)(ITargetFrame2 *This,DWORD *pdwWidth,DWORD *pdwHeight);
190 HRESULT (WINAPI *FindFrame)(ITargetFrame2 *This,LPCWSTR pszTargetName,DWORD dwFlags,IUnknown **ppunkTargetFrame);
191 HRESULT (WINAPI *GetTargetAlias)(ITargetFrame2 *This,LPCWSTR pszTargetName,LPWSTR *ppszTargetAlias);
192 END_INTERFACE
193 } ITargetFrame2Vtbl;
194 struct ITargetFrame2 {
195 CONST_VTBL struct ITargetFrame2Vtbl *lpVtbl;
196 };
197#ifdef COBJMACROS
198#define ITargetFrame2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
199#define ITargetFrame2_AddRef(This) (This)->lpVtbl->AddRef(This)
200#define ITargetFrame2_Release(This) (This)->lpVtbl->Release(This)
201#define ITargetFrame2_SetFrameName(This,pszFrameName) (This)->lpVtbl->SetFrameName(This,pszFrameName)
202#define ITargetFrame2_GetFrameName(This,ppszFrameName) (This)->lpVtbl->GetFrameName(This,ppszFrameName)
203#define ITargetFrame2_GetParentFrame(This,ppunkParent) (This)->lpVtbl->GetParentFrame(This,ppunkParent)
204#define ITargetFrame2_SetFrameSrc(This,pszFrameSrc) (This)->lpVtbl->SetFrameSrc(This,pszFrameSrc)
205#define ITargetFrame2_GetFrameSrc(This,ppszFrameSrc) (This)->lpVtbl->GetFrameSrc(This,ppszFrameSrc)
206#define ITargetFrame2_GetFramesContainer(This,ppContainer) (This)->lpVtbl->GetFramesContainer(This,ppContainer)
207#define ITargetFrame2_SetFrameOptions(This,dwFlags) (This)->lpVtbl->SetFrameOptions(This,dwFlags)
208#define ITargetFrame2_GetFrameOptions(This,pdwFlags) (This)->lpVtbl->GetFrameOptions(This,pdwFlags)
209#define ITargetFrame2_SetFrameMargins(This,dwWidth,dwHeight) (This)->lpVtbl->SetFrameMargins(This,dwWidth,dwHeight)
210#define ITargetFrame2_GetFrameMargins(This,pdwWidth,pdwHeight) (This)->lpVtbl->GetFrameMargins(This,pdwWidth,pdwHeight)
211#define ITargetFrame2_FindFrame(This,pszTargetName,dwFlags,ppunkTargetFrame) (This)->lpVtbl->FindFrame(This,pszTargetName,dwFlags,ppunkTargetFrame)
212#define ITargetFrame2_GetTargetAlias(This,pszTargetName,ppszTargetAlias) (This)->lpVtbl->GetTargetAlias(This,pszTargetName,ppszTargetAlias)
213#endif
214#endif
215 HRESULT WINAPI ITargetFrame2_SetFrameName_Proxy(ITargetFrame2 *This,LPCWSTR pszFrameName);
216 void __RPC_STUB ITargetFrame2_SetFrameName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
217 HRESULT WINAPI ITargetFrame2_GetFrameName_Proxy(ITargetFrame2 *This,LPWSTR *ppszFrameName);
218 void __RPC_STUB ITargetFrame2_GetFrameName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
219 HRESULT WINAPI ITargetFrame2_GetParentFrame_Proxy(ITargetFrame2 *This,IUnknown **ppunkParent);
220 void __RPC_STUB ITargetFrame2_GetParentFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
221 HRESULT WINAPI ITargetFrame2_SetFrameSrc_Proxy(ITargetFrame2 *This,LPCWSTR pszFrameSrc);
222 void __RPC_STUB ITargetFrame2_SetFrameSrc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
223 HRESULT WINAPI ITargetFrame2_GetFrameSrc_Proxy(ITargetFrame2 *This,LPWSTR *ppszFrameSrc);
224 void __RPC_STUB ITargetFrame2_GetFrameSrc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
225 HRESULT WINAPI ITargetFrame2_GetFramesContainer_Proxy(ITargetFrame2 *This,IOleContainer **ppContainer);
226 void __RPC_STUB ITargetFrame2_GetFramesContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
227 HRESULT WINAPI ITargetFrame2_SetFrameOptions_Proxy(ITargetFrame2 *This,DWORD dwFlags);
228 void __RPC_STUB ITargetFrame2_SetFrameOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
229 HRESULT WINAPI ITargetFrame2_GetFrameOptions_Proxy(ITargetFrame2 *This,DWORD *pdwFlags);
230 void __RPC_STUB ITargetFrame2_GetFrameOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
231 HRESULT WINAPI ITargetFrame2_SetFrameMargins_Proxy(ITargetFrame2 *This,DWORD dwWidth,DWORD dwHeight);
232 void __RPC_STUB ITargetFrame2_SetFrameMargins_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
233 HRESULT WINAPI ITargetFrame2_GetFrameMargins_Proxy(ITargetFrame2 *This,DWORD *pdwWidth,DWORD *pdwHeight);
234 void __RPC_STUB ITargetFrame2_GetFrameMargins_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
235 HRESULT WINAPI ITargetFrame2_FindFrame_Proxy(ITargetFrame2 *This,LPCWSTR pszTargetName,DWORD dwFlags,IUnknown **ppunkTargetFrame);
236 void __RPC_STUB ITargetFrame2_FindFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
237 HRESULT WINAPI ITargetFrame2_GetTargetAlias_Proxy(ITargetFrame2 *This,LPCWSTR pszTargetName,LPWSTR *ppszTargetAlias);
238 void __RPC_STUB ITargetFrame2_GetTargetAlias_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
239#endif
240
241#ifndef __ITargetContainer_INTERFACE_DEFINED__
242#define __ITargetContainer_INTERFACE_DEFINED__
243 typedef ITargetContainer *LPTARGETCONTAINER;
244
245 EXTERN_C const IID IID_ITargetContainer;
246#if defined(__cplusplus) && !defined(CINTERFACE)
247 struct ITargetContainer : public IUnknown {
248 public:
249 virtual HRESULT WINAPI GetFrameUrl(LPWSTR *ppszFrameSrc) = 0;
250 virtual HRESULT WINAPI GetFramesContainer(IOleContainer **ppContainer) = 0;
251 };
252#else
253 typedef struct ITargetContainerVtbl {
254 BEGIN_INTERFACE
255 HRESULT (WINAPI *QueryInterface)(ITargetContainer *This,REFIID riid,void **ppvObject);
256 ULONG (WINAPI *AddRef)(ITargetContainer *This);
257 ULONG (WINAPI *Release)(ITargetContainer *This);
258 HRESULT (WINAPI *GetFrameUrl)(ITargetContainer *This,LPWSTR *ppszFrameSrc);
259 HRESULT (WINAPI *GetFramesContainer)(ITargetContainer *This,IOleContainer **ppContainer);
260 END_INTERFACE
261 } ITargetContainerVtbl;
262 struct ITargetContainer {
263 CONST_VTBL struct ITargetContainerVtbl *lpVtbl;
264 };
265#ifdef COBJMACROS
266#define ITargetContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
267#define ITargetContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
268#define ITargetContainer_Release(This) (This)->lpVtbl->Release(This)
269#define ITargetContainer_GetFrameUrl(This,ppszFrameSrc) (This)->lpVtbl->GetFrameUrl(This,ppszFrameSrc)
270#define ITargetContainer_GetFramesContainer(This,ppContainer) (This)->lpVtbl->GetFramesContainer(This,ppContainer)
271#endif
272#endif
273 HRESULT WINAPI ITargetContainer_GetFrameUrl_Proxy(ITargetContainer *This,LPWSTR *ppszFrameSrc);
274 void __RPC_STUB ITargetContainer_GetFrameUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
275 HRESULT WINAPI ITargetContainer_GetFramesContainer_Proxy(ITargetContainer *This,IOleContainer **ppContainer);
276 void __RPC_STUB ITargetContainer_GetFramesContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
277#endif
278#endif
279
280 extern RPC_IF_HANDLE __MIDL_itf_htiframe_0121_v0_0_c_ifspec;
281 extern RPC_IF_HANDLE __MIDL_itf_htiframe_0121_v0_0_s_ifspec;
282
283 ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
284 unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
285 unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
286 void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
287
288#ifdef __cplusplus
289}
290#endif
291#endif
Note: See TracBrowser for help on using the repository browser.