ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

mscoree.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2007 Francois Gouget
00003  * Copyright (C) 2008 Alistair Leslie-Hughes
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00018  */
00019 
00020 import "unknwn.idl";
00021 cpp_quote("/* FIXME: #include <gcghost.h> */")
00022 cpp_quote("/* FIXME: #include <ivalidator.h> */")
00023 
00024 cpp_quote("HRESULT     WINAPI CorBindToRuntimeHost(LPCWSTR,LPCWSTR,LPCWSTR,VOID*,DWORD,REFCLSID,REFIID,LPVOID*);")
00025 cpp_quote("void        WINAPI CorExitProcess(int);")
00026 cpp_quote("HRESULT     WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);")
00027 cpp_quote("HRESULT     WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);")
00028 cpp_quote("HRESULT     WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);")
00029 cpp_quote("HRESULT     WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);")
00030 cpp_quote("#ifdef WINE_STRICT_PROTOTYPES")
00031 cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)(void);")
00032 cpp_quote("#else")
00033 cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)();")
00034 cpp_quote("#endif")
00035 cpp_quote("HRESULT     WINAPI LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*);")
00036 
00037 typedef void* HDOMAINENUM;
00038 
00039 typedef enum RUNTIME_INFO_FLAGS {
00040     RUNTIME_INFO_UPGRADE_VERSION = 0x1,
00041     RUNTIME_INFO_REQUEST_IA64 = 0x2,
00042     RUNTIME_INFO_REQUEST_AMD64 = 0x4,
00043     RUNTIME_INFO_REQUEST_X86 = 0x8,
00044     RUNTIME_INFO_DONT_RETURN_DIRECTORY = 0x10,
00045     RUNTIME_INFO_DONT_RETURN_VERSION = 0x20,
00046     RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG = 0x40
00047 } RUNTIME_INFO_FLAGS;
00048 
00049 typedef HRESULT (__stdcall *FExecuteInAppDomainCallback)([in] void* cookie);
00050 
00051 [
00052     uuid(F31D1788-C397-4725-87A5-6AF3472C2791),
00053     version(1.0),
00054     object,
00055     local
00056 ]
00057 interface IGCThreadControl : IUnknown
00058 {
00059     HRESULT ThreadIsBlockingForSuspension();
00060 
00061     HRESULT SuspensionStarting();
00062 
00063     HRESULT SuspensionEnding(DWORD generation);
00064 }
00065 
00066 [
00067     uuid(5513D564-8374-4cb9-AED9-0083F4160A1D),
00068     version(1.1),
00069     local,
00070     object
00071 ]
00072 interface IGCHostControl : IUnknown
00073 {
00074     HRESULT RequestVirtualMemLimit([in] SIZE_T nMaxVirtualMemMB,
00075                                    [in, out] SIZE_T* nNewMaxVirtualMemMB);
00076 }
00077 
00078 [
00079     uuid(23D86786-0BB5-4774-8FB5-E3522ADD6246),
00080     version(1.0),
00081     local,
00082     object
00083 ]
00084 interface IDebuggerThreadControl : IUnknown
00085 {
00086     HRESULT ThreadIsBlockingForDebugger();
00087 
00088     HRESULT ReleaseAllRuntimeThreads();
00089 
00090     HRESULT StartBlockingForDebugger(DWORD dwUnused);
00091 }
00092 
00093 [
00094     uuid(5C2B07A5-1E98-11d3-872F-00C04F79ED0D),
00095     version(1.0),
00096     local,
00097     object
00098 ]
00099 interface ICorConfiguration : IUnknown
00100 {
00101     HRESULT SetGCThreadControl([in] IGCThreadControl* GCThreadControl);
00102 
00103     HRESULT SetGCHostControl([in] IGCHostControl* GCHostControl);
00104 
00105     HRESULT SetDebuggerThreadControl([in] IDebuggerThreadControl* debuggerThreadControl);
00106 
00107     HRESULT AddDebuggerSpecialThread([in] DWORD specialThreadId);
00108 }
00109 
00110 [
00111     uuid(9065597E-D1A1-4fb2-B6BA-7E1FCE230F61),
00112     version(1.0),
00113     local
00114 ]
00115 interface ICLRControl : IUnknown
00116 {
00117     HRESULT GetCLRManager([in] REFIID riid, [out] void **ppObject);
00118 
00119         HRESULT SetAppDomainManagerType([in] LPCWSTR appDomainManagerAssembly,
00120                           [in] LPCWSTR appDomainManagerType);
00121 }
00122 
00123 [
00124     uuid(02CA073C-7079-4860-880A-C2F7A449C991),
00125     version(1.0),
00126     local
00127 ]
00128 interface IHostControl : IUnknown
00129 {
00130     HRESULT GetHostManager( [in] REFIID riid, [out] void **ppObject);
00131 
00132     HRESULT SetAppDomainManager([in] DWORD appDomainID,
00133                             [in] IUnknown* appDomainManager);
00134 }
00135 
00136 cpp_quote("DEFINE_GUID(CLSID_CorRuntimeHost, 0xcb2f6723,0xab3a,0x11d2,0x9c,0x40,0x00,0xc0,0x4f,0xa3,0x0a,0x3e);")
00137 
00138 [
00139     uuid(CB2F6722-AB3A-11d2-9C40-00C04FA30A3E),
00140     version(1.0),
00141     local,
00142     object
00143 ]
00144 interface ICorRuntimeHost : IUnknown
00145 {
00146     HRESULT CreateLogicalThreadState();
00147     HRESULT DeleteLogicalThreadState();
00148     HRESULT SwitchInLogicalThreadState([in] DWORD *fiberCookie);
00149 
00150     HRESULT SwitchOutLogicalThreadState([out] DWORD **fiberCookie);
00151 
00152     HRESULT LocksHeldByLogicalThread( [out] DWORD *pCount );
00153 
00154     HRESULT MapFile([in] HANDLE hFile, [out] HMODULE* mapAddress);
00155 
00156     HRESULT GetConfiguration([out] ICorConfiguration** pConfiguration);
00157 
00158     HRESULT Start();
00159 
00160     HRESULT Stop();
00161 
00162     HRESULT CreateDomain([in] LPCWSTR friendlyName,
00163                          [in] IUnknown* identityArray,
00164                          [out] IUnknown** appDomain);
00165 
00166     HRESULT GetDefaultDomain([out] IUnknown** pAppDomain);
00167 
00168     HRESULT EnumDomains([out] HDOMAINENUM *hEnum);
00169 
00170     HRESULT NextDomain([in] HDOMAINENUM hEnum, [out] IUnknown** appDomain);
00171 
00172     HRESULT CloseEnum([in] HDOMAINENUM hEnum);
00173 
00174     HRESULT CreateDomainEx([in] LPCWSTR friendlyName,
00175                            [in] IUnknown* setup,
00176                            [in] IUnknown* evidence,
00177                            [out] IUnknown** appDomain);
00178 
00179     HRESULT CreateDomainSetup([out] IUnknown** appDomainSetup);
00180 
00181     HRESULT CreateEvidence([out] IUnknown** evidence);
00182 
00183     HRESULT UnloadDomain([in] IUnknown* appDomain);
00184 
00185     HRESULT CurrentDomain([out] IUnknown** appDomain);
00186 };
00187 
00188 cpp_quote("DEFINE_GUID(CLSID_CLRRuntimeHost, 0x90f1a06e,0x7712,0x4762,0x86,0xb5,0x7a,0x5e,0xba,0x6b,0xdb,0x02);")
00189 
00190 [
00191     uuid(90f1a06c-7712-4762-86b5-7a5eba6bdb02),
00192     local,
00193     object
00194 ]
00195 interface ICLRRuntimeHost : IUnknown
00196 {
00197     HRESULT Start();
00198 
00199     HRESULT Stop();
00200 
00201     HRESULT SetHostControl([in] IHostControl *pHostControl);
00202 
00203     HRESULT GetCLRControl([out] ICLRControl **pCLRControl);
00204 
00205     HRESULT UnloadAppDomain([in] DWORD dwAppDomainId,
00206                             [in] BOOL fWaitUntilDone);
00207 
00208     HRESULT ExecuteInAppDomain([in] DWORD dwAppDomainId,
00209                                [in] FExecuteInAppDomainCallback pCallback,
00210                                [in] void *cookie);
00211 
00212     HRESULT GetCurrentAppDomainId([out] DWORD *pdwAppDomainId);
00213 
00214     HRESULT ExecuteApplication([in] LPCWSTR pwzAppFullName,
00215                                [in] DWORD dwManifestPaths,
00216                                [in] LPCWSTR *ppwzManifestPaths,
00217                                [in] DWORD dwActivationData,
00218                                [in] LPCWSTR *ppwzActivationData,
00219                                [out] int *pReturnValue);
00220 
00221     HRESULT ExecuteInDefaultAppDomain([in] LPCWSTR pwzAssemblyPath,
00222                                       [in] LPCWSTR pwzTypeName,
00223                                       [in] LPCWSTR pwzMethodName,
00224                                       [in] LPCWSTR pwzArgument,
00225                                       [out] DWORD *pReturnValue);
00226 }
00227 
00228 [
00229     uuid(C3FCC19E-A970-11d2-8B5A-00A0C9B7C9C4),
00230     local,
00231     object
00232 ]
00233 interface IManagedObject : IUnknown
00234 {
00235     HRESULT GetSerializedBuffer([out] BSTR *pBSTR);
00236 
00237     HRESULT GetObjectIdentity([out] BSTR *pBSTRGUID,
00238                               [out] int *AppDomainID,
00239                              [out] int *pCCW);
00240 }

Generated on Sat May 26 2012 04:30:31 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.