ReactOS  0.4.12-dev-934-g9a4676f
unknwn.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2002 Ove Kaaven
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 #ifndef DO_NO_IMPORTS
20 import "wtypes.idl";
21 #endif
22 
23 cpp_quote("#ifdef __WINESRC__")
24 cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
25 cpp_quote("#endif")
26 
27 cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS")
28 cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS")
29 cpp_quote("#undef WIDL_C_INLINE_WRAPPERS")
30 cpp_quote("#endif")
31 
32 [
33  local,
34  object,
35  uuid(00000000-0000-0000-C000-000000000046),
37 ]
38 interface IUnknown
39 {
41 
43  [in] REFIID riid,
44  [out, iid_is(riid)] void **ppvObject);
45  ULONG AddRef();
46  ULONG Release();
47 }
48 
49 cpp_quote("HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown* This, REFIID riid, void **ppvObject);")
51 cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
54 cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
57 cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
58 
59 cpp_quote("#ifdef SAVE_WIDL_C_INLINE_WRAPPERS")
60 cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
61 cpp_quote("#endif")
62 
63 [
64  object,
65  uuid(00000001-0000-0000-C000-000000000046),
67 ]
69 {
71 
72  [local]
74  [in, unique] IUnknown *pUnkOuter,
75  [in] REFIID riid,
76  [out, iid_is(riid)] void **ppvObject);
77 
78  [call_as(CreateInstance)]
80  [in] REFIID riid,
81  [out, iid_is(riid)] IUnknown **ppvObject);
82 
83  [local]
85  [in] BOOL fLock);
86 
87  [call_as(LockServer)]
89  [in] BOOL fLock);
90 }
HRESULT RemoteCreateInstance([in] REFIID riid, [out, iid_is(riid)] IUnknown **ppvObject)
#define REFIID
Definition: guiddef.h:113
void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *pRpcChannelBuffer,") cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD *pdwStubPhase)
REFIID riid
Definition: precomp.h:44
ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown *This)
IUnknown * LPUNKNOWN
Definition: unknwn.idl:40
HRESULT CreateInstance([in, unique] IUnknown *pUnkOuter, [in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown *This)
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
unsigned int BOOL
Definition: ntddk_ex.h:94
HRESULT RemoteLockServer([in] BOOL fLock)
ULONG Release()
#define __RPC_STUB
Definition: rpc.h:66
LONG HRESULT
Definition: typedefs.h:77
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
ULONG AddRef()
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define local
Definition: zutil.h:30
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT LockServer([in] BOOL fLock)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
_ForwardIter unique(_ForwardIter __first, _ForwardIter __last)
Definition: _algo.h:298
unsigned int ULONG
Definition: retypes.h:1
void * object
Definition: jmemsys.h:48
void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *pRpcChannelBuffer,") cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD *pdwStubPhase)
IClassFactory * LPCLASSFACTORY
Definition: unknwn.idl:70
void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *pRpcChannelBuffer,") cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD *pdwStubPhase)