2.7.1.9. cft_EnumNext()

[<<<] [>>>]

Whenever you need to enumerate the sub-keys of a key you have to get the node associated with the key (see @xref{cft_GetEx} or @xref{cft_FindNode}). When you have the node associated with the key you can get the node of the first sub-key calling the function @xref{cft_EnumFirst}. Later on you can enumerate the sub keys stepping from node to node calling this function.

The function needs the node id lNodeId returned by @xref{cft_EnumFirst} or by previous call of this function.

The function returns the node id of the next sub key.

If the enumeration has ended, in other words there is no next sub-key the function returns zero.

long cft_EnumNext(ptConfigTree pCT,
                  long lNodeId
  ){

[<<<] [>>>]