fdopen: don't rewind the file after creating the FILE* handle. Added
[wine] / dlls / shdocvw / shdocvw.h
1 /*
2  * Header includes for shdocvw.dll
3  *
4  * Copyright 2001 John R. Sheets (for CodeWeavers)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #ifndef __WINE_SHDOCVW_H
22 #define __WINE_SHDOCVW_H
23
24 /* FIXME: Is there a better way to deal with all these includes? */
25 #include "wingdi.h"
26 #include "winbase.h"
27 #include "winuser.h"
28
29 #include "ole2.h"
30 #include "olectl.h"
31 #include "shlobj.h"
32 #include "wine/obj_webbrowser.h"
33
34 /**********************************************************************
35  * IClassFactory declaration for SHDOCVW.DLL
36  */
37 typedef struct
38 {
39     /* IUnknown fields */
40     ICOM_VFIELD(IClassFactory);
41     DWORD ref;
42 } IClassFactoryImpl;
43
44 extern IClassFactoryImpl SHDOCVW_ClassFactory;
45
46
47 /**********************************************************************
48  * IOleObject declaration for SHDOCVW.DLL
49  */
50 typedef struct
51 {
52     /* IUnknown fields */
53     ICOM_VFIELD(IOleObject);
54     DWORD ref;
55 } IOleObjectImpl;
56
57 extern IOleObjectImpl SHDOCVW_OleObject;
58
59
60 /**********************************************************************
61  * IOleInPlaceObject declaration for SHDOCVW.DLL
62  */
63 typedef struct
64 {
65     /* IUnknown fields */
66     ICOM_VFIELD(IOleInPlaceObject);
67     DWORD ref;
68 } IOleInPlaceObjectImpl;
69
70 extern IOleInPlaceObjectImpl SHDOCVW_OleInPlaceObject;
71
72
73 /**********************************************************************
74  * IOleControl declaration for SHDOCVW.DLL
75  */
76 typedef struct
77 {
78     /* IUnknown fields */
79     ICOM_VFIELD(IOleControl);
80     DWORD ref;
81 } IOleControlImpl;
82
83 extern IOleControlImpl SHDOCVW_OleControl;
84
85
86 /**********************************************************************
87  * IWebBrowser declaration for SHDOCVW.DLL
88  */
89 typedef struct
90 {
91     /* IUnknown fields */
92     ICOM_VFIELD(IWebBrowser);
93     DWORD ref;
94 } IWebBrowserImpl;
95
96 extern IWebBrowserImpl SHDOCVW_WebBrowser;
97
98
99 /**********************************************************************
100  * IProvideClassInfo declaration for SHDOCVW.DLL
101  */
102 typedef struct
103 {
104     /* IUnknown fields */
105     ICOM_VFIELD(IProvideClassInfo);
106     DWORD ref;
107 } IProvideClassInfoImpl;
108
109 extern IProvideClassInfoImpl SHDOCVW_ProvideClassInfo;
110
111
112 /**********************************************************************
113  * IProvideClassInfo2 declaration for SHDOCVW.DLL
114  */
115 typedef struct
116 {
117     /* IUnknown fields */
118     ICOM_VFIELD(IProvideClassInfo2);
119     DWORD ref;
120 } IProvideClassInfo2Impl;
121
122 extern IProvideClassInfo2Impl SHDOCVW_ProvideClassInfo2;
123
124
125 /**********************************************************************
126  * IPersistStorage declaration for SHDOCVW.DLL
127  */
128 typedef struct
129 {
130     /* IUnknown fields */
131     ICOM_VFIELD(IPersistStorage);
132     DWORD ref;
133 } IPersistStorageImpl;
134
135 extern IPersistStorageImpl SHDOCVW_PersistStorage;
136
137
138 /**********************************************************************
139  * IPersistStreamInit declaration for SHDOCVW.DLL
140  */
141 typedef struct
142 {
143     /* IUnknown fields */
144     ICOM_VFIELD(IPersistStreamInit);
145     DWORD ref;
146 } IPersistStreamInitImpl;
147
148 extern IPersistStreamInitImpl SHDOCVW_PersistStreamInit;
149
150
151 /**********************************************************************
152  * IQuickActivate declaration for SHDOCVW.DLL
153  */
154 typedef struct
155 {
156     /* IUnknown fields */
157     ICOM_VFIELD(IQuickActivate);
158     DWORD ref;
159 } IQuickActivateImpl;
160
161 extern IQuickActivateImpl SHDOCVW_QuickActivate;
162
163
164 /**********************************************************************
165  * IConnectionPointContainer declaration for SHDOCVW.DLL
166  */
167 typedef struct
168 {
169     /* IUnknown fields */
170     ICOM_VFIELD(IConnectionPointContainer);
171     DWORD ref;
172 } IConnectionPointContainerImpl;
173
174 extern IConnectionPointContainerImpl SHDOCVW_ConnectionPointContainer;
175
176
177 /**********************************************************************
178  * IConnectionPoint declaration for SHDOCVW.DLL
179  */
180 typedef struct
181 {
182     /* IUnknown fields */
183     ICOM_VFIELD(IConnectionPoint);
184     DWORD ref;
185 } IConnectionPointImpl;
186
187 extern IConnectionPointImpl SHDOCVW_ConnectionPoint;
188
189
190 /* Other stuff.. */
191
192 DEFINE_GUID(IID_INotifyDBEvents,
193 0xdb526cc0, 0xd188, 0x11cd, 0xad, 0x48, 0x0, 0xaa, 0x0, 0x3c, 0x9c, 0xb6);
194
195 #endif /* __WINE_SHDOCVW_H */