ReactOS  0.4.13-dev-544-gede3fdd
htiframe.idl
Go to the documentation of this file.
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 import "objidl.idl";
20 import "oleidl.idl";
21 
22 /*****************************************************************************
23  * ITargetNotify interface
24  */
25 [
26  object,
27  uuid(863a99a0-21bc-11d0-82b4-00a0c90c29c5),
29 ]
31 {
33 
35  [in] IUnknown *pUnkDestination,
36  [in] ULONG cbCookie);
37 
38  HRESULT OnReuse([in] IUnknown *pUnkDestination);
39 }
40 
41 /*****************************************************************************
42  * ITargetNotify2 interface
43  */
44 [
45  object,
46  uuid(3050f6b1-98b5-11cf-bb82-00aa00bdce0b),
48 ]
50 {
52 
53  HRESULT GetOptionString([in,out] BSTR *pbstrOptions);
54 }
55 
56 /*****************************************************************************
57  * ITargetFrame2 interface
58  */
59 [
60  object,
61  uuid(86d52e11-94a8-11d0-82af-00c04fd5ae38),
63 ]
65 {
67 
68  typedef enum {
71  FINDFRAME_INTERNAL = 0x80000000
73 
74  typedef enum {
76  FRAMEOPTIONS_SCROLL_NO = 0x00000002,
78  FRAMEOPTIONS_NORESIZE = 0x00000008,
80  FRAMEOPTIONS_DESKTOP = 0x00000020,
83 
84  HRESULT SetFrameName([in] LPCWSTR pszFrameName);
85 
86  HRESULT GetFrameName([out] LPWSTR *ppszFrameName);
87 
88  HRESULT GetParentFrame([out] IUnknown **ppunkParent);
89 
90  HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc);
91 
92  HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc);
93 
95 
97 
98  HRESULT GetFrameOptions([out] DWORD *pdwFlags);
99 
101  [in] DWORD dwWidth,
102  [in] DWORD dwHeight);
103 
105  [out] DWORD *pdwWidth,
106  [out] DWORD *pdwHeight);
107 
109  [in,unique] LPCWSTR pszTargetName,
110  [in] DWORD dwFlags,
111  [out] IUnknown **ppunkTargetFrame);
112 
114  [in,unique] LPCWSTR pszTargetName,
115  [out] LPWSTR *ppszTargetAlias);
116 }
117 
118 /*****************************************************************************
119  * ITargetContainer interface
120  */
121 [
122  object,
123  uuid(7847ec01-2bec-11d0-82b4-00a0c90C29c5),
125 ]
127 {
129 
130  HRESULT GetFrameUrl([out] LPWSTR *ppszFrameSrc);
131 
132  HRESULT GetFramesContainer([out] IOleContainer **ppContainer);
133 
134 }
ITargetNotify * LPTARGETNOTIFY
Definition: htiframe.idl:32
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
LPBATCH_CONTEXT bc
Definition: batch.c:66
HRESULT GetFrameName([out] LPWSTR *ppszFrameName)
HRESULT GetFrameOptions([out] DWORD *pdwFlags)
OLECHAR * BSTR
Definition: compat.h:1934
HRESULT SetFrameOptions([in] DWORD dwFlags)
HRESULT GetFramesContainer([out] IOleContainer **ppContainer)
HRESULT OnReuse([in] IUnknown *pUnkDestination)
HRESULT GetFrameUrl([out] LPWSTR *ppszFrameSrc)
HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc)
HRESULT GetOptionString([in, out] BSTR *pbstrOptions)
static const WCHAR dwHeight[]
Definition: provider.c:60
LONG HRESULT
Definition: typedefs.h:77
HRESULT OnCreate([in] IUnknown *pUnkDestination, [in] ULONG cbCookie)
HRESULT SetFrameName([in] LPCWSTR pszFrameName)
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT GetTargetAlias([in, unique] LPCWSTR pszTargetName, [out] LPWSTR *ppszTargetAlias)
HRESULT FindFrame([in, unique] LPCWSTR pszTargetName, [in] DWORD dwFlags, [out] IUnknown **ppunkTargetFrame)
ITargetNotify2 * LPTARGETNOTIFY2
Definition: htiframe.idl:51
ITargetFrame2 * LPTARGETFRAME2
Definition: htiframe.idl:66
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
ITargetContainer * LPTARGETCONTAINER
Definition: htiframe.idl:128
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc)
HRESULT GetFrameMargins([out] DWORD *pdwWidth, [out] DWORD *pdwHeight)
HRESULT GetFramesContainer([out] IOleContainer **ppContainer)
HRESULT SetFrameMargins([in] DWORD dwWidth, [in] DWORD dwHeight)
_ForwardIter unique(_ForwardIter __first, _ForwardIter __last)
Definition: _algo.h:298
unsigned int ULONG
Definition: retypes.h:1
static CRYPT_DATA_BLOB b4
Definition: msg.c:2284
WCHAR * LPWSTR
Definition: xmlstorage.h:184
HRESULT GetParentFrame([out] IUnknown **ppunkParent)
void * object
Definition: jmemsys.h:48
static const WCHAR dwWidth[]
Definition: provider.c:59