SE_objectlock_get_list

Retrieves an array of SE_OBJECTLOCKINFO structures for all accessible object locks

Usage syntax

LONG SE_objectlock_get_list (SE_CONNECTION connection, const SE_OBJECTLOCKINFO example, SE_OBJECTLOCKINFO **lock_list, LONG *lock_count);

Parameters
connection The connection handle
example Specifies values of desired object lock properties; if NULL, all object locks are returned.
lock_list Address of a pointer in a dynamically allocated space that will contain an array of SE_OBJECTLOCKINFO structures
lock_count The number of object locks in the SE_OBJECTLOCKINFO list
Description

SE_objectlock_get_list returns an array of SE_OBJECTLOCKINFO pointers that are defined. You can filter the returned object locks by setting some of the attributes of the SE_OBJECTLOCKINFO structure in the example parameter. The total number of object lock structures is returned in the lock_count parameter. The application must free the object lock_list to reclaim the memory allocated by this function.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_OBJECTLOCKINFO_OBJECT

SE_INVALID_POINTER

SE_NET_FAILURE

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

Notes