Sets the name of the thread.
Syntax
Parameters
pszName
[in] The name of the thread.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
To get the thread name, call the GetName method.
Sets the name of the thread.
pszName
[in] The name of the thread.
If successful, returns S_OK; otherwise, returns an error code.
To get the thread name, call the GetName method.