VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/unknwn.idl@ 33282

Last change on this file since 33282 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: 2.1 KB
Line 
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/*
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
28#ifndef DO_NO_IMPORTS
29import "wtypes.idl";
30#endif
31
32/* Interfaces */
33
34[
35 local,
36 object,
37 uuid(00000000-0000-0000-C000-000000000046),
38 pointer_default(unique)
39]
40interface IUnknown
41{
42 typedef [unique] IUnknown *LPUNKNOWN;
43
44 HRESULT QueryInterface(
45 [in] REFIID riid,
46 [out, iid_is(riid)] void **ppvObject);
47 ULONG AddRef();
48 ULONG Release();
49}
50
51[
52 object,
53 uuid(00000001-0000-0000-C000-000000000046),
54 pointer_default(unique)
55]
56interface IClassFactory : IUnknown
57{
58 typedef [unique] IClassFactory *LPCLASSFACTORY;
59
60 [local]
61 HRESULT CreateInstance(
62 [in, unique] IUnknown *pUnkOuter,
63 [in] REFIID riid,
64 [out, iid_is(riid)] void **ppvObject);
65
66 [call_as(CreateInstance)]
67 HRESULT RemoteCreateInstance(
68 [in] REFIID riid,
69 [out, iid_is(riid)] IUnknown **ppvObject);
70
71 [local]
72 HRESULT LockServer(
73 [in] BOOL fLock);
74
75 [call_as(LockServer)]
76 HRESULT RemoteLockServer(
77 [in] BOOL fLock);
78}
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