VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/unknwn.idl@ 53201

最後變更 在這個檔案從53201是 53201,由 vboxsync 提交於 10 年 前

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.0 KB
 
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
20import "wtypes.idl";
21#endif
22
23cpp_quote("#ifdef __WINESRC__")
24cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
25cpp_quote("#endif")
26
27cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS")
28cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS")
29cpp_quote("#undef WIDL_C_INLINE_WRAPPERS")
30cpp_quote("#endif")
31
32[
33 local,
34 object,
35 uuid(00000000-0000-0000-C000-000000000046),
36 pointer_default(unique)
37]
38interface IUnknown
39{
40 typedef [unique] IUnknown *LPUNKNOWN;
41
42 HRESULT QueryInterface(
43 [in] REFIID riid,
44 [out, iid_is(riid)] void **ppvObject);
45 ULONG AddRef();
46 ULONG Release();
47}
48
49cpp_quote("#ifdef SAVE_WIDL_C_INLINE_WRAPPERS")
50cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
51cpp_quote("#endif")
52
53[
54 object,
55 uuid(00000001-0000-0000-C000-000000000046),
56 pointer_default(unique)
57]
58interface IClassFactory : IUnknown
59{
60 typedef [unique] IClassFactory *LPCLASSFACTORY;
61
62 [local]
63 HRESULT CreateInstance(
64 [in, unique] IUnknown *pUnkOuter,
65 [in] REFIID riid,
66 [out, iid_is(riid)] void **ppvObject);
67
68 [call_as(CreateInstance)]
69 HRESULT RemoteCreateInstance(
70 [in] REFIID riid,
71 [out, iid_is(riid)] IUnknown **ppvObject);
72
73 [local]
74 HRESULT LockServer(
75 [in] BOOL fLock);
76
77 [call_as(LockServer)]
78 HRESULT RemoteLockServer(
79 [in] BOOL fLock);
80}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette