L_VecFreeLayer

#include "lvkrn.h"

L_LVKRN_API L_INT L_VecFreeLayer(pLayerDesc)

pVECTORLAYERDESC pLayerDesc;

/* pointer to a vector layer descriptor */

Frees the layer descriptor structure retrieved using L_VecGetLayer.

Parameter

Description

pLayerDesc

Pointer to a VECTORLAYERDESC structure retrieved using L_VecGetLayer.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

When pLayerDesc is no longer needed, L_VecFreeLayer should be called to free any resources associated with the VECTORLAYERDESC structure.

Required DLLs and Libraries

LVKRN

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_VecGetLayer.

Topics:

Working with Vector Layers

Example

For an example, refer to L_VecCopyLayer.