NCS_UnLock (Obsolete 10/5/2005)

Directed your application to unlock or relinquish the distributed lock it acquired from NCS_Lock (Obsolete 10/5/2005) or NCS_TryLock (Obsolete 10/5/2005) but is now obsolete.

Syntax

 #include <ncssdk.h> 
  
 NCS_RETURN NCS_UnLock (
   NCS_HANDLE   Handle, 
   NCS_KEY      Key, 
   UINT32       KeyLen);
 

Parameters

Handle

(IN) Specifies the application’s handle.

Key

(IN) Specifies the lock key (maximum 32 bytes).

KeyLen

(IN) Specifies the lock key length.

Return Values

Name

Description

SUCCESS

NCS_SUCCESS.

NCS_BAD_PARAMETER

See NDS Error Codes.

NCS_NOT_SUPPORTED

Message returned when NCS_ClusterIPAddress is called in a cluster running on a platform version less than NetWare 6.

Remarks

Used for distributed cluster locking mechanisms.