#include "ltwrappr.h"
L_INT LToolbar::Free ()
Frees the toolbar handle's internal information.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
When the toolbar handle is no longer needed, call this function to free it.
Required DLLs and Libraries
-LTTLB
L_INT LToolbar__FreeExample(LToolbar* tlb)
{
L_INT nRet;
if ( tlb->IsValid () )
{
nRet = tlb->Free () ;
if(nRet != SUCCESS)
return nRet;
}
else
{
return FAILURE ;
}
return SUCCESS;
}