Export (0) Print
Expand All

ICLRDataTarget Interface

Provides methods for interaction with a target item of the common language runtime (CLR).

Method

Description

ICLRDataTarget::GetCurrentThreadID Method

Gets the operating system identifier for the current thread.

ICLRDataTarget::GetImageBase Method

Gets the base memory address for the specified image.

ICLRDataTarget::GetMachineType Method

Gets an identifier for the kind of instruction set that the target process is using.

ICLRDataTarget::GetPointerSize Method

Gets the size, in bytes, of a pointer to the current target.

ICLRDataTarget::GetThreadContext Method

Gets a pointer to the context of the thread with the specified identifier.

ICLRDataTarget::GetTLSValue Method

Gets a value in thread local storage (TLS) at the specified index for the specified thread.

ICLRDataTarget::ReadVirtual Method

Reads data from the specified virtual memory address into the specified buffer.

ICLRDataTarget::Request Method

Called by the common language runtime (CLR) data access services to request an operation, as defined by the implementation.

ICLRDataTarget::SetThreadContext Method

Sets the current context of the specified thread in the target process.

ICLRDataTarget::SetTLSValue Method

Sets a value in the thread local storage (TLS) of the specified thread in the target process.

ICLRDataTarget::WriteVirtual Method

Writes data from the specified buffer to the specified virtual memory address.

The API client (that is, the debugger) must implement this interface as appropriate for the particular target item. For example, a live process would have an implementation different from that of a memory dump.

Platforms: See .NET Framework System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft