Method OpenVirtualProcess
OpenVirtualProcess(ulong, ICorDebugDataTarget, ICLRDebuggingLibraryProvider, Version, out Version, out ClrDebuggingProcessFlags)
Detects if a native module represents a CLR and if so provides the debugging interface and versioning information
public CorProcess OpenVirtualProcess(ulong moduleBaseAddress, ICorDebugDataTarget dataTarget, ICLRDebuggingLibraryProvider libraryProvider, Version maxDebuggerSupportedVersion, out Version version, out ClrDebuggingProcessFlags flags)
Parameters
moduleBaseAddress
ulongThe native base address of a module which might be a CLR
dataTarget
ICorDebugDataTargetThe process abstraction which can be used for inspection
libraryProvider
ICLRDebuggingLibraryProviderA callback interface for locating version specific debug libraries such as mscordbi.dll and mscordacwks.dll
maxDebuggerSupportedVersion
VersionThe highest version of the CLR/debugging libraries which the caller can support
version
VersionThe version of the CLR detected or null if no CLR was detected
flags
ClrDebuggingProcessFlagsFlags which have additional information about the CLR. See ClrDebuggingProcessFlags for more details
Returns
- CorProcess
The CLR's debugging interface