2.7.1.8. cft_EnumFirst()

[<<<] [>>>]

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 this function.

The function needs the node id lNodeId of the key for which we need to enumerate the sub keys and returns the node id of the first sub key.

If the key is associated with a leaf node the function returns zero.

If the key is associated with a branch node that has no sub-keys the function returns zero.

CFT_NODE cft_EnumFirst(ptConfigTree pCT,
                       CFT_NODE lNodeId
  ){

[<<<] [>>>]