ShlwApiSHGetThreadRef Method
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", ExactSpelling = true)]
public static HResult SHGetThreadRef(
out Object refPunk
)
<DllImportAttribute("ShlwApi.dll", ExactSpelling := true>]
Public Shared Function SHGetThreadRef (
<OutAttribute> ByRef refPunk As Object
) As HResult
Dim refPunk As Object
Dim returnValue As HResult
returnValue = ShlwApi.SHGetThreadRef(refPunk)
public:
[DllImportAttribute(L"ShlwApi.dll", ExactSpelling = true)]
static HResult SHGetThreadRef(
[OutAttribute] Object^% refPunk
)
[<DllImportAttribute("ShlwApi.dll", ExactSpelling = true)>]
static member SHGetThreadRef :
refPunk : Object byref -> HResult
No code example is currently available or this language may not be supported.
- refPunk Object
-
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..
HResult
Returns
S_OK if the object reference exists,
or
E_NOINTERFACE otherwise.