|
Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#include "LtTLB.h"
L_LTTLB_API L_INT L_TBFree(pToolbar )
|
pTOOLBARHANDLE pToolbar; |
/* pointer to a toolbar handle */ |
Frees the toolbar handle.
|
Parameter |
Description |
|
pToolbar |
Pointer to a toolbar handle. |
Returns
|
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
LTTLB
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
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;
}