Frees the layer descriptor structure retrieved using L_VecGetLayer.
#include "ltvkrn.h"
L_LVKRN_API L_INT L_VecFreeLayer(pLayerDesc)
Pointer to a VECTORLAYERDESC structure retrieved using L_VecGetLayer.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
When pLayerDesc is no longer needed, L_VecFreeLayer should be called to free any resources associated with the VECTORLAYERDESC structure.
For an example, refer to L_VecCopyLayer.