Reference

TlsGetValue(3w)

NAME

TlsGetValue (KERNEL32.@)

SYNOPSIS

LPVOID TlsGetValue
(
DWORD index
)

DESCRIPTION

Gets value in a thread's TLS slot.

PARAMS

index [In] TLS index to retrieve value for.

RETURNS

Success: Value stored in calling thread's TLS slot for index.

Failure: 0 and GetLastError(3w) returns NO_ERROR.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/process.c".

Debug channel "process".

History