Sdílet prostřednictvím


DkmThread.GetTlsValue(Int32) Method

Definition

Retrieves the 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:
 System::UInt64 GetTlsValue(int TlsIndex);
public:
 unsigned long long GetTlsValue(int TlsIndex);
unsigned long GetTlsValue(int TlsIndex);
public ulong GetTlsValue (int TlsIndex);
member this.GetTlsValue : int -> uint64
Public Function GetTlsValue (TlsIndex As Integer) As ULong

Parameters

TlsIndex
Int32

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

Returns

[Out] The pointer-sized value which was stored in the thread's TLS slot. If the target thread is 32-bit, the upper 32-bits of this value will be zero.

Applies to