Gets layer information for the specified layer.
#include "ltvkrn.h"
L_LVKRN_API L_INT L_VecGetLayer(pVector, pLayer, pLayerDesc)
Pointer to the vector handle.
Pointer to a VECTORLAYER structure that references the requested layer.
Pointer to a VECTORLAYERDESC structure to be updated with the layer information if the layer is found.
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.