VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/cor.idl

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

Devices/vmsvga: header fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 3.8 KB
 
1/*
2 * Copyright (C) 2007 Francois Gouget
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 * Oracle 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, Oracle 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
28import "propidl.idl";
29
30cpp_quote("#include <ole2.h>")
31/* FIXME: #include "specstrings.h" */
32cpp_quote("#include <corerror.h>")
33cpp_quote("#include <corhdr.h>")
34
35cpp_quote("DEFINE_GUID(CLSID_CorMetaDataDispenser, 0xe5cb7a31,0x7512,0x11d2,0x89,0xce,0x00,0x80,0xc7,0x92,0xe5,0xd8);")
36cpp_quote("DEFINE_GUID(CLSID_CorMetaDataDispenserRuntime, 0x1ec2de53,0x75cc,0x11d2,0x97,0x75,0x00,0xa0,0xc9,0xb4,0xd5,0x0c);")
37
38[
39 object,
40 local,
41 uuid(809c652e-7396-11d2-9771-00a0c9b4d50c)
42]
43interface IMetaDataDispenser : IUnknown
44{
45 HRESULT DefineScope(
46 [in] REFCLSID rclsid,
47 [in] DWORD dwCreateFlags,
48 [in] REFIID riid,
49 [out] IUnknown **ppIUnk);
50
51 HRESULT OpenScope(
52 [in] LPCWSTR szScope,
53 [in] DWORD dwOpenFlags,
54 [in] REFIID riid,
55 [out] IUnknown **ppIUnk);
56
57 HRESULT OpenScopeOnMemory(
58 [in] const void *pData,
59 [in] ULONG cbData,
60 [in] DWORD dwOpenFlags,
61 [in] REFIID riid,
62 [out] IUnknown **ppIUnk);
63}
64
65[
66 object,
67 local,
68 uuid(31bcfce2-dafb-11d2-9f81-00c04f79a0a3)
69]
70interface IMetaDataDispenserEx : IMetaDataDispenser
71{
72 HRESULT SetOption(
73 [in] REFGUID optionid,
74 [in] const VARIANT *value);
75
76 HRESULT GetOption(
77 [in] REFGUID optionid,
78 [out] VARIANT *pvalue);
79
80 HRESULT OpenScopeOnITypeInfo(
81 [in] ITypeInfo *pITI,
82 [in] DWORD dwOpenFlags,
83 [in] REFIID riid,
84 [out] IUnknown **ppIUnk);
85
86 HRESULT GetCORSystemDirectory(
87 [out, size_is(cchBuffer)] LPWSTR szBuffer,
88 [in] DWORD cchBuffer,
89 [out] DWORD *pchBuffer);
90
91 HRESULT FindAssembly(
92 [in] LPCWSTR szAppBase,
93 [in] LPCWSTR szPrivateBin,
94 [in] LPCWSTR szGlobalBin,
95 [in] LPCWSTR szAssemblyName,
96 [out, size_is(cchName)] LPWSTR szName,
97 [in] ULONG cchName,
98 [out] ULONG *pcName);
99
100 HRESULT FindAssemblyModule(
101 [in] LPCWSTR szAppBase,
102 [in] LPCWSTR szPrivateBin,
103 [in] LPCWSTR szGlobalBin,
104 [in] LPCWSTR szAssemblyName,
105 [in] LPCWSTR szModuleName,
106 [out, size_is(cchName)] LPWSTR szName,
107 [in] ULONG cchName,
108 [out] ULONG *pcName);
109}
110
111cpp_quote("BOOL WINAPI _CorDllMain(HINSTANCE,DWORD,LPVOID);")
112cpp_quote("__int32 WINAPI _CorExeMain(void);")
113cpp_quote("__int32 WINAPI _CorExeMain2(PBYTE,DWORD,LPWSTR,LPWSTR,LPWSTR);")
114cpp_quote("VOID WINAPI _CorImageUnloading(PVOID);")
115cpp_quote("HRESULT WINAPI _CorValidateImage(PVOID*,LPCWSTR);")
116cpp_quote("HRESULT WINAPI CoInitializeCor(DWORD);")
117cpp_quote("void WINAPI CoUninitializeCor(void);")
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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