return (oldnode>newnode)? 1
:(oldnode<newnode)? -1
:0;
}
void CPROC MyGenericDestroy(POINTER user, PTRSZVAL key)
{
// do something custom with your user data and or key value
}
PTREEROOT tree = CreateBinaryTreeExtended( 0 // BT_OPT_NODUPLICATES
, MyGenericCompare
, MyGenericDestroy
DBG_SRC );