L_TBFreeToolbarInfo

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBFreeToolbarInfo (pToolbar, pToolbarInfo )

pTOOLBARHANDLE pToolbar;

/* pointer to a toolbar handle */

pLTOOLBARINFO pToolbarInfo;

/* pointer to structure */

Frees the toolbar information allocated by calling L_TBGetToolbarInfo.

Parameter

Description

pToolbar

Pointer to a toolbar handle.

pToolbarInfo

Pointer to LTOOLBARINFO structure that contains the toolbar information to be freed.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes

Comments

When the toolbar information is no longer needed, it should be freed by calling this function.

To get the current toolbar information, call L_TBGetToolbarInfo.

To change the current toolbar information calls L_TBGetToolbarInfo to get the current toolbar information. Change the information in the LTOOLBARINFO structure. Then call L_TBSetToolbarInfo to set the new toolbar information.

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:

L_TBGetToolbarInfo, L_TBSetToolbarInfo

Topics:

Getting and Setting Toolbar Information

Example

For an example, refer to L_TBGetToolbarInfo.