DefineDelayedInfo (ILLDataProvider)

Syntax:

HRESULT DefineDelayedInfo(enDefineDelayedInfo nInfo);

Task:

Only used at node level. If the option LL_OPTION_SUPPORT_DELAYEDFIELDEFINITION is set, then List & Label requests the definition of the sort orders via this method.

Parameter:

nInfo: One of the following values

DELAYEDINFO_SORTORDERS_DESIGNING, asks for the sort orders at design time.

DELAYEDINFO_SORTORDERS_PRINTING, asks for the sort orders at print time.

Return value:

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

Hints:

Empty sort orders can also be returned with S_OK.

Example:

for (auto& column_rec : pTableRec->_columns)

   DefineSortOrders(pTableRec, column_rec, nInfo);

return S_OK;         

See also:

LlDbAddTableSortOrder, LlDbAddTableSortOrderEx