2 * Copyright 2006,2011 Jacek Caban for CodeWeavers
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.
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.
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
23 cpp_quote("#include <htiframe.h>")
26 /*****************************************************************************
27 * ITargetFrame interface
31 uuid(d5f78c80-5252-11cf-90fa-00aa0042106e),
32 pointer_default(unique)
34 interface ITargetFrame: IUnknown
36 typedef [unique] ITargetFrame *LPTARGETFRAME;
39 NAVIGATEFRAME_FL_RECORD = 0x01,
40 NAVIGATEFRAME_FL_POST = 0x02,
41 NAVIGATEFRAME_FL_NO_DOC_CACHE = 0x04,
42 NAVIGATEFRAME_FL_NO_IMAGE_CACHE = 0x08,
43 NAVIGATEFRAME_FL_AUTH_FAIL_CACHE_OK = 0x10,
44 NAVIGATEFRAME_FL_SENDING_FROM_FORM = 0x20,
45 NAVIGATEFRAME_FL_REALLY_SENDING_FROM_FORM = 0x40
46 } NAVIGATEFRAME_FLAGS;
48 typedef struct tagNavigateData {
56 HRESULT SetFrameName([in] LPCWSTR pszFrameName);
57 HRESULT GetFrameName([out] LPWSTR *ppszFrameName);
58 HRESULT GetParentFrame([out] IUnknown **ppunkParent);
61 [in] LPCWSTR pszTargetName,
62 [in] IUnknown *ppunkContextFrame,
64 [out] IUnknown **ppunkTargetFrame);
66 HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc);
67 HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc);
70 /*****************************************************************************
71 * ITargetFramePriv interface
75 uuid(9216e421-2bf5-11d0-82b4-00a0c90c29c5),
76 pointer_default(unique)
78 interface ITargetFramePriv : IUnknown
80 typedef [unique] ITargetFramePriv *LPTARGETFRAMEPRIV;
82 HRESULT FindFrameDownwards(
83 [in] LPCWSTR pszTargetName,
85 [out] IUnknown **ppunkTargetFrame);
87 HRESULT FindFrameInContext(
88 [in] LPCWSTR pszTargetName,
89 [in] IUnknown *punkContextFrame,
91 [out] IUnknown **ppunkTargetFrame);
93 HRESULT OnChildFrameActivate([in] IUnknown *pUnkChildFrame);
94 HRESULT OnChildFrameDeactivate([in] IUnknown *pUnkChildFrame);
98 [in, unique] LPBC pbc,
99 [in, unique] IBindStatusCallback *pibsc,
100 [in, unique] LPCWSTR pszTargetName,
102 [in, unique] LPCWSTR pszLocation);
104 HRESULT FindBrowserByIndex(
106 [out] IUnknown **ppunkBrowser);
109 /*****************************************************************************
110 * ITargetFramePriv2 interface
114 uuid(b2c867e6-69d6-46f2-a611-ded9a4bd7fef),
115 pointer_default(unique)
117 interface ITargetFramePriv2 : ITargetFramePriv
119 typedef [unique] ITargetFramePriv2 *LPTARGETFRAMEPRIV2;
121 HRESULT AggregatedNavigation2(
123 [in, unique] LPBC pbc,
124 [in, unique] IBindStatusCallback *pibsc,
125 [in, unique] LPCWSTR pszTargetName,
127 [in, unique] LPCWSTR pszLocation);