Reference

SHSetThreadRef(3w)

NAME

SHSetThreadRef (SHLWAPI.@)

SYNOPSIS

HRESULT SHSetThreadRef
(
IUnknown* lpUnknown
)

DESCRIPTION

Store a per-thread object reference.

PARAMS

lpUnknown [In] Object reference to store.

RETURNS

Success: S_OK. lpUnknown is stored and can be retrieved by SHGetThreadRef(3w)

Failure: E_NOINTERFACE, if an error occurs

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/thread.c".

Debug channel "shell".

History