Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 2.37 KB

nf-shlwapi-shgetthreadref.md

File metadata and controls

87 lines (65 loc) · 2.37 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shlwapi.SHGetThreadRef
SHGetThreadRef function (shlwapi.h)
Retrieves the per-thread object reference set by SHSetThreadRef.
SHGetThreadRef
SHGetThreadRef function [Windows Shell]
_win32_SHGetThreadRef
shell.SHGetThreadRef
shlwapi/SHGetThreadRef
shell\SHGetThreadRef.htm
shell
307b284b-f493-4d24-a7be-17c150d62b34
12/05/2018
SHGetThreadRef, SHGetThreadRef function [Windows Shell], _win32_SHGetThreadRef, shell.SHGetThreadRef, shlwapi/SHGetThreadRef
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
Shlwapi.lib
Shlwapi.dll (version 5.0 or later); ShCore.dll
Windows
19H1
SHGetThreadRef
shlwapi/SHGetThreadRef
c++
APIRef
kbSyntax
DllExport
Shlwapi.dll
ShCore.dll
API-MS-Win-DownLevel-shlwapi-l2-1-0.dll
API-MS-Win-DownLevel-shlwapi-l2-1-1.dll
API-MS-Win-ShCore-thread-l1-1-0.dll
SHGetThreadRef

SHGetThreadRef function

-description

Retrieves the per-thread object reference set by SHSetThreadRef.

-parameters

-param ppunk [in]

Type: IUnknown**

The address of a pointer that, when this function returns successfully, points to the object whose reference is stored. Your application is responsible for freeing this resource when it is no longer needed.

-returns

Type: HRESULT

Returns S_OK if the object reference exists, or E_NOINTERFACE otherwise.

-see-also

SHCreateThread

SHCreateThreadRef

SHReleaseThreadRef

SHSetThreadRef