Determines whether the container is currently enabled.
#include "LtCon.h"
L_LTCON_API L_INT L_ContainerIsEnabled(pContainer, pfEnabled)
Pointer to a container handle.
Pointer to the variable to be updated with the state of the container. Possible values are:
Value | Meaning |
---|---|
TRUE | The container is enabled. |
FALSE | The container is disabled. |
The container must be enabled in order to edit objects.
To enable or disable a container, use L_ContainerSetEnable.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
For an example, refer to L_ContainerSetEnabled.