Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the name of the thread.
HRESULT SetThreadName (
LPCOLESTR pszName
);
int SetThreadName (
string pszName
);
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 IDebugThread2::GetName method.