VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/htiframe.idl@ 33281

Last change on this file since 33281 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1/*
2 * Copyright 2006 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 * Sun 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, Sun 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
28import "objidl.idl";
29import "oleidl.idl";
30
31/*****************************************************************************
32 * ITargetNotify interface
33 */
34[
35 object,
36 uuid(863a99a0-21bc-11d0-82b4-00a0c90c29c5),
37 pointer_default(unique)
38]
39interface ITargetNotify : IUnknown
40{
41 typedef [unique] ITargetNotify *LPTARGETNOTIFY;
42
43 HRESULT OnCreate(
44 [in] IUnknown *pUnkDestination,
45 [in] ULONG cbCookie);
46
47 HRESULT OnReuse([in] IUnknown *pUnkDestination);
48}
49
50/*****************************************************************************
51 * ITargetNotify2 interface
52 */
53[
54 object,
55 uuid(3050f6b1-98b5-11cf-bb82-00aa00bdce0b),
56 pointer_default(unique)
57]
58interface ITargetNotify2 : ITargetNotify
59{
60 typedef [unique] ITargetNotify2 *LPTARGETNOTIFY2;
61
62 HRESULT GetOptionString([in,out] BSTR *pbstrOptions);
63}
64
65/*****************************************************************************
66 * ITargetFrame2 interface
67 */
68[
69 object,
70 uuid(86d52e11-94a8-11d0-82af-00c04fd5ae38),
71 pointer_default(unique)
72]
73interface ITargetFrame2 : IUnknown
74{
75 typedef [unique] ITargetFrame2 *LPTARGETFRAME2;
76
77 typedef enum {
78 FINDFRAME_NONE = 0,
79 FINDFRAME_JUSTTESTEXISTENCE = 1,
80 FINDFRAME_INTERNAL = 0x80000000
81 } FINDFRAME_FLAGS;
82
83 typedef enum {
84 FRAMEOPTIONS_SCROLL_YES = 0x00000001,
85 FRAMEOPTIONS_SCROLL_NO = 0x00000002,
86 FRAMEOPTIONS_SCROLL_AUTO = 0x00000004,
87 FRAMEOPTIONS_NORESIZE = 0x00000008,
88 FRAMEOPTIONS_NO3DBORDER = 0x00000010,
89 FRAMEOPTIONS_DESKTOP = 0x00000020,
90 FRAMEOPTIONS_BROWSERBAND = 0x00000040
91 } FRAMEOPTIONS_FLAGS;
92
93 HRESULT SetFrameName([in] LPCWSTR pszFrameName);
94
95 HRESULT GetFrameName([out] LPWSTR *ppszFrameName);
96
97 HRESULT GetParentFrame([out] IUnknown **ppunkParent);
98
99 HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc);
100
101 HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc);
102
103 HRESULT GetFramesContainer([out] IOleContainer **ppContainer);
104
105 HRESULT SetFrameOptions([in] DWORD dwFlags);
106
107 HRESULT GetFrameOptions([out] DWORD *pdwFlags);
108
109 HRESULT SetFrameMargins(
110 [in] DWORD dwWidth,
111 [in] DWORD dwHeight);
112
113 HRESULT GetFrameMargins(
114 [out] DWORD *pdwWidth,
115 [out] DWORD *pdwHeight);
116
117 HRESULT FindFrame(
118 [in,unique] LPCWSTR pszTargetName,
119 [in] DWORD dwFlags,
120 [out] IUnknown **ppunkTargetFrame);
121
122 HRESULT GetTargetAlias(
123 [in,unique] LPCWSTR pszTargetName,
124 [out] LPWSTR *ppszTargetAlias);
125}
126
127/*****************************************************************************
128 * ITargetContainer interface
129 */
130[
131 object,
132 uuid(7847ec01-2bec-11d0-82b4-00a0c90C29c5),
133 pointer_default(unique)
134]
135interface ITargetContainer : IUnknown
136{
137 typedef [unique] ITargetContainer *LPTARGETCONTAINER;
138
139 HRESULT GetFrameUrl([out] LPWSTR *ppszFrameSrc);
140
141 HRESULT GetFramesContainer([out] IOleContainer **ppContainer);
142
143}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette