Frees the toolbar handle's internal information.
#include "ltwrappr.h"
L_INT LToolbar::Free ()
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.
-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;
}