SEC_TREECLASS::GetChildCount

UINTSEC_TREECLASS::GetChildCount(HTREEITEMhti, BOOLbRecursive, BOOLbExpandedOnly)

Returns the number of children an item has.

Defined in: trcore.inl

Return Value

The number of children for this item.

Parameters

hti

Handle of the item to count the children for.

bRecursive

If TRUE, all tree branches below hti will be recursed. Default is TRUE.

bExpandedOnly

If TRUE, only children that are expanded will be recursed. Only effective if bRecursive = TRUE. Default is FALSE.