PTREEROOT tree; void f( void ) { POINTER mydata = FindInBinaryTree( tree, 5 ); if( mydata ) { // found '5' as the key in the tree } }