Acquired a distributed lock as specified by applications within the cluster but is now obsolete.
#include <ncssdk.h> NCS_RETURN NCS_Lock ( NCS_HANDLE Handle, NCS_KEY Key, UINT32 KeyLen);
(IN) Specifies the handle supplied by NCS.
(IN) Specifies the lock key; maximum of 32 bytes.
(IN) Specifies the lock key length.
The following table lists possible return values, descriptions and lock errors:
NCS_Lock is used for distributed cluster locking mechanisms.