| 134 | decltype(__wine_unix_call_dispatcher) WineUnixCall; |
| 135 | |
| 136 | std::pair<NTSTATUS, TLS> GetThreadTLS(HANDLE Thread) { |
| 137 | THREAD_BASIC_INFORMATION Info; |
| 138 | const NTSTATUS Err = NtQueryInformationThread(Thread, ThreadBasicInformation, &Info, sizeof(Info), nullptr); |
| 139 | return {Err, TLS {reinterpret_cast<_TEB*>(Info.TebBaseAddress)}}; |
| 140 | } |
| 141 | |
| 142 | TLS GetTLS() { |
| 143 | return TLS {NtCurrentTeb()}; |
no outgoing calls
no test coverage detected