SHReleaseThreadRef function

Releases a thread reference before the thread procedure returns.

Syntax

LWSTDAPI SHReleaseThreadRef(

);

Parameters

This function has no parameters.

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