DkmClrAppDomain.GetMetaDataBytesPtr(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
IntPtr GetMetaDataBytesPtr(System::String ^ AssemblyName, [Runtime::InteropServices::Out] System::UInt32 % Size);
public IntPtr GetMetaDataBytesPtr (string AssemblyName, out uint Size);
member this.GetMetaDataBytesPtr : string * uint32 -> nativeint
Public Function GetMetaDataBytesPtr (AssemblyName As String, ByRef Size As UInteger) As IntPtr
Parameters
- AssemblyName
- String
[In] The fully qualified name of the assembly to load.
- Size
- UInt32
[Out] The size of the metadata buffer.
Returns
nativeint
[Out] A pointer to the metadata buffer.
Exceptions
CORDB_E_MISSING_METADATA indicates that the assembly was not found or could not be loaded.