OpenChildTable (ILLDataProvider)

Syntax:

HRESULT OpenChildTable(LPCWSTR pszRelation, IUnknown** ppUnkOfNewDP);

Task:

Only used at node level. Requests the creation of a new sub-node and returns the new interface to List & Label.

Parameter:

pszRelation: The requested relation name or table name

ppUnkOfNewDP: Target address for the new object

Return value:

E_NOTIMPL for root objects, otherwise S_OK or E_FAIL in case of error

Hints:

The data provider is able to create the requested object hierarchies controlled by List & Label using OpenChildTable.

Example:

*ppUnkOfNewDataProvider = new DPNode (_hJob, this, pszRelation);

return S_OK;

See also:

OpenTable (ILLDataProvider)