SE_serverinfo_set_layerautolocking

Sets the SE_SERVERINFO object's layer_autolocking

Usage syntax

LONG SE_serverinfo_set_layerautolocking (SE_SERVERINFO svrInfo, BOOL layerautolock);

Parameters
svrInfo The opaque SE_SERVERINFO object to query
layerautolock The new layer_autlocking value for the input SE_SERVERINFO
Description

This function sets the LAYERAUTOLOCKING value for the SE_SERVERINFO data structure.

The LAYERAUTOLOCKING parameter was added for backward compatibility (pre 9.0). It allows users to continue using autolocking if they have custom applications that rely on it.

To enable layer_autolocking for backward compatibility, set LAYERAUTOLOCKING to TRUE, in which case layers that have their autolocking property enabled will autolock shapes when they are edited in NORMAL_IO mode.

The LAYERAUTOLOCKING parameter is similar to a master switch; once LAYERAUTOLOCKING is set to TRUE, all layers that have the autolocking property enabled will autolock shapes when edited in NORMAL_IO mode. By default, layers are created with their autolocking property enabled.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE
SE_INVALID_SERVERINFO_OBJECT
SE_SDE_NOT_STARTED