SHReleaseThreadRef function (shlwapi.h)

Releases a thread reference before the thread procedure returns.

Syntax

LWSTDAPI SHReleaseThreadRef();

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlwapi.h
Library Shlwapi.lib
DLL Shlwapi.dll (version 6.0 or later)

See also

SHCreateThread

SHCreateThreadRef

SHGetThreadRef

SHSetThreadRef