L_TBFree

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBFree(pToolbar)

Frees the toolbar handle.

Parameters

pTOOLBARHANDLE pToolbar

Pointer to a toolbar handle.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes

Comments

When the toolbar handle is no longer needed, this function should be called to free it.

Required DLLs and Libraries

See Also

Functions

Topics

Example

L_INT TBFreeExample( pTOOLBARHANDLE pLeadToolbar ) 
{ 
   L_INT nRet; 
   nRet = L_TBIsValid ( pLeadToolbar ); 
   if ( nRet == SUCCESS) 
   { 
      nRet = L_TBFree ( pLeadToolbar ); 
      if(nRet != SUCCESS) 
         return nRet; 
      return SUCCESS; 
   } 
   else 
      return nRet; 
} 
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Toolbar C API Help