Retrieves a value from the calling thread's specified local storage slot.
LPVOID RtTlsGetValue( DWORD tlsIndex );
tlsIndex
0xffffffff
is returned.
NULL
Value | Description |
---|---|
E_CONTEXT | The TLS resource has not been initialized. |
E_PARAM | The tlsIndex value is out of range. |
E_STATE | The tlsIndex value was not allocated. |
Note: If the previous value set by RtTlsSetValue was NULL, GetLastRtError returns E_OK.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |