IBindCtx::GetObjectParam

HRESULT IBindCtx::GetObjectParam(lpszKey, ppunk)

Lookup the given key in the internally-maintained table of contextual object parameters and return the corresponding object, if one exists.

Argument

Type

Description

lpszKey

LPSTR

The key under which to look for an object.

ppunk

IUnknown**

The place to return the object interface pointer. NULL is returned on failure (along with S_FALSE).

return value

HRESULT

S_OK, S_FALSE