winedbg: Added x86_64 support.
[wine/multimedia.git] / include / unknwn.idl
blob0ae9dee9fd90d98663ed6d3d44098b3e73f1f740
1 /*
2 * Copyright 2002 Ove Kaaven
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.
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.
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
19 import "wtypes.idl";
21 /* Interfaces */
24 local,
25 object,
26 uuid(00000000-0000-0000-C000-000000000046),
27 pointer_default(unique)
29 interface IUnknown
31 typedef [unique] IUnknown *LPUNKNOWN;
33 HRESULT QueryInterface(
34 [in] REFIID riid,
35 [out, iid_is(riid)] void **ppvObject);
36 ULONG AddRef();
37 ULONG Release();
41 object,
42 uuid(00000001-0000-0000-C000-000000000046),
43 pointer_default(unique)
45 interface IClassFactory : IUnknown
47 typedef [unique] IClassFactory *LPCLASSFACTORY;
49 [local]
50 HRESULT CreateInstance(
51 [in, unique] IUnknown *pUnkOuter,
52 [in] REFIID riid,
53 [out, iid_is(riid)] void **ppvObject);
55 [call_as(CreateInstance)]
56 HRESULT RemoteCreateInstance(
57 [in] REFIID riid,
58 [out, iid_is(riid)] IUnknown **ppvObject);
60 [local]
61 HRESULT LockServer(
62 [in] BOOL fLock);
64 [call_as(LockServer)]
65 HRESULT RemoteLockServer(
66 [in] BOOL fLock);