1 | /*
|
---|
2 | * Copyright 2006,2011 Jacek Caban for CodeWeavers
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "objidl.idl";
|
---|
29 | import "oleidl.idl";
|
---|
30 | import "urlmon.idl";
|
---|
31 |
|
---|
32 | cpp_quote("#include <htiframe.h>")
|
---|
33 |
|
---|
34 |
|
---|
35 | /*****************************************************************************
|
---|
36 | * ITargetFrame interface
|
---|
37 | */
|
---|
38 | [
|
---|
39 | object,
|
---|
40 | uuid(d5f78c80-5252-11cf-90fa-00aa0042106e),
|
---|
41 | pointer_default(unique)
|
---|
42 | ]
|
---|
43 | interface ITargetFrame: IUnknown
|
---|
44 | {
|
---|
45 | typedef [unique] ITargetFrame *LPTARGETFRAME;
|
---|
46 |
|
---|
47 | typedef enum {
|
---|
48 | NAVIGATEFRAME_FL_RECORD = 0x01,
|
---|
49 | NAVIGATEFRAME_FL_POST = 0x02,
|
---|
50 | NAVIGATEFRAME_FL_NO_DOC_CACHE = 0x04,
|
---|
51 | NAVIGATEFRAME_FL_NO_IMAGE_CACHE = 0x08,
|
---|
52 | NAVIGATEFRAME_FL_AUTH_FAIL_CACHE_OK = 0x10,
|
---|
53 | NAVIGATEFRAME_FL_SENDING_FROM_FORM = 0x20,
|
---|
54 | NAVIGATEFRAME_FL_REALLY_SENDING_FROM_FORM = 0x40
|
---|
55 | } NAVIGATEFRAME_FLAGS;
|
---|
56 |
|
---|
57 | typedef struct tagNavigateData {
|
---|
58 | ULONG ulTarget;
|
---|
59 | ULONG ulURL;
|
---|
60 | ULONG ulRefURL;
|
---|
61 | ULONG ulPostData;
|
---|
62 | DWORD dwFlags;
|
---|
63 | } NAVIGATEDATA;
|
---|
64 |
|
---|
65 | HRESULT SetFrameName([in] LPCWSTR pszFrameName);
|
---|
66 | HRESULT GetFrameName([out] LPWSTR *ppszFrameName);
|
---|
67 | HRESULT GetParentFrame([out] IUnknown **ppunkParent);
|
---|
68 |
|
---|
69 | HRESULT FindFrame(
|
---|
70 | [in] LPCWSTR pszTargetName,
|
---|
71 | [in] IUnknown *ppunkContextFrame,
|
---|
72 | [in] DWORD dwFlags,
|
---|
73 | [out] IUnknown **ppunkTargetFrame);
|
---|
74 |
|
---|
75 | HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc);
|
---|
76 | HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc);
|
---|
77 | }
|
---|
78 |
|
---|
79 | /*****************************************************************************
|
---|
80 | * ITargetFramePriv interface
|
---|
81 | */
|
---|
82 | [
|
---|
83 | object,
|
---|
84 | uuid(9216e421-2bf5-11d0-82b4-00a0c90c29c5),
|
---|
85 | pointer_default(unique)
|
---|
86 | ]
|
---|
87 | interface ITargetFramePriv : IUnknown
|
---|
88 | {
|
---|
89 | typedef [unique] ITargetFramePriv *LPTARGETFRAMEPRIV;
|
---|
90 |
|
---|
91 | HRESULT FindFrameDownwards(
|
---|
92 | [in] LPCWSTR pszTargetName,
|
---|
93 | [in] DWORD dwFlags,
|
---|
94 | [out] IUnknown **ppunkTargetFrame);
|
---|
95 |
|
---|
96 | HRESULT FindFrameInContext(
|
---|
97 | [in] LPCWSTR pszTargetName,
|
---|
98 | [in] IUnknown *punkContextFrame,
|
---|
99 | [in] DWORD dwFlags,
|
---|
100 | [out] IUnknown **ppunkTargetFrame);
|
---|
101 |
|
---|
102 | HRESULT OnChildFrameActivate([in] IUnknown *pUnkChildFrame);
|
---|
103 | HRESULT OnChildFrameDeactivate([in] IUnknown *pUnkChildFrame);
|
---|
104 |
|
---|
105 | HRESULT NavigateHack(
|
---|
106 | [in] DWORD grfHLNF,
|
---|
107 | [in, unique] LPBC pbc,
|
---|
108 | [in, unique] IBindStatusCallback *pibsc,
|
---|
109 | [in, unique] LPCWSTR pszTargetName,
|
---|
110 | [in] LPCWSTR pszUrl,
|
---|
111 | [in, unique] LPCWSTR pszLocation);
|
---|
112 |
|
---|
113 | HRESULT FindBrowserByIndex(
|
---|
114 | [in] DWORD dwID,
|
---|
115 | [out] IUnknown **ppunkBrowser);
|
---|
116 | }
|
---|
117 |
|
---|
118 | /*****************************************************************************
|
---|
119 | * ITargetFramePriv2 interface
|
---|
120 | */
|
---|
121 | [
|
---|
122 | object,
|
---|
123 | uuid(b2c867e6-69d6-46f2-a611-ded9a4bd7fef),
|
---|
124 | pointer_default(unique)
|
---|
125 | ]
|
---|
126 | interface ITargetFramePriv2 : ITargetFramePriv
|
---|
127 | {
|
---|
128 | typedef [unique] ITargetFramePriv2 *LPTARGETFRAMEPRIV2;
|
---|
129 |
|
---|
130 | HRESULT AggregatedNavigation2(
|
---|
131 | [in] DWORD grfHLNF,
|
---|
132 | [in, unique] LPBC pbc,
|
---|
133 | [in, unique] IBindStatusCallback *pibsc,
|
---|
134 | [in, unique] LPCWSTR pszTargetName,
|
---|
135 | [in] IUri *pUri,
|
---|
136 | [in, unique] LPCWSTR pszLocation);
|
---|
137 | }
|
---|