IDkmClrMetaDataLoader.GetMetaDataBytesPtr(DkmClrAppDomain, String, UInt32) Method

Definition

Get a pointer to the raw metadata bytes of the manifest module of the requested assembly that has not been loaded in the debuggee process. NOTE: This pointer value will become invalid if/when the actual module loads in the debuggee process or if the app domain is unloaded.

public:
 IntPtr GetMetaDataBytesPtr(Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain, System::String ^ assemblyName, [Runtime::InteropServices::Out] System::UInt32 % size);
public IntPtr GetMetaDataBytesPtr (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, string assemblyName, out uint size);
abstract member GetMetaDataBytesPtr : Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain * string * uint32 -> nativeint
Public Function GetMetaDataBytesPtr (appDomain As DkmClrAppDomain, assemblyName As String, ByRef size As UInteger) As IntPtr

Parameters

appDomain
DkmClrAppDomain

[In] DkmClrAppDomain represents a CLR app domain inside a process which is being debugged.

assemblyName
String

[In] The fully qualified name of the assembly to load.

size
UInt32

[Out] The size of the metadata buffer.

Returns

IntPtr

[Out] A pointer to the metadata buffer.

Exceptions

CORDB_E_MISSING_METADATA indicates that the assembly was not found or could not be loaded.

Applies to