#include "lvkrn.h"
L_LVKRN_API L_INT L_VecGetLayer(pVector, pLayer, pLayerDesc)
Gets layer information for the specified layer.
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.
Required DLLs and Libraries