Compartilhar via


DkmThread.SetTlsValue(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(int TlsIndex, System::UInt64 Value);
public:
 void SetTlsValue(int TlsIndex, unsigned long long Value);
void SetTlsValue(int TlsIndex, unsigned long Value);
public void SetTlsValue (int TlsIndex, ulong Value);
member this.SetTlsValue : int * uint64 -> unit
Public Sub SetTlsValue (TlsIndex As Integer, Value As ULong)

Parameters

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