L_TBFree

Summary

Frees the toolbar handle.

Syntax

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBFree(pToolbar)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Toolbar C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.