2
3
4
5
19 HRESULT r = SetThreadDescription(GetCurrentThread(), n.c_str());
26 SPICES_CORE_WARN(
"Operation aborted")
29 SPICES_CORE_WARN(
"General access denied error")
32 SPICES_CORE_WARN(
"Unspecified failure")
35 SPICES_CORE_WARN(
"Handle that is not valid")
38 SPICES_CORE_WARN(
"One or more arguments are not valid")
41 SPICES_CORE_WARN(
"No such interface supported")
44 SPICES_CORE_WARN(
"Not implemented")
47 SPICES_CORE_WARN(
"Failed to allocate necessary memory")
50 SPICES_CORE_WARN(
"Pointer that is not valid")
53 SPICES_CORE_WARN(
"Unexpected failure")
#define SPICES_PROFILE_ZONE
static std::wstring CharToWChar(const char *c)
Transform char to wide char.
String Static Function Library.
static bool SetThreadName(const std::string &name)
Set Thread name.
Thread Static Function Library.