Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/System/ClrHosting/mod.rs

raw
1 ::windows_targets::link!("mscoree.dll" "system" fn CLRCreateInstance(clsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppinterface : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
2 ::windows_targets::link!("mscoree.dll" "system" fn CallFunctionShim(szdllname : ::windows_sys::core::PCWSTR, szfunctionname : ::windows_sys::core::PCSTR, lpvargument1 : *mut ::core::ffi::c_void, lpvargument2 : *mut ::core::ffi::c_void, szversion : ::windows_sys::core::PCWSTR, pvreserved : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
3 ::windows_targets::link!("mscoree.dll" "system" fn ClrCreateManagedInstance(ptypename : ::windows_sys::core::PCWSTR, riid : *const ::windows_sys::core::GUID, ppobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
4 ::windows_targets::link!("mscoree.dll" "system" fn CorBindToCurrentRuntime(pwszfilename : ::windows_sys::core::PCWSTR, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
5 ::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntime(pwszversion : ::windows_sys::core::PCWSTR, pwszbuildflavor : ::windows_sys::core::PCWSTR, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
6 #[cfg(feature = "Win32_System_Com")]
7 ::windows_targets::link!("mscoree.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn CorBindToRuntimeByCfg(pcfgstream : super::Com:: IStream, reserved : u32, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
8 ::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntimeEx(pwszversion : ::windows_sys::core::PCWSTR, pwszbuildflavor : ::windows_sys::core::PCWSTR, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
9 ::windows_targets::link!("mscoree.dll" "system" fn CorBindToRuntimeHost(pwszversion : ::windows_sys::core::PCWSTR, pwszbuildflavor : ::windows_sys::core::PCWSTR, pwszhostconfigfile : ::windows_sys::core::PCWSTR, preserved : *mut ::core::ffi::c_void, startupflags : u32, rclsid : *const ::windows_sys::core::GUID, riid : *const ::windows_sys::core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
10 ::windows_targets::link!("mscoree.dll" "system" fn CorExitProcess(exitcode : i32) -> ());
11 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
12 ::windows_targets::link!("mscoree.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`"] fn CorLaunchApplication(dwclickoncehost : HOST_TYPE, pwzappfullname : ::windows_sys::core::PCWSTR, dwmanifestpaths : u32, ppwzmanifestpaths : *const ::windows_sys::core::PCWSTR, dwactivationdata : u32, ppwzactivationdata : *const ::windows_sys::core::PCWSTR, lpprocessinformation : *mut super::Threading:: PROCESS_INFORMATION) -> ::windows_sys::core::HRESULT);
13 ::windows_targets::link!("mscoree.dll" "system" fn CorMarkThreadInThreadPool() -> ());
14 ::windows_targets::link!("mscoree.dll" "system" fn CreateDebuggingInterfaceFromVersion(idebuggerversion : i32, szdebuggeeversion : ::windows_sys::core::PCWSTR, ppcordb : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT);
15 ::windows_targets::link!("mscoree.dll" "system" fn GetCLRIdentityManager(riid : *const ::windows_sys::core::GUID, ppmanager : *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT);
16 ::windows_targets::link!("mscoree.dll" "system" fn GetCORRequiredVersion(pbuffer : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
17 ::windows_targets::link!("mscoree.dll" "system" fn GetCORSystemDirectory(pbuffer : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
18 ::windows_targets::link!("mscoree.dll" "system" fn GetCORVersion(pbbuffer : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
19 ::windows_targets::link!("mscoree.dll" "system" fn GetFileVersion(szfilename : ::windows_sys::core::PCWSTR, szbuffer : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
20 ::windows_targets::link!("mscoree.dll" "system" fn GetRealProcAddress(pwszprocname : ::windows_sys::core::PCSTR, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
21 ::windows_targets::link!("mscoree.dll" "system" fn GetRequestedRuntimeInfo(pexe : ::windows_sys::core::PCWSTR, pwszversion : ::windows_sys::core::PCWSTR, pconfigurationfile : ::windows_sys::core::PCWSTR, startupflags : u32, runtimeinfoflags : u32, pdirectory : ::windows_sys::core::PWSTR, dwdirectory : u32, dwdirectorylength : *mut u32, pversion : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
22 ::windows_targets::link!("mscoree.dll" "system" fn GetRequestedRuntimeVersion(pexe : ::windows_sys::core::PCWSTR, pversion : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
23 ::windows_targets::link!("mscoree.dll" "system" fn GetRequestedRuntimeVersionForCLSID(rclsid : *const ::windows_sys::core::GUID, pversion : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32, dwresolutionflags : CLSID_RESOLUTION_FLAGS) -> ::windows_sys::core::HRESULT);
24 #[cfg(feature = "Win32_Foundation")]
25 ::windows_targets::link!("mscoree.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetVersionFromProcess(hprocess : super::super::Foundation:: HANDLE, pversion : ::windows_sys::core::PWSTR, cchbuffer : u32, dwlength : *mut u32) -> ::windows_sys::core::HRESULT);
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("mscoree.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadLibraryShim(szdllname : ::windows_sys::core::PCWSTR, szversion : ::windows_sys::core::PCWSTR, pvreserved : *mut ::core::ffi::c_void, phmoddll : *mut super::super::Foundation:: HMODULE) -> ::windows_sys::core::HRESULT);
28 ::windows_targets::link!("mscoree.dll" "system" fn LoadStringRC(iresouceid : u32, szbuffer : ::windows_sys::core::PWSTR, imax : i32, bquiet : i32) -> ::windows_sys::core::HRESULT);
29 ::windows_targets::link!("mscoree.dll" "system" fn LoadStringRCEx(lcid : u32, iresouceid : u32, szbuffer : ::windows_sys::core::PWSTR, imax : i32, bquiet : i32, pcwchused : *mut i32) -> ::windows_sys::core::HRESULT);
30 ::windows_targets::link!("mscoree.dll" "system" fn LockClrVersion(hostcallback : FLockClrVersionCallback, pbeginhostsetup : *mut FLockClrVersionCallback, pendhostsetup : *mut FLockClrVersionCallback) -> ::windows_sys::core::HRESULT);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("mscoree.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RunDll32ShimW(hwnd : super::super::Foundation:: HWND, hinst : super::super::Foundation:: HINSTANCE, lpszcmdline : ::windows_sys::core::PCWSTR, ncmdshow : i32) -> ::windows_sys::core::HRESULT);
33 pub type IActionOnCLREvent = *mut ::core::ffi::c_void;
34 pub type IApartmentCallback = *mut ::core::ffi::c_void;
35 pub type IAppDomainBinding = *mut ::core::ffi::c_void;
36 pub type ICLRAppDomainResourceMonitor = *mut ::core::ffi::c_void;
37 pub type ICLRAssemblyIdentityManager = *mut ::core::ffi::c_void;
38 pub type ICLRAssemblyReferenceList = *mut ::core::ffi::c_void;
39 pub type ICLRControl = *mut ::core::ffi::c_void;
40 pub type ICLRDebugManager = *mut ::core::ffi::c_void;
41 pub type ICLRDebugging = *mut ::core::ffi::c_void;
42 pub type ICLRDebuggingLibraryProvider = *mut ::core::ffi::c_void;
43 pub type ICLRDomainManager = *mut ::core::ffi::c_void;
44 pub type ICLRErrorReportingManager = *mut ::core::ffi::c_void;
45 pub type ICLRGCManager = *mut ::core::ffi::c_void;
46 pub type ICLRGCManager2 = *mut ::core::ffi::c_void;
47 pub type ICLRHostBindingPolicyManager = *mut ::core::ffi::c_void;
48 pub type ICLRHostProtectionManager = *mut ::core::ffi::c_void;
49 pub type ICLRIoCompletionManager = *mut ::core::ffi::c_void;
50 pub type ICLRMemoryNotificationCallback = *mut ::core::ffi::c_void;
51 pub type ICLRMetaHost = *mut ::core::ffi::c_void;
52 pub type ICLRMetaHostPolicy = *mut ::core::ffi::c_void;
53 pub type ICLROnEventManager = *mut ::core::ffi::c_void;
54 pub type ICLRPolicyManager = *mut ::core::ffi::c_void;
55 pub type ICLRProbingAssemblyEnum = *mut ::core::ffi::c_void;
56 pub type ICLRProfiling = *mut ::core::ffi::c_void;
57 pub type ICLRReferenceAssemblyEnum = *mut ::core::ffi::c_void;
58 pub type ICLRRuntimeHost = *mut ::core::ffi::c_void;
59 pub type ICLRRuntimeInfo = *mut ::core::ffi::c_void;
60 pub type ICLRStrongName = *mut ::core::ffi::c_void;
61 pub type ICLRStrongName2 = *mut ::core::ffi::c_void;
62 pub type ICLRStrongName3 = *mut ::core::ffi::c_void;
63 pub type ICLRSyncManager = *mut ::core::ffi::c_void;
64 pub type ICLRTask = *mut ::core::ffi::c_void;
65 pub type ICLRTask2 = *mut ::core::ffi::c_void;
66 pub type ICLRTaskManager = *mut ::core::ffi::c_void;
67 pub type ICatalogServices = *mut ::core::ffi::c_void;
68 pub type ICorConfiguration = *mut ::core::ffi::c_void;
69 pub type ICorRuntimeHost = *mut ::core::ffi::c_void;
70 pub type ICorThreadpool = *mut ::core::ffi::c_void;
71 pub type IDebuggerInfo = *mut ::core::ffi::c_void;
72 pub type IDebuggerThreadControl = *mut ::core::ffi::c_void;
73 pub type IGCHost = *mut ::core::ffi::c_void;
74 pub type IGCHost2 = *mut ::core::ffi::c_void;
75 pub type IGCHostControl = *mut ::core::ffi::c_void;
76 pub type IGCThreadControl = *mut ::core::ffi::c_void;
77 pub type IHostAssemblyManager = *mut ::core::ffi::c_void;
78 pub type IHostAssemblyStore = *mut ::core::ffi::c_void;
79 pub type IHostAutoEvent = *mut ::core::ffi::c_void;
80 pub type IHostControl = *mut ::core::ffi::c_void;
81 pub type IHostCrst = *mut ::core::ffi::c_void;
82 pub type IHostGCManager = *mut ::core::ffi::c_void;
83 pub type IHostIoCompletionManager = *mut ::core::ffi::c_void;
84 pub type IHostMalloc = *mut ::core::ffi::c_void;
85 pub type IHostManualEvent = *mut ::core::ffi::c_void;
86 pub type IHostMemoryManager = *mut ::core::ffi::c_void;
87 pub type IHostPolicyManager = *mut ::core::ffi::c_void;
88 pub type IHostSecurityContext = *mut ::core::ffi::c_void;
89 pub type IHostSecurityManager = *mut ::core::ffi::c_void;
90 pub type IHostSemaphore = *mut ::core::ffi::c_void;
91 pub type IHostSyncManager = *mut ::core::ffi::c_void;
92 pub type IHostTask = *mut ::core::ffi::c_void;
93 pub type IHostTaskManager = *mut ::core::ffi::c_void;
94 pub type IHostThreadpoolManager = *mut ::core::ffi::c_void;
95 pub type IManagedObject = *mut ::core::ffi::c_void;
96 pub type IObjectHandle = *mut ::core::ffi::c_void;
97 pub type ITypeName = *mut ::core::ffi::c_void;
98 pub type ITypeNameBuilder = *mut ::core::ffi::c_void;
99 pub type ITypeNameFactory = *mut ::core::ffi::c_void;
100 pub const APPDOMAIN_FORCE_TRIVIAL_WAIT_OPERATIONS: APPDOMAIN_SECURITY_FLAGS = 8i32;
101 pub const APPDOMAIN_SECURITY_DEFAULT: APPDOMAIN_SECURITY_FLAGS = 0i32;
102 pub const APPDOMAIN_SECURITY_FORBID_CROSSAD_REVERSE_PINVOKE: APPDOMAIN_SECURITY_FLAGS = 2i32;
103 pub const APPDOMAIN_SECURITY_SANDBOXED: APPDOMAIN_SECURITY_FLAGS = 1i32;
104 pub const BucketParamLength: u32 = 255u32;
105 pub const BucketParamsCount: u32 = 10u32;
106 pub const CLRRuntimeHost: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x90f1a06e_7712_4762_86b5_7a5eba6bdb02);
107 pub const CLR_ASSEMBLY_BUILD_VERSION: u32 = 0u32;
108 pub const CLR_ASSEMBLY_IDENTITY_FLAGS_DEFAULT: ECLRAssemblyIdentityFlags = 0i32;
109 pub const CLR_ASSEMBLY_MAJOR_VERSION: u32 = 4u32;
110 pub const CLR_ASSEMBLY_MINOR_VERSION: u32 = 0u32;
111 pub const CLR_BUILD_VERSION: u32 = 22220u32;
112 pub const CLR_DEBUGGING_MANAGED_EVENT_DEBUGGER_LAUNCH: CLR_DEBUGGING_PROCESS_FLAGS = 2i32;
113 pub const CLR_DEBUGGING_MANAGED_EVENT_PENDING: CLR_DEBUGGING_PROCESS_FLAGS = 1i32;
114 pub const CLR_MAJOR_VERSION: u32 = 4u32;
115 pub const CLR_MINOR_VERSION: u32 = 0u32;
116 pub const CLSID_CLRDebugging: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbacc578d_fbdd_48a4_969f_02d932b74634);
117 pub const CLSID_CLRDebuggingLegacy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdf8395b5_a4ba_450b_a77c_a9a47762c520);
118 pub const CLSID_CLRMetaHost: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9280188d_0e8e_4867_b30c_7fa83884e8de);
119 pub const CLSID_CLRMetaHostPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2ebcd49a_1b47_4a61_b13a_4a03701e594b);
120 pub const CLSID_CLRProfiling: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd097ed8_733e_43fe_8ed7_a95ff9a8448c);
121 pub const CLSID_CLRStrongName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb79b0acd_f5cd_409b_b5a5_a16244610b92);
122 pub const CLSID_RESOLUTION_DEFAULT: CLSID_RESOLUTION_FLAGS = 0i32;
123 pub const CLSID_RESOLUTION_REGISTERED: CLSID_RESOLUTION_FLAGS = 1i32;
124 pub const COR_GC_COUNTS: COR_GC_STAT_TYPES = 1i32;
125 pub const COR_GC_MEMORYUSAGE: COR_GC_STAT_TYPES = 2i32;
126 pub const COR_GC_THREAD_HAS_PROMOTED_BYTES: COR_GC_THREAD_STATS_TYPES = 1i32;
127 pub const ComCallUnmarshal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f281000_e95a_11d2_886b_00c04f869f04);
128 pub const ComCallUnmarshalV4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x45fb4600_e6e8_4928_b25e_50476ff79425);
129 pub const CorRuntimeHost: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcb2f6723_ab3a_11d2_9c40_00c04fa30a3e);
130 pub const DEPRECATED_CLR_API_MESG: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("This API has been deprecated. Refer to https://go.microsoft.com/fwlink/?LinkId=143720 for more details.");
131 pub const DUMP_FLAVOR_CriticalCLRState: ECustomDumpFlavor = 1i32;
132 pub const DUMP_FLAVOR_Default: ECustomDumpFlavor = 0i32;
133 pub const DUMP_FLAVOR_Mini: ECustomDumpFlavor = 0i32;
134 pub const DUMP_FLAVOR_NonHeapCLRState: ECustomDumpFlavor = 2i32;
135 pub const DUMP_ITEM_None: ECustomDumpItemKind = 0i32;
136 pub const Event_ClrDisabled: EClrEvent = 1i32;
137 pub const Event_DomainUnload: EClrEvent = 0i32;
138 pub const Event_MDAFired: EClrEvent = 2i32;
139 pub const Event_StackOverflow: EClrEvent = 3i32;
140 pub const FAIL_AccessViolation: EClrFailure = 5i32;
141 pub const FAIL_CodeContract: EClrFailure = 6i32;
142 pub const FAIL_CriticalResource: EClrFailure = 1i32;
143 pub const FAIL_FatalRuntime: EClrFailure = 2i32;
144 pub const FAIL_NonCriticalResource: EClrFailure = 0i32;
145 pub const FAIL_OrphanedLock: EClrFailure = 3i32;
146 pub const FAIL_StackOverflow: EClrFailure = 4i32;
147 pub const HOST_APPLICATION_BINDING_POLICY: EHostApplicationPolicy = 1i32;
148 pub const HOST_BINDING_POLICY_MODIFY_CHAIN: EHostBindingPolicyModifyFlags = 1i32;
149 pub const HOST_BINDING_POLICY_MODIFY_DEFAULT: EHostBindingPolicyModifyFlags = 0i32;
150 pub const HOST_BINDING_POLICY_MODIFY_MAX: EHostBindingPolicyModifyFlags = 3i32;
151 pub const HOST_BINDING_POLICY_MODIFY_REMOVE: EHostBindingPolicyModifyFlags = 2i32;
152 pub const HOST_TYPE_APPLAUNCH: HOST_TYPE = 1i32;
153 pub const HOST_TYPE_CORFLAG: HOST_TYPE = 2i32;
154 pub const HOST_TYPE_DEFAULT: HOST_TYPE = 0i32;
155 pub const InvalidBucketParamIndex: BucketParameterIndex = 9i32;
156 pub const LIBID_mscoree: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5477469e_83b1_11d2_8b49_00a0c9b7c9c4);
157 pub const MALLOC_EXECUTABLE: MALLOC_TYPE = 2i32;
158 pub const MALLOC_THREADSAFE: MALLOC_TYPE = 1i32;
159 pub const METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_FALSE: METAHOST_CONFIG_FLAGS = 2i32;
160 pub const METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_MASK: METAHOST_CONFIG_FLAGS = 3i32;
161 pub const METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_TRUE: METAHOST_CONFIG_FLAGS = 1i32;
162 pub const METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_UNSET: METAHOST_CONFIG_FLAGS = 0i32;
163 pub const METAHOST_POLICY_APPLY_UPGRADE_POLICY: METAHOST_POLICY_FLAGS = 8i32;
164 pub const METAHOST_POLICY_EMULATE_EXE_LAUNCH: METAHOST_POLICY_FLAGS = 16i32;
165 pub const METAHOST_POLICY_ENSURE_SKU_SUPPORTED: METAHOST_POLICY_FLAGS = 128i32;
166 pub const METAHOST_POLICY_HIGHCOMPAT: METAHOST_POLICY_FLAGS = 0i32;
167 pub const METAHOST_POLICY_IGNORE_ERROR_MODE: METAHOST_POLICY_FLAGS = 4096i32;
168 pub const METAHOST_POLICY_SHOW_ERROR_DIALOG: METAHOST_POLICY_FLAGS = 32i32;
169 pub const METAHOST_POLICY_USE_PROCESS_IMAGE_PATH: METAHOST_POLICY_FLAGS = 64i32;
170 pub const MaxClrEvent: EClrEvent = 4i32;
171 pub const MaxClrFailure: EClrFailure = 7i32;
172 pub const MaxClrOperation: EClrOperation = 7i32;
173 pub const MaxPolicyAction: EPolicyAction = 10i32;
174 pub const OPR_AppDomainRudeUnload: EClrOperation = 4i32;
175 pub const OPR_AppDomainUnload: EClrOperation = 3i32;
176 pub const OPR_FinalizerRun: EClrOperation = 6i32;
177 pub const OPR_ProcessExit: EClrOperation = 5i32;
178 pub const OPR_ThreadAbort: EClrOperation = 0i32;
179 pub const OPR_ThreadRudeAbortInCriticalRegion: EClrOperation = 2i32;
180 pub const OPR_ThreadRudeAbortInNonCriticalRegion: EClrOperation = 1i32;
181 pub const Parameter1: BucketParameterIndex = 0i32;
182 pub const Parameter2: BucketParameterIndex = 1i32;
183 pub const Parameter3: BucketParameterIndex = 2i32;
184 pub const Parameter4: BucketParameterIndex = 3i32;
185 pub const Parameter5: BucketParameterIndex = 4i32;
186 pub const Parameter6: BucketParameterIndex = 5i32;
187 pub const Parameter7: BucketParameterIndex = 6i32;
188 pub const Parameter8: BucketParameterIndex = 7i32;
189 pub const Parameter9: BucketParameterIndex = 8i32;
190 pub const RUNTIME_INFO_DONT_RETURN_DIRECTORY: RUNTIME_INFO_FLAGS = 16i32;
191 pub const RUNTIME_INFO_DONT_RETURN_VERSION: RUNTIME_INFO_FLAGS = 32i32;
192 pub const RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG: RUNTIME_INFO_FLAGS = 64i32;
193 pub const RUNTIME_INFO_IGNORE_ERROR_MODE: RUNTIME_INFO_FLAGS = 4096i32;
194 pub const RUNTIME_INFO_REQUEST_AMD64: RUNTIME_INFO_FLAGS = 4i32;
195 pub const RUNTIME_INFO_REQUEST_ARM64: RUNTIME_INFO_FLAGS = 8192i32;
196 pub const RUNTIME_INFO_REQUEST_IA64: RUNTIME_INFO_FLAGS = 2i32;
197 pub const RUNTIME_INFO_REQUEST_X86: RUNTIME_INFO_FLAGS = 8i32;
198 pub const RUNTIME_INFO_UPGRADE_VERSION: RUNTIME_INFO_FLAGS = 1i32;
199 pub const SO_ClrEngine: StackOverflowType = 1i32;
200 pub const SO_Managed: StackOverflowType = 0i32;
201 pub const SO_Other: StackOverflowType = 2i32;
202 pub const STARTUP_ALWAYSFLOW_IMPERSONATION: STARTUP_FLAGS = 262144i32;
203 pub const STARTUP_ARM: STARTUP_FLAGS = 4194304i32;
204 pub const STARTUP_CONCURRENT_GC: STARTUP_FLAGS = 1i32;
205 pub const STARTUP_DISABLE_COMMITTHREADSTACK: STARTUP_FLAGS = 131072i32;
206 pub const STARTUP_ETW: STARTUP_FLAGS = 1048576i32;
207 pub const STARTUP_HOARD_GC_VM: STARTUP_FLAGS = 8192i32;
208 pub const STARTUP_LEGACY_IMPERSONATION: STARTUP_FLAGS = 65536i32;
209 pub const STARTUP_LOADER_OPTIMIZATION_MASK: STARTUP_FLAGS = 6i32;
210 pub const STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN: STARTUP_FLAGS = 4i32;
211 pub const STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST: STARTUP_FLAGS = 6i32;
212 pub const STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN: STARTUP_FLAGS = 2i32;
213 pub const STARTUP_LOADER_SAFEMODE: STARTUP_FLAGS = 16i32;
214 pub const STARTUP_LOADER_SETPREFERENCE: STARTUP_FLAGS = 256i32;
215 pub const STARTUP_SERVER_GC: STARTUP_FLAGS = 4096i32;
216 pub const STARTUP_SINGLE_VERSION_HOSTING_INTERFACE: STARTUP_FLAGS = 16384i32;
217 pub const STARTUP_TRIM_GC_COMMIT: STARTUP_FLAGS = 524288i32;
218 pub const TT_ADUNLOAD: ETaskType = 128i32;
219 pub const TT_DEBUGGERHELPER: ETaskType = 1i32;
220 pub const TT_FINALIZER: ETaskType = 4i32;
221 pub const TT_GC: ETaskType = 2i32;
222 pub const TT_THREADPOOL_GATE: ETaskType = 16i32;
223 pub const TT_THREADPOOL_IOCOMPLETION: ETaskType = 64i32;
224 pub const TT_THREADPOOL_TIMER: ETaskType = 8i32;
225 pub const TT_THREADPOOL_WAIT: ETaskType = 512i32;
226 pub const TT_THREADPOOL_WORKER: ETaskType = 32i32;
227 pub const TT_UNKNOWN: ETaskType = -2147483648i32;
228 pub const TT_USER: ETaskType = 256i32;
229 pub const TypeNameFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb81ff171_20f3_11d2_8dcc_00a0c9b00525);
230 pub const WAIT_ALERTABLE: WAIT_OPTION = 2i32;
231 pub const WAIT_MSGPUMP: WAIT_OPTION = 1i32;
232 pub const WAIT_NOTINDEADLOCK: WAIT_OPTION = 4i32;
233 pub const eAbortThread: EPolicyAction = 2i32;
234 pub const eAll: EApiCategories = 511i32;
235 pub const eAppDomainCritical: EMemoryCriticalLevel = 1i32;
236 pub const eCurrentContext: EContextType = 0i32;
237 pub const eDisableRuntime: EPolicyAction = 9i32;
238 pub const eExitProcess: EPolicyAction = 6i32;
239 pub const eExternalProcessMgmt: EApiCategories = 4i32;
240 pub const eExternalThreading: EApiCategories = 16i32;
241 pub const eFastExitProcess: EPolicyAction = 7i32;
242 pub const eHostDeterminedPolicy: EClrUnhandledException = 1i32;
243 pub const eInitializeNewDomainFlags_NoSecurityChanges: EInitializeNewDomainFlags = 2i32;
244 pub const eInitializeNewDomainFlags_None: EInitializeNewDomainFlags = 0i32;
245 pub const eMayLeakOnAbort: EApiCategories = 256i32;
246 pub const eMemoryAvailableHigh: EMemoryAvailable = 3i32;
247 pub const eMemoryAvailableLow: EMemoryAvailable = 1i32;
248 pub const eMemoryAvailableNeutral: EMemoryAvailable = 2i32;
249 pub const eNoAction: EPolicyAction = 0i32;
250 pub const eNoChecks: EApiCategories = 0i32;
251 pub const ePolicyLevelAdmin: EBindPolicyLevels = 32i32;
252 pub const ePolicyLevelApp: EBindPolicyLevels = 4i32;
253 pub const ePolicyLevelHost: EBindPolicyLevels = 16i32;
254 pub const ePolicyLevelNone: EBindPolicyLevels = 0i32;
255 pub const ePolicyLevelPublisher: EBindPolicyLevels = 8i32;
256 pub const ePolicyLevelRetargetable: EBindPolicyLevels = 1i32;
257 pub const ePolicyPortability: EBindPolicyLevels = 64i32;
258 pub const ePolicyUnifiedToCLR: EBindPolicyLevels = 2i32;
259 pub const eProcessCritical: EMemoryCriticalLevel = 2i32;
260 pub const eRestrictedContext: EContextType = 1i32;
261 pub const eRudeAbortThread: EPolicyAction = 3i32;
262 pub const eRudeExitProcess: EPolicyAction = 8i32;
263 pub const eRudeUnloadAppDomain: EPolicyAction = 5i32;
264 pub const eRuntimeDeterminedPolicy: EClrUnhandledException = 0i32;
265 pub const eSecurityInfrastructure: EApiCategories = 64i32;
266 pub const eSelfAffectingProcessMgmt: EApiCategories = 8i32;
267 pub const eSelfAffectingThreading: EApiCategories = 32i32;
268 pub const eSharedState: EApiCategories = 2i32;
269 pub const eSymbolReadingAlways: ESymbolReadingPolicy = 1i32;
270 pub const eSymbolReadingFullTrustOnly: ESymbolReadingPolicy = 2i32;
271 pub const eSymbolReadingNever: ESymbolReadingPolicy = 0i32;
272 pub const eSynchronization: EApiCategories = 1i32;
273 pub const eTaskCritical: EMemoryCriticalLevel = 0i32;
274 pub const eThrowException: EPolicyAction = 1i32;
275 pub const eUI: EApiCategories = 128i32;
276 pub const eUnloadAppDomain: EPolicyAction = 4i32;
277 pub type APPDOMAIN_SECURITY_FLAGS = i32;
278 pub type BucketParameterIndex = i32;
279 pub type CLR_DEBUGGING_PROCESS_FLAGS = i32;
280 pub type CLSID_RESOLUTION_FLAGS = i32;
281 pub type COR_GC_STAT_TYPES = i32;
282 pub type COR_GC_THREAD_STATS_TYPES = i32;
283 pub type EApiCategories = i32;
284 pub type EBindPolicyLevels = i32;
285 pub type ECLRAssemblyIdentityFlags = i32;
286 pub type EClrEvent = i32;
287 pub type EClrFailure = i32;
288 pub type EClrOperation = i32;
289 pub type EClrUnhandledException = i32;
290 pub type EContextType = i32;
291 pub type ECustomDumpFlavor = i32;
292 pub type ECustomDumpItemKind = i32;
293 pub type EHostApplicationPolicy = i32;
294 pub type EHostBindingPolicyModifyFlags = i32;
295 pub type EInitializeNewDomainFlags = i32;
296 pub type EMemoryAvailable = i32;
297 pub type EMemoryCriticalLevel = i32;
298 pub type EPolicyAction = i32;
299 pub type ESymbolReadingPolicy = i32;
300 pub type ETaskType = i32;
301 pub type HOST_TYPE = i32;
302 pub type MALLOC_TYPE = i32;
303 pub type METAHOST_CONFIG_FLAGS = i32;
304 pub type METAHOST_POLICY_FLAGS = i32;
305 pub type RUNTIME_INFO_FLAGS = i32;
306 pub type STARTUP_FLAGS = i32;
307 pub type StackOverflowType = i32;
308 pub type WAIT_OPTION = i32;
309 #[repr(C)]
310 pub struct AssemblyBindInfo {
311 pub dwAppDomainId: u32,
312 pub lpReferencedIdentity: ::windows_sys::core::PCWSTR,
313 pub lpPostPolicyIdentity: ::windows_sys::core::PCWSTR,
314 pub ePolicyLevel: u32,
315 }
316 impl ::core::marker::Copy for AssemblyBindInfo {}
317 impl ::core::clone::Clone for AssemblyBindInfo {
318 fn clone(&self) -> Self {
319 *self
320 }
321 }
322 #[repr(C)]
323 #[doc = "Required features: `\"Win32_Foundation\"`"]
324 #[cfg(feature = "Win32_Foundation")]
325 pub struct BucketParameters {
326 pub fInited: super::super::Foundation::BOOL,
327 pub pszEventTypeName: [u16; 255],
328 pub pszParams: [u16; 2550],
329 }
330 #[cfg(feature = "Win32_Foundation")]
331 impl ::core::marker::Copy for BucketParameters {}
332 #[cfg(feature = "Win32_Foundation")]
333 impl ::core::clone::Clone for BucketParameters {
334 fn clone(&self) -> Self {
335 *self
336 }
337 }
338 #[repr(C)]
339 pub struct CLR_DEBUGGING_VERSION {
340 pub wStructVersion: u16,
341 pub wMajor: u16,
342 pub wMinor: u16,
343 pub wBuild: u16,
344 pub wRevision: u16,
345 }
346 impl ::core::marker::Copy for CLR_DEBUGGING_VERSION {}
347 impl ::core::clone::Clone for CLR_DEBUGGING_VERSION {
348 fn clone(&self) -> Self {
349 *self
350 }
351 }
352 #[repr(C)]
353 pub struct COR_GC_STATS {
354 pub Flags: u32,
355 pub ExplicitGCCount: usize,
356 pub GenCollectionsTaken: [usize; 3],
357 pub CommittedKBytes: usize,
358 pub ReservedKBytes: usize,
359 pub Gen0HeapSizeKBytes: usize,
360 pub Gen1HeapSizeKBytes: usize,
361 pub Gen2HeapSizeKBytes: usize,
362 pub LargeObjectHeapSizeKBytes: usize,
363 pub KBytesPromotedFromGen0: usize,
364 pub KBytesPromotedFromGen1: usize,
365 }
366 impl ::core::marker::Copy for COR_GC_STATS {}
367 impl ::core::clone::Clone for COR_GC_STATS {
368 fn clone(&self) -> Self {
369 *self
370 }
371 }
372 #[repr(C)]
373 pub struct COR_GC_THREAD_STATS {
374 pub PerThreadAllocation: u64,
375 pub Flags: u32,
376 }
377 impl ::core::marker::Copy for COR_GC_THREAD_STATS {}
378 impl ::core::clone::Clone for COR_GC_THREAD_STATS {
379 fn clone(&self) -> Self {
380 *self
381 }
382 }
383 #[repr(C)]
384 pub struct CustomDumpItem {
385 pub itemKind: ECustomDumpItemKind,
386 pub Anonymous: CustomDumpItem_0,
387 }
388 impl ::core::marker::Copy for CustomDumpItem {}
389 impl ::core::clone::Clone for CustomDumpItem {
390 fn clone(&self) -> Self {
391 *self
392 }
393 }
394 #[repr(C)]
395 pub union CustomDumpItem_0 {
396 pub pReserved: usize,
397 }
398 impl ::core::marker::Copy for CustomDumpItem_0 {}
399 impl ::core::clone::Clone for CustomDumpItem_0 {
400 fn clone(&self) -> Self {
401 *self
402 }
403 }
404 #[repr(C)]
405 pub struct MDAInfo {
406 pub lpMDACaption: ::windows_sys::core::PCWSTR,
407 pub lpMDAMessage: ::windows_sys::core::PCWSTR,
408 pub lpStackTrace: ::windows_sys::core::PCWSTR,
409 }
410 impl ::core::marker::Copy for MDAInfo {}
411 impl ::core::clone::Clone for MDAInfo {
412 fn clone(&self) -> Self {
413 *self
414 }
415 }
416 #[repr(C)]
417 pub struct ModuleBindInfo {
418 pub dwAppDomainId: u32,
419 pub lpAssemblyIdentity: ::windows_sys::core::PCWSTR,
420 pub lpModuleName: ::windows_sys::core::PCWSTR,
421 }
422 impl ::core::marker::Copy for ModuleBindInfo {}
423 impl ::core::clone::Clone for ModuleBindInfo {
424 fn clone(&self) -> Self {
425 *self
426 }
427 }
428 #[repr(C)]
429 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
430 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
431 pub struct StackOverflowInfo {
432 pub soType: StackOverflowType,
433 pub pExceptionInfo: *mut super::Diagnostics::Debug::EXCEPTION_POINTERS,
434 }
435 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
436 impl ::core::marker::Copy for StackOverflowInfo {}
437 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
438 impl ::core::clone::Clone for StackOverflowInfo {
439 fn clone(&self) -> Self {
440 *self
441 }
442 }
443 pub type CLRCreateInstanceFnPtr = ::core::option::Option<unsafe extern "system" fn(clsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
444 pub type CallbackThreadSetFnPtr = ::core::option::Option<unsafe extern "system" fn() -> ::windows_sys::core::HRESULT>;
445 pub type CallbackThreadUnsetFnPtr = ::core::option::Option<unsafe extern "system" fn() -> ::windows_sys::core::HRESULT>;
446 pub type CreateInterfaceFnPtr = ::core::option::Option<unsafe extern "system" fn(clsid: *const ::windows_sys::core::GUID, riid: *const ::windows_sys::core::GUID, ppinterface: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
447 pub type FExecuteInAppDomainCallback = ::core::option::Option<unsafe extern "system" fn(cookie: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
448 pub type FLockClrVersionCallback = ::core::option::Option<unsafe extern "system" fn() -> ::windows_sys::core::HRESULT>;
449 pub type PTLS_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(__midl____midl_itf_mscoree_0000_00040005: *mut ::core::ffi::c_void) -> ()>;
450 pub type RuntimeLoadedCallbackFnPtr = ::core::option::Option<unsafe extern "system" fn(pruntimeinfo: ICLRRuntimeInfo, pfncallbackthreadset: CallbackThreadSetFnPtr, pfncallbackthreadunset: CallbackThreadUnsetFnPtr) -> ()>;