MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / SetThreadName

Function SetThreadName

projects/WinDurango.KernelX/src/kernelx.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 UNREFERENCED_PARAMETER(dwThreadAffinityMask);
89 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
90 return FALSE;
91}
92
93EXTERN_C BOOL __stdcall SetThreadName(HANDLE hThread, PCWSTR lpThreadName)
94{
95 HRESULT hr = SetThreadDescription(hThread, lpThreadName);
96 SetLastError(WIN32_FROM_HRESULT(hr));
97 return SUCCEEDED(hr);
98}

Callers

nothing calls this directly

Calls 2

SetLastErrorFunction · 0.85
WIN32_FROM_HRESULTFunction · 0.85

Tested by

no test coverage detected