IDkmTlsReadWrite.SetTlsValue(DkmThread, Int32, UInt64) Method

Definition

Stores a value in the debuggee thread's thread local storage (TLS) slot for the specified TLS index. Each thread of a process has its own slot for each TLS index.

public:
 void SetTlsValue(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, int tlsIndex, System::UInt64 value);
public void SetTlsValue (Microsoft.VisualStudio.Debugger.DkmThread thread, int tlsIndex, ulong value);
abstract member SetTlsValue : Microsoft.VisualStudio.Debugger.DkmThread * int * uint64 -> unit
Public Sub SetTlsValue (thread As DkmThread, tlsIndex As Integer, value As ULong)

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

tlsIndex
Int32

[In] The TLS index that was allocated when the target process called the TlsAlloc function.

value
UInt64

[In] The pointer-sized value to store in the thread's TLS slot. If the target thread is 32-bit, the upper 32-bits of this value will be ignored.

Applies to