VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/unknwn.h@ 33252

Last change on this file since 33252 was 28475, checked in by vboxsync, 15 years ago

crOpenGL: update to wine 1.1.43

  • Property svn:eol-style set to native
File size: 5.8 KB
Line 
1/*** Autogenerated by WIDL 1.1.43 from ../../include/unknwn.idl - Do not edit ***/
2
3#include <rpc.h>
4#include <rpcndr.h>
5
6#ifndef __WIDL_UNKNWN_H
7#define __WIDL_UNKNWN_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/* Headers for imported files */
14
15#include <wtypes.h>
16
17/* Forward declarations */
18
19#ifndef __IUnknown_FWD_DEFINED__
20#define __IUnknown_FWD_DEFINED__
21typedef interface IUnknown IUnknown;
22#endif
23
24#ifndef __IClassFactory_FWD_DEFINED__
25#define __IClassFactory_FWD_DEFINED__
26typedef interface IClassFactory IClassFactory;
27#endif
28
29
30/*****************************************************************************
31 * IUnknown interface
32 */
33#ifndef __IUnknown_INTERFACE_DEFINED__
34#define __IUnknown_INTERFACE_DEFINED__
35
36typedef IUnknown *LPUNKNOWN;
37DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
38#if defined(__cplusplus) && !defined(CINTERFACE)
39interface IUnknown
40{
41 BEGIN_INTERFACE
42
43 virtual HRESULT STDMETHODCALLTYPE QueryInterface(
44 REFIID riid,
45 void **ppvObject) = 0;
46
47 virtual ULONG STDMETHODCALLTYPE AddRef(
48 ) = 0;
49
50 virtual ULONG STDMETHODCALLTYPE Release(
51 ) = 0;
52
53 END_INTERFACE
54};
55#else
56typedef struct IUnknownVtbl {
57 BEGIN_INTERFACE
58
59 /*** IUnknown methods ***/
60 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
61 IUnknown* This,
62 REFIID riid,
63 void **ppvObject);
64
65 ULONG (STDMETHODCALLTYPE *AddRef)(
66 IUnknown* This);
67
68 ULONG (STDMETHODCALLTYPE *Release)(
69 IUnknown* This);
70
71 END_INTERFACE
72} IUnknownVtbl;
73interface IUnknown {
74 CONST_VTBL IUnknownVtbl* lpVtbl;
75};
76
77#ifdef COBJMACROS
78/*** IUnknown methods ***/
79#define IUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
80#define IUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
81#define IUnknown_Release(This) (This)->lpVtbl->Release(This)
82#endif
83
84#endif
85
86HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(
87 IUnknown* This,
88 REFIID riid,
89 void **ppvObject);
90void __RPC_STUB IUnknown_QueryInterface_Stub(
91 IRpcStubBuffer* This,
92 IRpcChannelBuffer* pRpcChannelBuffer,
93 PRPC_MESSAGE pRpcMessage,
94 DWORD* pdwStubPhase);
95ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
96 IUnknown* This);
97void __RPC_STUB IUnknown_AddRef_Stub(
98 IRpcStubBuffer* This,
99 IRpcChannelBuffer* pRpcChannelBuffer,
100 PRPC_MESSAGE pRpcMessage,
101 DWORD* pdwStubPhase);
102ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(
103 IUnknown* This);
104void __RPC_STUB IUnknown_Release_Stub(
105 IRpcStubBuffer* This,
106 IRpcChannelBuffer* pRpcChannelBuffer,
107 PRPC_MESSAGE pRpcMessage,
108 DWORD* pdwStubPhase);
109
110#endif /* __IUnknown_INTERFACE_DEFINED__ */
111
112/*****************************************************************************
113 * IClassFactory interface
114 */
115#ifndef __IClassFactory_INTERFACE_DEFINED__
116#define __IClassFactory_INTERFACE_DEFINED__
117
118typedef IClassFactory *LPCLASSFACTORY;
119DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
120#if defined(__cplusplus) && !defined(CINTERFACE)
121interface IClassFactory : public IUnknown
122{
123 virtual HRESULT STDMETHODCALLTYPE CreateInstance(
124 IUnknown *pUnkOuter,
125 REFIID riid,
126 void **ppvObject) = 0;
127
128 virtual HRESULT STDMETHODCALLTYPE LockServer(
129 BOOL fLock) = 0;
130
131};
132#else
133typedef struct IClassFactoryVtbl {
134 BEGIN_INTERFACE
135
136 /*** IUnknown methods ***/
137 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
138 IClassFactory* This,
139 REFIID riid,
140 void **ppvObject);
141
142 ULONG (STDMETHODCALLTYPE *AddRef)(
143 IClassFactory* This);
144
145 ULONG (STDMETHODCALLTYPE *Release)(
146 IClassFactory* This);
147
148 /*** IClassFactory methods ***/
149 HRESULT (STDMETHODCALLTYPE *CreateInstance)(
150 IClassFactory* This,
151 IUnknown *pUnkOuter,
152 REFIID riid,
153 void **ppvObject);
154
155 HRESULT (STDMETHODCALLTYPE *LockServer)(
156 IClassFactory* This,
157 BOOL fLock);
158
159 END_INTERFACE
160} IClassFactoryVtbl;
161interface IClassFactory {
162 CONST_VTBL IClassFactoryVtbl* lpVtbl;
163};
164
165#ifdef COBJMACROS
166/*** IUnknown methods ***/
167#define IClassFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
168#define IClassFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
169#define IClassFactory_Release(This) (This)->lpVtbl->Release(This)
170/*** IClassFactory methods ***/
171#define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject)
172#define IClassFactory_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock)
173#endif
174
175#endif
176
177HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy(
178 IClassFactory* This,
179 REFIID riid,
180 IUnknown **ppvObject);
181void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
182 IRpcStubBuffer* This,
183 IRpcChannelBuffer* pRpcChannelBuffer,
184 PRPC_MESSAGE pRpcMessage,
185 DWORD* pdwStubPhase);
186HRESULT STDMETHODCALLTYPE IClassFactory_RemoteLockServer_Proxy(
187 IClassFactory* This,
188 BOOL fLock);
189void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
190 IRpcStubBuffer* This,
191 IRpcChannelBuffer* pRpcChannelBuffer,
192 PRPC_MESSAGE pRpcMessage,
193 DWORD* pdwStubPhase);
194HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(
195 IClassFactory* This,
196 IUnknown *pUnkOuter,
197 REFIID riid,
198 void **ppvObject);
199HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(
200 IClassFactory* This,
201 REFIID riid,
202 IUnknown **ppvObject);
203HRESULT CALLBACK IClassFactory_LockServer_Proxy(
204 IClassFactory* This,
205 BOOL fLock);
206HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
207 IClassFactory* This,
208 BOOL fLock);
209
210#endif /* __IClassFactory_INTERFACE_DEFINED__ */
211
212/* Begin additional prototypes for all interfaces */
213
214
215/* End additional prototypes */
216
217#ifdef __cplusplus
218}
219#endif
220
221#endif /* __WIDL_UNKNWN_H */
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