FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_FindStatByName ( kNode  node,
const kChar name,
k64s value 
)

Gets the health statistic with the specified name.

The statistics reported by this method correspond to the health statistics retrieved during the most recent call to kNode_RefreshStats.

Health indicator names can occasionally change over time. Accordingly, if the desired indicator has a publicly-defined indicator ID, kNode_FindStat should usually be preferred to kNode_FindStatByName.

Parameters
nodekNode object.
nameHealth indicator name.
valueReceives health indicator value.
Returns
Operation status (kERROR_NOT_FOUND if match not found).
See also
kNode_RefreshStats, kNode_FindStat