L_TBFree
#include "LtTLB.h"
L_INT EXT_FUNCTION 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 FreeToolbar ( pTOOLBARHANDLE pLeadToolbar )
{
if (SUCCESS == L_TBIsValid ( pLeadToolbar ) )
{
L_TBFree ( pLeadToolbar ) ;
return SUCCESS ;
}
else
{
return FAILURE ;
}
}