#include "lvkrn.h"
L_LVKRN_API L_INT L_VecGetLayer(pVector, pLayer, pLayerDesc)
const pVECTORHANDLE pVector; |
pointer to a vector handle |
const pVECTORLAYER pLayer; |
pointer to a vector layer |
pVECTORLAYERDESC pLayerDesc; |
pointer to a structure |
Gets layer information for the specified layer.
Parameter |
Description |
pVector |
Pointer to the vector handle. |
pLayer |
Pointer to a VECTORLAYER structure that references the requested layer. |
pLayerDesc |
Pointer to a VECTORLAYERDESC structure to be updated with the layer information if the layer is found. |
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
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. |
Functions: |
L_VecAddLayer, L_VecFreeLayer, L_VecGetLayerByIndex, L_VecGetLayerByName, L_VecGetLayerCount |
Topics: |
For an example, refer to L_VecCopyLayer.