| 81 | } |
| 82 | |
| 83 | HRESULT |
| 84 | WINAPI |
| 85 | SK_GetThreadDescription ( _In_ HANDLE hThread, |
| 86 | _Outptr_result_z_ PWSTR* ppszThreadDescription ) |
| 87 | { |
| 88 | SK_RunOnce ( GetThreadDescription_Impl = |
| 89 | (decltype (GetThreadDescription_Impl)) SK_GetProcAddress (L"kernel32", |
| 90 | "GetThreadDescription") |
| 91 | ); |
| 92 | |
| 93 | if (GetThreadDescription_Impl != nullptr) |
| 94 | return GetThreadDescription_Impl (hThread, ppszThreadDescription); |
| 95 | |
| 96 | return |
| 97 | E_NOTIMPL; |
| 98 | } |
| 99 | |
| 100 | static std::wstring _noname = L""; |
| 101 |
no test coverage detected