IBindCtx::EnumObjectParam

Returns a pointer to an enumerator that can return the keys of the bind context's string-keyed table of pointers.

HRESULT EnumObjectParam(

IEnumString **ppenum
//Receives a pointer to an enumerator
);

Parameter

ppenum

[out] Receives an IEnumString pointer to the enumerator. If an error occurs, *ppenum is set to NULL. If *ppenum is non-NULL, the implementation calls IUnknown::AddRef on the parameter; it is the caller's responsibility to call IUnknown::Release.

Return Values

S_OK

An enumerator was successfully returned.

E_OUTOFMEMORY

Indicates insufficient memory.

Comments

This method eturns an IEnumString pointer to an enumerator that can return the keys of the bind context's string-keyed table of pointers. The keys returned are the ones previously specified in calls to IBindCtx::RegisterObjectParam.

Notes to Callers

A bind context maintains a table of interface pointers, each associated with a string key. This enables communication between a moniker implementation and the caller that initiated the binding operation. One party can store an interface pointer under a string known to both parties so that the other party can later retrieve it from the bind context.

See Also

IBindCtx::RegisterObjectParam, IEnumString

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples